]>
Commit | Line | Data |
---|---|---|
b7195f27 AA |
1 | 2014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com> |
2 | ||
3 | * mips-linux-tdep.c (mips_linux_gregset, mips64_linux_gregset) | |
4 | (mips_linux_fpregset, mips64_linux_fpregset): New static regset | |
5 | structures. | |
6 | (mips_linux_regset_from_core_section): Remove dynamic regset | |
7 | allocations. | |
8 | * mips-tdep.h (struct gdbarch_tdep): Remove fields 'gregset', | |
9 | 'gregset64', 'fpregset', and 'fpregset64'. | |
10 | * mips-tdep.c (mips_gdbarch_init): Remove initialization of | |
11 | deleted tdep fields. | |
12 | ||
ecc37a5a AA |
13 | 2014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com> |
14 | ||
15 | * amd64-tdep.c (amd64_fpregset, amd64_xstateregset): New static | |
16 | regset structures. | |
17 | (amd64_regset_from_core_section): Remove dynamic regset | |
18 | allocations. | |
19 | * amd64obsd-tdep.c (amd64obsd_combined_regset): New static regset | |
20 | structure. | |
21 | (amd64obsd_regset_from_core_section): Remove dynamic regset | |
22 | allocation. | |
23 | * i386-cygwin-tdep.c (i386_windows_regset_from_core_section): | |
24 | Likewise. | |
25 | * i386-nto-tdep.c (i386nto_supply_gregset): Adjust call to | |
26 | x86-common regset supply function. | |
27 | * i386-tdep.c (i386_collect_gregset): Make static. | |
28 | (i386_gregset): New global regset structure. | |
29 | (i386_fpregset, i386_xstateregset): New static regset structures. | |
30 | (i386_regset_from_core_section): Remove dynamic regset | |
31 | allocations. | |
32 | (i386_gdbarch_init): Remove initialization of tdep fields | |
33 | 'gregset', 'fpregset', and 'xstateregset'. | |
34 | * i386-tdep.h (struct gdbarch_tdep): Remove fields 'gregset', | |
35 | 'fpregset', and 'xstateregset'. | |
36 | (i386_collect_gregset): Remove prototype. | |
37 | (i386_gregset): New declaration. | |
38 | * i386obsd-tdep.c (i386obsd_aout_gregset): New static regset | |
39 | structure. | |
40 | (i386obsd_aout_regset_from_core_section): Remove dynamic regset | |
41 | allocation. | |
42 | ||
b7611c43 AA |
43 | 2014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com> |
44 | ||
45 | * arm-linux-tdep.c (arm_linux_gregset, arm_linux_fpregset) | |
46 | (arm_linux_vfpregset): New static regset structures. | |
47 | (arm_linux_regset_from_core_section): Remove dynamic allocation of | |
48 | regset structures. | |
49 | * arm-tdep.h (struct gdbarch_tdep): Remove 'gregset', 'fpregset', | |
50 | and 'vfpregset' fields. | |
51 | ||
a069a2bd AA |
52 | 2014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com> |
53 | ||
54 | * aarch64-linux-tdep.c (aarch64_linux_gregset) | |
55 | (aarch64_linux_fpregset): New static regset structures. | |
56 | (aarch64_linux_regset_from_core_section): Drop dynamic allocation | |
57 | of regset structures. | |
58 | * aarch64-tdep.h (struct gdbarch_tdep): Remove 'gregset' and | |
59 | 'fpregset' fields. | |
60 | ||
09424cff AA |
61 | 2014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com> |
62 | ||
63 | * regset.h (struct regset): Remove gdbarch field. | |
64 | * regset.c (regset_alloc): Drop initialization of gdbarch field. | |
65 | * nios2-linux-tdep.c (nios2_core_regset): Likewise. | |
66 | * ppcfbsd-tdep.c (ppc32_fbsd_gregset, ppc64_fbsd_gregset): | |
67 | Likewise. | |
68 | * ppc-linux-tdep.c (ppc32_linux_gregset, ppc64_linux_gregset) | |
69 | (ppc32_linux_fpregset, ppc32_linux_vrregset) | |
70 | (ppc32_linux_vsxregset): Likewise. | |
71 | * i386obsd-tdep.c (i386obsd_aout_supply_regset): Get the gdbarch | |
72 | via the regcache instead of the regset. | |
73 | * i386-tdep.c (i386_supply_gregset, i386_collect_gregset) | |
74 | (i386_supply_fpregset, i386_collect_fpregset): Likewise. | |
75 | * amd64obsd-tdep.c (amd64obsd_supply_regset): Likewise. | |
76 | * amd64-tdep.c (amd64_supply_fpregset, amd64_collect_fpregset): | |
77 | Likewise. | |
78 | ||
3ca7dae4 AA |
79 | 2014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com> |
80 | ||
81 | * alpha-linux-tdep.c (alpha_linux_gregset, alpha_linux_fpregset): | |
82 | Constify structures. | |
83 | * alphanbsd-tdep.c (alphanbsd_gregset, alphanbsd_fpregset) | |
84 | (alphanbsd_aout_gregset): Likewise. | |
85 | * armbsd-tdep.c (armbsd_gregset, armbsd_fpregset): Likewise. | |
86 | * frv-linux-tdep.c (frv_linux_gregset, frv_linux_fpregset): | |
87 | Likewise. | |
88 | * hppa-hpux-tdep.c (hppa_hpux_regset): Likewise. | |
89 | * hppa-linux-tdep.c (hppa_linux_regset, hppa_linux_fpregset): | |
90 | Likewise. | |
91 | * hppanbsd-tdep.c (hppanbsd_gregset): Likewise. | |
92 | * hppaobsd-tdep.c (hppaobsd_gregset, hppaobsd_fpregset): Likewise. | |
93 | * m32r-linux-tdep.c (m32r_linux_gregset): Likewise. | |
94 | * m68kbsd-tdep.c (m68kbsd_gregset, m68kbsd_fpregset): Likewise. | |
95 | * m88k-tdep.c (m88k_gregset): Likewise. | |
96 | * mips64obsd-tdep.c (mips64obsd_gregset): Likewise. | |
97 | * mipsnbsd-tdep.c (mipsnbsd_gregset, mipsnbsd_fpregset): Likewise. | |
98 | * nios2-linux-tdep.c (nios2_core_regset): Likewise. | |
99 | * ppcfbsd-tdep.c (ppc32_fbsd_fpregset): Likewise. | |
100 | * ppcnbsd-tdep.c (ppcnbsd_gregset, ppcnbsd_fpregset): Likewise. | |
101 | * ppcnbsd-tdep.h (ppcnbsd_gregset, ppcnbsd_fpregset): Likewise. | |
102 | * ppcobsd-tdep.c (ppcobsd_gregset, ppcobsd_fpregset): Likewise. | |
103 | * ppcobsd-tdep.h (ppcobsd_gregset, ppcobsd_fpregset): Likewise. | |
104 | * rs6000-aix-tdep.c (rs6000_aix32_regset, rs6000_aix64_regset): | |
105 | Likewise. | |
106 | * sh-tdep.c (sh_corefile_gregset, sh_corefile_fpregset): Likewise. | |
107 | * sh-tdep.h (sh_corefile_gregset): Likewise. | |
108 | * tilegx-linux-tdep.c (tilegx_linux_regset): Likewise. | |
109 | * vax-tdep.c (vax_gregset): Likewise. | |
110 | ||
5876f503 JK |
111 | 2014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com> |
112 | ||
113 | Fix TLS access for -static -pthread. | |
114 | * linux-thread-db.c (struct thread_db_info): Add td_thr_tlsbase_p. | |
115 | (try_thread_db_load_1): Initialize it. | |
116 | (thread_db_get_thread_local_address): Call it if LM is zero. | |
117 | * target.c (target_translate_tls_address): Remove LM_ADDR zero check. | |
118 | * target.h (struct target_ops) (to_get_thread_local_address): Add | |
119 | load_module_addr comment. | |
120 | ||
0256a6ac PA |
121 | 2014-05-21 Pedro Alves <palves@redhat.com> |
122 | ||
123 | * dcache.c (dcache_read_memory_partial): If reading the cache line | |
124 | fails, fallback to reading just the memory the caller wanted. | |
125 | ||
227533ac DE |
126 | 2014-05-20 Doug Evans <dje@google.com> |
127 | ||
128 | * python/py-progspace.c (py_free_pspace): Call target_gdbarch | |
129 | instead of get_current_arch. | |
130 | ||
936d2992 PA |
131 | 2014-05-20 Pedro Alves <palves@redhat.com> |
132 | ||
133 | * NEWS: Mention that compare-sections now works with all targets. | |
134 | ||
135 | * remote.c (PACKET_qCRC): New enum value. | |
136 | (remote_verify_memory): Don't send qCRC if the target has no | |
137 | execution. Use packet_support/packet_ok. If the target doesn't | |
138 | support the qCRC packet, fallback to a deep memory copy. | |
139 | (compare_sections_command): Say "target image" instead of "remote | |
140 | executable". | |
141 | (_initialize_remote): Add PACKET_qCRC to the list of config | |
142 | packets that have no associated command. Extend comment. | |
143 | * target.c (simple_verify_memory, default_verify_memory): New | |
144 | function. | |
145 | * target.h (struct target_ops) <to_verify_memory>: Default to | |
146 | default_verify_memory. | |
147 | (simple_verify_memory): New declaration. | |
148 | * target-delegates.c: Regenerate. | |
149 | ||
e59fa00f MM |
150 | 2014-05-20 Markus Metzger <markus.t.metzger@intel.com> |
151 | ||
152 | * record-btrace.c (record_btrace_step_thread): Check for empty history. | |
153 | ||
f2205de0 HZ |
154 | 2014-05-20 Hui Zhu <hui@codesourcery.com> |
155 | Yao Qi <yao@codesourcery.com> | |
156 | ||
157 | PR backtrace/16558 | |
158 | * aarch64-linux-tdep.c (aarch64_linux_sigframe_init): Update comments | |
159 | and change address of sp and pc. | |
160 | ||
c4e54771 TT |
161 | 2014-05-19 Tom Tromey <tromey@redhat.com> |
162 | ||
163 | * gdbtypes.c (rank_function): Use XNEWVEC. | |
164 | * mi/mi-cmds.c (build_table): Use XCNEWVEC. | |
165 | ||
73051182 DE |
166 | 2014-05-19 Doug Evans <dje@google.com> |
167 | ||
168 | * dwarf2read.c (build_type_psymtabs_1): Renamed from | |
169 | build_type_unit_groups and moved closer to only caller. Remove | |
170 | arguments. All references updated. Remove outdated .gdb_index | |
171 | comment. | |
172 | (struct tu_abbrev_offset, sort_tu_by_abbrev_offset): Move with | |
173 | build_type_psymtabs_1. | |
174 | ||
8832e7e3 DE |
175 | 2014-05-19 Doug Evans <dje@google.com> |
176 | ||
177 | * dwarf2read.c (struct dwarf2_per_objfile): Delete unused members | |
178 | n_type_unit_groups, all_type_unit_groups. All uses removed. | |
179 | (get_type_unit_group, build_type_unit_groups): Delete forward decls. | |
180 | (dw2_get_cutu): Renamed from dw2_get_cu. All callers updated. | |
181 | (dw2_get_cu): Renamed from dw2_get_primary_cu. All callers updated. | |
182 | (add_type_unit_group_to_table): Delete. | |
183 | ||
cd8ae15e DE |
184 | 2014-05-19 Doug Evans <dje@google.com> |
185 | ||
186 | * eval.c (evaluate_subexp_standard): Add some comments. | |
187 | ||
08f4850b DE |
188 | 2014-05-17 Doug Evans <xdje42@gmail.com> |
189 | ||
190 | * progspace.c (remove_program_space): Delete, unused. | |
191 | * progspace.h (remove_program_space): Ditto. | |
192 | ||
bed8455c DE |
193 | 2014-05-17 Doug Evans <xdje42@gmail.com> |
194 | ||
195 | * inferior.c (prune_inferiors): Fix comment. | |
196 | (remove_inferior_command): Call prune_program_spaces. | |
197 | ||
8d551b02 DE |
198 | 2014-05-16 Doug Evans <dje@google.com> |
199 | ||
200 | New command line option -D. | |
201 | * NEWS: Mention it. | |
202 | * main.c (set_gdb_data_directory): New function. | |
203 | (captured_main): Recognize -D. Flag error for --data-directory "". | |
204 | Call set_gdb_data_directory. | |
205 | (print_gdb_help): Print --data-directory, -D. | |
206 | * main.h (set_gdb_data_directory): Declare. | |
207 | * top.c (staged_gdb_datadir): New static global. | |
208 | (set_gdb_datadir): Call set_gdb_data_directory | |
209 | (show_gdb_datadir): New function. | |
210 | (init_main): Update init of data-directory parameter. | |
211 | ||
18848e28 GF |
212 | 2014-05-16 Gregory Fong <gregory.0xf0@gmail.com> |
213 | ||
214 | Import the "dirfd" gnulib module. | |
215 | * gnulib/update-gnulib.sh (IMPORTED_GNULIB_MODULES): Add dirfd. | |
216 | * gnulib/aclocal.m4: Update. | |
217 | * gnulib/config.in: Update. | |
218 | * gnulib/configure: Update. | |
219 | * gnulib/import/Makefile.am: Update. | |
220 | * gnulib/import/Makefile.in: Update. | |
221 | * gnulib/import/dirfd.c: New. | |
222 | * gnulib/import/m4/dirfd.m4: New. | |
223 | * gnulib/import/m4/gnulib-cache.m4: Update. | |
224 | * gnulib/import/m4/gnulib-comp.m4: Update. | |
225 | ||
95c64f92 YQ |
226 | 2014-05-16 Pierre Muller <muller@sourceware.org> |
227 | Yao Qi <yao@codesourcery.com> | |
228 | ||
229 | * valprint.c (print_wchar): Move the code on checking whether | |
230 | W is a printable wide char to the default branch of switch | |
231 | statement below. Call wchar_printable instead of gdb_iswprint. | |
232 | ||
cac395ea TM |
233 | 2014-05-16 Taimoor Mirza <tmirza@codesourcery.com> |
234 | ||
19679eca | 235 | * arm-tdep.c (thumb_analyze_prologue): Fix offset calculation for |
cac395ea TM |
236 | ldr.w and ldrd instructions. |
237 | ||
83655187 DE |
238 | 2014-05-15 Doug Evans <dje@google.com> |
239 | ||
240 | * dwarf2read.c (read_structure_type): Delete outdated comments. | |
241 | ||
dd756689 TT |
242 | 2014-05-14 Tom Tromey <tromey@redhat.com> |
243 | ||
244 | * macrocmd.c (print_macro_definition): Reindent. | |
245 | ||
75ddda77 DE |
246 | 2014-05-13 Doug Evans <xdje42@gmail.com> |
247 | ||
248 | * python/py-cmd.c (cmdpy_completer): Add comment. | |
249 | (completers): Make const. | |
250 | ||
b0f16a3e SM |
251 | 2014-05-13 Simon Marchi <simon.marchi@ericsson.com> |
252 | ||
253 | * infrun.c (resume): Remove should_resume (unused). Move up | |
254 | declaration of resume_ptid. | |
255 | ||
033c3379 TT |
256 | 2014-05-13 Tom Tromey <tromey@redhat.com> |
257 | ||
258 | * language.h (unop_type_check): Remove. | |
259 | (binop_type_check): Don't declare. | |
260 | ||
9b44a3a5 AA |
261 | 2014-05-13 Andreas Arnez <arnez@vnet.linux.ibm.com> |
262 | ||
263 | * s390-linux-nat.c (fill_gregset): Remove erroneous offset 4 in | |
264 | call to regcache_raw_collect. | |
265 | ||
303a33fa SM |
266 | 2014-05-12 Simon Marchi <simon.marchi@ericsson.com> |
267 | ||
268 | * mi/mi-console.c (mi_console_raw_packet): Use the value from | |
269 | mi_console->quote as the quoting character. | |
270 | ||
196100a0 SM |
271 | 2014-05-12 Simon Marchi <simon.marchi@ericsson.com> |
272 | ||
273 | * MAINTAINERS (Write After Approval): Add "Simon Marchi". | |
274 | ||
f989a1c8 TT |
275 | 2014-04-29 Tom Tromey <tromey@redhat.com> |
276 | ||
277 | * varobj.c (_initialize_varobj): Rename to "set debug varobj" and | |
278 | "show debug varobj". | |
279 | ||
9404b58f KM |
280 | 2014-05-07 Kyle McMartin <kyle@redhat.com> |
281 | ||
282 | Pushed by Joel Brobecker <brobecker@adacore.com>. | |
283 | * aarch64-tdep.c (aarch64_software_single_step): New function. | |
284 | (aarch64_gdbarch_init): Handle single stepping of atomic sequences | |
285 | with aarch64_software_single_step. | |
286 | ||
5e49ba57 JB |
287 | 2014-05-05 Joel Brobecker <brobecker@adacore.com> |
288 | ||
289 | GDB 7.7.1 released. | |
290 | ||
c888a17d KS |
291 | 2014-05-05 Keith Seitz <keiths@redhat.com> |
292 | ||
293 | * linespec.c (linespec_parse_basic): Run cleanups if a convenience | |
294 | variable or history value is successfully parsed. | |
295 | ||
290a839c YQ |
296 | 2014-05-05 Yao Qi <yao@codesourcery.com> |
297 | Pedro Alves <palves@redhat.com> | |
298 | ||
299 | * tracefile-tfile.c (tfile_xfer_partial): Record the lowest | |
300 | address of blocks that intersects the requested range. Trim | |
301 | LEN up to LOW_ADDR_AVAILABLE if read from executable read-only | |
302 | sections. | |
303 | * ctf.c (ctf_xfer_partial): Likewise. | |
304 | ||
91256dc2 YQ |
305 | 2014-05-05 Yao Qi <yao@codesourcery.com> |
306 | ||
307 | * printcmd.c (display_command): Remove the check to | |
308 | target_has_execution. | |
309 | ||
07284463 MK |
310 | 2014-05-03 Mark Kettenis <kettenis@gnu.org> |
311 | ||
312 | * ppcobsd-nat.c: Include "obsd-nat.h". | |
313 | (_initialize_ppcobsd_nat): Call obsd_add_target instead of | |
314 | add_target. | |
315 | * config/powerpc/obsd.mh (NATDEPFILES): Add obsd-nat.o. | |
316 | ||
30a1e6cc SDJ |
317 | 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com> |
318 | ||
319 | * stap-probe.c (enum stap_arg_bitness): New enums to represent 8 | |
320 | and 16-bit signed and unsigned arguments. Update comment. | |
321 | (stap_parse_probe_arguments): Extend code to handle such | |
322 | arguments. Use warning instead of complaint to notify about | |
323 | unrecognized bitness. | |
324 | ||
f33da99a SDJ |
325 | 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com> |
326 | ||
327 | PR breakpoints/16889 | |
328 | * stap-probe.c (stap_parse_probe_arguments): Simplify | |
329 | check for non-prefixed probes (i.e., probes whose | |
330 | arguments do not start with "N@"). Always set the | |
331 | argument type to a sane value. | |
332 | ||
95cf3b38 DT |
333 | 2014-05-01 David Taylor <dtaylor@emc.com> |
334 | ||
335 | * remote.c (compare_sections_command): Add -r option to compare | |
336 | all loadable read-only sections. | |
337 | ||
1cfdf534 SC |
338 | 2014-04-30 Siva Chandra Reddy <sivachandra@google.com> |
339 | ||
340 | * dwarf2loc.c (dwarf2_locexpr_baton_eval, | |
341 | dwarf2_evaluate_property): Remove unused CORE_ADDR argument. | |
342 | Update all callers. | |
343 | * dwarf2loc.h (dwarf2_evaluate_property): Update signature. | |
344 | * gdbtypes.c (resolve_dynamic_range, resolve_dynamic_array): | |
345 | Remove unused CORE_ADDR argument. Update all callers. | |
346 | ||
ca4f7f8b PA |
347 | 2014-04-29 Pedro Alves <palves@redhat.com> |
348 | ||
349 | * remote.c (struct packet_config) <detect>: Extend comment. | |
350 | (add_packet_config_cmd): Don't set the config's detect or support | |
351 | fields here. | |
352 | (init_all_packet_configs): Also initialize the config's 'detect' | |
353 | field. | |
354 | (reset_all_packet_configs_support): New function. | |
355 | (remote_open_1): Call reset_all_packet_configs_support instead of | |
356 | init_all_packet_configs. | |
357 | (_initialize_remote): Initialize all packet configs. Assert that | |
358 | all packets have an associated command, except a few known | |
359 | outliers. | |
360 | ||
11c1ba78 JB |
361 | 2014-04-28 Joel Brobecker <brobecker@adacore.com> |
362 | ||
363 | * dwarf2read.c (read_subrange_type): Handle dynamic | |
364 | DW_AT_lower_bound attributes. | |
365 | ||
8739bc53 JB |
366 | 2014-04-28 Joel Brobecker <brobecker@adacore.com> |
367 | ||
368 | * ada-lang.c (ada_discrete_type_high_bound): Resolve the type's | |
369 | dynamic bounds before computing its upper bound. | |
370 | (ada_discrete_type_low_bound): Same as above with the lower bound. | |
371 | ||
6f8a3220 JB |
372 | 2014-04-28 Joel Brobecker <brobecker@adacore.com> |
373 | ||
374 | * dwarf2read.c (is_dynamic_type): Return true for dynamic | |
375 | range types. Adjust the array handling implementation to | |
376 | take advantage of this change. | |
377 | (resolve_dynamic_range): New function, mostly extracted from | |
378 | resolve_dynamic_bounds. | |
379 | (resolve_dynamic_array): New function, mostly extracted from | |
380 | resolve_dynamic_bounds. | |
381 | (resolve_dynamic_bounds): Delete. | |
382 | (resolve_dynamic_type): Reimplement. Add handling of | |
383 | TYPE_CODE_RANGE types. | |
384 | ||
4d072ce4 JB |
385 | 2014-04-28 Joel Brobecker <brobecker@adacore.com> |
386 | ||
387 | * ada-varobj.c (ada_varobj_describe_simple_array_child): Remove | |
388 | handling of parallel ___XA types. | |
389 | ||
52865325 JB |
390 | 2014-04-28 Joel Brobecker <brobecker@adacore.com> |
391 | ||
392 | * ada-lang.c (ada_evaluate_subexp) <OP_VAR_VALUE>: Remove | |
393 | unnecessary second call to static_unwrap_type. | |
394 | ||
433e77fa HZ |
395 | 2014-04-27 Hui Zhu <hui@codesourcery.com> |
396 | ||
397 | * stack.c (print_frame_info): Call do_gdb_disassembly with | |
398 | DUMMY_FRAME, SIGTRAMP_FRAME and ARCH_FRAME. | |
399 | ||
b51a69ee DE |
400 | 2014-04-26 Doug Evans <xdje42@gmail.com> |
401 | ||
402 | * guile/scm-safe-call.c (scscm_eval_scheme_string): Fix comment. | |
403 | ||
7ae1a6a6 PA |
404 | 2014-04-25 Pedro Alves <palves@redhat.com> |
405 | ||
406 | PR server/16255 | |
407 | * common/linux-ptrace.c (linux_ptrace_attach_warnings): Rename to ... | |
408 | (linux_ptrace_attach_fail_reason): ... this. Remove "warning: " | |
409 | and newline from built string. | |
410 | * common/linux-ptrace.h (linux_ptrace_attach_warnings): Rename to ... | |
411 | (linux_ptrace_attach_fail_reason): ... this. | |
412 | * linux-nat.c (linux_nat_attach): Adjust to use | |
413 | linux_ptrace_attach_fail_reason. | |
414 | ||
4082afcc PA |
415 | 2014-04-25 Pedro Alves <palves@redhat.com> |
416 | ||
417 | * remote.c (struct remote_state): Remove multi_process_aware, | |
418 | non_stop_aware, cond_tracepoints, cond_breakpoints, | |
419 | breakpoint_commands, fast_tracepoints, static_tracepoints, | |
420 | install_in_trace, disconnected_tracing, | |
421 | enable_disable_tracepoints, string_tracing, and | |
422 | augmented_libraries_svr4_read fields. | |
423 | (remote_multi_process_p): Move further below in the file. | |
424 | (struct packet_config): Add comments. | |
425 | (update_packet_config): Delete function. | |
426 | (show_packet_config_cmd): Use packet_config_support. | |
427 | (add_packet_config_cmd): Use NULL as set callback. | |
428 | (packet_ok): "set remote foo-packet"-style commands no longer | |
429 | change config->supported -- adjust. | |
430 | (PACKET_ConditionalTracepoints, PACKET_ConditionalBreakpoints) | |
431 | (PACKET_BreakpointCommands, PACKET_FastTracepoints) | |
432 | (PACKET_StaticTracepoints, PACKET_InstallInTrace): Add comments. | |
433 | (PACKET_QNonStop, PACKET_multiprocess_feature) | |
434 | (PACKET_EnableDisableTracepoints_feature, PACKET_tracenz_feature) | |
435 | (PACKET_DisconnectedTracing_feature) | |
436 | (PACKET_augmented_libraries_svr4_read_feature): New enum values. | |
437 | (set_remote_protocol_packet_cmd): Delete function. | |
438 | (packet_config_support, packet_support): New functions. | |
439 | (set_remote_protocol_Z_packet_cmd): Don't call | |
440 | update_packet_config. | |
441 | (remote_query_attached, remote_pass_signals) | |
442 | (remote_program_signals, remote_threads_info) | |
443 | (remote_threads_extra_info, remote_start_remote): Use | |
444 | packet_support. | |
445 | (remote_start_remote): Use packet_config_support and | |
446 | packet_support. | |
447 | (init_all_packet_configs): Set all packets to unknown support, | |
448 | instead of calling update_packet_config. | |
449 | (remote_check_symbols): Use packet_support. | |
450 | (remote_supported_packet): Unconditionally set the packet config's | |
451 | support status. | |
452 | (remote_multi_process_feature, remote_non_stop_feature) | |
453 | (remote_cond_tracepoint_feature, remote_cond_breakpoint_feature) | |
454 | (remote_breakpoint_commands_feature) | |
455 | (remote_fast_tracepoint_feature, remote_static_tracepoint_feature) | |
456 | (remote_install_in_trace_feature) | |
457 | (remote_disconnected_tracing_feature) | |
458 | (remote_enable_disable_tracepoint_feature) | |
459 | (remote_string_tracing_feature) | |
460 | (remote_augmented_libraries_svr4_read_feature): Delete functions. | |
461 | (remote_protocol_features): Adjust to use remote_supported_packet | |
462 | for "augmented-libraries-svr4-read", "multiprocess", "QNonStop", | |
463 | "ConditionalTracepoints", "ConditionalBreakpoints", | |
464 | "BreakpointCommands", "FastTracepoints", "StaticTracepoints", | |
465 | "InstallInTrace", "DisconnectedTracing", "DisconnectedTracing", | |
466 | "EnableDisableTracepoints", and "tracenz". | |
467 | (remote_query_supported): Use packet_support. | |
468 | (remote_open_1): Adjust. | |
469 | (extended_remote_attach_1): Use packet_support. Switch on the | |
470 | result of packet_ok instead of checking whether the packet ended | |
471 | up disabled. | |
472 | (remote_vcont_resume): Use packet_support. | |
473 | (remote_resume, remote_stop_ns, fetch_register_using_p) | |
474 | (remote_prepare_to_store, store_register_using_P) | |
475 | (check_binary_download, remote_write_bytes): Use packet_support. | |
476 | (remote_vkill): Use packet_support. Switch on the result of | |
477 | packet_ok instead of checking whether the packet ended up | |
478 | disabled. | |
479 | (extended_remote_supports_disable_randomization): Use | |
480 | packet_support. | |
481 | (extended_remote_run): Switch on the result of packet_ok instead | |
482 | of checking whether the packet ended up disabled. | |
483 | (remote_insert_breakpoint, remote_remove_breakpoint) | |
484 | (remote_insert_watchpoint, remote_remove_watchpoint) | |
485 | (remote_insert_hw_breakpoint, remote_remove_hw_breakpoint): Use | |
486 | packet_support. | |
487 | (remote_search_memory): Use packet_config_support. | |
488 | (remote_get_thread_local_address, remote_get_tib_address) | |
489 | (remote_hostio_send_command, remote_can_execute_reverse): Use | |
490 | packet_support. | |
491 | (remote_supports_cond_tracepoints) | |
492 | (remote_supports_cond_breakpoints) | |
493 | (remote_supports_fast_tracepoints) | |
494 | (remote_supports_static_tracepoints) | |
495 | (remote_supports_install_in_trace) | |
496 | (remote_supports_enable_disable_tracepoint) | |
497 | (remote_supports_string_tracing) | |
498 | (remote_can_run_breakpoint_commands): Rewrite, checking whether | |
499 | the packet config says the feature is enabled or disabled. | |
500 | (remote_download_tracepoint, remote_trace_set_readonly_regions) | |
501 | (remote_get_trace_status): Use packet_support. | |
502 | (remote_set_disconnected_tracing): Adjust to check whether the | |
503 | feature is enabled with packet_support. | |
504 | (remote_set_trace_buffer_size, remote_use_agent) | |
505 | (remote_can_use_agent, remote_supports_btrace): Use | |
506 | packet_support. | |
507 | (remote_enable_btrace, remote_disable_btrace, remote_read_btrace): | |
508 | Use packet_config_support. | |
509 | (remote_augmented_libraries_svr4_read): Rewrite, checking whether | |
510 | the packet config says the feature is enabled or disabled. | |
511 | (set_range_stepping): Use packet_support. | |
512 | ||
bdb52a22 TT |
513 | 2014-04-25 Tom Tromey <tromey@redhat.com> |
514 | ||
515 | * cli/cli-cmds.c (_initialize_cli_cmds): Document "quit" command's | |
516 | argument. | |
517 | ||
e9475ead SA |
518 | 2014-04-24 Sanimir Agovic <sanimir.agovic@intel.com> |
519 | ||
520 | * NEWS: Mention support for C99 variable length arrays. | |
521 | ||
82eacd52 JB |
522 | 2014-04-24 Joel Brobecker <brobecker@adacore.com> |
523 | ||
524 | * ada-lang.c (standard_exc): Expand introductory comment. | |
525 | ||
01f9f808 MS |
526 | 2014-04-24 Michael Sturm <michael.sturm@mintel.com> |
527 | Walfred Tedeschi <walfred.tedeschi@intel.com> | |
528 | ||
529 | * amd64-linux-nat.c (amd64_linux_gregset32_reg_offset): Add | |
530 | AVX512 registers. | |
531 | (amd64_linux_read_description): Add code to handle AVX512 xstate | |
532 | mask and return respective tdesc. | |
533 | * amd64-linux-tdep.c: Include features/i386/amd64-avx512-linux.c | |
534 | and features/i386/x32-avx512-linux.c. | |
535 | (amd64_linux_gregset_reg_offset): Add AVX512 registers. | |
536 | (amd64_linux_core_read_description): Add code to handle AVX512 | |
537 | xstate mask and return respective tdesc. | |
538 | (_initialize_amd64_linux_tdep): Initialize AVX512 tdesc. | |
539 | * amd64-linux-tdep.h (AMD64_LINUX_ORIG_RAX_REGNUM): Adjust regnum | |
540 | calculation. | |
541 | (AMD64_LINUX_NUM_REGS): Adjust to new number of registers. | |
542 | (tdesc_amd64_avx512_linux): New prototype. | |
543 | (tdesc_x32_avx512_linux): Likewise. | |
544 | * amd64-tdep.c: Include features/i386/amd64-avx512.c and | |
545 | features/i386/x32-avx512.c. | |
546 | (amd64_ymm_avx512_names): New register names for pseudo | |
547 | registers YMM16-31. | |
548 | (amd64_ymmh_avx512_names): New register names for raw registers | |
549 | YMMH16-31. | |
550 | (amd64_k_names): New register names for K registers. | |
551 | (amd64_zmmh_names): New register names for ZMM raw registers. | |
552 | (amd64_zmm_names): New registers names for ZMM pseudo registers. | |
553 | (amd64_xmm_avx512_names): New register names for XMM16-31 | |
554 | registers. | |
555 | (amd64_pseudo_register_name): Add code to return AVX512 pseudo | |
556 | registers. | |
557 | (amd64_init_abi): Add code to intitialize AVX512 tdep variables | |
558 | if feature is present. | |
559 | (_initialize_amd64_tdep): Call AVX512 tdesc initializers. | |
560 | * amd64-tdep.h (enum amd64_regnum): Add AVX512 registers. | |
561 | (AMD64_NUM_REGS): Adjust to new number of registers. | |
562 | * i386-linux-nat.c (GETXSTATEREGS_SUPPLIES): Extend range of | |
563 | registers supplied via XSTATE by AVX512 registers. | |
564 | (i386_linux_read_description): Add case for AVX512. | |
565 | * i386-linux-tdep.c: Include i386-avx512-linux.c. | |
566 | (i386_linux_gregset_reg_offset): Add AVX512 registers. | |
567 | (i386_linux_core_read_description): Add case for AVX512. | |
568 | (i386_linux_init_abi): Install supported register note section | |
569 | for AVX512. | |
570 | (_initialize_i386_linux_tdep): Add call to tdesc init function for | |
571 | AVX512. | |
572 | * i386-linux-tdep.h (I386_LINUX_NUM_REGS): Set number of | |
573 | registers to be number of zmm7h + 1. | |
574 | (tdesc_i386_avx512_linux): Add tdesc for AVX512 registers. | |
575 | * i386-tdep.c: Include features/i386/i386-avx512.c. | |
576 | (i386_zmm_names): Add ZMM pseudo register names array. | |
577 | (i386_zmmh_names): Add ZMM raw register names array. | |
578 | (i386_k_names): Add K raw register names array. | |
579 | (num_lower_zmm_regs): Add constant for the number of lower ZMM | |
580 | registers. AVX512 has 16 more ZMM registers than there are YMM | |
581 | registers. | |
582 | (i386_zmmh_regnum_p): Add function to look up register number of | |
583 | ZMM raw registers. | |
584 | (i386_zmm_regnum_p): Likewise for ZMM pseudo registers. | |
585 | (i386_k_regnum_p): Likewise for K raw registers. | |
586 | (i386_ymmh_avx512_regnum_p): Likewise for additional YMM raw | |
587 | registers added by AVX512. | |
588 | (i386_ymm_avx512_regnum_p): Likewise for additional YMM pseudo | |
589 | registers added by AVX512. | |
590 | (i386_xmm_avx512_regnum_p): Likewise for additional XMM registers | |
591 | added by AVX512. | |
592 | (i386_register_name): Add code to hide YMMH16-31 and ZMMH0-31. | |
593 | (i386_pseudo_register_name): Add ZMM pseudo registers. | |
594 | (i386_zmm_type): Construct and return vector registers type for ZMM | |
595 | registers. | |
596 | (i386_pseudo_register_type): Return appropriate type for YMM16-31, | |
597 | ZMM0-31 pseudo registers and K registers. | |
598 | (i386_pseudo_register_read_into_value): Add code to read K, ZMM | |
599 | and YMM16-31 registers from register cache. | |
600 | (i386_pseudo_register_write): Add code to write K, ZMM and | |
601 | YMM16-31 registers. | |
602 | (i386_register_reggroup_p): Add code to include/exclude AVX512 | |
603 | registers in/from respective register groups. | |
604 | (i386_validate_tdesc_p): Handle AVX512 feature, add AVX512 | |
605 | registers if feature is present in xcr0. | |
606 | (i386_gdbarch_init): Add code to initialize AVX512 feature | |
607 | variables in tdep structure, wire in pseudo registers and call | |
608 | initialize_tdesc_i386_avx512. | |
609 | * i386-tdep.h (struct gdbarch_tdep): Add AVX512 related | |
610 | variables. | |
611 | (i386_regnum): Add AVX512 registers. | |
612 | (I386_SSE_NUM_REGS): New define for number of SSE registers. | |
613 | (I386_AVX_NUM_REGS): Likewise for AVX registers. | |
614 | (I386_AVX512_NUM_REGS): Likewise for AVX512 registers. | |
615 | (I386_MAX_REGISTER_SIZE): Change to 64 bytes, ZMM registers are | |
616 | 512 bits wide. | |
617 | (i386_xmm_avx512_regnum_p): New prototype for register look up. | |
618 | (i386_ymm_avx512_regnum_p): Likewise. | |
619 | (i386_k_regnum_p): Likewise. | |
620 | (i386_zmm_regnum_p): Likewise. | |
621 | (i386_zmmh_regnum_p): Likewise. | |
622 | * i387-tdep.c : Update year in copyright notice. | |
623 | (xsave_ymm_avx512_offset): New table for YMM16-31 offsets in | |
624 | XSAVE buffer. | |
625 | (XSAVE_YMM_AVX512_ADDR): New macro. | |
626 | (xsave_xmm_avx512_offset): New table for XMM16-31 offsets in | |
627 | XSAVE buffer. | |
628 | (XSAVE_XMM_AVX512_ADDR): New macro. | |
629 | (xsave_avx512_k_offset): New table for K register offsets in | |
630 | XSAVE buffer. | |
631 | (XSAVE_AVX512_K_ADDR): New macro. | |
632 | (xsave_avx512_zmm_h_offset): New table for ZMM register offsets | |
633 | in XSAVE buffer. | |
634 | (XSAVE_AVX512_ZMM_H_ADDR): New macro. | |
635 | (i387_supply_xsave): Add code to supply AVX512 registers to XSAVE | |
636 | buffer. | |
637 | (i387_collect_xsave): Add code to collect AVX512 registers from | |
638 | XSAVE buffer. | |
639 | * i387-tdep.h (I387_NUM_XMM_AVX512_REGS): New define for number | |
640 | of XMM16-31 registers. | |
641 | (I387_NUM_K_REGS): New define for number of K registers. | |
642 | (I387_K0_REGNUM): New define for K0 register number. | |
643 | (I387_NUM_ZMMH_REGS): New define for number of ZMMH registers. | |
644 | (I387_ZMM0H_REGNUM): New define for ZMM0H register number. | |
645 | (I387_NUM_YMM_AVX512_REGS): New define for number of YMM16-31 | |
646 | registers. | |
647 | (I387_YMM16H_REGNUM): New define for YMM16H register number. | |
648 | (I387_XMM16_REGNUM): New define for XMM16 register number. | |
649 | (I387_YMM0_REGNUM): New define for YMM0 register number. | |
650 | (I387_KEND_REGNUM): New define for last K register number. | |
651 | (I387_ZMMENDH_REGNUM): New define for last ZMMH register number. | |
652 | (I387_YMMH_AVX512_END_REGNUM): New define for YMM31 register | |
653 | number. | |
654 | (I387_XMM_AVX512_END_REGNUM): New define for XMM31 register | |
655 | number. | |
656 | * common/i386-xstate.h: Add AVX 3.1 feature bits, mask and XSTATE | |
657 | size. | |
658 | * features/Makefile: Add AVX512 related files. | |
659 | * features/i386/32bit-avx512.xml: New file. | |
660 | * features/i386/64bit-avx512.xml: Likewise. | |
661 | * features/i386/amd64-avx512-linux.c: Likewise. | |
662 | * features/i386/amd64-avx512-linux.xml: Likewise. | |
663 | * features/i386/amd64-avx512.c: Likewise. | |
664 | * features/i386/amd64-avx512.xml: Likewise. | |
665 | * features/i386/i386-avx512-linux.c: Likewise. | |
666 | * features/i386/i386-avx512-linux.xml: Likewise. | |
667 | * features/i386/i386-avx512.c: Likewise. | |
668 | * features/i386/i386-avx512.xml: Likewise. | |
669 | * features/i386/x32-avx512-linux.c: Likewise. | |
670 | * features/i386/x32-avx512-linux.xml: Likewise. | |
671 | * features/i386/x32-avx512.c: Likewise. | |
672 | * features/i386/x32-avx512.xml: Likewise. | |
673 | * regformats/i386/amd64-avx512-linux.dat: New file. | |
674 | * regformats/i386/amd64-avx512.dat: Likewise. | |
675 | * regformats/i386/i386-avx512-linux.dat: Likewise. | |
676 | * regformats/i386/i386-avx512.dat: Likewise. | |
677 | * regformats/i386/x32-avx512-linux.dat: Likewise. | |
678 | * regformats/i386/x32-avx512.dat: Likewise. | |
679 | * NEWS: Add note about new support for AVX512. | |
680 | ||
681 | ||
08351840 PA |
682 | 2014-04-23 Pedro Alves <palves@redhat.com> |
683 | ||
684 | * breakpoint.c (insert_bp_location): Tolerate errors if the | |
685 | breakpoint is set in a user-loaded objfile. | |
686 | (remove_breakpoint_1): Likewise. Also tolerate errors if the | |
687 | location is marked shlib_disabled. If the breakpoint is set in a | |
688 | user-loaded objfile is a GDB-side memory breakpoint, validate it | |
689 | before uninsertion. (disable_breakpoints_in_freed_objfile): Skip | |
690 | non-OBJF_USERLOADED objfiles. Don't clear the location's inserted | |
691 | flag. | |
692 | * mem-break.c (memory_validate_breakpoint): New function. | |
693 | * objfiles.c (userloaded_objfile_contains_address_p): New | |
694 | function. | |
695 | * objfiles.h (userloaded_objfile_contains_address_p): Declare. | |
696 | * target.h (memory_validate_breakpoint): New declaration. | |
697 | ||
076855f9 PA |
698 | 2014-04-23 Pedro Alves <palves@redhat.com> |
699 | ||
700 | * breakpoint.c (insert_bp_location, remove_breakpoint_1): If | |
701 | the breakpoint is set in a shared library, only suppress | |
702 | errors for software breakpoints, not hardware breakpoints. | |
703 | ||
483805cf PA |
704 | 2014-04-22 Pedro Alves <palves@redhat.com> |
705 | ||
706 | * infrun.c (schedlock_applies): New function, factored out from | |
707 | find_thread_needs_step_over. | |
708 | (find_thread_needs_step_over): Use it. | |
709 | (switch_back_to_stepped_thread): Always clear trap_expected if the | |
710 | step over is finished. Return early if scheduler locking applies. | |
711 | Look for the stepping thread and a potential step-over thread with | |
712 | a single loop. | |
713 | (currently_stepping_or_nexting_callback): Delete. | |
714 | ||
a75fef0e NC |
715 | 2014-04-22 Nick Clifton <nickc@redhat.com> |
716 | ||
717 | * NEWS: Mention that ARM sim now supports tracing. | |
718 | ||
48b6e87e YQ |
719 | 2014-04-22 Yao Qi <yao@codesourcery.com> |
720 | ||
721 | * tracefile-tfile.c (tfile_fetch_registers): Move the bottom | |
722 | to ... | |
723 | * tracefile.c (tracefile_fetch_registers): ... it. New | |
724 | function. | |
725 | * tracefile.h (tracefile_fetch_registers): Declare. | |
726 | * ctf.c (ctf_fetch_registers): Remove the bottom. Call | |
727 | tracefile_fetch_registers. | |
728 | ||
17617f2d EZ |
729 | 2014-04-19 Eli Zaretskii <eliz@gnu.org> |
730 | ||
731 | PR gdb/14018 | |
732 | * windows-nat.c (thread_rec): Don't display a warning when | |
733 | SuspendThread fails with ERROR_ACCESS_DENIED. If SuspendThread | |
734 | fails for any reason, set th->suspended to -1, so that we don't | |
735 | try to resume such a thread. Also, don't return NULL in these | |
736 | cases, to avoid completely ruin the session due to "PC register is | |
737 | not available" error. | |
738 | (do_windows_fetch_inferior_registers): Check errors in | |
739 | GetThreadContext call. | |
740 | (windows_continue): Accept an additional argument KILLED; if not | |
741 | zero, ignore errors in the SetThreadContext call, since the | |
742 | inferior was killed and is shutting down. | |
743 | (windows_resume, get_windows_debug_event) | |
744 | (windows_create_inferior, windows_mourn_inferior) | |
745 | (windows_kill_inferior): All callers of windows_continue changed | |
746 | to adjust to its new calling sequence. | |
747 | ||
5723a6fd YQ |
748 | 2014-04-19 Yao Qi <yao@codesourcery.com> |
749 | ||
750 | * ctf.c (ctf_open): Call post_create_inferior. | |
751 | ||
614d5099 YQ |
752 | 2014-04-19 Yao Qi <yao@codesourcery.com> |
753 | ||
754 | * ctf.c (handle_id): New static variable. | |
755 | (ctf_open_dir): Get handle_id from bt_context_add_trace return | |
756 | value. Get the declaration of event "register" and get length | |
757 | of field "contents". | |
758 | ||
dac3e710 YQ |
759 | 2014-04-19 Yao Qi <yao@codesourcery.com> |
760 | ||
761 | * ctf.c (ctf_xfer_partial): Check 'name' is NULL before strcmp. | |
762 | ||
2bca57ba SC |
763 | 2014-04-18 Siva Chandra Reddy <sivachandra@google.com> |
764 | ||
765 | * valops.c (oload_method_static): Remove unnecessary argument | |
766 | METHOD. Update all callers. | |
767 | ||
51d48146 PA |
768 | 2014-04-18 Pedro alves <palves@redhat.com> |
769 | Tom Tromey <tromey@redhat.com> | |
770 | ||
771 | PR backtrace/15558 | |
772 | * frame.c (get_prev_frame_1): Rename to ... | |
773 | (get_prev_frame_always): ... this, and make extern. Adjust. | |
774 | (skip_artificial_frames): Use get_prev_frame_always. | |
775 | (frame_unwind_caller_id, frame_pop, get_prev_frame) | |
776 | (get_frame_unwind_stop_reason): Adjust to rename. | |
777 | * frame.h (get_prev_frame_always): Declare. | |
778 | * inline-frame.c: Include frame.h. | |
779 | (inline_frame_this_id): Use get_prev_frame_always. | |
780 | ||
1bdad2e0 TG |
781 | 2014-04-18 Tristan Gingold <gingold@adacore.com> |
782 | ||
783 | * solib-darwin.c (darwin_solib_create_inferior_hook): Simplify | |
784 | code by using bfd_mach_o_get_base_address. | |
785 | ||
7ce16bd4 UW |
786 | 2014-04-17 Ulrich Weigand <uweigand@de.ibm.com> |
787 | ||
788 | * spu-tdep.c: Include "dwarf2-frame.h" and "ax.h". | |
789 | (spu_ax_pseudo_register_collect): New function. | |
790 | (spu_ax_pseudo_register_push_stack): Likewise. | |
791 | (spu_dwarf_reg_to_regnum): Likewise. | |
792 | (spu_gdbarch_init): Install them. Append DWARF unwinders. | |
793 | ||
2ed3c037 UW |
794 | 2014-04-17 Ulrich Weigand <uweigand@de.ibm.com> |
795 | ||
796 | * gdbarch.sh (value_from_register): Make class "m" instead of "f". | |
797 | Replace FRAME argument with FRAME_ID. | |
798 | * gdbarch.c, gdbarch.h: Regenerate. | |
799 | * findvar.c (default_value_from_register): Add GDBARCH argument; | |
800 | replace FRAME by FRAME_ID. No longer call get_frame_id. | |
801 | (value_from_register): Update call to gdbarch_value_from_register. | |
802 | * value.h (default_value_from_register): Update prototype. | |
803 | * s390-linux-tdep.c (s390_value_from_register): Update interface | |
804 | and call to default_value_from_register. | |
805 | * spu-tdep.c (spu_value_from_register): Likewise. | |
806 | ||
807 | * findvar.c (address_from_register): Remove TYPE argument. | |
808 | Do not call value_from_register; use gdbarch_value_from_register | |
809 | with null_frame_id instead. | |
810 | * value.h (address_from_register): Update prototype. | |
811 | * dwarf2-frame.c (read_addr_from_reg): Use address_from_register. | |
812 | * dwarf2loc.c (dwarf_expr_read_addr_from_reg): Update for | |
813 | address_from_register interface change. | |
814 | ||
71e50e83 YQ |
815 | 2014-04-17 Yao Qi <yao@codesourcery.com> |
816 | ||
817 | * gdbtypes.h: Update comments to link to types and macros' | |
818 | definitions. | |
819 | ||
7a23c549 SC |
820 | 2014-04-16 Siva Chandra Reddy <sivachandra@google.com> |
821 | ||
822 | * gdbtypes.h: Remove definition of the macro TYPE_FN_FIELDS. | |
823 | ||
22869d73 KS |
824 | 2014-04-16 Keith Seitz <keiths@redhat.com> |
825 | ||
826 | PR gdb/15827 | |
827 | * dwarf2read.c (skip_one_die): Check that all relative-offset | |
828 | sibling DIEs fall within range of the current reader's buffer. | |
829 | (read_partial_die): Likewise. | |
830 | ||
c4f87ca6 KS |
831 | 2014-04-16 Keith Seitz <keiths@redhat.com> |
832 | ||
833 | PR c++/16597 | |
834 | * cp-namespace.c (lookup_symbol_file): If the type name of | |
835 | `this' is NULL, return immediately. | |
836 | ||
b50c8614 KS |
837 | 2014-04-14 Keith Seitz <keiths@redhat.com> |
838 | ||
839 | PR c++/16253 | |
840 | * ada-lang.c (ada_symbol_matches_domain): Moved here and renamed | |
841 | from symbol_matches_domain in symtab.c. All local callers | |
842 | of symbol_matches_domain updated. | |
843 | (standard_lookup): If DOMAIN is VAR_DOMAIN and no symbol is found, | |
844 | search STRUCT_DOMAIN. | |
845 | (ada_find_any_type_symbol): Do not search STRUCT_DOMAIN | |
846 | independently. standard_lookup will do that automatically. | |
847 | * cp-namespace.c (cp_lookup_symbol_nonlocal): Explain when/why | |
848 | VAR_DOMAIN searches may return a STRUCT_DOMAIN match. | |
849 | (cp_lookup_symbol_in_namespace): Likewise. | |
850 | If no VAR_DOMAIN symbol is found, search STRUCT_DOMAIN. | |
851 | (cp_lookup_symbol_exports): Explain when/why VAR_DOMAIN searches | |
852 | may return a STRUCT_DOMAIN match. | |
853 | (lookup_symbol_file): Search for the class name in STRUCT_DOMAIN. | |
854 | * cp-support.c: Include language.h. | |
855 | (inspect_type): Explicitly search STRUCT_DOMAIN before searching | |
856 | VAR_DOMAIN. | |
857 | * psymtab.c (match_partial_symbol): Compare the requested | |
858 | domain with the symbol's domain directly. | |
859 | (lookup_partial_symbol): Likewise. | |
860 | * symtab.c (lookup_symbol_in_language): Explain when/why | |
861 | VAR_DOMAIN searches may return a STRUCT_DOMAIN match. | |
862 | If no VAR_DOMAIN symbol is found, search STRUCT_DOMAIN for | |
863 | appropriate languages. | |
864 | (symbol_matches_domain): Renamed `ada_symbol_matches_domain' | |
865 | and moved to ada-lang.c | |
866 | (lookup_block_symbol): Explain that this function only returns | |
867 | symbol matching the requested DOMAIN. | |
868 | Compare the requested domain with the symbol's domain directly. | |
869 | (iterate_over_symbols): Compare the requested domain with the | |
870 | symbol's domain directly. | |
871 | * symtab.h (symbol_matches_domain): Remove. | |
872 | ||
3d567982 TT |
873 | 2014-04-14 Tom Tromey <tromey@redhat.com> |
874 | ||
875 | PR c++/15246: | |
876 | * c-exp.y (type_aggregate_p): New function. | |
877 | (qualified_name, classify_inner_name): Use it. | |
878 | * c-typeprint.c (c_type_print_base): Handle TYPE_DECLARED_CLASS | |
879 | and TYPE_TARGET_TYPE of an enum type. | |
880 | * dwarf2read.c (read_enumeration_type): Set TYPE_DECLARED_CLASS on | |
881 | an enum type. | |
882 | (determine_prefix) <case DW_TAG_enumeration_type>: New case; | |
883 | handle TYPE_DECLARED_CLASS. | |
884 | * gdbtypes.c (rank_one_type): Handle TYPE_DECLARED_CLASS on enum | |
885 | types. | |
886 | * gdbtypes.h (TYPE_DECLARED_CLASS): Update comment. | |
887 | * valops.c (enum_constant_from_type): New function. | |
888 | (value_aggregate_elt): Use it. | |
889 | * cp-namespace.c (cp_lookup_nested_symbol): Handle | |
890 | TYPE_CODE_ENUM. | |
891 | ||
c848d642 TT |
892 | 2014-04-14 Tom Tromey <tromey@redhat.com> |
893 | ||
894 | * valops.c (value_aggregate_elt, value_struct_elt_for_reference) | |
895 | (value_namespace_elt, value_maybe_namespace_elt): Make "name" | |
896 | const. | |
897 | * value.h (value_aggregate_elt): Update. | |
898 | ||
0626fc76 TT |
899 | 2014-04-14 Tom Tromey <tromey@redhat.com> |
900 | ||
901 | * dwarf2read.c (read_enumeration_type): Handle DW_AT_type. | |
902 | ||
5ecaaa66 SA |
903 | 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com> |
904 | ||
905 | * eval.c (evaluate_subexp_for_sizeof): Add enum noside argument. | |
906 | (evaluate_subexp_standard): Pass noside argument. | |
907 | (evaluate_subexp_for_sizeof) <BINOP_SUBSCRIPT>: Handle subscript case | |
908 | if noside equals EVAL_NORMAL. If the subscript yields a vla type | |
909 | re-evaluate subscript operation with EVAL_NORMAL to enable sideffects. | |
910 | * gdbtypes.c (resolve_dynamic_bounds): Mark bound as evaluated. | |
911 | * gdbtypes.h (enum range_flags): Add RANGE_EVALUATED case. | |
912 | ||
1612e0c0 SA |
913 | 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com> |
914 | ||
915 | * findvar.c (default_read_var_value): Resolve dynamic bounds if location | |
916 | points to a constant blob. | |
917 | ||
c451ebe5 SA |
918 | 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com> |
919 | ||
920 | * dwarf2read.c (read_subrange_type): Convert DW_AT_count to a dynamic | |
921 | property and store it as the high bound and flag the range accordingly. | |
922 | * gdbtypes.c (resolve_dynamic_bounds): If range is flagged as | |
923 | RANGE_UPPER_BOUND_IS_COUNT assign low + high - 1 as the new high bound. | |
924 | * gdbtypes.h (enum range_flags): New enum. | |
925 | (struct range_bounds): Add flags member. | |
926 | ||
1d42e4c4 SA |
927 | 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com> |
928 | ||
929 | * c-typeprint.c (c_type_print_varspec_suffix): Added | |
930 | check for not yet resolved high bound. If unresolved, print | |
931 | "variable length" string to the console instead of random | |
932 | length. | |
933 | ||
9f1f738a SA |
934 | 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com> |
935 | ||
936 | * ada-lang.c (ada_value_primitive_packed_val): Re-fetch type from | |
937 | value. | |
938 | (ada_template_to_fixed_record_type_1): Likewise. | |
939 | (ada_to_fixed_type_1): Likewise. | |
940 | * cp-valprint.c (cp_print_value_fields_rtti): Likewise. | |
941 | (cp_print_value): Likewise. | |
942 | * d-valprint.c (dynamic_array_type): Likewise. | |
943 | * findvar.c (address_of_variable): Likewise. | |
944 | * jv-valprint.c (java_value_print): Likewise. | |
945 | * valops.c (value_ind): Likewise. | |
946 | * value.c (coerce_ref): Likewise. | |
947 | ||
3c8452d4 SA |
948 | 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com> |
949 | ||
950 | * eval.c (evaluate_subexp_for_sizeof) <UNOP_IND>: Create an indirect | |
951 | value and retrieve the dynamic type size. | |
952 | ||
4ad88275 SA |
953 | 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com> |
954 | ||
955 | * eval.c (evaluate_subexp_for_sizeof) <OP_VAR_VALUE>: If the type | |
956 | passed to sizeof is dynamic evaluate the argument to compute the length. | |
957 | ||
80180f79 SA |
958 | 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com> |
959 | Joel Brobecker <brobecker@adacore.com> | |
960 | ||
961 | * dwarf2loc.c (dwarf2_locexpr_baton_eval): New function. | |
962 | (dwarf2_evaluate_property): New function. | |
963 | * dwarf2loc.h (dwarf2_evaluate_property): New function prototype. | |
964 | * dwarf2read.c (attr_to_dynamic_prop): New function. | |
965 | (read_subrange_type): Use attr_to_dynamic_prop to read high bound | |
966 | attribute. | |
967 | * gdbtypes.c: Include dwarf2loc.h. | |
968 | (is_dynamic_type): New function. | |
969 | (resolve_dynamic_type): New function. | |
970 | (resolve_dynamic_bounds): New function. | |
971 | (get_type_length): New function. | |
972 | (check_typedef): Use get_type_length to compute type length. | |
973 | * gdbtypes.h (TYPE_HIGH_BOUND_KIND): New macro. | |
974 | (TYPE_LOW_BOUND_KIND): New macro. | |
975 | (is_dynamic_type): New function prototype. | |
976 | * value.c (value_from_contents_and_address): Call resolve_dynamic_type | |
977 | to resolve dynamic properties of the type. Update comment. | |
978 | * valops.c (get_value_at, value_at, value_at_lazy): Update comment. | |
979 | ||
a1556843 RH |
980 | 2014-04-14 Richard Henderson <rth@redhat.com> |
981 | ||
982 | * alpha-linux-nat.c (_initialize_alpha_linux_nat): Fix prototype. | |
983 | ||
0be03e84 DE |
984 | 2014-04-12 Siva Chandra Reddy <sivachandra@google.com> |
985 | Doug Evans <xdje42@gmail.com> | |
986 | ||
987 | * guile/scm-value.c (gdbscm_value_dynamic_type): Use coerce_ref to | |
988 | dereference TYPE_CODE_REF values. | |
989 | ||
6b662e19 JB |
990 | 2014-04-11 Joel Brobecker <brobecker@adacore.com> |
991 | ||
992 | Revert the following changes due to regressions: | |
993 | ||
994 | * dwarf2loc.c (dwarf2_locexpr_baton_eval): New function. | |
995 | (dwarf2_evaluate_property): New function. | |
996 | * dwarf2loc.h (dwarf2_evaluate_property): New function prototype. | |
997 | * dwarf2read.c (attr_to_dynamic_prop): New function. | |
998 | (read_subrange_type): Use attr_to_dynamic_prop to read high bound | |
999 | attribute. | |
1000 | * gdbtypes.c: Include dwarf2loc.h. | |
1001 | (is_dynamic_type): New function. | |
1002 | (resolve_dynamic_type): New function. | |
1003 | (resolve_dynamic_bounds): New function. | |
1004 | (get_type_length): New function. | |
1005 | (check_typedef): Use get_type_length to compute type length. | |
1006 | * gdbtypes.h (TYPE_HIGH_BOUND_KIND): New macro. | |
1007 | (TYPE_LOW_BOUND_KIND): New macro. | |
1008 | (is_dynamic_type): New function prototype. | |
1009 | * value.c (value_from_contents_and_address): Call resolve_dynamic_type | |
1010 | to resolve dynamic properties of the type. Update comment. | |
1011 | * valops.c (get_value_at, value_at, value_at_lazy): Update comment. | |
1012 | ||
1013 | * eval.c (evaluate_subexp_for_sizeof) <OP_VAR_VALUE>: If the type | |
1014 | passed to sizeof is dynamic evaluate the argument to compute the length. | |
1015 | ||
1016 | * eval.c (evaluate_subexp_for_sizeof) <UNOP_IND>: Create an indirect | |
1017 | value and retrieve the dynamic type size. | |
1018 | ||
1019 | * ada-lang.c (ada_value_primitive_packed_val): Re-fetch type from value. | |
1020 | (ada_template_to_fixed_record_type_1): Likewise. | |
1021 | (ada_to_fixed_type_1): Likewise. | |
1022 | * cp-valprint.c (cp_print_value_fields_rtti): Likewise. | |
1023 | (cp_print_value): Likewise. | |
1024 | * d-valprint.c (dynamic_array_type): Likewise. | |
1025 | * eval.c (evaluate_subexp_with_coercion): Likewise. | |
1026 | * findvar.c (address_of_variable): Likewise. | |
1027 | * jv-valprint.c (java_value_print): Likewise. | |
1028 | * valops.c (value_ind): Likewise. | |
1029 | * value.c (coerce_ref): Likewise. | |
1030 | ||
1031 | * c-typeprint.c (c_type_print_varspec_suffix): Added | |
1032 | check for not yet resolved high bound. If unresolved, print | |
1033 | "variable length" string to the console instead of random | |
1034 | length. | |
1035 | ||
1036 | * dwarf2read.c (read_subrange_type): Convert DW_AT_count to a dynamic | |
1037 | property and store it as the high bound and flag the range accordingly. | |
1038 | * gdbtypes.c (resolve_dynamic_bounds): If range is flagged as | |
1039 | RANGE_UPPER_BOUND_IS_COUNT assign low + high - 1 as the new high bound. | |
1040 | * gdbtypes.h (enum range_flags): New enum. | |
1041 | (struct range_bounds): Add flags member. | |
1042 | ||
1043 | * findvar.c (default_read_var_value): Resolve dynamic bounds if location | |
1044 | points to a constant blob. | |
1045 | ||
1046 | * eval.c (evaluate_subexp_for_sizeof): Add enum noside argument. | |
1047 | (evaluate_subexp_standard): Pass noside argument. | |
1048 | (evaluate_subexp_for_sizeof) <BINOP_SUBSCRIPT>: Handle subscript case | |
1049 | if noside equals EVAL_NORMAL. If the subscript yields a vla type | |
1050 | re-evaluate subscript operation with EVAL_NORMAL to enable sideffects. | |
1051 | * gdbtypes.c (resolve_dynamic_bounds): Mark bound as evaluated. | |
1052 | * gdbtypes.h (enum range_flags): Add RANGE_EVALUATED case. | |
1053 | ||
245a5f0b KS |
1054 | 2014-04-11 Keith Seitz <keiths@redhat.com> |
1055 | ||
1056 | PR c++/16675 | |
1057 | * c-exp.y (exp : SIZEOF '(' type ')'): Handle reference types. | |
1058 | * eval.c (evaluate_subexp_for_sizeof): Refactor and handle | |
1059 | reference types. | |
1060 | ||
3bce8237 SA |
1061 | 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com> |
1062 | ||
1063 | * eval.c (evaluate_subexp_for_sizeof): Add enum noside argument. | |
1064 | (evaluate_subexp_standard): Pass noside argument. | |
1065 | (evaluate_subexp_for_sizeof) <BINOP_SUBSCRIPT>: Handle subscript case | |
1066 | if noside equals EVAL_NORMAL. If the subscript yields a vla type | |
1067 | re-evaluate subscript operation with EVAL_NORMAL to enable sideffects. | |
1068 | * gdbtypes.c (resolve_dynamic_bounds): Mark bound as evaluated. | |
1069 | * gdbtypes.h (enum range_flags): Add RANGE_EVALUATED case. | |
1070 | ||
92b09522 SA |
1071 | 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com> |
1072 | ||
1073 | * findvar.c (default_read_var_value): Resolve dynamic bounds if location | |
1074 | points to a constant blob. | |
1075 | ||
e1969afb SA |
1076 | 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com> |
1077 | ||
1078 | * dwarf2read.c (read_subrange_type): Convert DW_AT_count to a dynamic | |
1079 | property and store it as the high bound and flag the range accordingly. | |
1080 | * gdbtypes.c (resolve_dynamic_bounds): If range is flagged as | |
1081 | RANGE_UPPER_BOUND_IS_COUNT assign low + high - 1 as the new high bound. | |
1082 | * gdbtypes.h (enum range_flags): New enum. | |
1083 | (struct range_bounds): Add flags member. | |
1084 | ||
b86138fb SA |
1085 | 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com> |
1086 | ||
1087 | * c-typeprint.c (c_type_print_varspec_suffix): Added | |
1088 | check for not yet resolved high bound. If unresolved, print | |
1089 | "variable length" string to the console instead of random | |
1090 | length. | |
1091 | ||
bcd629a4 SA |
1092 | 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com> |
1093 | ||
1094 | * ada-lang.c (ada_value_primitive_packed_val): Re-fetch type from value. | |
1095 | (ada_template_to_fixed_record_type_1): Likewise. | |
1096 | (ada_to_fixed_type_1): Likewise. | |
1097 | * cp-valprint.c (cp_print_value_fields_rtti): Likewise. | |
1098 | (cp_print_value): Likewise. | |
1099 | * d-valprint.c (dynamic_array_type): Likewise. | |
1100 | * eval.c (evaluate_subexp_with_coercion): Likewise. | |
1101 | * findvar.c (address_of_variable): Likewise. | |
1102 | * jv-valprint.c (java_value_print): Likewise. | |
1103 | * valops.c (value_ind): Likewise. | |
1104 | * value.c (coerce_ref): Likewise. | |
1105 | ||
04b19544 SA |
1106 | 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com> |
1107 | ||
1108 | * eval.c (evaluate_subexp_for_sizeof) <UNOP_IND>: Create an indirect | |
1109 | value and retrieve the dynamic type size. | |
1110 | ||
26cb189f SA |
1111 | 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com> |
1112 | ||
1113 | * eval.c (evaluate_subexp_for_sizeof) <OP_VAR_VALUE>: If the type | |
1114 | passed to sizeof is dynamic evaluate the argument to compute the length. | |
1115 | ||
37c1ab67 SA |
1116 | 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com> |
1117 | ||
1118 | * dwarf2loc.c (dwarf2_locexpr_baton_eval): New function. | |
1119 | (dwarf2_evaluate_property): New function. | |
1120 | * dwarf2loc.h (dwarf2_evaluate_property): New function prototype. | |
1121 | * dwarf2read.c (attr_to_dynamic_prop): New function. | |
1122 | (read_subrange_type): Use attr_to_dynamic_prop to read high bound | |
1123 | attribute. | |
1124 | * gdbtypes.c: Include dwarf2loc.h. | |
1125 | (is_dynamic_type): New function. | |
1126 | (resolve_dynamic_type): New function. | |
1127 | (resolve_dynamic_bounds): New function. | |
1128 | (get_type_length): New function. | |
1129 | (check_typedef): Use get_type_length to compute type length. | |
1130 | * gdbtypes.h (TYPE_HIGH_BOUND_KIND): New macro. | |
1131 | (TYPE_LOW_BOUND_KIND): New macro. | |
1132 | (is_dynamic_type): New function prototype. | |
1133 | * value.c (value_from_contents_and_address): Call resolve_dynamic_type | |
1134 | to resolve dynamic properties of the type. Update comment. | |
1135 | * valops.c (get_value_at, value_at, value_at_lazy): Update comment. | |
1136 | ||
729efb13 SA |
1137 | 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com> |
1138 | ||
1139 | * dwarf2read.c (read_subrange_type): Use struct bound_prop for | |
1140 | declaring high/low bounds and change uses accordingly. Call | |
1141 | create_range_type instead of create_static_range_type. | |
1142 | * gdbtypes.c (create_range_type): New function. | |
1143 | (create_range_type): Convert bounds into struct bound_prop and pass | |
1144 | them to create_range_type. | |
1145 | * gdbtypes.h (struct bound_prop): New struct. | |
1146 | (create_range_type): New function prototype. | |
1147 | (struct range_bounds): Use struct bound_prop instead of LONGEST for | |
1148 | high/low bounds. Remove low_undefined/high_undefined and adapt all uses. | |
1149 | (TYPE_LOW_BOUND,TYPE_HIGH_BOUND): Adapt macros to refer to the static | |
1150 | part of the bound. | |
1151 | * parse.c (follow_types): Set high bound kind to BOUND_UNDEFINED. | |
1152 | ||
0c9c3474 SA |
1153 | 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com> |
1154 | ||
1155 | * gdbtypes.c (create_static_range_type): Renamed from create_range_type. | |
1156 | * gdbtypes.h (create_static_range_type): Renamed from create_range_type. | |
1157 | * ada-lang.c: All uses of create_range_type updated. | |
1158 | * coffread.c: All uses of create_range_type updated. | |
1159 | * dwarf2read.c: All uses of create_range_type updated. | |
1160 | * f-exp.y: All uses of create_range_type updated. | |
1161 | * m2-valprint.c: All uses of create_range_type updated. | |
1162 | * mdebugread.c: All uses of create_range_type updated. | |
1163 | * stabsread.c: All uses of create_range_type updated. | |
1164 | * valops.c: All uses of create_range_type updated. | |
1165 | * valprint.c: All uses of create_range_type updated. | |
1166 | ||
9d497a19 PA |
1167 | 2014-04-10 Pedro Alves <palves@redhat.com> |
1168 | ||
1169 | * breakpoint.c (single_step_breakpoints) | |
1170 | (single_step_gdbarch): Move up in the file. | |
1171 | (one_breakpoint_xfer_memory): New function, factored out from ... | |
1172 | (breakpoint_xfer_memory): ... here. Also process single-step | |
1173 | breakpoints. | |
1174 | ||
15a9128a TG |
1175 | 2014-04-09 Tristan Gingold <gingold@adacore.com> |
1176 | ||
1177 | * darwin-nat.c (darwin_check_new_threads): Fix port leak, add | |
1178 | comments. | |
1179 | (darwin_decode_exception_message): Free port only after use. | |
1180 | ||
9c97a070 PL |
1181 | 2014-04-08 Pierre Langlois <pierre.langlois@embecosm.com> |
1182 | ||
1183 | * avr-tdep.c (struct gdbarch_tdep): Mention avrxmega in the comment. | |
1184 | (avr_gdbarch_init): Add xmega architectures given by bfd_architecture | |
1185 | when setting the size of call_length. | |
1186 | ||
7af389b8 SC |
1187 | 2014-04-07 Siva Chandra Reddy <sivachandra@google.com> |
1188 | ||
1189 | * python/py-value.c (valpy_get_dynamic_type): Use coerce_ref to | |
1190 | dereference TYPE_CODE_REF values. | |
1191 | ||
86ad98c3 JB |
1192 | 2014-04-07 Joel Brobecker <brobecker@adacore.com> |
1193 | ||
1194 | * darwin-nat.c (darwin_decode_message): Remove trailing '\n' at | |
1195 | end of warning message. | |
1196 | ||
b0aeadb3 DE |
1197 | 2014-04-03 Doug Evans <dje@google.com> |
1198 | ||
1199 | * dwarf2read.c (read_cutu_die_from_dwo): Fix assertion, at most one | |
1200 | of stub_comp_unit_die, stub_comp_dir is non-NULL. | |
1201 | ||
5979d6b6 AM |
1202 | 2014-04-02 Alan Modra <amodra@gmail.com> |
1203 | ||
1204 | * symfile-mem.c (symbol_file_add_from_memory): Add size parameter. | |
1205 | Pass to bfd_elf_bfd_from_remote_memory. Adjust all callers. | |
1206 | (struct symbol_file_add_from_memory_args): Add size field. | |
1207 | (find_vdso_size): New function. | |
1208 | (add_vsyscall_page): Attempt to find vdso size. | |
1209 | ||
0d60c288 DE |
1210 | 2014-04-01 Doug Evans <dje@google.com> |
1211 | ||
1212 | * dwarf2read.c (read_cutu_die_from_dwo): Improve comment. | |
1213 | ||
a41f2563 TG |
1214 | 2014-04-01 Tristan Gingold <gingold@adacore.com> |
1215 | ||
1216 | * darwin-nat.c (darwin_encode_reply): Add prototype. | |
1217 | (darwin_decode_exception_message): Reply to unknown inferiors. | |
1218 | (darwin_decode_message): Handle message by id. Ignore message | |
1219 | to unknown inferior. | |
1220 | (darwin_wait): Discard unknown messages, add debug trace. | |
1221 | ||
11a865c8 DE |
1222 | 2014-03-31 Doug Evans <dje@google.com> |
1223 | ||
1224 | * dwarf2read.c (read_cutu_die_from_dwo): Delete unused local | |
1225 | comp_dir_string. | |
1226 | ||
770e7fc7 DE |
1227 | 2014-03-31 Doug Evans <dje@google.com> |
1228 | ||
1229 | New option "set print symbol-loading". | |
1230 | * NEWS: Mention it. | |
1231 | * solib.c (solib_read_symbols): Only print symbol loading messages | |
1232 | if requested. | |
1233 | (solib_add): If symbol loading is in "brief" mode, notify user | |
1234 | symbols are being loaded. | |
1235 | (reload_shared_libraries_1): Ditto. | |
1236 | * symfile.c (print_symbol_loading_off): New static global. | |
1237 | (print_symbol_loading_brief): New static global. | |
1238 | (print_symbol_loading_full): New static global. | |
1239 | (print_symbol_loading_enums): New static global. | |
1240 | (print_symbol_loading): New static global. | |
1241 | (print_symbol_loading_p): New function. | |
1242 | (symbol_file_add_with_addrs): Only print symbol loading messages | |
1243 | if requested. | |
1244 | (_initialize_symfile): Register "print symbol-loading" set/show | |
1245 | command. | |
1246 | * symfile.h (print_symbol_loading_p): Declare. | |
1247 | ||
c32c64b7 DE |
1248 | 2014-03-30 Doug Evans <xdje42@gmail.com> |
1249 | ||
1250 | * infrun.c (set_last_target_status): New function. | |
1251 | (handle_inferior_event): Call it. | |
1252 | ||
7c0bc051 DE |
1253 | 2014-03-30 Doug Evans <xdje42@gmail.com> |
1254 | ||
1255 | * inferior.h (enum stop_kind): Improve comment. | |
1256 | ||
8776cfe9 JB |
1257 | 2014-03-28 Joel Brobecker <brobecker@adacore.com> |
1258 | ||
1259 | * varobj.c (varobj_value_has_mutated): If NEW_VALUE is | |
1260 | a reference, strip the reference layer before calling | |
1261 | the lang_ops value_has_mutated callback. | |
1262 | ||
410a0ff2 SDJ |
1263 | 2014-03-27 Sergio Durigan Junior <sergiodj@redhat.com> |
1264 | ||
1265 | Remove some globals from our parser. | |
1266 | * language.c (unk_lang_parser): Add "struct parser_state" | |
1267 | argument. | |
1268 | * language.h (struct language_defn) <la_parser>: Likewise. | |
1269 | * parse.c (expout, expout_size, expout_ptr): Remove variables. | |
1270 | (initialize_expout): Add "struct parser_state" argument. | |
1271 | Rewrite function to use the parser state. | |
1272 | (reallocate_expout, write_exp_elt, write_exp_elt_opcode, | |
1273 | write_exp_elt_sym, write_exp_elt_block, write_exp_elt_objfile, | |
1274 | write_exp_elt_longcst, write_exp_elt_dblcst, | |
1275 | write_exp_elt_decfloatcst, write_exp_elt_type, | |
1276 | write_exp_elt_intern, write_exp_string, write_exp_string_vector, | |
1277 | write_exp_bitstring, write_exp_msymbol, mark_struct_expression, | |
1278 | write_dollar_variable): Likewise. | |
1279 | (parse_exp_in_context_1): Use parser state. | |
1280 | (insert_type_address_space): Add "struct parser_state" argument. | |
1281 | Use parser state. | |
1282 | (increase_expout_size): New function. | |
1283 | * parser-defs.h: Forward declare "struct language_defn" and | |
1284 | "struct parser_state". | |
1285 | (expout, expout_size, expout_ptr): Remove extern declarations. | |
1286 | (parse_gdbarch, parse_language): Rewrite macro declarations to | |
1287 | accept the parser state. | |
1288 | (struct parser_state): New struct. | |
1289 | (initialize_expout, reallocate_expout, write_exp_elt_opcode, | |
1290 | write_exp_elt_sym, write_exp_elt_longcst, write_exp_elt_dblcst, | |
1291 | write_exp_elt_decfloatcst, write_exp_elt_type, | |
1292 | write_exp_elt_intern, write_exp_string, write_exp_string_vector, | |
1293 | write_exp_bitstring, write_exp_elt_block, write_exp_elt_objfile, | |
1294 | write_exp_msymbol, write_dollar_variable, | |
1295 | mark_struct_expression, insert_type_address_space): Add "struct | |
1296 | parser_state" argument. | |
1297 | (increase_expout_size): New function. | |
1298 | * utils.c (do_clear_parser_state): New function. | |
1299 | (make_cleanup_clear_parser_state): Likewise. | |
1300 | * utils.h (make_cleanup_clear_parser_state): New function | |
1301 | prototype. | |
1302 | * aarch64-linux-tdep.c (aarch64_stap_parse_special_token): | |
1303 | Update calls to write_exp* in order to pass the parser state. | |
1304 | * arm-linux-tdep.c (arm_stap_parse_special_token): Likewise. | |
1305 | * i386-tdep.c (i386_stap_parse_special_token_triplet): Likewise. | |
1306 | (i386_stap_parse_special_token_three_arg_disp): Likewise. | |
1307 | * ppc-linux-tdep.c (ppc_stap_parse_special_token): Likewise. | |
1308 | * stap-probe.c (stap_parse_register_operand): Likewise. | |
1309 | (stap_parse_single_operand): Likewise. | |
1310 | (stap_parse_argument_1): Likewise. | |
1311 | (stap_parse_argument): Use parser state. | |
1312 | * stap-probe.h: Include "parser-defs.h". | |
1313 | (struct stap_parse_info) <pstate>: New field. | |
1314 | * c-exp.y (parse_type): Rewrite to use parser state. | |
1315 | (yyparse): Redefine to c_parse_internal. | |
1316 | (pstate): New global variable. | |
1317 | (parse_number): Add "struct parser_state" argument. | |
1318 | (write_destructor_name): Likewise. | |
1319 | (type_exp): Update calls to write_exp* and similars in order to | |
1320 | use parser state. | |
1321 | (exp1, exp, variable, qualified_name, space_identifier, | |
1322 | typename, typebase): Likewise. | |
1323 | (write_destructor_name, parse_number, lex_one_token, | |
1324 | classify_name, classify_inner_name, c_parse): Add "struct | |
1325 | parser_state" argument. Update function to use parser state. | |
1326 | * c-lang.h: Forward declare "struct parser_state". | |
1327 | (c_parse): Add "struct parser_state" argument. | |
1328 | * ada-exp.y (parse_type): Rewrite macro to use parser state. | |
1329 | (yyparse): Redefine macro to ada_parse_internal. | |
1330 | (pstate): New variable. | |
1331 | (write_int, write_object_renaming, write_var_or_type, | |
1332 | write_name_assoc, write_exp_op_with_string, write_ambiguous_var, | |
1333 | type_int, type_long, type_long_long, type_float, type_double, | |
1334 | type_long_double, type_char, type_boolean, type_system_address): | |
1335 | Add "struct parser_state" argument. | |
1336 | (exp1, primary, simple_exp, relation, and_exp, and_then_exp, | |
1337 | or_exp, or_else_exp, xor_exp, type_prefix, opt_type_prefix, | |
1338 | var_or_type, aggregate, aggregate_component_list, | |
1339 | positional_list, others, component_group, | |
1340 | component_associations): Update calls to write_exp* and similar | |
1341 | functions in order to use parser state. | |
1342 | (ada_parse, write_var_from_sym, write_int, | |
1343 | write_exp_op_with_string, write_object_renaming, | |
1344 | find_primitive_type, write_selectors, write_ambiguous_var, | |
1345 | write_var_or_type, write_name_assoc, type_int, type_long, | |
1346 | type_long_long, type_float, type_double, type_long_double, | |
1347 | type_char, type_boolean, type_system_address): Add "struct | |
1348 | parser_state" argument. Adjust function to use parser state. | |
1349 | * ada-lang.c (parse): Likewise. | |
1350 | * ada-lang.h: Forward declare "struct parser_state". | |
1351 | (ada_parse): Add "struct parser_state" argument. | |
1352 | * ada-lex.l (processInt, processReal): Likewise. Adjust all | |
1353 | calls to both functions. | |
1354 | * f-exp.y (parse_type, parse_f_type): Rewrite macros to use | |
1355 | parser state. | |
1356 | (yyparse): Redefine macro to f_parse_internal. | |
1357 | (pstate): New variable. | |
1358 | (parse_number): Add "struct parser_state" argument. | |
1359 | (type_exp, exp, subrange, typebase): Update calls to write_exp* | |
1360 | and similars in order to use parser state. | |
1361 | (parse_number): Adjust code to use parser state. | |
1362 | (yylex): Likewise. | |
1363 | (f_parse): New function. | |
1364 | * f-lang.h: Forward declare "struct parser_state". | |
1365 | (f_parse): Add "struct parser_state" argument. | |
1366 | * jv-exp.y (parse_type, parse_java_type): Rewrite macros to use | |
1367 | parser state. | |
1368 | (yyparse): Redefine macro for java_parse_internal. | |
1369 | (pstate): New variable. | |
1370 | (push_expression_name, push_expression_name, insert_exp): Add | |
1371 | "struct parser_state" argument. | |
1372 | (type_exp, StringLiteral, Literal, PrimitiveType, IntegralType, | |
1373 | FloatingPointType, exp1, PrimaryNoNewArray, FieldAccess, | |
1374 | FuncStart, MethodInvocation, ArrayAccess, PostfixExpression, | |
1375 | PostIncrementExpression, PostDecrementExpression, | |
1376 | UnaryExpression, PreIncrementExpression, PreDecrementExpression, | |
1377 | UnaryExpressionNotPlusMinus, CastExpression, | |
1378 | MultiplicativeExpression, AdditiveExpression, ShiftExpression, | |
1379 | RelationalExpression, EqualityExpression, AndExpression, | |
1380 | ExclusiveOrExpression, InclusiveOrExpression, | |
1381 | ConditionalAndExpression, ConditionalOrExpression, | |
1382 | ConditionalExpression, Assignment, LeftHandSide): Update | |
1383 | calls to write_exp* and similars in order to use parser state. | |
1384 | (parse_number): Ajust code to use parser state. | |
1385 | (yylex): Likewise. | |
1386 | (java_parse): New function. | |
1387 | (push_variable): Add "struct parser_state" argument. Adjust | |
1388 | code to user parser state. | |
1389 | (push_fieldnames, push_qualified_expression_name, | |
1390 | push_expression_name, insert_exp): Likewise. | |
1391 | * jv-lang.h: Forward declare "struct parser_state". | |
1392 | (java_parse): Add "struct parser_state" argument. | |
1393 | * m2-exp.y (parse_type, parse_m2_type): Rewrite macros to use | |
1394 | parser state. | |
1395 | (yyparse): Redefine macro to m2_parse_internal. | |
1396 | (pstate): New variable. | |
1397 | (type_exp, exp, fblock, variable, type): Update calls to | |
1398 | write_exp* and similars to use parser state. | |
1399 | (yylex): Likewise. | |
1400 | (m2_parse): New function. | |
1401 | * m2-lang.h: Forward declare "struct parser_state". | |
1402 | (m2_parse): Add "struct parser_state" argument. | |
1403 | * objc-lang.c (end_msglist): Add "struct parser_state" argument. | |
1404 | * objc-lang.h: Forward declare "struct parser_state". | |
1405 | (end_msglist): Add "struct parser_state" argument. | |
1406 | * p-exp.y (parse_type): Rewrite macro to use parser state. | |
1407 | (yyparse): Redefine macro to pascal_parse_internal. | |
1408 | (pstate): New variable. | |
1409 | (parse_number): Add "struct parser_state" argument. | |
1410 | (type_exp, exp1, exp, qualified_name, variable): Update calls to | |
1411 | write_exp* and similars in order to use parser state. | |
1412 | (parse_number, yylex): Adjust code to use parser state. | |
1413 | (pascal_parse): New function. | |
1414 | * p-lang.h: Forward declare "struct parser_state". | |
1415 | (pascal_parse): Add "struct parser_state" argument. | |
1416 | * go-exp.y (parse_type): Rewrite macro to use parser state. | |
1417 | (yyparse): Redefine macro to go_parse_internal. | |
1418 | (pstate): New variable. | |
1419 | (parse_number): Add "struct parser_state" argument. | |
1420 | (type_exp, exp1, exp, variable, type): Update calls to | |
1421 | write_exp* and similars in order to use parser state. | |
1422 | (parse_number, lex_one_token, classify_name, yylex): Adjust code | |
1423 | to use parser state. | |
1424 | (go_parse): Likewise. | |
1425 | * go-lang.h: Forward declare "struct parser_state". | |
1426 | (go_parse): Add "struct parser_state" argument. | |
1427 | ||
342587c4 DE |
1428 | 2014-03-27 Doug Evans <dje@google.com> |
1429 | ||
1430 | * dwarf2read.c (read_str_index): Delete arg cu. All callers updated. | |
1431 | ||
33e80786 DE |
1432 | 2014-03-27 Doug Evans <dje@google.com> |
1433 | ||
1434 | * dwarf2read.c (init_cutu_and_read_dies_no_follow): Fix comments. | |
1435 | Remove argument abbrev_section. All callers updated. | |
1436 | ||
1dbab08b DE |
1437 | 2014-03-27 Doug Evans <dje@google.com> |
1438 | ||
1439 | * dwarf2read.c (struct dwarf2_cu): Improve comments for members | |
1440 | addr_base, ranges_base. | |
1441 | ||
318d3177 KS |
1442 | 2014-03-26 Keith Seitz <keiths@redhat.com> |
1443 | ||
1444 | * ada-tasks.c (get_tcb_types_info): Search STRUCT_DOMAIN for | |
1445 | types, not VAR_DOMAIN. | |
1446 | ||
1e54db15 SL |
1447 | 2014-03-25 Sandra Loosemore <sandra@codesourcery.com> |
1448 | ||
1449 | * features/nios2-cpu.xml: Correct types of "gp", "fp", "ea", and | |
1450 | "ra" registers. | |
1451 | * features/nios2-linux.c: Regenerated. | |
1452 | * features/nios2.c: Regenerated. | |
1453 | ||
d3839ede PA |
1454 | 2014-03-25 Pedro Alves <palves@redhat.com> |
1455 | ||
1456 | * cli/cli-script.c (script_from_file): Force the interpreter to | |
1457 | sync mode. | |
1458 | ||
7588d2ec PL |
1459 | 2014-03-24 Pierre Langlois <pierre.langlois@embecosm.com> |
1460 | ||
1461 | * avr-tdep.c (avr_scan_prologue): Accept push r1 instruction for | |
1462 | small stack allocation. | |
1463 | ||
a6290449 TG |
1464 | 2014-03-24 Tristan Gingold <gingold@adacore.com> |
1465 | ||
1466 | * darwin-nat.c (exc_server): Remove unused prototype. | |
1467 | (darwin_dump_message): Correctly display data on x86_64. | |
1468 | (darwin_encode_reply): Fix style. | |
1469 | Add comments and fix indentation. | |
1470 | ||
31ae9d24 | 1471 | 2014-03-24 Pierre Langlois <pierre.langlois@embecosm.com> |
69fa4030 PL |
1472 | |
1473 | * MAINTAINERS (Write After Approval): Add "Pierre Langlois". | |
1474 | ||
6339bfc4 DE |
1475 | 2014-03-22 Doug Evans <xdje42@gmail.com> |
1476 | ||
1477 | * infcmd.c: Whitespace fixes. | |
1478 | (interrupt_command): Merge two function comments into one. | |
1479 | ||
0a07590b DE |
1480 | 2014-03-22 Doug Evans <xdje42@gmail.com> |
1481 | ||
1482 | * infcmd.c (interrupt_command): Renamed from interrupt_target_command. | |
1483 | All uses updated. | |
1484 | ||
b55fbac4 YQ |
1485 | 2014-03-22 Yao Qi <yao@codesourcery.com> |
1486 | ||
1487 | * remote.c (target_read_live_memory): Remove. | |
1488 | (memory_xfer_live_readonly_partial): Rename it to | |
1489 | remote_xfer_live_readonly_partial. Remove argument 'object'. | |
1490 | All callers updated. Call remote_read_bytes_1 | |
1491 | instead of target_read_live_memory. | |
1492 | * tracepoint.c (set_traceframe_number): Remove. | |
1493 | (make_cleanup_restore_traceframe_number): Likewise . | |
1494 | * tracepoint.h (set_traceframe_number): Remove declaration. | |
1495 | (make_cleanup_restore_traceframe_number): Likewise. | |
1496 | ||
9217e74e YQ |
1497 | 2014-03-22 Yao Qi <yao@codesourcery.com> |
1498 | ||
1499 | * remote.c (remote_read_bytes): Move code on reading from the | |
1500 | remote stub to ... | |
1501 | (remote_read_bytes_1): ... here. New function. | |
1502 | ||
8acf9577 YQ |
1503 | 2014-03-22 Yao Qi <yao@codesourcery.com> |
1504 | ||
1505 | * ctf.c (ctf_xfer_partial): Check the return value of | |
1506 | exec_read_partial_read_only, if it is not TARGET_XFER_OK, | |
1507 | return TARGET_XFER_UNAVAILABLE. | |
1508 | * tracefile-tfile.c (tfile_xfer_partial): Likewise. | |
1509 | * target.c (target_read_live_memory): Move it to remote.c. | |
1510 | (memory_xfer_live_readonly_partial): Likewise. | |
1511 | (memory_xfer_partial_1): Move some code to remote_read_bytes. | |
1512 | * remote.c (target_read_live_memory): Moved from target.c. | |
1513 | (memory_xfer_live_readonly_partial): Likewise. | |
1514 | (remote_read_bytes): Factored out from | |
1515 | memory_xfer_partial_1. | |
1516 | ||
feef67ab DE |
1517 | 2014-03-21 Daniel Gutson <daniel.gutson@tallertechnologies.com> |
1518 | ||
1519 | * extension.c (eval_ext_lang_from_control_command): Avoid dereferencing | |
1520 | NULL pointer. | |
1521 | ||
b65dc60b PA |
1522 | 2014-03-21 Pedro Alves <palves@redhat.com> |
1523 | ||
1524 | * infrun.c (normal_stop): Extend comment. | |
1525 | ||
b4ab256d HZ |
1526 | 2014-03-21 Hui Zhu <hui@codesourcery.com> |
1527 | Pedro Alves <palves@redhat.com> | |
1528 | ||
1529 | * darwin-nat.c (darwin_pid_to_exec_file): Change xmalloc to | |
1530 | static buffer. | |
1531 | * fbsd-nat.c (fbsd_pid_to_exec_file): Ditto. | |
1532 | * linux-nat.c (linux_child_pid_to_exec_file): Ditto. | |
1533 | * nbsd-nat.c (nbsd_pid_to_exec_file): Ditto. | |
1534 | ||
deba7593 MR |
1535 | 2014-03-20 Maciej W. Rozycki <macro@codesourcery.com> |
1536 | ||
1537 | * mi/mi-interp.c (mi_memory_changed): Avoid using the ISO C99 | |
1538 | `z' formatted output modifier. | |
1539 | ||
1bff71c3 SDJ |
1540 | 2014-03-20 Tom Tromey <tromey@redhat.com> |
1541 | Sergio Durigan Junior <sergiodj@redhat.com> | |
1542 | ||
1543 | * probe.c (parse_probes): Turn assert into an ordinary error. | |
1544 | * break-catch-throw.c (re_set_exception_catchpoint): Ignore | |
1545 | exceptions when parsing probes. Rearrange the code for clarity. | |
1546 | ||
90e28950 TT |
1547 | 2014-03-20 Tom Tromey <tromey@redhat.com> |
1548 | ||
1549 | PR gdb/14135 | |
1550 | * top.c (execute_command): Only dispatch events if the command | |
1551 | started the target. | |
1552 | ||
beb460e8 PA |
1553 | 2014-03-20 Tom Tromey <tromey@redhat.com> |
1554 | ||
1555 | PR cli/15718 | |
1556 | * infcall.c: Include event-top.h. | |
1557 | (run_inferior_call): Call async_disable_stdin if needed. | |
1558 | ||
99619bea PA |
1559 | 2014-03-20 Pedro Alves <palves@redhat.com> |
1560 | ||
1561 | * infrun.c (prepare_to_proceed): Delete. | |
1562 | (thread_still_needs_step_over): New function. | |
1563 | (find_thread_needs_step_over): New function. | |
1564 | (proceed): If the current thread needs a step-over, set its | |
1565 | steping_over_breakpoint flag. Adjust to use | |
1566 | find_thread_needs_step_over instead of prepare_to_proceed. | |
1567 | (process_event_stop_test): For BPSTAT_WHAT_STOP_NOISY and | |
1568 | BPSTAT_WHAT_STOP_SILENT, assume the thread stopped for a | |
1569 | breakpoint. | |
1570 | (switch_back_to_stepped_thread): Step over breakpoints of all | |
1571 | threads not the stepping thread, before switching back to the | |
1572 | stepping thread. | |
1573 | ||
2adfaa28 PA |
1574 | 2014-03-20 Pedro Alves <palves@redhat.com> |
1575 | ||
1576 | * breakpoint.c (single_step_breakpoint_inserted_here_p): Make | |
1577 | extern. | |
1578 | * breakpoint.h (single_step_breakpoint_inserted_here_p): Declare. | |
1579 | * infrun.c (saved_singlestep_ptid) | |
1580 | (stepping_past_singlestep_breakpoint): Delete. | |
1581 | (resume): Remove stepping_past_singlestep_breakpoint handling. | |
1582 | (proceed): Store the prev_pc of the stepping thread too. | |
1583 | (init_wait_for_inferior): Adjust. Clear singlestep_ptid and | |
1584 | singlestep_pc. | |
1585 | (enum infwait_states): Delete infwait_thread_hop_state. | |
1586 | (struct execution_control_state) <hit_singlestep_breakpoint>: New | |
1587 | field. | |
1588 | (handle_inferior_event): Adjust. | |
1589 | (handle_signal_stop): Delete stepping_past_singlestep_breakpoint | |
1590 | handling and the thread-hop code. Before removing single-step | |
1591 | breakpoints, check whether the thread hit a single-step breakpoint | |
1592 | of another thread. If it did, the trap is not a random signal. | |
1593 | (switch_back_to_stepped_thread): If the event thread hit a | |
1594 | single-step breakpoint, unblock it before switching to the | |
1595 | stepping thread. Handle the case of the stepped thread having | |
1596 | advanced already. | |
1597 | (keep_going): Handle the case of the current thread moving past a | |
1598 | single-step breakpoint. | |
1599 | ||
31e77af2 PA |
1600 | 2014-03-20 Pedro Alves <palves@redhat.com> |
1601 | ||
1602 | PR breakpoints/7143 | |
1603 | * breakpoint.c (should_be_inserted): Don't insert breakpoints that | |
1604 | are being stepped over. | |
1605 | (breakpoint_address_match): Make extern. | |
1606 | * breakpoint.h (breakpoint_address_match): New declaration. | |
1607 | * inferior.h (stepping_past_instruction_at): New declaration. | |
1608 | * infrun.c (struct step_over_info): New type. | |
1609 | (step_over_info): New global. | |
1610 | (set_step_over_info, clear_step_over_info) | |
1611 | (stepping_past_instruction_at): New functions. | |
1612 | (handle_inferior_event): Clear the step-over info when | |
1613 | trap_expected is cleared. | |
1614 | (resume): Remove now stale comment. | |
1615 | (clear_proceed_status): Clear step-over info. | |
1616 | (proceed): Adjust step-over handling to set or clear the step-over | |
1617 | info instead of removing all breakpoints. | |
1618 | (handle_signal_stop): When setting up a thread-hop, don't remove | |
1619 | breakpoints here. | |
1620 | (stop_stepping): Clear step-over info. | |
1621 | (keep_going): Adjust step-over handling to set or clear step-over | |
1622 | info and then always inserting breakpoints, instead of removing | |
1623 | all breakpoints when stepping over one. | |
1624 | ||
b9f437de PA |
1625 | 2014-03-20 Pedro Alves <palves@redhat.com> |
1626 | ||
1627 | * infrun.c (previous_inferior_ptid): Adjust comment. | |
1628 | (deferred_step_ptid): Delete. | |
1629 | (infrun_thread_ptid_changed, prepare_to_proceed) | |
1630 | (init_wait_for_inferior): Adjust. | |
1631 | (handle_signal_stop): Delete deferred_step_ptid handling. | |
1632 | ||
06c868a8 JK |
1633 | 2014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com> |
1634 | ||
1635 | PR gdb/15358 | |
1636 | * defs.h (sync_quit_force_run): New declaration. | |
1637 | (QUIT): Check also SYNC_QUIT_FORCE_RUN. | |
1638 | * event-top.c (async_sigterm_handler): New declaration. | |
1639 | (async_sigterm_token): New variable. | |
1640 | (async_init_signals): Create also async_sigterm_token. | |
1641 | (async_sigterm_handler): New function. | |
1642 | (sync_quit_force_run): New variable. | |
1643 | (handle_sigterm): Replace quit_force call by other calls. | |
1644 | * utils.c (quit): Call quit_force if SYNC_QUIT_FORCE_RUN. | |
1645 | ||
dea80df0 MR |
1646 | 2014-03-18 Maciej W. Rozycki <macro@codesourcery.com> |
1647 | ||
1648 | * rs6000-tdep.c (rs6000_frame_cache): Correct little-endian GPR | |
1649 | offset into SPE pseudo registers. | |
1650 | ||
0c7e1a46 PA |
1651 | 2014-03-18 Pedro Alves <palves@redhat.com> |
1652 | ||
1653 | PR gdb/13860 | |
1654 | * inferior.h (print_stop_event): Declare. | |
1655 | * infrun.c (print_stop_event): New, factored out from ... | |
1656 | (normal_stop): ... this. | |
1657 | * mi/mi-interp.c (mi_on_normal_stop): Use print_stop_event instead | |
1658 | of bpstat_print/print_stack_frame. | |
1659 | ||
9c1fcd01 TT |
1660 | 2014-03-17 Tom Tromey <tromey@redhat.com> |
1661 | ||
1662 | * ui-out.c (clear_table, ui_out_new): Clear uiout->table.id. | |
1663 | ||
11aa919a PMR |
1664 | 2014-03-17 Pierre-Marie de Rodat <derodat@adacore.com> |
1665 | ||
1666 | * ada-lang.c (decode_constrained_packed_array): Perform a | |
1667 | minimal coercion for reference with coerce_ref instead of | |
1668 | ada_coerce_ref. | |
1669 | ||
d4ccb5e0 TG |
1670 | 2014-03-17 Tristan Gingold <gingold@adacore.com> |
1671 | ||
1672 | * solib-darwin.c (DYLD_VERSION_MAX): Increase value. | |
1673 | (darwin_solib_create_inferior_hook): Emit a warning if version | |
1674 | is unhandled. | |
1675 | ||
49840f2a UW |
1676 | 2014-03-16 Ulrich Weigand <uweigand@de.ibm.com> |
1677 | ||
1678 | * python/py-value.c (get_field_flag): Cast flag_name argument to | |
1679 | PyObject_GetAttrString to support Python 2.4. | |
1680 | ||
ed4123e5 JK |
1681 | 2014-03-14 Jan Kratochvil <jan.kratochvil@redhat.com> |
1682 | ||
1683 | * MAINTAINERS (The Official FSF-appointed GDB Maintainers) | |
1684 | (Global Maintainers): Remove Jan Kratochvil. | |
1685 | ||
d6b64346 PA |
1686 | 2014-03-14 Pedro Alves <palves@redhat.com> |
1687 | ||
1688 | * inferior.h (terminal_ours_for_output): Rename to ... | |
1689 | (child_terminal_ours_for_output): ... this. | |
1690 | (terminal_save_ours): Rename to ... | |
1691 | (child_terminal_save_ours): ... this. | |
1692 | (terminal_ours): Rename to ... | |
1693 | (child_terminal_ours): ... this. | |
1694 | (terminal_inferior): Rename to ... | |
1695 | (child_terminal_inferior): ... this. | |
1696 | (terminal_init_inferior): Rename to ... | |
1697 | (child_terminal_init_inferior): ... this. | |
1698 | (terminal_init_inferior_with_pgrp): Rename to ... | |
1699 | (child_terminal_init_inferior_with_pgrp): ... this. | |
1700 | * inflow.c (terminal_init_inferior_with_pgrp): Rename to ... | |
1701 | (child_terminal_init_with_pgrp): ... this. | |
1702 | (terminal_save_ours): Rename to ... | |
1703 | (child_terminal_save_ours): ... this. | |
1704 | (terminal_init_inferior): Rename to ... | |
1705 | (child_terminal_init): ... this. Adjust. | |
1706 | (terminal_inferior): Rename to ... | |
1707 | (child_terminal_inferior): ... this. | |
1708 | (terminal_ours_for_output): Rename to ... | |
1709 | (child_terminal_ours_for_output): ... this. Adjust. | |
1710 | (terminal_ours): Rename to ... | |
1711 | (child_terminal_ours): ... this. | |
1712 | (terminal_ours_1): Rename to ... | |
1713 | (child_terminal_ours_1): ... this. Adjust. | |
1714 | * linux-nat.c (linux_nat_terminal_inferior): Adjust. | |
1715 | * windows-nat.c (do_initial_windows_stuff): Adjust. | |
1716 | * gnu-nat.c (gnu_terminal_init_inferior): Rename to ... | |
1717 | (gnu_terminal_init): ... this. Adjust. | |
1718 | (gnu_target): Adjust. | |
1719 | * inf-child.c (inf_child_target): Adjust. | |
1720 | ||
5a1e8c7a DE |
1721 | 2014-03-13 Doug Evans <xdje42@gmail.com> |
1722 | ||
1723 | PR guile/16612 | |
1724 | * guile/scm-type.c (tyscm_copy_type_recursive): Move type to its | |
1725 | new eq?-hashtab. | |
1726 | ||
350e1a76 DE |
1727 | 2014-03-13 Doug Evans <xdje42@gmail.com> |
1728 | ||
1729 | * value.c (record_latest_value): Call release_value_or_incref | |
1730 | instead of release_value. | |
1731 | ||
a69900ae PA |
1732 | 2014-03-13 Pedro Alves <palves@redhat.com> |
1733 | ||
1734 | * procfs.c (procfs_target): Don't override to_shortname, | |
1735 | to_longname or to_doc. | |
1736 | ||
5db9f0bd PA |
1737 | 2014-03-13 Pedro Alves <palves@redhat.com> |
1738 | ||
1739 | * inf-child.c (inf_child_open, inf_child_target): Don't mention | |
1740 | Unix in user visible strings. | |
1741 | ||
5e3a2c38 SS |
1742 | 2014-03-12 Stan Shebs <stan@codesourcery.com> |
1743 | ||
1744 | * gdbtypes.h: Annotate comments for Doxygen, add a page | |
1745 | block comment with some general info. | |
1746 | ||
8bc2fe48 PA |
1747 | 2014-03-12 Pedro Alves <palves@redhat.com> |
1748 | ||
1749 | * infcmd.c (prepare_execution_command): New function, factored out | |
1750 | from several execution commands. | |
1751 | (run_command_1, continue_command, step_1, jump_command) | |
1752 | (signal_command, until_command, advance_command, finish_command) | |
1753 | (attach_command): Use prepare_execution_command. | |
1754 | ||
638c5f49 OJ |
1755 | 2014-03-12 Omair Javaid <omair.javaid@linaro.org> |
1756 | ||
1757 | * arm-linux-nat.c (arm_linux_get_hwbp_cap): Updated. | |
1758 | (MAX_BPTS): Define. | |
1759 | (MAX_WPTS): Define. | |
1760 | (struct arm_linux_thread_points): Removed. | |
1761 | (struct arm_linux_process_info): New. | |
1762 | (DEF_VEC_P (arm_linux_thread_points_p)): Removed. | |
1763 | (VEC(arm_linux_thread_points_p) *arm_threads): Removed. | |
1764 | (arm_linux_find_breakpoints_by_tid): Removed. | |
1765 | (struct arch_lwp_info): New. | |
1766 | (arm_linux_find_process_pid): New functions. | |
1767 | (arm_linux_add_process): New functions. | |
1768 | (arm_linux_process_info_get): New functions. | |
1769 | (arm_linux_forget_process): New function. | |
1770 | (arm_linux_get_debug_reg_state): New function. | |
1771 | (struct update_registers_data): New. | |
1772 | (update_registers_callback): New function. | |
1773 | (arm_linux_insert_hw_breakpoint1): Updated. | |
1774 | (arm_linux_remove_hw_breakpoint1): Updated. | |
1775 | (arm_linux_insert_hw_breakpoint): Updated. | |
1776 | (arm_linux_remove_hw_breakpoint): Updated. | |
1777 | (arm_linux_insert_watchpoint): Updated. | |
1778 | (arm_linux_remove_watchpoint): Updated. | |
1779 | (arm_linux_new_thread): Updated. | |
1780 | (arm_linux_prepare_to_resume): New function. | |
1781 | (arm_linux_new_fork): New function. | |
1782 | (_initialize_arm_linux_nat): Updated. | |
1783 | ||
6d03af93 PA |
1784 | 2014-03-12 Pedro Alves <palves@redhat.com> |
1785 | ||
1786 | * Makefile.in (TARGET_FLAGS_TO_PASS): Add TESTS. | |
1787 | ||
b3ccfe11 TT |
1788 | 2014-03-12 Tom Tromey <tromey@redhat.com> |
1789 | ||
1790 | * inf-child.c (return_zero): New function. | |
1791 | (inf_child_target): Set to_can_async_p, to_supports_non_stop. | |
1792 | * aix-thread.c (aix_thread_inferior_created): New function. | |
1793 | (aix_thread_attach): Remove. | |
1794 | (init_aix_thread_ops): Don't set to_attach. | |
1795 | (_initialize_aix_thread): Register inferior_created observer. | |
1796 | * corelow.c (init_core_ops): Don't set to_attach or | |
1797 | to_create_inferior. | |
1798 | * exec.c (init_exec_ops): Don't set to_attach or | |
1799 | to_create_inferior. | |
1800 | * infcmd.c (run_command_1): Use find_run_target. Make direct | |
1801 | target calls. | |
1802 | (attach_command): Use find_attach_target. Make direct target | |
1803 | calls. | |
1804 | * record-btrace.c (init_record_btrace_ops): Don't set | |
1805 | to_create_inferior. | |
1806 | * record-full.c (record_full_can_async_p, record_full_is_async_p): | |
1807 | Remove. | |
1808 | (init_record_full_ops, init_record_full_core_ops): Update. Don't | |
1809 | set to_create_inferior. | |
1810 | * target.c (complete_target_initialization): Add assertion. | |
1811 | (target_create_inferior): Remove. | |
1812 | (find_default_attach, find_default_create_inferior): Remove. | |
1813 | (find_attach_target, find_run_target): New functions. | |
1814 | (find_default_is_async_p, find_default_can_async_p) | |
1815 | (target_supports_non_stop, target_attach): Remove. | |
1816 | (init_dummy_target): Don't set to_create_inferior or | |
1817 | to_supports_non_stop. | |
1818 | * target.h (struct target_ops) <to_attach>: Add comment. Remove | |
1819 | TARGET_DEFAULT_FUNC. | |
1820 | <to_create_inferior>: Add comment. | |
1821 | <to_can_async_p, to_is_async_p, to_supports_non_stop>: Use | |
1822 | TARGET_DEFAULT_RETURN. | |
1823 | <to_can_async_p, to_supports_non_stop, to_can_run>: Add comments. | |
1824 | (find_attach_target, find_run_target): Declare. | |
1825 | (target_create_inferior): Remove. | |
1826 | (target_has_execution_1): Update comment. | |
1827 | (target_supports_non_stop): Remove. | |
1828 | * target-delegates.c: Rebuild. | |
1829 | ||
91f83b02 PA |
1830 | 2014-03-12 Pedro Alves <palves@redhat.com> |
1831 | ||
1832 | * inf-child.h: Update comment to not mention Unix. | |
1833 | ||
f1aea813 PA |
1834 | 2014-03-12 Pedro Alves <palves@redhat.com> |
1835 | ||
1836 | * inf-child.c: Update top comment to not mention Unix. Add | |
1837 | generic comment describing how this target is meant to be used. | |
1838 | (inf_child_post_attach, inf_child_post_startup_inferior) | |
1839 | (inf_child_follow_fork, inf_child_pid_to_exec_file): Don't mention | |
1840 | Unix in comment. | |
1841 | ||
ee8e9165 PA |
1842 | 2014-03-12 Pedro Alves <palves@redhat.com> |
1843 | ||
1844 | * nto-procfs.c: Include inf-child.h. | |
1845 | (procfs_ops): Delete global. | |
1846 | (procfs_can_run): Delete method. | |
1847 | (procfs_detach, procfs_mourn_inferior): Unpush the passed in | |
1848 | target pointer instead of referencing procfs_ops. | |
1849 | (procfs_prepare_to_store): Delete. | |
1850 | (init_procfs_ops): Delete function. | |
1851 | (procfs_target): New function, based on init_procfs_ops, but | |
1852 | inherit inf_child_target. | |
1853 | (_initialize_procfs): Use procfs_target. | |
1854 | ||
51a9c8c5 PA |
1855 | 2014-03-12 Pedro Alves <palves@redhat.com> |
1856 | ||
1857 | * windows-nat.c: Include inf-child.h. | |
1858 | (windows_ops): Delete global. | |
1859 | (windows_open, windows_prepare_to_store, windows_can_run): Delete | |
1860 | methods. | |
1861 | (init_windows_ops): Delete function. | |
1862 | (windows_target): New function, based on init_windows_ops, but | |
1863 | inherit inf_child_target. | |
1864 | (_initialize_windows_nat): Use windows_target. Install x86 | |
1865 | specific target methods here. | |
1866 | ||
c1966e26 DE |
1867 | 2014-03-10 Doug Evans <xdje42@gmail.com> |
1868 | ||
1869 | * guile/guile.c (call_initialize_gdb_module): New function. | |
1870 | (initialize_guile): Replace call to scm_init_guile with call to | |
1871 | scm_with_guile. | |
1872 | ||
023db19c JB |
1873 | 2014-03-10 Joel Brobecker <brobecker@adacore.com> |
1874 | ||
1875 | * ada-lang.c (ada_evaluate_subexp): Add missing space before '(' | |
1876 | in call to TYPE_CODE macro. | |
1877 | ||
5ec18f2b JG |
1878 | 2014-03-10 Jerome Guitton <guitton@adacore.com> |
1879 | ||
8668be63 JB |
1880 | * ada-lang.c (ada_evaluate_subexp) <UNOP_IND, STRUCTOP_STRUCT>: |
1881 | Resolve tagged types to full view. | |
5ec18f2b | 1882 | |
7d03f2eb HZ |
1883 | 2014-03-10 Hui Zhu <hui@codesourcery.com> |
1884 | ||
1885 | * target.h (target_insert_breakpoint): Remove "hardware" from its | |
1886 | comments. | |
1887 | ||
c5164cbc DE |
1888 | 2014-03-07 Doug Evans <dje@google.com> |
1889 | ||
1890 | * dwarf2read.c (read_str_index): Rename local dwo_name to objf_name. | |
1891 | ||
c4a3fee2 DE |
1892 | 2014-03-07 Doug Evans <dje@google.com> |
1893 | ||
1894 | * dwarf2read.c (read_cutu_die_from_dwo): Fix function comment. | |
1895 | Remove unused local comp_dir_attr. Assert exactly one of | |
1896 | stub_comp_unit_die, stub_comp_dir is non-NULL. | |
1897 | ||
3156469c JB |
1898 | 2014-03-07 Joel Brobecker <brobecker@adacore.com> |
1899 | ||
1900 | * target.h (complete_target_initialization, add_target): | |
1901 | Add comment. | |
1902 | ||
c1a7b7c6 PA |
1903 | 2014-03-07 Pedro Alves <palves@redhat.com> |
1904 | ||
1905 | * go32-nat.c: Include inf-child.h. | |
1906 | (go32_ops): Delete global. | |
1907 | (go32_close, go32_detach, go32_prepare_to_store, go32_can_run): | |
1908 | Delete methods. | |
1909 | (go32_create_inferior): Push the passed in target pointer instead | |
1910 | of referencing go32_ops. | |
1911 | (init_go32_ops): Delete function. Moved parts to _initialize_go32_nat. | |
1912 | (go32_target): New function, based on init_go32_ops, but inherit | |
1913 | inf_child_target. | |
1914 | (_initialize_go32_nat): Use go32_target. Move parts of | |
1915 | init_go32_ops here. | |
1916 | ||
d3c1a85f JB |
1917 | 2014-03-06 Joel Brobecker <brobecker@adacore.com> |
1918 | ||
1919 | * sol-thread.c: #include "symtab.h", "minsym.h" and "objfiles.h". | |
1920 | (ps_pglobal_lookup): Use BMSYMBOL_VALUE_ADDRESS instead of | |
1921 | SYMBOL_VALUE_ADDRESS. | |
1922 | (info_cb): MSYMBOL_PRINT_NAME instead of SYMBOL_PRINT_NAME. | |
1923 | ||
5fa1d40e YQ |
1924 | 2014-03-06 Yao Qi <yao@codesourcery.com> |
1925 | ||
1926 | * breakpoint.c (get_tracepoint_by_number): Remove argument | |
1927 | optional_p. All callers updated. Adjust comments. Update | |
1928 | output message. | |
1929 | * breakpoint.h (get_tracepoint_by_number): Update declaration. | |
1930 | ||
0c13193f YQ |
1931 | 2014-03-06 Yao Qi <yao@codesourcery.com> |
1932 | ||
1933 | * reverse.c (goto_bookmark_command): Add local 'p'. Emit error | |
1934 | early if get_number returns zero. Use 'p' instead of 'args'. | |
1935 | ||
2217da06 YQ |
1936 | 2014-03-06 Yao Qi <yao@codesourcery.com> |
1937 | ||
1938 | * cli/cli-utils.c (get_number_trailer): Add '\n' at the end of | |
1939 | message. | |
1940 | ||
cc3da688 YQ |
1941 | 2014-03-06 Yao Qi <yao@codesourcery.com> |
1942 | ||
1943 | PR breakpoints/16508 | |
1944 | * tracepoint.c (check_trace_running): New function. | |
1945 | (trace_find_command): Move code to check_trace_running and | |
1946 | call check_trace_running. | |
1947 | (trace_find_pc_command): Likewise. | |
1948 | (trace_find_tracepoint_command): Likewise. | |
1949 | (trace_find_line_command): Likewise. | |
1950 | (trace_find_range_command): Likewise. | |
1951 | * tracepoint.h (check_trace_running): Likewise. | |
1952 | * mi/mi-main.c (mi_cmd_trace_find): Call check_trace_running. | |
1953 | ||
6a5f844b YQ |
1954 | 2014-03-06 Yao Qi <yao@codesourcery.com> |
1955 | ||
1956 | * target.h (struct target_ops) <to_traceframe_info>: Use | |
1957 | TARGET_DEFAULT_NORETURN (tcomplain ()). | |
1958 | * target-delegates.c: Regenerated. | |
1959 | ||
0f26cec1 PA |
1960 | 2014-03-05 Pedro Alves <palves@redhat.com> |
1961 | ||
1962 | PR gdb/16575 | |
1963 | * dcache.c (dcache_poke_byte): Constify ptr parameter. Return | |
1964 | void. Update comment. | |
1965 | (dcache_xfer_memory): Delete. | |
1966 | (dcache_read_memory_partial): New, based on the read bits of | |
1967 | dcache_xfer_memory. | |
1968 | (dcache_update): Add status parameter. Use ULONGEST for len, and | |
1969 | adjust. Discard cache lines if the reason for the update was | |
1970 | error. | |
1971 | * dcache.h (dcache_xfer_memory): Delete declaration. | |
1972 | (dcache_read_memory_partial): New declaration. | |
1973 | (dcache_update): Update prototype. | |
1974 | * target.c (raw_memory_xfer_partial): Update the dcache here. | |
1975 | (memory_xfer_partial_1): Don't handle dcache writes here. | |
1976 | ||
b2b255bd MF |
1977 | 2014-03-05 Mike Frysinger <vapier@gentoo.org> |
1978 | ||
1979 | * remote-sim.c (gdbsim_load): Add const to prog. | |
1980 | ||
5d9cf8a4 TT |
1981 | 2014-03-03 Tom Tromey <tromey@redhat.com> |
1982 | ||
1983 | * elfread.c (probe_key): Change to bfd_data. | |
1984 | (elf_get_probes, probe_key_free, _initialize_elfread): Probes are | |
1985 | now per-BFD, not per-objfile. | |
1986 | * stap-probe.c (stap_probe_destroy): Update comment. | |
1987 | (handle_stap_probe): Allocate on the per-BFD obstack. | |
1988 | ||
729662a5 TT |
1989 | 2014-03-03 Tom Tromey <tromey@redhat.com> |
1990 | ||
1991 | * break-catch-throw.c (fetch_probe_arguments): Use bound probes. | |
1992 | * breakpoint.c (create_longjmp_master_breakpoint): Use | |
1993 | get_probe_address. | |
1994 | (add_location_to_breakpoint, bkpt_probe_insert_location) | |
1995 | (bkpt_probe_remove_location): Update. | |
1996 | * breakpoint.h (struct bp_location) <probe>: Now a bound_probe. | |
1997 | * elfread.c (elf_symfile_relocate_probe): Remove. | |
1998 | (elf_probe_fns): Update. | |
1999 | (insert_exception_resume_breakpoint): Change type of "probe" | |
2000 | parameter to bound_probe. | |
2001 | (check_exception_resume): Update. | |
2002 | * objfiles.c (objfile_relocate1): Don't relocate probes. | |
2003 | * probe.c (bound_probe_s): New typedef. | |
2004 | (parse_probes): Use get_probe_address. Set sal's objfile. | |
2005 | (find_probe_by_pc): Return a bound_probe. | |
2006 | (collect_probes): Return a VEC(bound_probe_s). | |
2007 | (compare_probes): Update. | |
2008 | (gen_ui_out_table_header_info): Change type of "probes" | |
2009 | parameter. Update. | |
2010 | (info_probes_for_ops): Update. | |
2011 | (get_probe_address): New function. | |
2012 | (probe_safe_evaluate_at_pc): Update. | |
2013 | * probe.h (struct probe_ops) <get_probe_address>: New field. | |
2014 | <set_semaphore, clear_semaphore>: Add objfile parameter. | |
2015 | (struct probe) <objfile>: Remove field. | |
2016 | <arch>: New field. | |
2017 | <address>: Update comment. | |
2018 | (struct bound_probe): New. | |
2019 | (find_probe_by_pc): Return a bound_probe. | |
2020 | (get_probe_address): Declare. | |
2021 | * solib-svr4.c (struct probe_and_action) <address>: New field. | |
2022 | (hash_probe_and_action, equal_probe_and_action): Update. | |
2023 | (register_solib_event_probe): Add address parameter. | |
2024 | (solib_event_probe_at): Update. | |
2025 | (svr4_create_probe_breakpoints): Add objfile parameter. Use | |
2026 | get_probe_address. | |
2027 | * stap-probe.c (struct stap_probe) <sem_addr>: Update comment. | |
2028 | (stap_get_probe_address): New function. | |
2029 | (stap_can_evaluate_probe_arguments, compute_probe_arg) | |
2030 | (compile_probe_arg): Update. | |
2031 | (stap_set_semaphore, stap_clear_semaphore): Compute semaphore's | |
2032 | address. | |
2033 | (handle_stap_probe): Don't relocate the probe. | |
2034 | (stap_relocate): Remove. | |
2035 | (stap_gen_info_probes_table_values): Update. | |
2036 | (stap_probe_ops): Remove stap_relocate. | |
2037 | * symfile-debug.c (debug_sym_relocate_probe): Remove. | |
2038 | (debug_sym_probe_fns): Update. | |
2039 | * symfile.h (struct sym_probe_fns) <sym_relocate_probe>: Remove. | |
2040 | * symtab.c (init_sal): Use memset. | |
2041 | * symtab.h (struct symtab_and_line) <objfile>: New field. | |
2042 | * tracepoint.c (start_tracing, stop_tracing): Update. | |
2043 | ||
ff887920 TT |
2044 | 2014-03-03 Tom Tromey <tromey@redhat.com> |
2045 | ||
2046 | * probe.h (parse_probes, find_probe_by_pc) | |
2047 | (find_probes_in_objfile): Fix comments. | |
2048 | ||
f0407826 DE |
2049 | 2014-03-02 Doug Evans <xdje42@gmail.com> |
2050 | ||
2051 | * infrun.c (handle_signal_stop): Replace test for | |
2052 | TARGET_WAITKIND_STOPPED with an assert. | |
2053 | ||
35e6a711 DE |
2054 | 2014-03-02 Doug Evans <xdje42@gmail.com> |
2055 | ||
2056 | * guile/scm-objfile.c (ofscm_mark_objfile_smob): Fix typo in comment. | |
2057 | ||
667f9d0b DE |
2058 | 2014-03-02 Doug Evans <xdje42@gmail.com> |
2059 | ||
2060 | * guile/lib/gdb/printing.scm (append-pretty-printer!): Fix thinko. | |
2061 | ||
dc92ace0 MK |
2062 | 2014-03-01 Mark Kettenis <kettenis@gnu.org> |
2063 | ||
2064 | * obsd-nat.c: Include "gdb_wait.h" instead of <sys/wait.h>. | |
2065 | ||
a900370f MK |
2066 | 2014-03-01 Mark Kettenis <kettenis@gnu.org> |
2067 | ||
2068 | * i386obsd-nat.c: Include "obsd-nat.h". | |
2069 | (_initialize_i386obsd_nat): Call obsd_add_target instead of | |
2070 | add_target. | |
2071 | * config/i386/obsd.mh (NATDEPFILES): Add obsd-nat.o. | |
2072 | ||
b72a7981 MK |
2073 | 2014-03-01 Mark Kettenis <kettenis@gnu.org> |
2074 | ||
2075 | * i386obsd-nat.c (i386obsd_supply_pcb): Cast 'sf' to 'gdb_byte *'. | |
2076 | ||
96c70aba MK |
2077 | 2014-03-01 Mark Kettenis <kettenis@gnu.org> |
2078 | ||
2079 | * mips64obsd-nat.c: Include "obsd-nath". | |
2080 | (_initialize_mips64obsd_nat): Call obsd_add_target instead of | |
2081 | add_target | |
2082 | * config/mips/obsd64.mh (NATDEPFILES): Add obsd-nat.o. | |
2083 | ||
874a80af MK |
2084 | 2014-03-01 Mark Kettenis <kettenis@gnu.org> |
2085 | ||
8fd408f1 MK |
2086 | * amd64obsd-nat.c: Include "obsd-nat,h. |
2087 | (_initialize_amd64obsd_nat): Call obsd_add_target instead of | |
2088 | add_target. | |
874a80af MK |
2089 | * config/i386/obsd64.mh (NATDEPFILES): Add obsd-nat.o. |
2090 | ||
9cf95373 SC |
2091 | 2014-02-28 Siva Chandra Reddy <sivachandra@google.com> |
2092 | ||
2093 | * valops.c (find_oload_champ): Remove unneccesary argument METHOD. | |
2094 | (find_overload_match): Update call to find_oload_champ. | |
2095 | (find_oload_champ_namespace_loop): Likewise | |
2096 | ||
863e4da4 MK |
2097 | 2014-02-28 Mark Kettenis <kettenis@gnu.org> |
2098 | ||
025cac40 MK |
2099 | * Makefile.in (ALLDEPFILES): Add sparc64obsd-nat.c. |
2100 | ||
1ed586ce MK |
2101 | * configure.host (sparc64-*-openbsd*): Set gdb_host to obsd64. |
2102 | * config/sparc/obsd64.mh: New file. | |
2103 | * sparc64obsd-nat.c: New file. | |
2104 | ||
863e4da4 MK |
2105 | * obsd-nat.h: New file. |
2106 | * obsd-nat.c: New file. | |
2107 | * Makefile.in (HFILES_NO_SRCDIR): Add obsd-nat.h. | |
2108 | (ALLDEPFILES): Add obsd-nat.c. | |
2109 | ||
89de4da4 TT |
2110 | 2014-02-28 Tom Tromey <tromey@redhat.com> |
2111 | ||
2112 | * cli-out.c (cli_ui_out_impl): Now const. Remove comment. | |
2113 | * cli-out.h (cli_ui_out_impl): Now const. | |
2114 | * mi/mi-out.c (mi_ui_out_impl): Now const. Remove comment. | |
2115 | * ui-out.c (struct ui_out) <impl>: Now const. | |
2116 | (default_ui_out_impl): Now const. | |
2117 | (ui_out_new): Make 'impl' parameter const. | |
2118 | * ui-out.h (ui_out_new): Update. | |
2119 | ||
c725e7b6 MK |
2120 | 2014-02-27 Mark Kettenis <kettenis@gnu.org> |
2121 | ||
2122 | * solib-svr4.c (svr4_read_so_list): Initialize first_l_name to 0. | |
2123 | ||
670b46b3 MK |
2124 | 2014-02-27 Mark Kettenis <kettenis@gnu.org> |
2125 | ||
2126 | * sparc-nat.c (sparc_xfer_wcookie): Always use process ID. | |
2127 | ||
c91550fc JK |
2128 | 2014-02-27 Jan Kratochvil <jan.kratochvil@redhat.com> |
2129 | ||
2130 | Additional PR 8882 fix. | |
2131 | * solib-svr4.c (svr4_read_so_list): Change first to first_l_name. | |
2132 | ||
2fa0369e PA |
2133 | 2014-02-27 Pedro Alves <palves@redhat.com> |
2134 | ||
2135 | * nat/linux-waitpid.c (my_waitpid): Only block signals if WNOHANG | |
2136 | isn't set. | |
2137 | ||
d632a097 PA |
2138 | 2014-02-27 Pedro Alves <palves@redhat.com> |
2139 | ||
2140 | PR 12702 | |
2141 | * linux-nat.c (status_to_str): Moved to nat/linux-waitpid.c. | |
2142 | * nat/linux-waitpid.c: Include string.h. | |
2143 | (status_to_str): Moved here and made extern. | |
2144 | * nat/linux-waitpid.h (status_to_str): New declaration. | |
2145 | ||
2ebd5a35 HZ |
2146 | 2014-02-27 Hui Zhu <hui@codesourcery.com> |
2147 | ||
2148 | PR 12702 | |
2149 | * infrun.c (ptid_match): Move ... | |
2150 | * common/ptid.c (ptid_match): ... here. | |
2151 | * inferior.h (ptid_match): Move ... | |
2152 | * common/ptid.h (ptid_match): ... here. | |
2153 | ||
3cdd631f MK |
2154 | 2014-02-27 Mark Kettenis <kettenis@gnu.org> |
2155 | ||
2156 | * mips64obsd-tdep.c (mips64obsd_init_abi): Call obsd_init_abi. | |
2157 | * configure.tgt (mips64*-*-openbsd*): Add obsd-tdep.c to | |
2158 | gdb_target_obs. | |
2159 | ||
bee30a64 MK |
2160 | 2014-02-27 Mark Kettenis <kettenis@gnu.org> |
2161 | ||
2162 | * obsd-tdep.c (obsd_auxv_parse): New function. | |
2163 | (obsd_init_abi): Set auxv_parse. | |
27a48a92 MK |
2164 | |
2165 | * gdbarch.sh (auxv_parse): New. | |
2166 | * gdbarch.h: Regenerated. | |
2167 | * gdbarch.c: Regenerated. | |
2168 | * auxv.c (target_auxv_parse): Call gdbarch_parse_auxv if provided. | |
2169 | ||
7a5a839f LC |
2170 | 2014-02-26 Ludovic Courtès <ludo@gnu.org> |
2171 | ||
2172 | * guile/scm-value.c (gdbscm_history_append_x): New function. | |
2173 | (value_functions): Add it. | |
2174 | ||
31aa7e4e JB |
2175 | 2014-02-27 Joel Brobecker <brobecker@adacore.com> |
2176 | ||
2177 | * dwarf2read.c (attr_value_as_address): New function. | |
2178 | (dwarf2_find_base_address, read_call_site_scope): Use | |
2179 | attr_value_as_address in place of DW_ADDR. | |
2180 | (dwarf2_get_pc_bounds): Use attr_value_as_address to get | |
2181 | the low and high addresses. Slight rework of the handling | |
2182 | of the high pc being a constant form, and limit it to | |
2183 | DWARF verson 4 or higher. | |
2184 | (dwarf2_record_block_ranges): Likewise. | |
2185 | (read_partial_die): Likewise. | |
2186 | (new_symbol_full): Use attr_value_as_address in place of DW_ADDR. | |
2187 | ||
9b333ba3 TT |
2188 | 2014-02-26 Tom Tromey <tromey@redhat.com> |
2189 | ||
2190 | * exec.c (exec_file_attach): Hold a reference to exec_bfd. | |
2191 | ||
5f6cac40 TT |
2192 | 2014-02-26 Tom Tromey <tromey@redhat.com> |
2193 | ||
2194 | * elfread.c (elf_read_minimal_symbols): Return early if | |
2195 | minimal symbols have already been read. Add "ei" parameter. | |
2196 | (elf_symfile_read): Call elf_read_minimal_symbols earlier. | |
2197 | * minsyms.c (prim_record_minimal_symbol_full): Update. | |
2198 | * objfiles.h (struct objstats) <n_minsyms>: Move... | |
2199 | (struct objfile_per_bfd_storage) <n_minsyms>: ... here. | |
2200 | * symmisc.c (print_objfile_statistics): Update. | |
2201 | ||
2750ef27 TT |
2202 | 2014-02-26 Tom Tromey <tromey@redhat.com> |
2203 | ||
2204 | * elfread.c (elf_read_minimal_symbols): New function, from | |
2205 | elf_symfile_read. | |
2206 | (elf_symfile_read): Call it. | |
2207 | ||
34643a32 TT |
2208 | 2014-02-26 Tom Tromey <tromey@redhat.com> |
2209 | ||
2210 | * minsyms.c (lookup_minimal_symbol, iterate_over_minimal_symbols) | |
2211 | (lookup_minimal_symbol_text, lookup_minimal_symbol_by_pc_name) | |
2212 | (lookup_minimal_symbol_solib_trampoline) | |
2213 | (lookup_minimal_symbol_by_pc_section_1) | |
2214 | (lookup_minimal_symbol_and_objfile): Update. | |
2215 | (prim_record_minimal_symbol_full): Use the per-BFD obstack. | |
2216 | Don't allocate a minimal symbol if minsyms have already been read. | |
2217 | (build_minimal_symbol_hash_tables): Update. | |
2218 | (install_minimal_symbols): Do nothing if minsyms already read. | |
2219 | Use the per-BFD obstack. | |
2220 | (terminate_minimal_symbol_table): Use the per-BFD obstack. | |
2221 | * objfiles.c (allocate_objfile): Call | |
2222 | terminate_minimal_symbol_table later. | |
2223 | (have_minimal_symbols): Update. | |
2224 | * objfiles.h (struct objfile_per_bfd_storage) <msymbols, | |
2225 | minimal_symbol_count, msymbol_hash, msymbol_demangled_hash>: | |
2226 | Move from struct objfile. | |
2227 | <minsyms_read>: New field. | |
2228 | (struct objfile) <msymbols, minimal_symbol_count, | |
2229 | msymbol_hash, msymbol_demangled_hash>: Move. | |
2230 | (ALL_OBJFILE_MSYMBOLS): Update. | |
2231 | * symfile.c (read_symbols): Set minsyms_read. | |
2232 | (reread_symbols): Update. | |
2233 | * symmisc.c (dump_objfile, dump_msymbols): Update. | |
2234 | ||
2273f0ac TT |
2235 | 2014-02-26 Tom Tromey <tromey@redhat.com> |
2236 | ||
2237 | * minsyms.c (msymbols_sort): Remove. | |
2238 | * minsyms.h (msymbols_sort): Remove. | |
2239 | * objfiles.c (objfile_relocate1): Don't relocate minsyms. | |
2240 | * symtab.h (MSYMBOL_VALUE_ADDRESS): Use objfile offsets. | |
2241 | * elfread.c (elf_symtab_read): Don't add section offsets. | |
2242 | * xcoffread.c (record_minimal_symbol): Don't add section offset | |
2243 | to minimal symbol address. | |
2244 | * somread.c (text_offset, data_offset): Remove. | |
2245 | (som_symtab_read): Don't add section offsets to minimal symbol | |
2246 | addresses. | |
2247 | * coff-pe-read.c (add_pe_forwarded_sym, read_pe_exported_syms): | |
2248 | Don't add section offsets to minimal symbols. | |
2249 | * coffread.c (coff_symtab_read): Don't add section offsets | |
2250 | to minimal symbol addresses. | |
2251 | * machoread.c (macho_symtab_add_minsym): Don't add section offset | |
2252 | to minimal symbol addresses. | |
2253 | * mipsread.c (read_alphacoff_dynamic_symtab): Don't add | |
2254 | section offset to minimal symbol addresses. | |
2255 | * mdebugread.c (parse_partial_symbols): Don't add section | |
2256 | offset to minimal symbol addresses. | |
2257 | * dbxread.c (read_dbx_dynamic_symtab): Don't add section | |
2258 | offset to minimal symbol addresses. | |
2259 | ||
77e371c0 TT |
2260 | 2014-02-26 Tom Tromey <tromey@redhat.com> |
2261 | ||
2262 | * ada-lang.c (ada_main_name): Update. | |
2263 | (ada_add_standard_exceptions): Update. | |
2264 | * ada-tasks.c (ada_tasks_inferior_data_sniffer): Update. | |
2265 | * aix-thread.c (pdc_symbol_addrs, pd_enable): Update. | |
2266 | * arm-tdep.c (skip_prologue_function, arm_skip_stub): Update. | |
2267 | * auxv.c (ld_so_xfer_auxv): Update. | |
2268 | * avr-tdep.c (avr_scan_prologue): Update. | |
2269 | * ax-gdb.c (gen_var_ref): Update. | |
2270 | * blockframe.c (get_pc_function_start) | |
2271 | (find_pc_partial_function_gnu_ifunc): Update. | |
2272 | * breakpoint.c (create_overlay_event_breakpoint) | |
2273 | (create_longjmp_master_breakpoint) | |
2274 | (create_std_terminate_master_breakpoint) | |
2275 | (create_exception_master_breakpoint): Update. | |
2276 | * bsd-uthread.c (bsd_uthread_lookup_address): Update. | |
2277 | * c-valprint.c (c_val_print): Update. | |
2278 | * coff-pe-read.c (add_pe_forwarded_sym): Update. | |
2279 | * common/agent.c (agent_look_up_symbols): Update. | |
2280 | * dbxread.c (find_stab_function_addr, end_psymtab): Update. | |
2281 | * dwarf2loc.c (call_site_to_target_addr): Update. | |
2282 | * dwarf2read.c (dw2_find_pc_sect_symtab): Update. | |
2283 | * elfread.c (elf_gnu_ifunc_record_cache) | |
2284 | (elf_gnu_ifunc_resolve_by_got): Update. | |
2285 | * findvar.c (default_read_var_value): Update. | |
2286 | * frame.c (inside_main_func): Update. | |
2287 | * frv-tdep.c (frv_frame_this_id): Update. | |
2288 | * glibc-tdep.c (glibc_skip_solib_resolver): Update. | |
2289 | * gnu-v3-abi.c (gnuv3_get_typeid, gnuv3_skip_trampoline): | |
2290 | Update. | |
2291 | * hppa-hpux-tdep.c (hppa64_hpux_search_dummy_call_sequence) | |
2292 | (hppa_hpux_find_dummy_bpaddr): Update. | |
2293 | * hppa-tdep.c (hppa_symbol_address): Update. | |
2294 | * infcmd.c (until_next_command): Update. | |
2295 | * jit.c (jit_read_descriptor, jit_breakpoint_re_set_internal): | |
2296 | Update. | |
2297 | * linespec.c (minsym_found, add_minsym): Update. | |
2298 | * linux-nat.c (get_signo): Update. | |
2299 | * linux-thread-db.c (inferior_has_bug): Update. | |
2300 | * m32c-tdep.c (m32c_return_value) | |
2301 | (m32c_m16c_address_to_pointer): Update. | |
2302 | * m32r-tdep.c (m32r_frame_this_id): Update. | |
2303 | * m68hc11-tdep.c (m68hc11_get_register_info): Update. | |
2304 | * machoread.c (macho_resolve_oso_sym_with_minsym): Update. | |
2305 | * maint.c (maintenance_translate_address): Update. | |
2306 | * minsyms.c (lookup_minimal_symbol_by_pc_name): Update. | |
2307 | (frob_address): New function. | |
2308 | (lookup_minimal_symbol_by_pc_section_1): Use raw addresses, | |
2309 | frob_address. Rename parameter to "pc_in". | |
2310 | (compare_minimal_symbols, compact_minimal_symbols): Use raw | |
2311 | addresses. | |
2312 | (find_solib_trampoline_target, minimal_symbol_upper_bound): | |
2313 | Update. | |
2314 | * mips-linux-tdep.c (mips_linux_skip_resolver): Update. | |
2315 | * mips-tdep.c (mips_skip_pic_trampoline_code): Update. | |
2316 | * objc-lang.c (find_objc_msgsend): Update. | |
2317 | * objfiles.c (objfile_relocate1): Update. | |
2318 | * obsd-tdep.c (obsd_skip_solib_resolver): Update. | |
2319 | * p-valprint.c (pascal_val_print): Update. | |
2320 | * parse.c (write_exp_msymbol): Update. | |
2321 | * ppc-linux-tdep.c (ppc_linux_spe_context_lookup) | |
2322 | (ppc_elfv2_skip_entrypoint): Update. | |
2323 | * ppc-sysv-tdep.c (convert_code_addr_to_desc_addr): Update. | |
2324 | * printcmd.c (build_address_symbolic, msym_info) | |
2325 | (address_info): Update. | |
2326 | * proc-service.c (ps_pglobal_lookup): Update. | |
2327 | * psymtab.c (find_pc_sect_psymtab_closer) | |
2328 | (find_pc_sect_psymtab, find_pc_sect_symtab_from_partial): | |
2329 | Change msymbol parameter to bound_minimal_symbol. | |
2330 | * ravenscar-thread.c (get_running_thread_id): Update. | |
2331 | * remote.c (remote_check_symbols): Update. | |
2332 | * sh64-tdep.c (sh64_elf_make_msymbol_special): Use raw | |
2333 | address. | |
2334 | * sol2-tdep.c (sol2_skip_solib_resolver): Update. | |
2335 | * solib-dsbt.c (lm_base): Update. | |
2336 | * solib-frv.c (lm_base, main_got): Update. | |
2337 | * solib-irix.c (locate_base): Update. | |
2338 | * solib-som.c (som_solib_create_inferior_hook) | |
2339 | (link_map_start): Update. | |
2340 | * solib-spu.c (spu_enable_break, ocl_enable_break): Update. | |
2341 | * solib-svr4.c (elf_locate_base, enable_break): Update. | |
2342 | * spu-tdep.c (spu_get_overlay_table, spu_catch_start) | |
2343 | (flush_ea_cache): Update. | |
2344 | * stabsread.c (define_symbol, scan_file_globals): Update. | |
2345 | * stack.c (find_frame_funname): Update. | |
2346 | * symfile-debug.c (debug_qf_expand_symtabs_matching) | |
2347 | (debug_qf_find_pc_sect_symtab): Update. | |
2348 | * symfile.c (simple_read_overlay_table) | |
2349 | (simple_overlay_update): Update. | |
2350 | * symfile.h (struct quick_symbol_functions) | |
2351 | <find_pc_sect_symtab>: Change type of msymbol to | |
2352 | bound_minimal_symbol. | |
2353 | * symmisc.c (dump_msymbols): Update. | |
2354 | * symtab.c (find_pc_sect_symtab_via_partial) | |
2355 | (find_pc_sect_psymtab, find_pc_sect_line, skip_prologue_sal) | |
2356 | (search_symbols, print_msymbol_info): Update. | |
2357 | * symtab.h (MSYMBOL_VALUE_RAW_ADDRESS): New macro. | |
2358 | (MSYMBOL_VALUE_ADDRESS): Redefine. | |
2359 | (BMSYMBOL_VALUE_ADDRESS): New macro. | |
2360 | * tracepoint.c (scope_info): Update. | |
2361 | * tui/tui-disasm.c (tui_find_disassembly_address) | |
2362 | (tui_get_begin_asm_address): Update. | |
2363 | * valops.c (find_function_in_inferior): Update. | |
2364 | * value.c (value_static_field, value_fn_field): Update. | |
2365 | ||
3b7344d5 TT |
2366 | 2014-02-26 Tom Tromey <tromey@redhat.com> |
2367 | ||
2368 | * ada-lang.c (ada_update_initial_language): Update. | |
2369 | (ada_main_name, ada_has_this_exception_support): Update. | |
2370 | * ada-tasks.c (ada_tasks_inferior_data_sniffer): Update. | |
2371 | * aix-thread.c (pdc_symbol_addrs, pd_enable): Update. | |
2372 | * arm-tdep.c (arm_skip_stub): Update. | |
2373 | * auxv.c (ld_so_xfer_auxv): Update. | |
2374 | * avr-tdep.c (avr_scan_prologue): Update. | |
2375 | * ax-gdb.c (gen_var_ref): Update. | |
2376 | * breakpoint.c (struct breakpoint_objfile_data) | |
2377 | <overlay_msym, longjmp_msym, terminate_msym, exception_msym>: Change | |
2378 | type to bound_minimal_symbol. | |
2379 | (create_overlay_event_breakpoint) | |
2380 | (create_longjmp_master_breakpoint) | |
2381 | (create_std_terminate_master_breakpoint) | |
2382 | (create_exception_master_breakpoint): Update. | |
2383 | * bsd-uthread.c (bsd_uthread_lookup_address): Update. | |
2384 | * c-exp.y (classify_name): Update. | |
2385 | * coffread.c (coff_symfile_read): Update. | |
2386 | * common/agent.c (agent_look_up_symbols): Update. | |
2387 | * d-lang.c (d_main_name): Update. | |
2388 | * dbxread.c (find_stab_function_addr, end_psymtab): Update. | |
2389 | * dec-thread.c (enable_dec_thread): Update. | |
2390 | * dwarf2loc.c (call_site_to_target_addr): Update. | |
2391 | * elfread.c (elf_gnu_ifunc_resolve_by_got): Update. | |
2392 | * eval.c (evaluate_subexp_standard): Update. | |
2393 | * findvar.c (struct minsym_lookup_data) <result>: Change type | |
2394 | to bound_minimal_symbol. | |
2395 | <objfile>: Remove. | |
2396 | (minsym_lookup_iterator_cb, default_read_var_value): Update. | |
2397 | * frame.c (inside_main_func): Update. | |
2398 | * frv-tdep.c (frv_frame_this_id): Update. | |
2399 | * gcore.c (call_target_sbrk): Update. | |
2400 | * glibc-tdep.c (glibc_skip_solib_resolver): Update. | |
2401 | * gnu-v3-abi.c (gnuv3_get_typeid, gnuv3_skip_trampoline): | |
2402 | Update. | |
2403 | * go-lang.c (go_main_name): Update. | |
2404 | * hppa-hpux-tdep.c (hppa_hpux_skip_trampoline_code) | |
2405 | (hppa_hpux_find_import_stub_for_addr): Update. | |
2406 | * hppa-tdep.c (hppa_extract_17, hppa_lookup_stub_minimal_symbol): | |
2407 | Update. Change return type. | |
2408 | * hppa-tdep.h (hppa_lookup_stub_minimal_symbol): Change return | |
2409 | type. | |
2410 | * jit.c (jit_breakpoint_re_set_internal): Update. | |
2411 | * linux-fork.c (inferior_call_waitpid, checkpoint_command): | |
2412 | Update. | |
2413 | * linux-nat.c (get_signo): Update. | |
2414 | * linux-thread-db.c (inferior_has_bug): Update | |
2415 | * m32c-tdep.c (m32c_return_value) | |
2416 | (m32c_m16c_address_to_pointer): Update. | |
2417 | * m32r-tdep.c (m32r_frame_this_id): Update. | |
2418 | * m68hc11-tdep.c (m68hc11_get_register_info): Update. | |
2419 | * machoread.c (macho_resolve_oso_sym_with_minsym): Update. | |
2420 | * minsyms.c (lookup_minimal_symbol_internal): Rename to | |
2421 | lookup_minimal_symbol. Change return type. | |
2422 | (lookup_minimal_symbol): Remove. | |
2423 | (lookup_bound_minimal_symbol): Update. | |
2424 | (lookup_minimal_symbol_text): Change return type. | |
2425 | (lookup_minimal_symbol_solib_trampoline): Change return type. | |
2426 | * minsyms.h (lookup_minimal_symbol, lookup_minimal_symbol_text) | |
2427 | (lookup_minimal_symbol_solib_trampoline): Change return type. | |
2428 | * mips-linux-tdep.c (mips_linux_skip_resolver): Update. | |
2429 | * objc-lang.c (lookup_objc_class, lookup_child_selector) | |
2430 | (value_nsstring, find_imps): Update. | |
2431 | * obsd-tdep.c (obsd_skip_solib_resolver): Update. | |
2432 | * p-lang.c (pascal_main_name): Update. | |
2433 | * ppc-linux-tdep.c (ppc_linux_spe_context_lookup): Update. | |
2434 | * ppc-sysv-tdep.c (convert_code_addr_to_desc_addr): Update. | |
2435 | * proc-service.c (ps_pglobal_lookup): Update. | |
2436 | * ravenscar-thread.c (get_running_thread_msymbol): Change | |
2437 | return type. | |
2438 | (has_ravenscar_runtime, get_running_thread_id): Update. | |
2439 | * remote.c (remote_check_symbols): Update. | |
2440 | * sol-thread.c (ps_pglobal_lookup): Update. | |
2441 | * sol2-tdep.c (sol2_skip_solib_resolver): Update. | |
2442 | * solib-dsbt.c (lm_base): Update. | |
2443 | * solib-frv.c (lm_base, frv_relocate_section_addresses): | |
2444 | Update. | |
2445 | * solib-irix.c (locate_base): Update. | |
2446 | * solib-som.c (som_solib_create_inferior_hook) | |
2447 | (som_solib_desire_dynamic_linker_symbols, link_map_start): | |
2448 | Update. | |
2449 | * solib-spu.c (spu_enable_break): Update. | |
2450 | * solib-svr4.c (elf_locate_base, enable_break): Update. | |
2451 | * spu-tdep.c (spu_get_overlay_table, spu_catch_start) | |
2452 | (flush_ea_cache): Update. | |
2453 | * stabsread.c (define_symbol): Update. | |
2454 | * symfile.c (simple_read_overlay_table): Update. | |
2455 | * symtab.c (find_pc_sect_line): Update. | |
2456 | * tracepoint.c (scope_info): Update. | |
2457 | * tui-disasm.c (tui_get_begin_asm_address): Update. | |
2458 | * value.c (value_static_field): Update. | |
2459 | ||
40c1a007 TT |
2460 | 2014-02-26 Tom Tromey <tromey@redhat.com> |
2461 | ||
2462 | * minsyms.c (prim_record_minimal_symbol_full): Use | |
2463 | SET_MSYMBOL_VALUE_ADDRESS. | |
2464 | * objfiles.c (objfile_relocate1): Use SET_MSYMBOL_VALUE_ADDRESS. | |
2465 | * sh64-tdep.c (sh64_elf_make_msymbol_special): Use | |
2466 | SET_MSYMBOL_VALUE_ADDRESS. | |
2467 | * symtab.h (MSYMBOL_VALUE_ADDRESS): Expand to an rvalue. | |
2468 | (SET_MSYMBOL_VALUE_ADDRESS): New macro. | |
2469 | ||
efd66ac6 TT |
2470 | 2014-02-26 Tom Tromey <tromey@redhat.com> |
2471 | ||
2472 | * symtab.h (struct minimal_symbol) <mginfo>: Rename from ginfo. | |
2473 | (MSYMBOL_VALUE, MSYMBOL_VALUE_ADDRESS, MSYMBOL_VALUE_BYTES) | |
2474 | (MSYMBOL_BLOCK_VALUE, MSYMBOL_VALUE_CHAIN, MSYMBOL_LANGUAGE) | |
2475 | (MSYMBOL_SECTION, MSYMBOL_OBJ_SECTION, MSYMBOL_NATURAL_NAME) | |
2476 | (MSYMBOL_LINKAGE_NAME, MSYMBOL_PRINT_NAME, MSYMBOL_DEMANGLED_NAME) | |
2477 | (MSYMBOL_SET_LANGUAGE, MSYMBOL_SEARCH_NAME) | |
2478 | (MSYMBOL_MATCHES_SEARCH_NAME, MSYMBOL_SET_NAMES): New macros. | |
2479 | * ada-lang.c (ada_main_name): Update. | |
2480 | (ada_lookup_simple_minsym): Update. | |
2481 | (ada_make_symbol_completion_list): Update. | |
2482 | (ada_add_standard_exceptions): Update. | |
2483 | * ada-tasks.c (read_atcb, ada_tasks_inferior_data_sniffer): Update. | |
2484 | * aix-thread.c (pdc_symbol_addrs, pd_enable): Update. | |
2485 | * amd64-windows-tdep.c (amd64_skip_main_prologue): Update. | |
2486 | * arm-tdep.c (skip_prologue_function): Update. | |
2487 | (arm_skip_stack_protector, arm_skip_stub): Update. | |
2488 | * arm-wince-tdep.c (arm_pe_skip_trampoline_code): Update. | |
2489 | (arm_wince_skip_main_prologue): Update. | |
2490 | * auxv.c (ld_so_xfer_auxv): Update. | |
2491 | * avr-tdep.c (avr_scan_prologue): Update. | |
2492 | * ax-gdb.c (gen_var_ref): Update. | |
2493 | * block.c (call_site_for_pc): Update. | |
2494 | * blockframe.c (get_pc_function_start): Update. | |
2495 | (find_pc_partial_function_gnu_ifunc): Update. | |
2496 | * breakpoint.c (create_overlay_event_breakpoint): Update. | |
2497 | (create_longjmp_master_breakpoint): Update. | |
2498 | (create_std_terminate_master_breakpoint): Update. | |
2499 | (create_exception_master_breakpoint): Update. | |
2500 | (resolve_sal_pc): Update. | |
2501 | * bsd-uthread.c (bsd_uthread_lookup_address): Update. | |
2502 | * btrace.c (ftrace_print_function_name, ftrace_function_switched): | |
2503 | Update. | |
2504 | * c-valprint.c (c_val_print): Update. | |
2505 | * coff-pe-read.c (add_pe_forwarded_sym): Update. | |
2506 | * coffread.c (coff_symfile_read): Update. | |
2507 | * common/agent.c (agent_look_up_symbols): Update. | |
2508 | * dbxread.c (find_stab_function_addr): Update. | |
2509 | (end_psymtab): Update. | |
2510 | * dwarf2loc.c (call_site_to_target_addr): Update. | |
2511 | (func_verify_no_selftailcall): Update. | |
2512 | (tailcall_dump): Update. | |
2513 | (call_site_find_chain_1): Update. | |
2514 | (dwarf_expr_reg_to_entry_parameter): Update. | |
2515 | * elfread.c (elf_gnu_ifunc_record_cache): Update. | |
2516 | (elf_gnu_ifunc_resolve_by_got): Update. | |
2517 | * f-valprint.c (info_common_command): Update. | |
2518 | * findvar.c (read_var_value): Update. | |
2519 | * frame.c (get_prev_frame_1): Update. | |
2520 | (inside_main_func): Update. | |
2521 | * frv-tdep.c (frv_skip_main_prologue): Update. | |
2522 | (frv_frame_this_id): Update. | |
2523 | * glibc-tdep.c (glibc_skip_solib_resolver): Update. | |
2524 | * gnu-v2-abi.c (gnuv2_value_rtti_type): Update. | |
2525 | * gnu-v3-abi.c (gnuv3_rtti_type): Update. | |
2526 | (gnuv3_skip_trampoline): Update. | |
2527 | * hppa-hpux-tdep.c (hppa32_hpux_in_solib_call_trampoline): Update. | |
2528 | (hppa64_hpux_in_solib_call_trampoline): Update. | |
2529 | (hppa_hpux_skip_trampoline_code): Update. | |
2530 | (hppa64_hpux_search_dummy_call_sequence): Update. | |
2531 | (hppa_hpux_find_import_stub_for_addr): Update. | |
2532 | (hppa_hpux_find_dummy_bpaddr): Update. | |
2533 | * hppa-tdep.c (hppa_symbol_address) | |
2534 | (hppa_lookup_stub_minimal_symbol): Update. | |
2535 | * i386-tdep.c (i386_skip_main_prologue): Update. | |
2536 | (i386_pe_skip_trampoline_code): Update. | |
2537 | * ia64-tdep.c (ia64_convert_from_func_ptr_addr): Update. | |
2538 | * infcall.c (get_function_name): Update. | |
2539 | * infcmd.c (until_next_command): Update. | |
2540 | * jit.c (jit_breakpoint_re_set_internal): Update. | |
2541 | (jit_inferior_init): Update. | |
2542 | * linespec.c (minsym_found): Update. | |
2543 | (add_minsym): Update. | |
2544 | * linux-fork.c (info_checkpoints_command): Update. | |
2545 | * linux-nat.c (get_signo): Update. | |
2546 | * linux-thread-db.c (inferior_has_bug): Update. | |
2547 | * m32c-tdep.c (m32c_return_value): Update. | |
2548 | (m32c_m16c_address_to_pointer): Update. | |
2549 | (m32c_m16c_pointer_to_address): Update. | |
2550 | * m32r-tdep.c (m32r_frame_this_id): Update. | |
2551 | * m68hc11-tdep.c (m68hc11_get_register_info): Update. | |
2552 | * machoread.c (macho_resolve_oso_sym_with_minsym): Update. | |
2553 | * maint.c (maintenance_translate_address): Update. | |
2554 | * minsyms.c (add_minsym_to_hash_table): Update. | |
2555 | (add_minsym_to_demangled_hash_table): Update. | |
2556 | (msymbol_objfile): Update. | |
2557 | (lookup_minimal_symbol): Update. | |
2558 | (iterate_over_minimal_symbols): Update. | |
2559 | (lookup_minimal_symbol_text): Update. | |
2560 | (lookup_minimal_symbol_by_pc_name): Update. | |
2561 | (lookup_minimal_symbol_solib_trampoline): Update. | |
2562 | (lookup_minimal_symbol_by_pc_section_1): Update. | |
2563 | (lookup_minimal_symbol_and_objfile): Update. | |
2564 | (prim_record_minimal_symbol_full): Update. | |
2565 | (compare_minimal_symbols): Update. | |
2566 | (compact_minimal_symbols): Update. | |
2567 | (build_minimal_symbol_hash_tables): Update. | |
2568 | (install_minimal_symbols): Update. | |
2569 | (terminate_minimal_symbol_table): Update. | |
2570 | (find_solib_trampoline_target): Update. | |
2571 | (minimal_symbol_upper_bound): Update. | |
2572 | * mips-linux-tdep.c (mips_linux_skip_resolver): Update. | |
2573 | * mips-tdep.c (mips_stub_frame_sniffer): Update. | |
2574 | (mips_skip_pic_trampoline_code): Update. | |
2575 | * msp430-tdep.c (msp430_skip_trampoline_code): Update. | |
2576 | * objc-lang.c (selectors_info): Update. | |
2577 | (classes_info): Update. | |
2578 | (find_methods): Update. | |
2579 | (find_imps): Update. | |
2580 | (find_objc_msgsend): Update. | |
2581 | * objfiles.c (objfile_relocate1): Update. | |
2582 | * objfiles.h (ALL_OBJFILE_MSYMBOLS): Update. | |
2583 | * obsd-tdep.c (obsd_skip_solib_resolver): Update. | |
2584 | * p-valprint.c (pascal_val_print): Update. | |
2585 | * parse.c (write_exp_msymbol): Update. | |
2586 | * ppc-linux-tdep.c (powerpc_linux_in_dynsym_resolve_code) | |
2587 | (ppc_linux_spe_context_lookup, ppc_elfv2_skip_entrypoint): Update. | |
2588 | * ppc-sysv-tdep.c (convert_code_addr_to_desc_addr): Update. | |
2589 | * printcmd.c (build_address_symbolic): Update. | |
2590 | (sym_info): Update. | |
2591 | (address_info): Update. | |
2592 | * proc-service.c (ps_pglobal_lookup): Update. | |
2593 | * psymtab.c (find_pc_sect_psymtab_closer): Update. | |
2594 | (find_pc_sect_psymtab): Update. | |
2595 | * python/py-framefilter.c (py_print_frame): Update. | |
2596 | * ravenscar-thread.c (get_running_thread_id): Update. | |
2597 | * record-btrace.c (btrace_call_history, btrace_get_bfun_name): | |
2598 | Update. | |
2599 | * remote.c (remote_check_symbols): Update. | |
2600 | * rs6000-tdep.c (rs6000_skip_main_prologue): Update. | |
2601 | (rs6000_skip_trampoline_code): Update. | |
2602 | * sh64-tdep.c (sh64_elf_make_msymbol_special): Update. | |
2603 | * sol2-tdep.c (sol2_skip_solib_resolver): Update. | |
2604 | * solib-dsbt.c (lm_base): Update. | |
2605 | * solib-frv.c (lm_base): Update. | |
2606 | (main_got): Update. | |
2607 | * solib-irix.c (locate_base): Update. | |
2608 | * solib-som.c (som_solib_create_inferior_hook): Update. | |
2609 | (som_solib_desire_dynamic_linker_symbols): Update. | |
2610 | (link_map_start): Update. | |
2611 | * solib-spu.c (spu_enable_break): Update. | |
2612 | (ocl_enable_break): Update. | |
2613 | * solib-svr4.c (elf_locate_base): Update. | |
2614 | (enable_break): Update. | |
2615 | * spu-tdep.c (spu_get_overlay_table): Update. | |
2616 | (spu_catch_start): Update. | |
2617 | (flush_ea_cache): Update. | |
2618 | * stabsread.c (define_symbol): Update. | |
2619 | (scan_file_globals): Update. | |
2620 | * stack.c (find_frame_funname): Update. | |
2621 | (frame_info): Update. | |
2622 | * symfile.c (simple_read_overlay_table): Update. | |
2623 | (simple_overlay_update): Update. | |
2624 | * symmisc.c (dump_msymbols): Update. | |
2625 | * symtab.c (fixup_section): Update. | |
2626 | (find_pc_sect_line): Update. | |
2627 | (skip_prologue_sal): Update. | |
2628 | (search_symbols): Update. | |
2629 | (print_msymbol_info): Update. | |
2630 | (rbreak_command): Update. | |
2631 | (MCOMPLETION_LIST_ADD_SYMBOL): New macro. | |
2632 | (completion_list_objc_symbol): Update. | |
2633 | (default_make_symbol_completion_list_break_on): Update. | |
2634 | * tracepoint.c (scope_info): Update. | |
2635 | * tui/tui-disasm.c (tui_find_disassembly_address): Update. | |
2636 | (tui_get_begin_asm_address): Update. | |
2637 | * valops.c (find_function_in_inferior): Update. | |
2638 | * value.c (value_static_field): Update. | |
2639 | (value_fn_field): Update. | |
2640 | ||
50e65b17 TT |
2641 | 2014-02-26 Tom Tromey <tromey@redhat.com> |
2642 | ||
2643 | * blockframe.c (find_pc_partial_function_gnu_ifunc): Use | |
2644 | bound minimal symbols. Move code that knows about minsym | |
2645 | table layout... | |
2646 | * minsyms.c (minimal_symbol_upper_bound): ... here. New | |
2647 | function. | |
2648 | * minsyms.h (minimal_symbol_upper_bound): Declare. | |
2649 | * objc-lang.c (find_objc_msgsend): Use bound minimal symbols, | |
2650 | minimal_symbol_upper_bound. | |
2651 | ||
1b588015 JB |
2652 | 2014-02-27 Joel Brobecker <brobecker@adacore.com> |
2653 | ||
2654 | * python/lib/gdb/printing.py (RegexpCollectionPrettyPrinter): | |
2655 | Use the type's name if its basic type does not have a tag. | |
2656 | ||
dbb9c2b1 JB |
2657 | 2014-02-27 Joel Brobecker <brobecker@adacore.com> |
2658 | ||
2659 | * dwarf2read.c (read_subrange_type): Add comment. | |
2660 | ||
55426c9d JB |
2661 | 2014-02-27 Joel Brobecker <brobecker@adacore.com> |
2662 | ||
2663 | * dwarf2read.c (update_enumeration_type_from_children): New | |
2664 | function, mostly extracted from process_structure_scope. | |
2665 | (read_enumeration_type): Call update_enumeration_type_from_children. | |
2666 | (process_enumeration_scope): Do not set THIS_TYPE's flag_unsigned | |
2667 | and flag_flag_enum fields. | |
2668 | ||
f2fce0ca PA |
2669 | 2014-02-26 Pedro Alves <palves@redhat.com> |
2670 | ||
2671 | * bsd-uthread.c (bsd_uthread_xfer_partial): Delete function. | |
2672 | (bsd_uthread_target): Don't install bsd_uthread_xfer_partial as | |
2673 | to_xfer_partial method. | |
2674 | ||
7a44e40e PA |
2675 | 2014-02-26 Pedro Alves <palves@redhat.com> |
2676 | ||
2677 | * target.c (complete_target_initialization): Don't install | |
2678 | default_xfer_partial as to_xfer_partial hook. | |
2679 | (nomemory): Delete. | |
2680 | (update_current_target): Don't INHERIT nor de_fault | |
2681 | deprecated_xfer_memory. Delete de_fault macro. | |
2682 | (default_xfer_partial, deprecated_debug_xfer_memory): Delete. | |
2683 | (setup_target_debug): Don't install a deprecated_xfer_memory hook. | |
2684 | * target.h (struct target_ops) <deprecated_xfer_memory>: Delete | |
2685 | field. | |
2686 | ||
bd265cd0 PA |
2687 | 2014-02-26 Pedro Alves <palves@redhat.com> |
2688 | ||
2689 | * go32-nat.c (my_write_child): New function. | |
2690 | (go32_xfer_memory): Rewrite as to_xfer_partial helper. | |
2691 | (go32_xfer_partial): New function. | |
2692 | (init_go32_ops): Don't install a deprecated_xfer_memory hook. | |
2693 | Instead install a to_xfer_partial hook. | |
2694 | ||
9d46c4e5 PA |
2695 | 2014-02-26 Pedro Alves <palves@redhat.com> |
2696 | ||
2697 | * nto-procfs.c (procfs_xfer_memory): Adjust interface as a | |
2698 | to_xfer_partial helper. Rewrite. | |
2699 | (procfs_xfer_partial): New function. | |
2700 | (init_procfs_ops): Don't install a deprecated_xfer_memory hook. | |
2701 | Install a to_xfer_partial hook. | |
2702 | ||
a1583b1f PA |
2703 | 2014-02-26 Pedro Alves <palves@redhat.com> |
2704 | ||
2705 | * remote-m32r-sdi.c (send_data): Constify 'buf' parameter. | |
2706 | (m32r_xfer_memory): Adjust as a to_xfer_partial helper. | |
2707 | (m32r_xfer_partial): New function. | |
2708 | (init_m32r_ops): Don't install a deprecated_xfer_memory hook. | |
2709 | Install a to_xfer_partial hook. | |
2710 | ||
6df1b29f PA |
2711 | 2014-02-26 Pedro Alves <palves@redhat.com> |
2712 | ||
2713 | * remote-mips.c (mips_xfer_memory): Adjust as to_xfer_partial | |
2714 | helper. | |
2715 | (mips_xfer_partial): New function. | |
2716 | (_initialize_remote_mips): Don't install a deprecated_xfer_memory | |
2717 | hook. Install a to_xfer_partial hook. | |
2718 | ||
dc53a7ad JB |
2719 | 2014-02-26 Joel Brobecker <brobecker@adacore.com> |
2720 | ||
2721 | * gdbtypes.h (create_array_type_with_stride): Add declaration. | |
2722 | * gdbtypes.c (create_array_type_with_stride): New function, | |
2723 | renaming create_array_type, but with an added parameter | |
2724 | called "bit_stride". | |
2725 | (create_array_type): Re-implement using | |
2726 | create_array_type_with_stride. | |
2727 | * dwarf2read.c (read_array_type): Add support for DW_AT_byte_stride | |
2728 | and DW_AT_bit_stride attributes. | |
2729 | ||
12ab52e9 PA |
2730 | 2014-02-26 Pedro Alves <palves@redhat.com> |
2731 | ||
2732 | * breakpoint.c (bpstat_check_breakpoint_conditions): Handle | |
2733 | task-specific breakpoints. | |
2734 | ||
d16461ae PA |
2735 | 2014-02-25 Pedro Alves <palves@redhat.com> |
2736 | ||
2737 | * ia64-linux-nat.c (ia64_linux_xfer_partial): Reimplement | |
2738 | handling of object == TARGET_OBJECT_UNWIND_TABLE. | |
2739 | ||
a8b16220 SS |
2740 | 2014-02-25 Stan Shebs <stan@codesourcery.com> |
2741 | ||
2742 | * defs.h: Annotate comments for Doxygen. | |
2743 | ||
b9e795ee TT |
2744 | 2014-02-25 Tom Tromey <tromey@redhat.com> |
2745 | ||
2746 | * target.h (target_ignore): Don't declare. | |
2747 | * target.c (target_ignore): Remove. | |
2748 | ||
849c862e JK |
2749 | 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com> |
2750 | ||
2751 | PR gdb/16626 | |
2752 | * auto-load.c (auto_load_objfile_script_1): Change filename to | |
2753 | debugfile. | |
2754 | ||
475109d8 JB |
2755 | 2014-02-25 Joel Brobecker <brobecker@adacore.com> |
2756 | ||
2757 | * ia64-linux-nat.c (ia64_linux_xfer_partial): Add function | |
2758 | documentation. Adjust prototype to match the target_ops | |
2759 | to_xfer_partial method. Adjust implementation accordingly. | |
2760 | ||
e186c3bd HZ |
2761 | 2014-02-25 Hui Zhu <hui@codesourcery.com> |
2762 | ||
2763 | * target.h (target_ops): Fix TARGET_DEFAULT_RETURN of | |
2764 | to_traceframe_info. | |
2765 | ||
6d451942 KB |
2766 | 2014-02-25 Kevin Buettner <kevinb@redhat.com> |
2767 | ||
041ab8b4 | 2768 | * rl78-tdep.c (RL78_BANK0_RP0_PTR_REGNUM, RL78_BANK0_RP1_PTR_REGNUM) |
6d451942 KB |
2769 | (RL78_BANK0_RP2_PTR_REGNUM, RL78_BANK0_RP3_PTR_REGNUM) |
2770 | (RL78_BANK1_RP0_PTR_REGNUM, RL78_BANK1_RP1_PTR_REGNUM) | |
2771 | (RL78_BANK1_RP2_PTR_REGNUM, RL78_BANK1_RP3_PTR_REGNUM) | |
2772 | (RL78_BANK2_RP0_PTR_REGNUM, RL78_BANK2_RP1_PTR_REGNUM) | |
2773 | (RL78_BANK2_RP2_PTR_REGNUM, RL78_BANK2_RP3_PTR_REGNUM) | |
2774 | (RL78_BANK3_RP0_PTR_REGNUM, RL78_BANK3_RP1_PTR_REGNUM) | |
2775 | (RL78_BANK3_RP2_PTR_REGNUM, RL78_BANK3_RP3_PTR_REGNUM): | |
2776 | New constants. | |
2777 | (rl78_register_type): Use a data pointer type for SP and | |
2778 | new pseudo registers mentioned above. Use a 16 bit integer | |
2779 | type for all other register pairs. | |
2780 | (rl78_register_name, rl78_g10_register_name): Update for | |
2781 | new pseudo registers. | |
2782 | (rl78_pseudo_register_read): Likewise. | |
2783 | (rl78_pseudo_register_write): Likewise. | |
2784 | (rl78_dwarf_reg_to_regnum): Return register numbers representing | |
2785 | to the newly added pseudo registers. | |
2786 | ||
eddf0bae DE |
2787 | 2014-02-24 Doug Evans <dje@google.com> |
2788 | ||
2789 | * value.c (record_latest_value): Fix comment. | |
2790 | * printcmd.c (print_command_1): Remove code to handle -1 return from | |
2791 | record_latest_value. | |
2792 | ||
e96027e0 PA |
2793 | 2014-02-24 Pedro Alves <palves@redhat.com> |
2794 | ||
2795 | * procfs.c (procfs_target): Don't install procfs_xfer_memory as | |
2796 | deprecated_xfer_memory hook. | |
2797 | (procfs_xfer_partial): Call procfs_xfer_memory instead | |
2798 | of the deprecated_xfer_memory target hook. | |
2799 | (procfs_xfer_memory): Adjust interface as a to_xfer_partial | |
2800 | helper. | |
2801 | ||
0837c976 YZ |
2802 | 2014-02-24 Yuanhui Zhang <asmwarrior@gmail.com> |
2803 | ||
2804 | * windows-nat.c (windows_xfer_shared_libraries): Return | |
2805 | TARGET_XFER_EOF if LEN is zero to fix an assert failure when | |
2806 | requested object is TARGET_OBJECT_LIBRARIES. | |
2807 | ||
bc113b4e YQ |
2808 | 2014-02-24 Yao Qi <yao@codesourcery.com> |
2809 | ||
2810 | * target.h (enum target_xfer_status) | |
2811 | <TARGET_XFER_E_UNAVAILABLE>: Rename it to ... | |
2812 | <TARGET_XFER_UNAVAILABLE>: ... it with setting value 2 | |
2813 | explicitly. New. | |
2814 | * corefile.c (memory_error_message): User updated. | |
2815 | * exec.c (section_table_read_available_memory): Likewise. | |
2816 | * record-btrace.c (record_btrace_xfer_partial): Likewise. | |
2817 | * target.c (target_xfer_status_to_string): Likewise. | |
2818 | (raw_memory_xfer_partial): Likewise. | |
2819 | (memory_xfer_partial_1, target_xfer_partial): Likewise. | |
2820 | * valops.c (read_value_memory): Likewise. | |
2821 | * exec.h: Update comments. | |
2822 | ||
01cb8804 YQ |
2823 | 2014-02-24 Yao Qi <yao@codesourcery.com> |
2824 | ||
2825 | * target.c (target_xfer_status_to_string): Rename argument err | |
2826 | to status. | |
2827 | * target.h (target_xfer_status_to_string): Update declaration. | |
2828 | Replace target_xfer_error_to_string with | |
2829 | target_xfer_status_to_string in comment. | |
2830 | ||
93063aa6 YQ |
2831 | 2014-02-24 Yao Qi <yao@codesourcery.com> |
2832 | ||
2833 | * mips-linux-nat.c (super_close): Update its type. | |
2834 | (mips_linux_close): Pass 'self' to super_close. | |
2835 | ||
5c328c05 YQ |
2836 | 2014-02-24 Yao Qi <yao@codesourcery.com> |
2837 | ||
2838 | * target.h (TARGET_XFER_STATUS_ERROR_P): Remove. | |
2839 | * corefile.c (read_memory): Adjusted. | |
2840 | * target.c (target_write_with_progress): Adjusted. | |
2841 | ||
f73023dd YQ |
2842 | 2014-02-23 Yao Qi <yao@codesourcery.com> |
2843 | ||
2844 | Revert two patches: | |
2845 | ||
2846 | 2013-10-25 Yao Qi <yao@codesourcery.com> | |
2847 | ||
2848 | * remote.c (remote_traceframe_info): Return early if | |
2849 | traceframe is not selected. | |
2850 | ||
2851 | 2013-07-19 Yao Qi <yao@codesourcery.com> | |
2852 | ||
2853 | * target.c (update_current_target): Change the default action | |
2854 | of 'to_traceframe_info' from tcomplain to return_zero. | |
2855 | * target.h (struct target_ops) <to_traceframe_info>: Add more | |
2856 | comments. | |
2857 | ||
5a2eb0ef YQ |
2858 | 2014-02-23 Yao Qi <yao@codesourcery.com> |
2859 | ||
2860 | * valops.c (read_value_memory): Rewrite it. Call | |
2861 | target_xfer_partial in a loop. | |
2862 | * exec.h (section_table_available_memory): Remove declaration. | |
2863 | Move comments to ... | |
2864 | * exec.c (section_table_available_memory): ... here. Make it | |
2865 | static. | |
2866 | ||
1ee79381 YQ |
2867 | 2014-02-23 Yao Qi <yao@codesourcery.com> |
2868 | ||
2869 | * exec.c (section_table_read_available_memory): New function. | |
2870 | * exec.h (section_table_read_available_memory): Declare. | |
2871 | * ctf.c (ctf_xfer_partial): Call | |
2872 | section_table_read_available_memory. | |
2873 | * tracefile-tfile.c (tfile_xfer_partial): Likewise. | |
2874 | ||
1ca49d37 YQ |
2875 | 2014-02-23 Yao Qi <yao@codesourcery.com> |
2876 | ||
2877 | * ctf.c (ctf_xfer_partial): Move code to ... | |
2878 | * exec.c (exec_read_partial_read_only): ... it. New function. | |
2879 | * tracefile-tfile.c (tfile_xfer_partial): Likewise. | |
2880 | * tracefile.c: Include "exec.h". | |
2881 | * exec.h (exec_read_partial_read_only): Declare. | |
2882 | ||
a283690e YQ |
2883 | 2014-02-23 Yao Qi <yao@codesourcery.com> |
2884 | ||
2885 | * tracefile-tfile.c (tfile_has_all_memory): Remove. | |
2886 | (tfile_has_memory): Remove. | |
2887 | (init_tfile_ops): Don't set fields to_has_all_memory and | |
2888 | to_has_memory of tfile_ops. | |
2889 | * tracefile.c (tracefile_has_all_memory): New function. | |
2890 | (tracefile_has_memory): New function. | |
2891 | (init_tracefile_ops): Initialize fields to_has_all_memory and | |
2892 | to_has_memory of 'ops'. | |
2893 | ||
12e03cd0 YQ |
2894 | 2014-02-23 Yao Qi <yao@codesourcery.com> |
2895 | ||
2896 | * ctf.c (ctf_has_stack, ctf_has_registers): Remove. | |
2897 | (ctf_thread_alive, ctf_get_trace_status): Remove. | |
2898 | (init_ctf_ops): Don't set some fields of ctf_ops. Call | |
2899 | init_tracefile_ops. | |
2900 | * tracefile-tfile.c (tfile_get_trace_status): Remove. | |
2901 | (tfile_has_stack, tfile_has_registers): Remove. | |
2902 | (tfile_thread_alive): Remove. | |
2903 | (init_tfile_ops): Don't set some fields of tfile_ops. Call | |
2904 | init_tracefile_ops. | |
2905 | * tracefile.c (tracefile_has_stack): New function. | |
2906 | (tracefile_has_registers): New function. | |
2907 | (tracefile_thread_alive): New function. | |
2908 | (tracefile_get_trace_status): New function. | |
2909 | (init_tracefile_ops): New function. | |
2910 | * tracefile.h (init_tracefile_ops): Declare. | |
2911 | ||
11395323 YQ |
2912 | 2014-02-23 Yao Qi <yao@codesourcery.com> |
2913 | ||
2914 | * tracepoint.c (TFILE_PID): Move it to tracefile-tfile.c. | |
2915 | (O_LARGEFILE): Likewise. | |
2916 | (tfile_ops): Likewise. | |
2917 | (TRACE_HEADER_SIZE): Likewise. | |
2918 | (trace_fd, trace_frames_offset, cur_offset): Likewise. | |
2919 | (cur_data_size): Likewise. | |
2920 | (tfile_read, tfile_open, tfile_interp_line): Likewise. | |
2921 | (tfile_close, tfile_files_info): Likewise. | |
2922 | (tfile_get_trace_status): Likewise. | |
2923 | (tfile_get_tracepoint_status): Likewise. | |
2924 | (tfile_get_traceframe_address): Likewise. | |
2925 | (tfile_trace_find, match_blocktype): Likewise. | |
2926 | (traceframe_walk_blocks, traceframe_find_block_type): Likewise. | |
2927 | (tfile_fetch_registers, tfile_xfer_partial): Likewise. | |
2928 | (tfile_get_trace_state_variable_value): Likewise. | |
2929 | (tfile_has_all_memory, tfile_has_memory): Likewise. | |
2930 | (tfile_has_stack, tfile_has_registers): Likewise. | |
2931 | (tfile_thread_alive, build_traceframe_info): Likewise. | |
2932 | (tfile_traceframe_info, init_tfile_ops): Likewise. | |
2933 | (_initialize_tracepoint): Don't call init_tfile_ops | |
2934 | and add_target_with_completer. | |
2935 | * tracefile-tfile.c: Include regcache.h, inferior.h, gdbthread.h, | |
2936 | exec.h, completer.h and filenames.h. | |
2937 | (_initialize_tracefile_tfile): New function. | |
2938 | ||
7951c4eb YQ |
2939 | 2014-02-23 Yao Qi <yao@codesourcery.com> |
2940 | ||
2941 | * Makefile.in (REMOTE_OBS): Append tracefile.o and | |
2942 | tracefile-tfile.o. | |
2943 | (HFILES_NO_SRCDIR): Add tracefile.h. | |
2944 | * ctf.c: Include "tracefile.h". | |
2945 | * tracefile.h: New file. | |
2946 | * tracefile.c: New file | |
2947 | * tracefile-tfile.c: New file. | |
2948 | * tracepoint.c: Include "tracefile.h". | |
2949 | (free_uploaded_tps, free_uploaded_tsvs): Remove declarations. | |
2950 | (stop_reason_names): Add const. | |
2951 | (trace_file_writer_xfree): Move it to tracefile.c. | |
2952 | (trace_save, trace_save_command, trace_save_tfile): Likewise. | |
2953 | (trace_save_ctf): Likewise. | |
2954 | (struct tfile_trace_file_writer): Move it to tracefile-tfile.c. | |
2955 | (tfile_target_save, tfile_dtor, tfile_start): Likewise. | |
2956 | (tfile_write_header, tfile_write_regblock_type): Likewise. | |
2957 | (tfile_write_status, tfile_write_uploaded_tsv): Likewise. | |
2958 | (tfile_write_uploaded_tp, tfile_write_definition_end): Likewise. | |
2959 | (tfile_write_raw_data, tfile_end): Likewise. | |
2960 | (tfile_trace_file_writer_new): Likewise. | |
2961 | (free_uploaded_tp): Make it extern. | |
2962 | (free_uploaded_tsv): Make it extern. | |
2963 | (_initialize_tracepoint): Move code to register command 'tsave' | |
2964 | to tracefile.c. | |
2965 | * tracepoint.h (stop_reason_names): Declare. | |
2966 | (struct trace_frame_write_ops): Move it to tracefile.h. | |
2967 | (struct trace_file_write_ops): Likewise. | |
2968 | (struct trace_file_writer): Likewise. | |
2969 | (free_uploaded_tsvs, free_uploaded_tps): Declare. | |
2970 | ||
184cd072 JK |
2971 | 2014-02-21 Jan Kratochvil <jan.kratochvil@redhat.com> |
2972 | ||
2973 | PR gdb/16594 | |
2974 | * common/linux-osdata.c (linux_common_core_of_thread): Find the end of | |
2975 | process name. | |
2976 | (get_cores_used_by_process): New parameter num_cores, use it. | |
2977 | (linux_xfer_osdata_processes): Pass num_cores to it. | |
2978 | * linux-tdep.c (linux_info_proc, linux_fill_prpsinfo): Find the end of | |
2979 | process name. | |
2980 | ||
c63528fc AK |
2981 | 2014-02-21 Andreas Arnez <arnez@vnet.linux.ibm.com> |
2982 | ||
2983 | * target.c (memory_xfer_partial): Fix length arg in call to | |
2984 | breakpoint_xfer_memory. | |
2985 | ||
d7b30f67 SDJ |
2986 | 2014-02-20 Sergio Durigan Junior <sergiodj@redhat.com> |
2987 | ||
2988 | PR tdep/16397 | |
2989 | * i386-tdep.c (i386_stap_parse_special_token_triplet): Check if a | |
2990 | number comes after the + or - signs. Adjust length of register | |
2991 | name to be extracted. | |
2992 | ||
8838afaf TT |
2993 | 2014-02-20 Tom Tromey <tromey@redhat.com> |
2994 | ||
2995 | * varobj.h (c_varobj_ops, cplus_varobj_ops, java_varobj_ops) | |
2996 | (ada_varobj_ops): Mark "extern". | |
2997 | ||
05227d14 TT |
2998 | 2014-02-20 Tom Tromey <tromey@redhat.com> |
2999 | ||
3000 | * dbxread.c (read_dbx_symtab): Remove last_o_file_start. | |
3001 | ||
1254eefc DE |
3002 | 2014-02-20 Doug Evans <xdje42@gmail.com> |
3003 | ||
3004 | * guile/scm-gsmob.c (gdbscm_init_eqable_gsmob): New arg containing_scm. | |
3005 | All callers updated. | |
3006 | (gdbscm_fill_eqable_gsmob_ptr_slot): Delete arg containing_scm. | |
3007 | All callers updated. | |
3008 | * guile/guile-internal.h (gdbscm_init_eqable_gsmob): Update. | |
3009 | (gdbscm_fill_eqable_gsmob_ptr_slot): Update. | |
3010 | ||
adde2bff DE |
3011 | 2014-02-20 lin zuojian <manjian2006@gmail.com> |
3012 | Joel Brobecker <brobecker@adacore.com> | |
3013 | Doug Evans <xdje42@gmail.com> | |
3014 | ||
3015 | PR symtab/16581 | |
3016 | * dwarf2read.c (struct die_info): New member in_process. | |
3017 | (reset_die_in_process): New function. | |
3018 | (process_die): Set it at the start, reset when returning. | |
3019 | (inherit_abstract_dies): Only call process_die if origin_child_die | |
3020 | not already being processed. | |
3021 | ||
3be75f87 JB |
3022 | 2014-02-20 Joel Brobecker <brobecker@adacore.com> |
3023 | ||
3024 | * windows-nat.c (handle_unload_dll): Add function documentation. | |
3025 | (do_initial_windows_stuff): Add comment explaining why we wait | |
3026 | until after inferior initialization has finished before | |
3027 | processing all DLLs. | |
3028 | ||
47f7ffdb JB |
3029 | 2014-02-20 Joel Brobecker <brobecker@adacore.com> |
3030 | ||
3031 | * windows-nat.c (get_module_name): Delete. | |
3032 | (windows_get_exec_module_filename): New function, mostly | |
3033 | inspired from get_module_name. | |
3034 | (windows_pid_to_exec_file): Replace call to get_module_name | |
3035 | by call to windows_get_exec_module_filename. | |
3036 | ||
1cd9feab JB |
3037 | 2014-02-20 Joel Brobecker <brobecker@adacore.com> |
3038 | ||
3039 | * windows-nat.c (handle_load_dll): Rewrite this function's | |
3040 | introductory comment. Remove code using get_module_name | |
3041 | to get the DLL's name. | |
3042 | ||
ea39ad35 JB |
3043 | 2014-02-20 Joel Brobecker <brobecker@adacore.com> |
3044 | ||
3045 | * windows-nat.c (get_windows_debug_event): Ignore | |
3046 | LOAD_DLL_DEBUG_EVENT and UNLOAD_DLL_DEBUG_EVENT | |
3047 | if windows_initialization_done == 0. | |
3048 | (windows_add_all_dlls): Renames windows_ensure_ntdll_loaded. | |
3049 | Adjust implementation to always load all DLLs. | |
3050 | (do_initial_windows_stuff): Replace call to | |
3051 | windows_ensure_ntdll_loaded by call to windows_add_all_dlls. | |
3052 | ||
95060284 JB |
3053 | 2014-02-20 Joel Brobecker <brobecker@adacore.com> |
3054 | ||
3055 | * windows-nat.c (_initialize_windows_nat): Deprecate the | |
3056 | "dll-symbols" command. Turn the "add-shared-symbol-files" | |
3057 | and "assf" aliases into commands, and deprecate them as well. | |
3058 | * NEWS: Add entry explaining that "dll-symbols" and its two | |
3059 | aliases are now deprecated. | |
3060 | ||
8d4fdb12 JB |
3061 | 2014-02-20 Joel Brobecker <brobecker@adacore.com> |
3062 | ||
3063 | * dec-thread.c (dec_thread_get_ada_task_ptid): Avoid unescaped | |
3064 | new-line in debug string. Remove trailing spaces. | |
3065 | ||
1b281443 SS |
3066 | 2014-02-19 Stan Shebs <stan@codesourcery.com> |
3067 | ||
3068 | * darwin-nat.c (darwin_xfer_partial): Fix return type. | |
3069 | ||
f7bd0f78 SC |
3070 | 2014-02-19 Siva Chandra Reddy <sivachandra@google.com> |
3071 | ||
3072 | * NEWS: Add entry for the new feature | |
3073 | * python/py-value.c (valpy_binop): Call value_x_binop for struct | |
3074 | and class values. | |
3075 | ||
399ebc3d SS |
3076 | 2014-02-19 Stan Shebs <stan@codesourcery.com> |
3077 | ||
3078 | * MAINTAINERS: List Yao Qi as nios2 maintainer. | |
3079 | ||
c658158d PA |
3080 | 2014-02-19 Pedro Alves <palves@redhat.com> |
3081 | ||
3082 | * common/ptid.h (struct ptid): Mention that process_stratum | |
3083 | targets should prefer ptid.lwp. | |
3084 | ||
ba348170 PA |
3085 | 2014-02-19 Pedro Alves <palves@redhat.com> |
3086 | ||
3087 | * remote.c (remote_thread_alive, write_ptid, read_ptid) | |
3088 | (read_ptid, remote_newthread_step, remote_threads_extra_info) | |
3089 | (remote_get_ada_task_ptid, append_resumption, remote_stop_ns) | |
3090 | (threadalive_test, remote_pid_to_str): Use the ptid.lwp field to | |
3091 | store remote thread ids rather than ptid.tid. | |
3092 | (_initialize_remote): Adjust. | |
3093 | ||
ac01945b TT |
3094 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
3095 | ||
3096 | * target.c (target_get_unwinder): Rewrite. | |
3097 | (target_get_tailcall_unwinder): Rewrite. | |
3098 | * record-btrace.c (record_btrace_to_get_unwinder): New function. | |
3099 | (record_btrace_to_get_tailcall_unwinder): New function. | |
3100 | (init_record_btrace_ops): Update. | |
3101 | * target.h (struct target_ops) <to_get_unwinder, | |
3102 | to_get_tailcall_unwinder>: Now function pointers. Use | |
3103 | TARGET_DEFAULT_RETURN. | |
3104 | ||
8476dc92 TT |
3105 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
3106 | ||
3107 | * nto-procfs.c (procfs_remove_hw_breakpoint): Add 'self' | |
3108 | argument. | |
3109 | (init_procfs_ops): Correctly set to_remove_hw_breakpoint. | |
3110 | ||
c0eca49f TT |
3111 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
3112 | ||
3113 | * record-btrace.c (record_btrace_decr_pc_after_break): Delegate | |
3114 | directly. | |
3115 | * target-delegates.c: Rebuild. | |
3116 | * target.h (struct target_ops) <to_decr_pc_after_break>: Use | |
3117 | TARGET_DEFAULT_FUNC. | |
3118 | * target.c (default_target_decr_pc_after_break): Rename from | |
3119 | forward_target_decr_pc_after_break. Simplify. | |
3120 | (target_decr_pc_after_break): Rely on delegation. | |
3121 | ||
596b6b39 TT |
3122 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
3123 | ||
3124 | * target.c (update_current_target): Do not INHERIT to_doc or | |
3125 | to_magic. Do not de_fault to_open or to_close. | |
3126 | ||
b427c1bc TT |
3127 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
3128 | ||
3129 | * gcore.h (objfile_find_memory_regions): Declare. | |
3130 | * gcore.c (objfile_find_memory_regions): No longer static. Add | |
3131 | "self" argument. | |
3132 | (_initialize_gcore): Don't call exec_set_find_memory_regions. | |
3133 | * exec.c: Include gcore.h. | |
3134 | (exec_set_find_memory_regions): Remove. | |
3135 | (exec_find_memory_regions): Remove. | |
3136 | (exec_do_find_memory_regions): Remove. | |
3137 | (init_exec_ops): Update. | |
3138 | * defs.h (exec_set_find_memory_regions): Remove. | |
3139 | ||
9b144037 TT |
3140 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
3141 | ||
3142 | * target-delegates.c: Rebuild. | |
3143 | * target.h (struct target_ops) <to_extra_thread_info, | |
3144 | to_thread_name, to_pid_to_exec_file, to_get_section_table, | |
3145 | to_memory_map, to_read_description, to_traceframe_info>: Use NULL, | |
3146 | not 0, in TARGET_DEFAULT_RETURN. | |
3147 | ||
555bbdeb TT |
3148 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
3149 | ||
3150 | * target.c (complete_target_initialization): Remove casts. Use | |
3151 | return_zero_has_execution. | |
3152 | (return_zero): Add "ignore" argument. | |
3153 | (return_zero_has_execution): New function. | |
3154 | (init_dummy_target): Remove casts. Use | |
3155 | return_zero_has_execution. | |
3156 | ||
be4ddd36 TT |
3157 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
3158 | ||
3159 | * target.c (update_current_target): Update comments. Do not | |
3160 | INHERIT to_stratum. | |
3161 | ||
2117c711 TT |
3162 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
3163 | ||
3164 | * arm-linux-nat.c (arm_linux_read_description): Delegate when | |
3165 | needed. | |
3166 | * corelow.c (core_read_description): Delegate when needed. | |
3167 | * remote.c (remote_read_description): Delegate when needed. | |
3168 | * target-delegates.c: Rebuild. | |
3169 | * target.c (target_read_description): Rewrite. | |
3170 | * target.h (struct target_ops) <to_read_description>: Update | |
3171 | comment. Use TARGET_DEFAULT_RETURN. | |
3172 | ||
e88ef65c TT |
3173 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
3174 | ||
3175 | * target-delegates.c: Rebuild. | |
3176 | * target.c (update_current_target): Don't inherit or default | |
3177 | to_can_run. | |
3178 | (find_default_run_target): Check against delegate_can_run. | |
3179 | * target.h (struct target_ops) <to_can_run>: Use | |
3180 | TARGET_DEFAULT_RETURN. | |
3181 | ||
86a0854a TT |
3182 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
3183 | ||
3184 | * target-delegates.c: Rebuild. | |
3185 | * target.c (target_disconnect): Unconditionally delegate. | |
3186 | * target.h (struct target_ops) <to_disconnect>: Use | |
3187 | TARGET_DEFAULT_NORETURN. | |
3188 | ||
ee97f592 TT |
3189 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
3190 | ||
3191 | * record.c (record_stop): Unconditionally delegate. | |
3192 | * target-delegates.c: Rebuild. | |
3193 | * target.c (target_stop_recording): Unconditionally delegate. | |
3194 | * target.h (struct target_ops) <to_stop_recording>: Use | |
3195 | TARGET_DEFAULT_IGNORE. | |
3196 | ||
6dc7fcf4 TT |
3197 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
3198 | ||
3199 | * target-delegates.c: Rebuild. | |
3200 | * target.c (target_enable_btrace): Unconditionally delegate. | |
3201 | * target.h (struct target_ops) <to_enable_btrace>: Use | |
3202 | TARGET_DEFAULT_NORETURN. | |
3203 | ||
eb5b20d4 TT |
3204 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
3205 | ||
3206 | * target-delegates.c: Rebuild. | |
3207 | * target.c (target_read_btrace): Unconditionally delegate. | |
3208 | * target.h (struct target_ops) <to_read_btrace>: Use | |
3209 | TARGET_DEFAULT_NORETURN. | |
3210 | ||
9ace480d TT |
3211 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
3212 | ||
3213 | * target-delegates.c: Rebuild. | |
3214 | * target.c (target_teardown_btrace): Unconditionally delegate. | |
3215 | * target.h (struct target_ops) <to_teardown_btrace>: Use | |
3216 | TARGET_DEFAULT_NORETURN. | |
3217 | ||
8dc292d3 TT |
3218 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
3219 | ||
3220 | * target-delegates.c: Rebuild. | |
3221 | * target.c (target_disable_btrace): Unconditionally delegate. | |
3222 | * target.h (struct target_ops) <to_disable_btrace>: Use | |
3223 | TARGET_DEFAULT_NORETURN. | |
3224 | ||
58a5184e TT |
3225 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
3226 | ||
3227 | * target-delegates.c: Rebuild. | |
3228 | * target.c (default_search_memory): New function. | |
3229 | (simple_search_memory): Update comment. | |
3230 | (target_search_memory): Unconditionally delegate. | |
3231 | * target.h (struct target_ops) <to_search_memory>: Use | |
3232 | TARGET_DEFAULT_FUNC. | |
3233 | ||
8de71aab TT |
3234 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
3235 | ||
3236 | * auxv.c (default_auxv_parse): No longer static. | |
3237 | (target_auxv_parse): Unconditionally delegate. | |
3238 | * auxv.h (default_auxv_parse): Declare. | |
3239 | * target-delegates.c: Rebuild. | |
3240 | * target.c: Include auxv.h. | |
3241 | * target.h (struct target_ops) <to_auxv_parse>: Use | |
3242 | TARGET_DEFAULT_FUNC. | |
3243 | ||
6b2c5a57 TT |
3244 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
3245 | ||
3246 | * target-delegates.c: Rebuild. | |
3247 | * target.c (target_memory_map): Unconditionally delegate. | |
3248 | * target.h (struct target_ops) <to_memory_map>: Use | |
3249 | TARGET_DEFAULT_RETURN. | |
3250 | ||
cbffc065 TT |
3251 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
3252 | ||
3253 | * target-delegates.c: Rebuild. | |
3254 | * target.c (target_thread_alive): Unconditionally delegate. | |
3255 | * target.h (struct target_ops) <to_thread_alive>: Use | |
3256 | TARGET_DEFAULT_RETURN. | |
3257 | ||
f09e2107 TT |
3258 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
3259 | ||
3260 | * target-delegates.c: Rebuild. | |
3261 | * target.c (target_save_record): Unconditionally delegate. | |
3262 | * target.h (struct target_ops) <to_save_record>: Use | |
3263 | TARGET_DEFAULT_NORETURN. | |
3264 | ||
07366925 TT |
3265 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
3266 | ||
3267 | * target-delegates.c: Rebuild. | |
3268 | * target.c (target_delete_record): Unconditionally delegate. | |
3269 | * target.h (struct target_ops) <to_delete_record>: Use | |
3270 | TARGET_DEFAULT_NORETURN. | |
3271 | ||
dd2e9d25 TT |
3272 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
3273 | ||
3274 | * target-delegates.c: Rebuild. | |
3275 | * target.c (target_record_is_replaying): Unconditionally | |
3276 | delegate. | |
3277 | * target.h (struct target_ops) <to_record_is_replaying>: Use | |
3278 | TARGET_DEFAULT_RETURN. | |
3279 | ||
671e76cc TT |
3280 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
3281 | ||
3282 | * target-delegates.c: Rebuild. | |
3283 | * target.c (target_goto_record_begin): Unconditionally delegate. | |
3284 | * target.h (struct target_ops) <to_goto_record_begin>: Use | |
3285 | TARGET_DEFAULT_NORETURN. | |
3286 | ||
e9179bb3 TT |
3287 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
3288 | ||
3289 | * target-delegates.c: Rebuild. | |
3290 | * target.c (target_goto_record_end): Unconditionally delegate. | |
3291 | * target.h (struct target_ops) <to_goto_record_end>: Use | |
3292 | TARGET_DEFAULT_NORETURN. | |
3293 | ||
05969c84 TT |
3294 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
3295 | ||
3296 | * target-delegates.c: Rebuild. | |
3297 | * target.c (target_goto_record): Unconditionally delegate. | |
3298 | * target.h (struct target_ops) <to_goto_record>: Use | |
3299 | TARGET_DEFAULT_NORETURN. | |
3300 | ||
3679abfa TT |
3301 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
3302 | ||
3303 | * target-delegates.c: Rebuild. | |
3304 | * target.c (target_insn_history): Unconditionally delegate. | |
3305 | * target.h (struct target_ops) <to_insn_history>: Use | |
3306 | TARGET_DEFAULT_NORETURN. | |
3307 | ||
8444ab58 TT |
3308 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
3309 | ||
3310 | * target-delegates.c: Rebuild. | |
3311 | * target.c (target_insn_history_from): Unconditionally delegate. | |
3312 | * target.h (struct target_ops) <to_insn_history_from>: Use | |
3313 | TARGET_DEFAULT_NORETURN. | |
3314 | ||
c29302cc TT |
3315 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
3316 | ||
3317 | * target-delegates.c: Rebuild. | |
3318 | * target.c (target_insn_history_range): Unconditionally delegate. | |
3319 | * target.h (struct target_ops) <to_insn_history_range>: Use | |
3320 | TARGET_DEFAULT_NORETURN. | |
3321 | ||
170049d4 TT |
3322 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
3323 | ||
3324 | * target-delegates.c: Rebuild. | |
3325 | * target.c (target_call_history): Unconditionally delegate. | |
3326 | * target.h (struct target_ops) <to_call_history>: Use | |
3327 | TARGET_DEFAULT_NORETURN. | |
3328 | ||
16fc27d6 TT |
3329 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
3330 | ||
3331 | * target-delegates.c: Rebuild. | |
3332 | * target.c (target_call_history_from): Unconditionally delegate. | |
3333 | * target.h (struct target_ops) <to_call_history_from>: Use | |
3334 | TARGET_DEFAULT_NORETURN. | |
3335 | ||
115d9817 TT |
3336 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
3337 | ||
3338 | * target-delegates.c: Rebuild. | |
3339 | * target.c (target_call_history_range): Unconditionally delegate. | |
3340 | * target.h (struct target_ops) <to_call_history_range>: Use | |
3341 | TARGET_DEFAULT_NORETURN. | |
3342 | ||
eb276a6b TT |
3343 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
3344 | ||
3345 | * target-delegates.c: Rebuild. | |
3346 | * target.c (target_verify_memory): Unconditionally delegate. | |
3347 | * target.h (struct target_ops) <to_verify_memory>: Use | |
3348 | TARGET_DEFAULT_NORETURN. | |
3349 | ||
9e538d0d TT |
3350 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
3351 | ||
3352 | * target-delegates.c: Rebuild. | |
3353 | * target.c (target_core_of_thread): Unconditionally delegate. | |
3354 | * target.h (struct target_ops) <to_core_of_thread>: Use | |
3355 | TARGET_DEFAULT_RETURN. | |
3356 | ||
f6fb2925 TT |
3357 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
3358 | ||
3359 | * target-delegates.c: Rebuild. | |
3360 | * target.c (target_flash_done): Unconditionally delegate. | |
3361 | * target.h (struct target_ops) <to_flash_done>: Use | |
3362 | TARGET_DEFAULT_NORETURN. | |
3363 | ||
e8a6c6ac TT |
3364 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
3365 | ||
3366 | * target-delegates.c: Rebuild. | |
3367 | * target.c (target_flash_erase): Unconditionally delegate. | |
3368 | * target.h (struct target_ops) <to_flash_erase>: Use | |
3369 | TARGET_DEFAULT_NORETURN. | |
3370 | ||
7e35c012 TT |
3371 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
3372 | ||
3373 | * target-delegates.c: Rebuild. | |
3374 | * target.c (target_get_section_table): Unconditionally delegate. | |
3375 | * target.h (struct target_ops) <to_get_section_table>: Use | |
3376 | TARGET_DEFAULT_RETURN. | |
3377 | ||
770234d3 TT |
3378 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
3379 | ||
3380 | * target-delegates.c: Rebuild. | |
3381 | * target.c (target_pid_to_str): Unconditionally delegate. | |
3382 | (init_dummy_target): Don't initialize to_pid_to_str. | |
3383 | (default_pid_to_str): Rename from dummy_pid_to_str. | |
3384 | * target.h (struct target_ops) <to_pid_to_str>: Use | |
3385 | TARGET_DEFAULT_FUNC. | |
3386 | ||
09b0dc2b TT |
3387 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
3388 | ||
3389 | * target-delegates.c: Rebuild. | |
3390 | * target.c (target_find_new_threads): Unconditionally delegate. | |
3391 | * target.h (struct target_ops) <to_find_new_threads>: Use | |
3392 | TARGET_DEFAULT_RETURN. | |
3393 | ||
7d4f8efa TT |
3394 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
3395 | ||
3396 | * target-delegates.c: Rebuild. | |
3397 | * target.c (target_program_signals): Unconditionally delegate. | |
3398 | * target.h (struct target_ops) <to_program_signals>: Use | |
3399 | TARGET_DEFAULT_IGNORE. | |
3400 | ||
035cad7f TT |
3401 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
3402 | ||
3403 | * target-delegates.c: Rebuild. | |
3404 | * target.c (target_pass_signals): Unconditionally delegate. | |
3405 | * target.h (struct target_ops) <to_pass_signals>: Use | |
3406 | TARGET_DEFAULT_IGNORE. | |
3407 | ||
8d657035 TT |
3408 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
3409 | ||
3410 | * target-delegates.c: Rebuild. | |
3411 | * target.c (default_mourn_inferior): New function. | |
3412 | (target_mourn_inferior): Unconditionally delegate. | |
3413 | * target.h (struct target_ops) <to_mourn_inferior>: Use | |
3414 | TARGET_DEFAULT_FUNC. | |
3415 | ||
098dba18 TT |
3416 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
3417 | ||
3418 | * target-delegates.c: Rebuild. | |
3419 | * target.c (default_follow_fork): New function. | |
3420 | (target_follow_fork): Unconditionally delegate. | |
3421 | * target.h (struct target_ops) <to_follow_fork>: Use | |
3422 | TARGET_DEFAULT_FUNC. | |
3423 | ||
423a4807 TT |
3424 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
3425 | ||
3426 | * target-delegates.c: Rebuild. | |
3427 | * target.c (target_kill): Unconditionally delegate. | |
3428 | * target.h (struct target_ops) <to_kill>: Use | |
3429 | TARGET_DEFAULT_NORETURN. | |
3430 | ||
6c7e5e5c TT |
3431 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
3432 | ||
3433 | * target-delegates.c: Rebuild. | |
3434 | * target.c (target_masked_watch_num_registers): Unconditionally | |
3435 | delegate. | |
3436 | * target.h (struct target_ops) <to_masked_watch_num_registers>: | |
3437 | Use TARGET_DEFAULT_RETURN. | |
3438 | ||
8b1c364c TT |
3439 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
3440 | ||
3441 | * target-delegates.c: Rebuild. | |
3442 | * target.c (target_remove_mask_watchpoint): Unconditionally | |
3443 | delegate. | |
3444 | * target.h (struct target_ops) <to_remove_mask_watchpoint>: Use | |
3445 | TARGET_DEFAULT_RETURN. | |
3446 | ||
cd4ae029 TT |
3447 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
3448 | ||
3449 | * target-delegates.c: Rebuild. | |
3450 | * target.c (target_insert_mask_watchpoint): Unconditionally | |
3451 | delegate. | |
3452 | * target.h (struct target_ops) <to_insert_mask_watchpoint>: Use | |
3453 | TARGET_DEFAULT_RETURN. | |
3454 | ||
a134316b TT |
3455 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
3456 | ||
3457 | * target-delegates.c: Rebuild. | |
3458 | * target.c (target_ranged_break_num_registers): Unconditionally | |
3459 | delegate. | |
3460 | * target.h (struct target_ops) <to_ranged_break_num_registers>: | |
3461 | Use TARGET_DEFAULT_RETURN. | |
3462 | ||
ad5989bd TT |
3463 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
3464 | ||
3465 | * target-delegates.c: Rebuild. | |
3466 | * target.c (target_fetch_registers): Unconditionally delegate. | |
3467 | * target.h (struct target_ops) <to_fetch_registers>: Use | |
3468 | TARGET_DEFAULT_NORETURN. | |
3469 | ||
46ee7e8d TT |
3470 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
3471 | ||
3472 | * target-delegates.c: Rebuild. | |
3473 | * target.c (update_current_target): Don't inherit or default | |
3474 | to_stop. | |
3475 | * target.h (struct target_ops) <to_stop>: Use | |
3476 | TARGET_DEFAULT_IGNORE. | |
3477 | ||
843f59ed TT |
3478 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
3479 | ||
3480 | * target-delegates.c: Rebuild. | |
3481 | * target.c (update_current_target): Don't inherit or default | |
3482 | to_can_run_breakpoint_commands. | |
3483 | * target.h (struct target_ops) <to_can_run_breakpoint_commands>: | |
3484 | Use TARGET_DEFAULT_RETURN. | |
3485 | ||
ccfde2a0 TT |
3486 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
3487 | ||
3488 | * target-delegates.c: Rebuild. | |
3489 | * target.c (update_current_target): Don't inherit or default | |
3490 | to_supports_evaluation_of_breakpoint_conditions. | |
3491 | * target.h (struct target_ops) | |
3492 | <to_supports_evaluation_of_breakpoint_conditions>: Use | |
3493 | TARGET_DEFAULT_RETURN. | |
3494 | ||
0de91722 TT |
3495 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
3496 | ||
3497 | * target-delegates.c: Rebuild. | |
3498 | * target.c (update_current_target): Don't inherit or default | |
3499 | to_augmented_libraries_svr4_read. | |
3500 | * target.h (struct target_ops) <to_augmented_libraries_svr4_read>: | |
3501 | Use TARGET_DEFAULT_RETURN. | |
3502 | ||
9a7d8b48 TT |
3503 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
3504 | ||
3505 | * target-delegates.c: Rebuild. | |
3506 | * target.c (update_current_target): Don't inherit or default | |
3507 | to_can_use_agent. | |
3508 | * target.h (struct target_ops) <to_can_use_agent>: Use | |
3509 | TARGET_DEFAULT_RETURN. | |
3510 | ||
d9db5b21 TT |
3511 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
3512 | ||
3513 | * target-delegates.c: Rebuild. | |
3514 | * target.c (update_current_target): Don't inherit or default | |
3515 | to_use_agent. | |
3516 | * target.h (struct target_ops) <to_use_agent>: Use | |
3517 | TARGET_DEFAULT_NORETURN. | |
3518 | ||
92155eeb TT |
3519 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
3520 | ||
3521 | * target-delegates.c: Rebuild. | |
3522 | * target.c (update_current_target): Don't inherit or default | |
3523 | to_traceframe_info. | |
3524 | (return_null): Remove. | |
3525 | * target.h (struct target_ops) <to_traceframe_info>: Use | |
3526 | TARGET_DEFAULT_RETURN. | |
3527 | ||
d6522a22 TT |
3528 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
3529 | ||
3530 | * target-delegates.c: Rebuild. | |
3531 | * target.c (update_current_target): Don't inherit or default | |
3532 | to_static_tracepoint_markers_by_strid. | |
3533 | * target.h (struct target_ops) | |
3534 | <to_static_tracepoint_markers_by_strid>: Use | |
3535 | TARGET_DEFAULT_NORETURN. | |
3536 | ||
4c3e4425 TT |
3537 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
3538 | ||
3539 | * target-delegates.c: Rebuild. | |
3540 | * target.c (update_current_target): Don't inherit or default | |
3541 | to_static_tracepoint_marker_at. | |
3542 | * target.h (struct target_ops) <to_static_tracepoint_marker_at>: | |
3543 | Use TARGET_DEFAULT_RETURN. | |
3544 | ||
dcd6917f TT |
3545 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
3546 | ||
3547 | * target-delegates.c: Rebuild. | |
3548 | * target.c (update_current_target): Don't inherit or default | |
3549 | to_set_permissions. | |
3550 | * target.h (struct target_ops) <to_set_permissions>: Use | |
3551 | TARGET_DEFAULT_IGNORE. | |
3552 | ||
22bcceee TT |
3553 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
3554 | ||
3555 | * target-delegates.c: Rebuild. | |
3556 | * target.c (update_current_target): Don't inherit or default | |
3557 | to_get_tib_address. | |
3558 | * target.h (struct target_ops) <to_get_tib_address>: Use | |
3559 | TARGET_DEFAULT_NORETURN. | |
3560 | ||
8586ccaa TT |
3561 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
3562 | ||
3563 | * target-delegates.c: Rebuild. | |
3564 | * target.c (update_current_target): Don't inherit or default | |
3565 | to_set_trace_notes. | |
3566 | * target.h (struct target_ops) <to_set_trace_notes>: Use | |
3567 | TARGET_DEFAULT_RETURN. | |
3568 | ||
91df8d1d TT |
3569 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
3570 | ||
3571 | * target-delegates.c: Rebuild. | |
3572 | * target.c (update_current_target): Don't initialize | |
3573 | to_set_trace_buffer_size. | |
3574 | * target.h (struct target_ops) <to_set_trace_buffer_size>: Use | |
3575 | TARGET_DEFAULT_IGNORE. | |
3576 | ||
8d526939 TT |
3577 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
3578 | ||
3579 | * target-delegates.c: Rebuild. | |
3580 | * target.c (update_current_target): Don't inherit or default | |
3581 | to_set_circular_trace_buffer. | |
3582 | * target.h (struct target_ops) <to_set_circular_trace_buffer>: Use | |
3583 | TARGET_DEFAULT_IGNORE. | |
3584 | ||
0bcfeddf TT |
3585 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
3586 | ||
3587 | * target-delegates.c: Rebuild. | |
3588 | * target.c (update_current_target): Don't inherit or default | |
3589 | to_set_disconnected_tracing. | |
3590 | * target.h (struct target_ops) <to_set_disconnected_tracing>: Use | |
3591 | TARGET_DEFAULT_IGNORE. | |
3592 | ||
9249843f TT |
3593 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
3594 | ||
3595 | * target-delegates.c: Rebuild. | |
3596 | * target.c (update_current_target): Don't inherit or default | |
3597 | to_get_min_fast_tracepoint_insn_len. | |
3598 | (return_minus_one): Remove. | |
3599 | * target.h (struct target_ops) | |
3600 | <to_get_min_fast_tracepoint_insn_len>: Use TARGET_DEFAULT_RETURN. | |
3601 | ||
ace92e7d TT |
3602 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
3603 | ||
3604 | * target-delegates.c: Rebuild. | |
3605 | * target.c (update_current_target): Don't inherit or default | |
3606 | to_get_raw_trace_data. | |
3607 | * target.h (struct target_ops) <to_get_raw_trace_data>: Use | |
3608 | TARGET_DEFAULT_NORETURN. | |
3609 | ||
08120467 TT |
3610 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
3611 | ||
3612 | * target-delegates.c: Rebuild. | |
3613 | * target.c (update_current_target): Don't inherit or default | |
3614 | to_upload_trace_state_variables. | |
3615 | * target.h (struct target_ops) <to_upload_trace_state_variables>: | |
3616 | Use TARGET_DEFAULT_RETURN. | |
3617 | ||
1e949b00 TT |
3618 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
3619 | ||
3620 | * target-delegates.c: Rebuild. | |
3621 | * target.c (update_current_target): Don't inherit or default | |
3622 | to_upload_tracepoints. | |
3623 | * target.h (struct target_ops) <to_upload_tracepoints>: Use | |
3624 | TARGET_DEFAULT_RETURN. | |
3625 | ||
a2e6c147 TT |
3626 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
3627 | ||
3628 | * target-delegates.c: Rebuild. | |
3629 | * target.c (update_current_target): Don't inherit or default | |
3630 | to_save_trace_data. | |
3631 | * target.h (struct target_ops) <to_save_trace_data>: Use | |
3632 | TARGET_DEFAULT_NORETURN. | |
3633 | ||
959bcd0b TT |
3634 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
3635 | ||
3636 | * target-delegates.c: Rebuild. | |
3637 | * target.c (update_current_target): Don't inherit or default | |
3638 | to_get_trace_state_variable_value. | |
3639 | * target.h (struct target_ops) | |
3640 | <to_get_trace_state_variable_value>: Use TARGET_DEFAULT_RETURN. | |
3641 | ||
afc94e66 TT |
3642 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
3643 | ||
3644 | * target-delegates.c: Rebuild. | |
3645 | * target.c (update_current_target): Don't inherit or default | |
3646 | to_trace_find. | |
3647 | * target.h (struct target_ops): Use TARGET_DEFAULT_RETURN. | |
3648 | ||
e51c07ea TT |
3649 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
3650 | ||
3651 | * target-delegates.c: Rebuild. | |
3652 | * target.c (update_current_target): Don't inherit or default | |
3653 | to_trace_stop. | |
3654 | * target.h (struct target_ops) <to_trace_stop>: Use | |
3655 | TARGET_DEFAULT_NORETURN. | |
3656 | ||
6fea14cd TT |
3657 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
3658 | ||
3659 | * target-delegates.c: Rebuild. | |
3660 | * target.c (update_current_target): Don't inherit or default | |
3661 | to_get_tracepoint_status. | |
3662 | * target.h (struct target_ops) <to_get_tracepoint_status>: Use | |
3663 | TARGET_DEFAULT_NORETURN. | |
3664 | ||
4072d4ff TT |
3665 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
3666 | ||
3667 | * target-delegates.c: Rebuild. | |
3668 | * target.c (update_current_target): Don't inherit or default | |
3669 | to_get_trace_status. | |
3670 | * target.h (struct target_ops) <to_get_trace_status>: Use | |
3671 | TARGET_DEFAULT_RETURN. | |
3672 | ||
25da2e80 TT |
3673 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
3674 | ||
3675 | * target-delegates.c: Rebuild. | |
3676 | * target.c (update_current_target): Don't inherit or default | |
3677 | to_trace_start. | |
3678 | * target.h (struct target_ops) <to_trace_start>: Use | |
3679 | TARGET_DEFAULT_NORETURN. | |
3680 | ||
86dd181d TT |
3681 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
3682 | ||
3683 | * target-delegates.c: Rebuild. | |
3684 | * target.c (update_current_target): Don't inherit or default | |
3685 | to_trace_set_readonly_regions. | |
3686 | * target.h (struct target_ops) <to_trace_set_readonly_regions>: | |
3687 | Use TARGET_DEFAULT_NORETURN. | |
3688 | ||
05c41993 TT |
3689 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
3690 | ||
3691 | * target-delegates.c: Rebuild. | |
3692 | * target.c (update_current_target): Don't inherit or default | |
3693 | to_disable_tracepoint. | |
3694 | * target.h (struct target_ops) <to_disable_tracepoint>: Use | |
3695 | TARGET_DEFAULT_NORETURN. | |
3696 | ||
151f70f1 TT |
3697 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
3698 | ||
3699 | * target-delegates.c: Rebuild. | |
3700 | * target.c (update_current_target): Don't inherit or default | |
3701 | to_enable_tracepoint. | |
3702 | * target.h (struct target_ops) <to_enable_tracepoint>: Use | |
3703 | TARGET_DEFAULT_NORETURN. | |
3704 | ||
94eb98b9 TT |
3705 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
3706 | ||
3707 | * target-delegates.c: Rebuild. | |
3708 | * target.c (update_current_target): Don't inherit or default | |
3709 | to_download_trace_state_variable. | |
3710 | * target.h (struct target_ops) <to_download_trace_state_variable>: | |
3711 | Use TARGET_DEFAULT_NORETURN. | |
3712 | ||
719acc4a TT |
3713 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
3714 | ||
3715 | * target-delegates.c: Rebuild. | |
3716 | * target.c (update_current_target): Don't inherit or default | |
3717 | to_can_download_tracepoint. | |
3718 | * target.h (struct target_ops) <to_can_download_tracepoint>: Use | |
3719 | TARGET_DEFAULT_RETURN. | |
3720 | ||
9a980a22 TT |
3721 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
3722 | ||
3723 | * target-delegates.c: Rebuild. | |
3724 | * target.c (update_current_target): Don't inherit or default | |
3725 | to_download_tracepoint. | |
3726 | * target.h (struct target_ops) <to_download_tracepoint>: Use | |
3727 | TARGET_DEFAULT_NORETURN. | |
3728 | ||
5536135b TT |
3729 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
3730 | ||
3731 | * target-delegates.c: Rebuild. | |
3732 | * target.c (update_current_target): Don't inherit or default | |
3733 | to_trace_init. | |
3734 | * target.h (struct target_ops) <to_trace_init>: Use | |
3735 | TARGET_DEFAULT_RETURN. | |
3736 | ||
9409d39e TT |
3737 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
3738 | ||
3739 | * target-delegates.c: Rebuild. | |
3740 | * target.c (update_current_target): Don't inherit or default | |
3741 | to_supports_string_tracing. | |
3742 | * target.h (struct target_ops) <to_supports_string_tracing>: Use | |
3743 | TARGET_DEFAULT_RETURN. | |
3744 | ||
aab1b22d TT |
3745 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
3746 | ||
3747 | * target-delegates.c: Rebuild. | |
3748 | * target.c (update_current_target): Don't inherit or default | |
3749 | to_supports_enable_disable_tracepoint. | |
3750 | * target.h (struct target_ops) | |
3751 | <to_supports_enable_disable_tracepoint>: Use | |
3752 | TARGET_DEFAULT_RETURN. | |
3753 | ||
a7304748 TT |
3754 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
3755 | ||
3756 | * target-delegates.c: Rebuild. | |
3757 | * target.c (update_current_target): Don't inherit or default | |
3758 | to_supports_multi_process. | |
3759 | * target.h (struct target_ops) <to_supports_multi_process>: Use | |
3760 | TARGET_DEFAULT_RETURN. | |
3761 | ||
4229b31d TT |
3762 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
3763 | ||
3764 | * target-delegates.c: Rebuild. | |
3765 | * target.c (update_current_target): Don't inherit or default | |
3766 | to_get_ada_task_ptid. | |
3767 | * target.h (struct target_ops) <to_get_ada_task_ptid>: Use | |
3768 | TARGET_DEFAULT_FUNC. | |
3769 | ||
43eba180 TT |
3770 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
3771 | ||
3772 | * target-delegates.c: Rebuild. | |
3773 | * target.c (update_current_target): Don't inherit or default | |
3774 | to_thread_architecture. | |
3775 | * target.h (struct target_ops) <to_thread_architecture>: Use | |
3776 | TARGET_DEFAULT_FUNC. | |
3777 | ||
fe31bf5b TT |
3778 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
3779 | ||
3780 | * target-delegates.c: Rebuild. | |
3781 | * target.c (update_current_target): Don't inherit or default | |
3782 | to_execution_direction. | |
3783 | * target.h (struct target_ops) <to_execution_direction>: Use | |
3784 | TARGET_DEFAULT_FUNC. | |
3785 | ||
53e1cfc7 TT |
3786 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
3787 | ||
3788 | * target-delegates.c: Rebuild. | |
3789 | * target.c (update_current_target): Don't inherit or default | |
3790 | to_can_execute_reverse. | |
3791 | * target.h (struct target_ops) <to_can_execute_reverse>: Use | |
3792 | TARGET_DEFAULT_RETURN. | |
3793 | (target_can_execute_reverse): Unconditionally delegate. | |
3794 | ||
9bb9d61d TT |
3795 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
3796 | ||
3797 | * target-delegates.c: Rebuild. | |
3798 | * target.c (update_current_target): Don't inherit or default | |
3799 | to_goto_bookmark. | |
3800 | (dummy_goto_bookmark): Remove. | |
3801 | (init_dummy_target): Don't inherit or default to_goto_bookmark. | |
3802 | * target.h (struct target_ops) <to_goto_bookmark>: Use | |
3803 | TARGET_DEFAULT_NORETURN. | |
3804 | ||
3dbafbbb TT |
3805 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
3806 | ||
3807 | * target-delegates.c: Rebuild. | |
3808 | * target.c (update_current_target): Don't inherit or default | |
3809 | to_get_bookmark. | |
3810 | (dummy_get_bookmark): Remove. | |
3811 | (init_dummy_target): Don't inherit or default to_get_bookmark. | |
3812 | * target.h (struct target_ops) <to_get_bookmark>: Use | |
3813 | TARGET_DEFAULT_NORETURN | |
3814 | ||
16f796b1 TT |
3815 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
3816 | ||
3817 | * target-delegates.c: Rebuild. | |
3818 | * target.c (update_current_target): Don't inherit or default | |
3819 | to_make_corefile_notes. | |
3820 | (init_dummy_target): Don't initialize to_make_corefile_notes. | |
3821 | * target.h (struct target_ops) <to_make_corefile_notes>: Use | |
3822 | TARGET_DEFAULT_FUNC. | |
3823 | ||
0b5a2719 TT |
3824 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
3825 | ||
3826 | * target-delegates.c: Rebuild. | |
3827 | * target.c (update_current_target): Don't inherit or default | |
3828 | to_find_memory_regions. | |
3829 | (init_dummy_target): Don't initialize to_find_memory_regions. | |
3830 | * target.h (struct target_ops) <to_find_memory_regions>: Use | |
3831 | TARGET_DEFAULT_FUNC. | |
3832 | ||
d9cb0195 TT |
3833 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
3834 | ||
3835 | * target-delegates.c: Rebuild. | |
3836 | * target.c (update_current_target): Don't inherit or default | |
3837 | to_log_command. | |
3838 | * target.h (struct target_ops) <to_log_command>: Use | |
3839 | TARGET_DEFAULT_IGNORE. | |
3840 | (target_log_command): Unconditionally delegate. | |
3841 | ||
830ca330 TT |
3842 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
3843 | ||
3844 | * target-delegates.c: Rebuild. | |
3845 | * target.c (update_current_target): Don't inherit or default | |
3846 | to_pid_to_exec_file. | |
3847 | * target.h (struct target_ops) <to_pid_to_exec_file>: Use | |
3848 | TARGET_DEFAULT_RETURN. | |
3849 | ||
825828fc TT |
3850 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
3851 | ||
3852 | * target-delegates.c: Rebuild. | |
3853 | * target.c (update_current_target): Don't inherit or default | |
3854 | to_thread_name. | |
3855 | (target_thread_name): Unconditionally delegate. | |
3856 | * target.h (struct target_ops) <to_thread_name>: Use | |
3857 | TARGET_DEFAULT_RETURN. | |
3858 | ||
4a7e6dda TT |
3859 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
3860 | ||
3861 | * target-delegates.c: Rebuild. | |
3862 | * target.c (update_current_target): Don't inherit or default | |
3863 | to_extra_thread_info. | |
3864 | * target.h (struct target_ops) <to_extra_thread_info>: Use | |
3865 | TARGET_DEFAULT_RETURN. | |
3866 | ||
0db88c1d TT |
3867 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
3868 | ||
3869 | * target-delegates.c: Rebuild. | |
3870 | * target.c (update_current_target): Don't inherit or default | |
3871 | to_has_exited. | |
3872 | * target.h (struct target_ops) <to_has_exited>: Use | |
3873 | TARGET_DEFAULT_RETURN.. | |
3874 | ||
6a9fa051 TT |
3875 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
3876 | ||
3877 | * target-delegates.c: Rebuild. | |
3878 | * target.c (update_current_target): Don't inherit or default | |
3879 | to_set_syscall_catchpoint. | |
3880 | (return_one): Remove. | |
3881 | * target.h (struct target_ops) <to_set_syscall_catchpoint>: Use | |
3882 | TARGET_DEFAULT_RETURN. | |
3883 | ||
62f64d7a TT |
3884 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
3885 | ||
3886 | * target-delegates.c: Rebuild. | |
3887 | * target.c (update_current_target): Don't inherit or default | |
3888 | to_insert_exec_catchpoint. | |
3889 | * target.h (struct target_ops) <to_insert_exec_catchpoint>: Use | |
3890 | TARGET_DEFAULT_RETURN. | |
3891 | ||
cda0f38c TT |
3892 | 2014-01-08 Tom Tromey <tromey@redhat.com> |
3893 | ||
3894 | * target-delegates.c: Rebuild. | |
3895 | * target.c (update_current_target): Don't inherit or default | |
3896 | to_insert_exec_catchpoint. | |
3897 | * target.h (struct target_ops) <to_insert_exec_catchpoint>: Use | |
3898 | TARGET_DEFAULT_RETURN. | |
3899 | ||
95c3375e TT |
3900 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
3901 | ||
3902 | * target-delegates.c: Rebuild. | |
3903 | * target.c (update_current_target): Don't inherit or default | |
3904 | to_remove_vfork_catchpoint. | |
3905 | * target.h (struct target_ops) <to_remove_vfork_catchpoint>: Use | |
3906 | TARGET_DEFAULT_RETURN. | |
3907 | ||
7e18a8dc TT |
3908 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
3909 | ||
3910 | * target-delegates.c: Rebuild. | |
3911 | * target.c (update_current_target): Don't inherit or default | |
3912 | to_insert_vfork_catchpoint. | |
3913 | * target.h (struct target_ops) <to_insert_vfork_catchpoint>: Use | |
3914 | TARGET_DEFAULT_RETURN. | |
3915 | ||
e1a21fb7 TT |
3916 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
3917 | ||
3918 | * target-delegates.c: Rebuild. | |
3919 | * target.c (update_current_target): Don't inherit or default | |
3920 | to_remove_fork_catchpoint. | |
3921 | * target.h (struct target_ops) <to_remove_fork_catchpoint>: Use | |
3922 | TARGET_DEFAULT_RETURN. | |
3923 | ||
5958ebeb TT |
3924 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
3925 | ||
3926 | * target-delegates.c: Rebuild. | |
3927 | * target.c (update_current_target): Don't inherit or default | |
3928 | to_insert_fork_catchpoint. | |
3929 | * target.h (struct target_ops) <to_insert_fork_catchpoint>: Use | |
3930 | TARGET_DEFAULT_RETURN. | |
3931 | ||
340ba4bf TT |
3932 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
3933 | ||
3934 | * target-delegates.c: Rebuild. | |
3935 | * target.c (update_current_target): Don't inherit or default | |
3936 | to_post_startup_inferior. | |
3937 | * target.h (struct target_ops) <to_post_startup_inferior>: Use | |
3938 | TARGET_DEFAULT_IGNORE. | |
3939 | ||
7634da87 TT |
3940 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
3941 | ||
3942 | * target-delegates.c: Rebuild. | |
3943 | * target.c (update_current_target): Don't inherit or default | |
3944 | to_load. | |
3945 | * target.h (struct target_ops) <to_load>: Use | |
3946 | TARGET_DEFAULT_NORETURN. | |
3947 | ||
e19e919f TT |
3948 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
3949 | ||
3950 | * target-delegates.c: Rebuild. | |
3951 | * target.c (update_current_target): Don't inherit or default | |
3952 | to_terminal_info. | |
3953 | * target.h (struct target_ops) <to_terminal_info>: Use | |
3954 | TARGET_DEFAULT_FUNC. | |
3955 | ||
c6ea8f79 TT |
3956 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
3957 | ||
3958 | * target-delegates.c: Rebuild. | |
3959 | * target.c (update_current_target): Don't inherit or default | |
3960 | to_terminal_save_ours. | |
3961 | * target.h (struct target_ops) <to_terminal_save_ours>: Use | |
3962 | TARGET_DEFAULT_IGNORE. | |
3963 | ||
e4a733f1 TT |
3964 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
3965 | ||
3966 | * target-delegates.c: Rebuild. | |
3967 | * target.c (update_current_target): Don't inherit or default | |
3968 | to_terminal_ours. | |
3969 | * target.h (struct target_ops) <to_terminal_ours>: Use | |
3970 | TARGET_DEFAULT_IGNORE. | |
3971 | ||
74fcbef9 TT |
3972 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
3973 | ||
3974 | * target-delegates.c: Rebuild. | |
3975 | * target.c (update_current_target): Don't inherit or default | |
3976 | to_terminal_ours_for_output. | |
3977 | * target.h (struct target_ops) <to_terminal_ours_for_output>: Use | |
3978 | TARGET_DEFAULT_IGNORE. | |
3979 | ||
ddeaacc9 TT |
3980 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
3981 | ||
3982 | * target-delegates.c: Rebuild. | |
3983 | * target.c (update_current_target): Don't inherit or default | |
3984 | to_terminal_inferior. | |
3985 | * target.h (struct target_ops) <to_terminal_inferior>: Use | |
3986 | TARGET_DEFAULT_IGNORE. | |
3987 | ||
0343661d TT |
3988 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
3989 | ||
3990 | * target-delegates.c: Rebuild. | |
3991 | * target.c (update_current_target): Don't inherit or default | |
3992 | to_terminal_init. | |
3993 | * target.h (struct target_ops) <to_terminal_init>: Use | |
3994 | TARGET_DEFAULT_IGNORE. | |
3995 | ||
77cdffe9 TT |
3996 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
3997 | ||
3998 | * target-delegates.c: Rebuild. | |
3999 | * target.c (update_current_target): Don't inherit or default | |
4000 | to_can_accel_watchpoint_condition. | |
4001 | * target.h (struct target_ops) | |
4002 | <to_can_accel_watchpoint_condition>: Use TARGET_DEFAULT_RETURN. | |
4003 | ||
d03655e4 TT |
4004 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
4005 | ||
4006 | * target-delegates.c: Rebuild. | |
4007 | * target.c (update_current_target): Don't inherit or default | |
4008 | to_region_ok_for_hw_watchpoint. | |
4009 | * target.h (struct target_ops) <to_region_ok_for_hw_watchpoint>: | |
4010 | Use TARGET_DEFAULT_FUNC. | |
4011 | ||
65f160a9 TT |
4012 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
4013 | ||
4014 | * target-delegates.c: Rebuild. | |
4015 | * target.c (update_current_target): Don't inherit or default | |
4016 | to_watchpoint_addr_within_range. | |
4017 | * target.h (struct target_ops) <to_watchpoint_addr_within_range>: | |
4018 | Use TARGET_DEFAULT_FUNC. | |
4019 | ||
61dd109f TT |
4020 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
4021 | ||
4022 | * target-delegates.c: Rebuild. | |
4023 | * target.c (update_current_target): Don't inherit or default | |
4024 | to_remove_watchpoint. | |
4025 | * target.h (struct target_ops) <to_remove_watchpoint>: Use | |
4026 | TARGET_DEFAULT_NORETURN. | |
4027 | ||
016facd4 TT |
4028 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
4029 | ||
4030 | * target-delegates.c: Rebuild. | |
4031 | * target.c (update_current_target): Don't inherit or default | |
4032 | to_insert_watchpoint. | |
4033 | * target.h (struct target_ops) <to_insert_watchpoint>: Use | |
4034 | TARGET_DEFAULT_RETURN. | |
4035 | ||
418dabac TT |
4036 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
4037 | ||
4038 | * target-delegates.c: Rebuild. | |
4039 | * target.c (update_current_target): Don't inherit or default | |
4040 | to_remove_hw_breakpoint. | |
4041 | * target.h (struct target_ops) <to_remove_hw_breakpoint>: Use | |
4042 | TARGET_DEFAULT_RETURN. | |
4043 | ||
61b371f9 TT |
4044 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
4045 | ||
4046 | * target-delegates.c: Rebuild. | |
4047 | * target.c (update_current_target): Don't inherit or default | |
4048 | to_insert_hw_breakpoint. | |
4049 | * target.h (struct target_ops) <to_insert_hw_breakpoint>: Use | |
4050 | TARGET_DEFAULT_RETURN. | |
4051 | ||
52b51d06 TT |
4052 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
4053 | ||
4054 | * target-delegates.c: Rebuild. | |
4055 | * target.c (update_current_target): Don't inherit or default | |
4056 | to_can_use_hw_breakpoint. | |
4057 | * target.h (struct target_ops) <to_can_use_hw_breakpoint>: Use | |
4058 | TARGET_DEFAULT_RETURN. | |
4059 | ||
f86e59b2 TT |
4060 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
4061 | ||
4062 | * target-delegates.c: Rebuild. | |
4063 | * target.c (update_current_target): Don't inherit or default | |
4064 | to_files_info. | |
4065 | * target.h (struct target_ops) <to_files_info>: Use | |
4066 | TARGET_DEFAULT_IGNORE. | |
4067 | ||
6c628163 TT |
4068 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
4069 | ||
4070 | * target-delegates.c: Rebuild. | |
4071 | * target.c (update_current_target): Don't inherit or default | |
4072 | to_store. | |
4073 | * target.h (struct target_ops) <to_store>: Use | |
4074 | TARGET_DEFAULT_NORETURN. | |
4075 | ||
bebd3233 TT |
4076 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
4077 | ||
4078 | * target-delegates.c: Rebuild. | |
4079 | * target.c (update_current_target): Don't inherit or default | |
4080 | to_post_attach. | |
4081 | * target.h (struct target_ops) <to_post_attach>: Use | |
4082 | TARGET_DEFAULT_IGNORE. | |
4083 | ||
a53f3625 TT |
4084 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
4085 | ||
4086 | * target-delegates.c: Rebuild. | |
4087 | * target.c (update_current_target): Don't inherit or default | |
4088 | to_rcmd. | |
4089 | (default_rcmd): New function. | |
4090 | (do_monitor_command): Unconditionally delegate. | |
4091 | * target.h (struct target_ops) <to_rmcd>: Use | |
4092 | TARGET_DEFAULT_FUNC. | |
4093 | ||
e9a29200 TT |
4094 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
4095 | ||
4096 | * target-delegates.c: Rebuild. | |
4097 | * target.c (init_dummy_target): Don't initialize to_attach. | |
4098 | (target_attach): Unconditionally delegate. | |
4099 | * target.h (struct target_ops) <to_attach>: Use | |
4100 | TARGET_DEFAULT_FUNC. | |
4101 | ||
09da0d0a TT |
4102 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
4103 | ||
4104 | * target-delegates.c: Rebuild. | |
4105 | * target.c (target_detach): Unconditionally delegate. | |
4106 | (init_dummy_target): Don't initialize to_detach. | |
4107 | * target.h (struct target_ops) <to_detach>: Use | |
4108 | TARGET_DEFAULT_IGNORE. | |
4109 | ||
5436ff03 TT |
4110 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
4111 | ||
4112 | * target.h (struct target_ops) <to_augmented_libraries_svr4_read>: | |
4113 | Add argument. | |
4114 | (target_augmented_libraries_svr4_read): Add argument. | |
4115 | * target.c (update_current_target): Update. | |
4116 | * remote.c (remote_augmented_libraries_svr4_read): Add 'self' | |
4117 | argument. | |
4118 | ||
f0d960ea TT |
4119 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
4120 | ||
4121 | * target.h (struct target_ops) <to_call_history_range>: Add | |
4122 | argument. | |
4123 | * target.c (target_call_history_range): Add argument. | |
4124 | * record-btrace.c (record_btrace_call_history_range): Add 'self' | |
4125 | argument. | |
4126 | (record_btrace_call_history_from): Update. | |
4127 | ||
ec0aea04 TT |
4128 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
4129 | ||
4130 | * target.h (struct target_ops) <to_call_history_from>: Add | |
4131 | argument. | |
4132 | * target.c (target_call_history_from): Add argument. | |
4133 | * record-btrace.c (record_btrace_call_history_from): Add 'self' | |
4134 | argument. | |
4135 | ||
5df2fcba TT |
4136 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
4137 | ||
4138 | * target.h (struct target_ops) <to_call_history>: Add argument. | |
4139 | * target.c (target_call_history): Add argument. | |
4140 | * record-btrace.c (record_btrace_call_history): Add 'self' | |
4141 | argument. | |
4142 | ||
4e99c6b7 TT |
4143 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
4144 | ||
4145 | * target.h (struct target_ops) <to_insn_history_range>: Add | |
4146 | argument. | |
4147 | * target.c (target_insn_history_range): Add argument. | |
4148 | * record-btrace.c (record_btrace_insn_history_range): Add 'self' | |
4149 | argument. | |
4150 | (record_btrace_insn_history_from): Update. | |
4151 | ||
9abc3ff3 TT |
4152 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
4153 | ||
4154 | * target.h (struct target_ops) <to_insn_history_from>: Add | |
4155 | argument. | |
4156 | * target.c (target_insn_history_from): Add argument. | |
4157 | * record-btrace.c (record_btrace_insn_history_from): Add 'self' | |
4158 | argument. | |
4159 | ||
7a6c5609 TT |
4160 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
4161 | ||
4162 | * target.h (struct target_ops) <to_insn_history>: Add argument. | |
4163 | * target.c (target_insn_history): Add argument. | |
4164 | * record-btrace.c (record_btrace_insn_history): Add 'self' | |
4165 | argument. | |
4166 | ||
606183ac TT |
4167 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
4168 | ||
4169 | * target.h (struct target_ops) <to_goto_record>: Add argument. | |
4170 | * target.c (target_goto_record): Add argument. | |
4171 | * record-full.c (record_full_goto): Add 'self' argument. | |
4172 | * record-btrace.c (record_btrace_goto): Add 'self' argument. | |
4173 | ||
307a1b91 TT |
4174 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
4175 | ||
4176 | * target.h (struct target_ops) <to_goto_record_end>: Add argument. | |
4177 | * target.c (target_goto_record_end): Add argument. | |
4178 | * record-full.c (record_full_goto_end): Add 'self' argument. | |
4179 | * record-btrace.c (record_btrace_goto_end): Add 'self' argument. | |
4180 | ||
08475817 TT |
4181 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
4182 | ||
4183 | * target.h (struct target_ops) <to_goto_record_begin>: Add | |
4184 | argument. | |
4185 | * target.c (target_goto_record_begin): Add argument. | |
4186 | * record-full.c (record_full_goto_begin): Add 'self' argument. | |
4187 | * record-btrace.c (record_btrace_goto_begin): Add 'self' | |
4188 | argument. | |
4189 | ||
1c63c994 TT |
4190 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
4191 | ||
4192 | * target.h (struct target_ops) <to_record_is_replaying>: Add | |
4193 | argument. | |
4194 | * target.c (target_record_is_replaying): Add argument. | |
4195 | * record-full.c (record_full_is_replaying): Add 'self' argument. | |
4196 | * record-btrace.c (record_btrace_is_replaying): Add 'self' | |
4197 | argument. | |
4198 | (record_btrace_xfer_partial, record_btrace_store_registers) | |
4199 | (record_btrace_prepare_to_store, record_btrace_resume) | |
4200 | (record_btrace_wait, record_btrace_decr_pc_after_break) | |
4201 | (record_btrace_find_new_threads, record_btrace_thread_alive): | |
4202 | Update. | |
4203 | ||
d1b55219 TT |
4204 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
4205 | ||
4206 | * target.h (struct target_ops) <to_delete_record>: Add argument. | |
4207 | * target.c (target_delete_record): Add argument. | |
4208 | * record-full.c (record_full_delete): Add 'self' argument. | |
4209 | ||
1390f529 TT |
4210 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
4211 | ||
4212 | * target.h (struct target_ops) <to_save_record>: Add argument. | |
4213 | * target.c (target_save_record): Add argument. | |
4214 | * record-full.c (record_full_save): Add 'self' argument. | |
4215 | (record_full_save): Add 'self' argument. | |
4216 | ||
630d6a4a TT |
4217 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
4218 | ||
4219 | * target.h (struct target_ops) <to_info_record>: Add argument. | |
4220 | * target.c (target_info_record): Add argument. | |
4221 | * record.c (info_record_command): Add argument. | |
4222 | * record-full.c (record_full_info): Add 'self' argument. | |
4223 | * record-btrace.c (record_btrace_info): Add 'self' argument. | |
4224 | ||
c6cd7c02 TT |
4225 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
4226 | ||
4227 | * target.h (struct target_ops) <to_stop_recording>: Add argument. | |
4228 | * target.c (target_stop_recording): Add argument. | |
4229 | * record.c (record_stop): Add argument. | |
4230 | * record-btrace.c (record_btrace_stop_recording): Add 'self' | |
4231 | argument. | |
4232 | ||
39c49f83 TT |
4233 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
4234 | ||
4235 | * target.h (struct target_ops) <to_read_btrace>: Add argument. | |
4236 | * target.c (struct target_ops) <to_read_btrace>: Add argument. | |
4237 | * remote.c (struct target_ops) <to_read_btrace>: Add 'self' | |
4238 | argument. | |
4239 | * amd64-linux-nat.c (amd64_linux_read_btrace): New function. | |
4240 | (_initialize_amd64_linux_nat): Use it. | |
4241 | * i386-linux-nat.c (i386_linux_read_btrace): New function. | |
4242 | (_initialize_i386_linux_nat): Use it. | |
4243 | ||
1777056d TT |
4244 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
4245 | ||
4246 | * target.h (struct target_ops) <to_teardown_btrace>: Add argument. | |
4247 | * target.c (target_teardown_btrace): Add argument. | |
4248 | * remote.c (remote_teardown_btrace): Add 'self' argument. | |
4249 | * i386-linux-nat.c (i386_linux_teardown_btrace): Add 'self' | |
4250 | argument. | |
4251 | * amd64-linux-nat.c (amd64_linux_teardown_btrace): Add 'self' | |
4252 | argument. | |
4253 | ||
25e95349 TT |
4254 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
4255 | ||
4256 | * target.h (struct target_ops) <to_disable_btrace>: Add argument. | |
4257 | * target.c (target_disable_btrace): Add argument. | |
4258 | * remote.c (remote_disable_btrace): Add 'self' argument. | |
4259 | * i386-linux-nat.c (i386_linux_disable_btrace): Add 'self' | |
4260 | argument. | |
4261 | * amd64-linux-nat.c (amd64_linux_disable_btrace): Add 'self' | |
4262 | argument. | |
4263 | ||
e3c49f88 TT |
4264 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
4265 | ||
4266 | * target.h (struct target_ops) <to_enable_btrace>: Add argument. | |
4267 | * target.c (target_enable_btrace): Add argument. | |
4268 | * remote.c (remote_enable_btrace): Add 'self' argument. | |
4269 | * i386-linux-nat.c (i386_linux_enable_btrace): Add 'self' | |
4270 | argument. | |
4271 | * amd64-linux-nat.c (amd64_linux_enable_btrace): Add 'self' | |
4272 | argument. | |
4273 | ||
fe38f897 TT |
4274 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
4275 | ||
4276 | * target.h (struct target_ops) <to_can_use_agent>: Add argument. | |
4277 | (target_can_use_agent): Add argument. | |
4278 | * target.c (update_current_target): Update. | |
4279 | * remote.c (remote_can_use_agent): Add 'self' argument. | |
4280 | * inf-child.c (inf_child_can_use_agent): Add 'self' argument. | |
4281 | ||
2c152180 TT |
4282 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
4283 | ||
4284 | * target.h (struct target_ops) <to_use_agent>: Add argument. | |
4285 | (target_use_agent): Add argument. | |
4286 | * target.c (update_current_target): Update. | |
4287 | * remote.c (remote_use_agent): Add 'self' argument. | |
4288 | * inf-child.c (inf_child_use_agent): Add 'self' argument. | |
4289 | ||
a893e81f TT |
4290 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
4291 | ||
4292 | * tracepoint.c (tfile_traceframe_info): Add 'self' argument. | |
4293 | * target.h (struct target_ops) <to_traceframe_info>: Add argument. | |
4294 | (target_traceframe_info): Add argument. | |
4295 | * target.c (update_current_target): Update. | |
4296 | * remote.c (remote_traceframe_info): Add 'self' argument. | |
4297 | * ctf.c (ctf_traceframe_info): Add 'self' argument. | |
4298 | ||
c686c57f TT |
4299 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
4300 | ||
4301 | * target.h (target_static_tracepoint_markers_by_strid): Add | |
4302 | argument. | |
4303 | (struct target_ops) <to_static_tracepoint_markers_by_strid>: Add | |
4304 | 'self' argument. | |
4305 | * target.c (update_current_target): Update. | |
4306 | * remote.c (struct target_ops) | |
4307 | <to_static_tracepoint_markers_by_strid>: Add 'self' argument. | |
4308 | * linux-nat.c (struct target_ops) | |
4309 | <to_static_tracepoint_markers_by_strid>: Add 'self' argument. | |
4310 | ||
61fc905d TT |
4311 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
4312 | ||
4313 | * target.h (struct target_ops) <to_static_tracepoint_marker_at>: | |
4314 | Add argument. | |
4315 | (target_static_tracepoint_marker_at): Add argument. | |
4316 | * target.c (update_current_target): Update. | |
4317 | * remote.c (remote_static_tracepoint_marker_at): Add 'self' | |
4318 | argument. | |
4319 | ||
c378d69d TT |
4320 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
4321 | ||
4322 | * target.h (struct target_ops) <to_set_permissions>: Add argument. | |
4323 | (target_set_permissions): Add argument. | |
4324 | * target.c (update_current_target): Update. | |
4325 | * remote.c (remote_set_permissions): Add 'self' argument. | |
4326 | (remote_start_remote): Update. | |
4327 | ||
bd7ae0f5 TT |
4328 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
4329 | ||
4330 | * windows-nat.c (windows_get_tib_address): Add 'self' argument. | |
4331 | * target.h (struct target_ops) <to_get_tib_address>: Add argument. | |
4332 | (target_get_tib_address): Add argument. | |
4333 | * target.c (update_current_target): Update. | |
4334 | * remote.c (remote_get_tib_address): Add 'self' argument. | |
4335 | ||
d9e68a2c TT |
4336 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
4337 | ||
4338 | * target.h (struct target_ops) <to_set_trace_notes>: Add argument. | |
4339 | (target_set_trace_notes): Add argument. | |
4340 | * target.c (update_current_target): Update. | |
4341 | * remote.c (remote_set_trace_notes): Add 'self' argument. | |
4342 | ||
4da384be TT |
4343 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
4344 | ||
4345 | * target.h (struct target_ops) <to_set_trace_buffer_size>: Add | |
4346 | argument. | |
4347 | (target_set_trace_buffer_size): Add argument. | |
4348 | * target.c (update_current_target): Update. | |
4349 | * remote.c (remote_set_trace_buffer_size): Add 'self' argument. | |
4350 | ||
736d5b1f TT |
4351 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
4352 | ||
4353 | * target.h (struct target_ops) <to_set_circular_trace_buffer>: Add | |
4354 | argument. | |
4355 | (target_set_circular_trace_buffer): Add argument. | |
4356 | * target.c (update_current_target): Update. | |
4357 | * remote.c (remote_set_circular_trace_buffer): Add 'self' | |
4358 | argument. | |
4359 | ||
37b25738 TT |
4360 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
4361 | ||
4362 | * target.h (struct target_ops) <to_set_disconnected_tracing>: Add | |
4363 | argument. | |
4364 | (target_set_disconnected_tracing): Add argument. | |
4365 | * target.c (update_current_target): Update. | |
4366 | * remote.c (remote_set_disconnected_tracing): Add 'self' argument. | |
4367 | ||
0e67620a TT |
4368 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
4369 | ||
4370 | * target.h (struct target_ops) | |
4371 | <to_get_min_fast_tracepoint_insn_len>: Add argument. | |
4372 | (target_get_min_fast_tracepoint_insn_len): Add argument. | |
4373 | * target.c (update_current_target): Update. | |
4374 | * remote.c (remote_get_min_fast_tracepoint_insn_len): Add 'self' | |
4375 | argument. | |
4376 | ||
88ee6f45 TT |
4377 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
4378 | ||
4379 | * target.h (struct target_ops) <to_get_raw_trace_data>: Add | |
4380 | argument. | |
4381 | (target_get_raw_trace_data): Add argument. | |
4382 | * target.c (update_current_target): Update. | |
4383 | * remote.c (remote_get_raw_trace_data): Add 'self' argument. | |
4384 | ||
181e3713 TT |
4385 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
4386 | ||
4387 | * target.h (struct target_ops) <to_upload_trace_state_variables>: | |
4388 | Add argument. | |
4389 | (target_upload_trace_state_variables): Add argument. | |
4390 | * target.c (update_current_target): Update. | |
4391 | * remote.c (remote_upload_trace_state_variables): Add 'self' | |
4392 | argument. | |
4393 | (remote_start_remote): Update. | |
4394 | ||
ab6617cc TT |
4395 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
4396 | ||
4397 | * target.h (struct target_ops) <to_upload_tracepoints>: Add | |
4398 | argument. | |
4399 | (target_upload_tracepoints): Add argument. | |
4400 | * target.c (update_current_target): Update. | |
4401 | * remote.c (remote_upload_tracepoints): Add 'self' argument. | |
4402 | (remote_start_remote): Update. | |
4403 | ||
dc3decaf TT |
4404 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
4405 | ||
4406 | * target.h (struct target_ops) <to_save_trace_data>: Add argument. | |
4407 | (target_save_trace_data): Add argument. | |
4408 | * target.c (update_current_target): Update. | |
4409 | * remote.c (remote_save_trace_data): Add 'self' argument. | |
4410 | ||
4011015b TT |
4411 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
4412 | ||
4413 | * tracepoint.c (tfile_get_trace_state_variable_value): Add 'self' | |
4414 | argument. | |
4415 | * target.h (struct target_ops) | |
4416 | <to_get_trace_state_variable_value>: Add argument. | |
4417 | (target_get_trace_state_variable_value): Add argument. | |
4418 | * target.c (update_current_target): Update. | |
4419 | * remote.c (remote_get_trace_state_variable_value): Add 'self' | |
4420 | argument. | |
4421 | * ctf.c (ctf_get_trace_state_variable_value): Add 'self' argument. | |
4422 | ||
bd4c6793 TT |
4423 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
4424 | ||
4425 | * tracepoint.c (tfile_trace_find): Add 'self' argument. | |
4426 | * target.h (struct target_ops) <to_trace_find>: Add argument. | |
4427 | (target_trace_find): Add argument. | |
4428 | * target.c (update_current_target): Update. | |
4429 | * remote.c (remote_trace_find): Add 'self' argument. | |
4430 | * ctf.c (ctf_trace_find): Add 'self' argument. | |
4431 | ||
74499f1b TT |
4432 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
4433 | ||
4434 | * target.h (struct target_ops) <to_trace_stop>: Add argument. | |
4435 | (target_trace_stop): Add argument. | |
4436 | * target.c (update_current_target): Update. | |
4437 | * remote.c (remote_trace_stop): Add 'self' argument. | |
4438 | ||
db90e85c TT |
4439 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
4440 | ||
4441 | * tracepoint.c (tfile_get_tracepoint_status): Add 'self' argument. | |
4442 | * target.h (struct target_ops) <to_get_tracepoint_status>: Add | |
4443 | argument. | |
4444 | (target_get_tracepoint_status): Add argument. | |
4445 | * target.c (update_current_target): Update. | |
4446 | * remote.c (remote_get_tracepoint_status): Add 'self' argument. | |
4447 | ||
8bd200f1 TT |
4448 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
4449 | ||
4450 | * tracepoint.c (tfile_get_trace_status): Add 'self' argument. | |
4451 | * target.h (struct target_ops) <to_get_trace_status>: Add | |
4452 | argument. | |
4453 | (target_get_trace_status): Add argument. | |
4454 | * target.c (update_current_target): Update. | |
4455 | * remote.c (remote_get_trace_status): Add 'self' argument. | |
4456 | (remote_start_remote, remote_can_download_tracepoint): Update. | |
4457 | * ctf.c (ctf_get_trace_status): Add 'self' argument. | |
4458 | ||
e2d1aae3 TT |
4459 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
4460 | ||
4461 | * target.h (struct target_ops) <to_trace_start>: Add argument. | |
4462 | (target_trace_start): Add argument. | |
4463 | * target.c (update_current_target): Update. | |
4464 | * remote.c (remote_trace_start): Add 'self' argument. | |
4465 | ||
583f9a86 TT |
4466 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
4467 | ||
4468 | * target.h (struct target_ops) <to_trace_set_readonly_regions>: | |
4469 | Add argument. | |
4470 | (target_trace_set_readonly_regions): Add argument. | |
4471 | * target.c (update_current_target): Update. | |
4472 | * remote.c (remote_trace_set_readonly_regions): Add 'self' | |
4473 | argument. | |
4474 | ||
780b049c TT |
4475 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
4476 | ||
4477 | * target.h (struct target_ops) <to_disable_tracepoint>: Add | |
4478 | argument. | |
4479 | (target_disable_tracepoint): Add argument. | |
4480 | * target.c (update_current_target): Update. | |
4481 | * remote.c (remote_disable_tracepoint): Add 'self' argument. | |
4482 | ||
46670d57 TT |
4483 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
4484 | ||
4485 | * target.h (struct target_ops) <to_enable_tracepoint>: Add | |
4486 | argument. | |
4487 | (target_enable_tracepoint): Add argument. | |
4488 | * target.c (update_current_target): Update. | |
4489 | * remote.c (remote_enable_tracepoint): Add 'self' argument. | |
4490 | ||
559d2b81 TT |
4491 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
4492 | ||
4493 | * target.h (struct target_ops) <to_download_trace_state_variable>: | |
4494 | Add argument. | |
4495 | (target_download_trace_state_variable): Add argument. | |
4496 | * target.c (update_current_target): Update. | |
4497 | * remote.c (remote_download_trace_state_variable): Add 'self' | |
4498 | argument. | |
4499 | ||
a52a8357 TT |
4500 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
4501 | ||
4502 | * target.h (struct target_ops) <to_can_download_tracepoint>: Add | |
4503 | argument. | |
4504 | (target_can_download_tracepoint): Add argument. | |
4505 | * target.c (update_current_target): Update. | |
4506 | * remote.c (remote_can_download_tracepoint): Add 'self' argument. | |
4507 | ||
548f7808 TT |
4508 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
4509 | ||
4510 | * target.h (struct target_ops) <to_download_tracepoint>: Add | |
4511 | argument. | |
4512 | (target_download_tracepoint): Add argument. | |
4513 | * target.c (update_current_target): Update. | |
4514 | * remote.c (remote_download_tracepoint): Add 'self' argument. | |
4515 | ||
ecae04e1 TT |
4516 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
4517 | ||
4518 | * target.h (struct target_ops) <to_trace_init>: Add argument. | |
4519 | (target_trace_init): Add argument. | |
4520 | * target.c (update_current_target): Update. | |
4521 | * remote.c (remote_trace_init): Add 'self' argument. | |
4522 | ||
fab5aa7c TT |
4523 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
4524 | ||
4525 | * target.h (struct target_ops) <to_fileio_readlink>: Add argument. | |
4526 | * target.c (target_fileio_readlink): Add argument. | |
4527 | * remote.c (remote_hostio_readlink): Add 'self' argument. | |
4528 | * inf-child.c (inf_child_fileio_readlink): Add 'self' argument. | |
4529 | ||
dbbca37d TT |
4530 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
4531 | ||
4532 | * target.h (struct target_ops) <to_fileio_unlink>: Add argument. | |
4533 | * target.c (target_fileio_unlink): Add argument. | |
4534 | * remote.c (remote_hostio_unlink): Add 'self' argument. | |
4535 | (remote_file_delete): Update. | |
4536 | * inf-child.c (inf_child_fileio_unlink): Add 'self' argument. | |
4537 | ||
df39ea25 TT |
4538 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
4539 | ||
4540 | * target.h (struct target_ops) <to_fileio_close>: Add argument. | |
4541 | * target.c (target_fileio_close): Add argument. | |
4542 | * remote.c (remote_hostio_close): Add 'self' argument. | |
4543 | (remote_hostio_close_cleanup): Update. | |
4544 | (remote_bfd_iovec_close, remote_file_put, remote_file_get): | |
4545 | Update. | |
4546 | * inf-child.c (inf_child_fileio_close): Add 'self' argument. | |
4547 | ||
a3be983c TT |
4548 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
4549 | ||
4550 | * target.h (struct target_ops) <to_fileio_pread>: Add argument. | |
4551 | * target.c (target_fileio_pread): Add argument. | |
4552 | * remote.c (remote_hostio_pread): Add 'self' argument. | |
4553 | (remote_bfd_iovec_pread, remote_file_get): Update. | |
4554 | * inf-child.c (inf_child_fileio_pread): Add 'self' argument. | |
4555 | ||
0d866f62 TT |
4556 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
4557 | ||
4558 | * target.h (struct target_ops) <to_fileio_pwrite>: Add argument. | |
4559 | * target.c (target_fileio_pwrite): Add argument. | |
4560 | * remote.c (remote_hostio_pwrite): Add 'self' argument. | |
4561 | (remote_file_put): Update. | |
4562 | * inf-child.c (inf_child_fileio_pwrite): Add 'self' argument. | |
4563 | ||
cd897586 TT |
4564 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
4565 | ||
4566 | * target.h (struct target_ops) <to_fileio_open>: Add argument. | |
4567 | * target.c (target_fileio_open): Add argument. | |
4568 | * remote.c (remote_hostio_open): Add 'self' argument. | |
4569 | (remote_bfd_iovec_open): Add 'self' argument. | |
4570 | (remote_file_put): Add 'self' argument. | |
4571 | (remote_file_get): Add 'self' argument. | |
4572 | * inf-child.c (inf_child_fileio_open): Add 'self' argument. | |
4573 | ||
78eff0ec TT |
4574 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
4575 | ||
4576 | * target.h (struct target_ops) <to_can_run_breakpoint_commands>: | |
4577 | Add argument. | |
4578 | (target_can_run_breakpoint_commands): Add argument. | |
4579 | * target.c (update_current_target): Update. | |
4580 | * remote.c (remote_can_run_breakpoint_commands): Add 'self' | |
4581 | argument. | |
4582 | (remote_insert_breakpoint): Add 'self' argument. | |
4583 | (remote_insert_hw_breakpoint): Add 'self' argument. | |
4584 | (remote_can_run_breakpoint_commands): Add 'self' argument. | |
4585 | ||
efcc2da7 TT |
4586 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
4587 | ||
4588 | * target.h (struct target_ops) | |
4589 | <to_supports_evaluation_of_breakpoint_conditions>: Add argument. | |
4590 | (target_supports_evaluation_of_breakpoint_conditions): Add | |
4591 | argument. | |
4592 | * target.c (update_current_target): Update. | |
4593 | * remote.c (remote_supports_cond_breakpoints): Add 'self' | |
4594 | argument. | |
4595 | (remote_insert_breakpoint): Add 'self' argument. | |
4596 | (remote_insert_hw_breakpoint): Add 'self' argument. | |
4597 | (remote_supports_cond_breakpoints): Add 'self' argument. | |
4598 | ||
6de37a3a TT |
4599 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
4600 | ||
4601 | * target.h (struct target_ops) <to_supports_string_tracing>: Add | |
4602 | argument. | |
4603 | (target_supports_string_tracing): Add argument. | |
4604 | * target.c (update_current_target): Update. | |
4605 | * remote.c (remote_supports_string_tracing): Add 'self' argument. | |
4606 | ||
2bfc0540 TT |
4607 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
4608 | ||
4609 | * target.h (struct target_ops) | |
4610 | <to_supports_disable_randomization>: Add argument. | |
4611 | * target.c (find_default_supports_disable_randomization): Add | |
4612 | argument. | |
4613 | (target_supports_disable_randomization): Add argument. | |
4614 | (find_default_supports_disable_randomization): Add 'self' | |
4615 | argument. | |
4616 | * remote.c (extended_remote_supports_disable_randomization): Add | |
4617 | 'self' argument. | |
4618 | (remote_supports_disable_randomization): Add 'self' argument. | |
4619 | (extended_remote_create_inferior): Update. | |
4620 | * linux-nat.c (linux_nat_supports_disable_randomization): Add | |
4621 | 'self' argument. | |
4622 | ||
7d178d6a TT |
4623 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
4624 | ||
4625 | * target.h (struct target_ops) | |
4626 | <to_supports_enable_disable_tracepoint>: Add argument. | |
4627 | (target_supports_enable_disable_tracepoint): Add argument. | |
4628 | * target.c (update_current_target): Update. | |
4629 | * remote.c (remote_supports_enable_disable_tracepoint): Add 'self' | |
4630 | argument. | |
4631 | ||
86ce2668 TT |
4632 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
4633 | ||
4634 | * target.h (struct target_ops) <to_supports_multi_process>: Add | |
4635 | argument. | |
4636 | (target_supports_multi_process): Add argument. | |
4637 | * target.c (update_current_target): Update. | |
4638 | * remote.c (remote_supports_multi_process): Add 'self' argument. | |
4639 | * linux-nat.c (linux_nat_supports_multi_process): Add 'self' | |
4640 | argument. | |
4641 | * darwin-nat.c (darwin_supports_multi_process): Add 'self' | |
4642 | argument. | |
4643 | ||
4c612759 TT |
4644 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
4645 | ||
4646 | * target.h (struct target_ops) <to_execution_direction>: Add | |
4647 | argument. | |
4648 | (target_execution_direction): Add argument. | |
4649 | * target.c (default_execution_direction): Add 'self' argument. | |
4650 | * record-full.c (record_full_execution_direction): Add 'self' | |
4651 | argument. | |
4652 | ||
19db3e69 TT |
4653 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
4654 | ||
4655 | * target.h (struct target_ops) <to_can_execute_reverse>: Add | |
4656 | argument. | |
4657 | (target_can_execute_reverse): Add argument. | |
4658 | * remote.c (remote_can_execute_reverse): Add 'self' argument. | |
4659 | * record-full.c (record_full_can_execute_reverse): Add 'self' | |
4660 | argument. | |
4661 | * record-btrace.c (record_btrace_can_execute_reverse): Add 'self' | |
4662 | argument. | |
4663 | ||
1e6b91a4 TT |
4664 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
4665 | ||
4666 | * windows-nat.c (windows_get_ada_task_ptid): Add 'self' argument. | |
4667 | * target.h (struct target_ops) <to_get_ada_task_ptid>: Add | |
4668 | argument. | |
4669 | (target_get_ada_task_ptid): Add argument. | |
4670 | * target.c (update_current_target): Update. | |
4671 | (default_get_ada_task_ptid): Add 'self' argument. | |
4672 | * sol-thread.c (sol_get_ada_task_ptid): Add 'self' argument. | |
4673 | * remote.c (remote_get_ada_task_ptid): Add 'self' argument. | |
4674 | * ravenscar-thread.c (ravenscar_get_ada_task_ptid): Add 'self' | |
4675 | argument. | |
4676 | * linux-thread-db.c (thread_db_get_ada_task_ptid): Add 'self' | |
4677 | argument. | |
4678 | * inf-ttrace.c (inf_ttrace_get_ada_task_ptid): Add 'self' | |
4679 | argument. | |
4680 | * dec-thread.c (dec_thread_get_ada_task_ptid): Add 'self' | |
4681 | argument. | |
4682 | * darwin-nat.c (darwin_get_ada_task_ptid): Add 'self' argument. | |
4683 | * aix-thread.c (aix_thread_get_ada_task_ptid): Add 'self' | |
4684 | argument. | |
4685 | ||
3c80fb48 TT |
4686 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
4687 | ||
4688 | * target.h (struct target_ops) <to_goto_bookmark>: Add argument. | |
4689 | (target_goto_bookmark): Add argument. | |
4690 | * target.c (dummy_goto_bookmark): Add 'self' argument. | |
4691 | * record-full.c (record_full_goto_bookmark): Add 'self' argument. | |
4692 | ||
dd0e2830 TT |
4693 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
4694 | ||
4695 | * target.h (struct target_ops) <to_get_bookmark>: Add argument. | |
4696 | (target_get_bookmark): Add argument. | |
4697 | * target.c (dummy_get_bookmark): Add 'self' argument. | |
4698 | * record-full.c (record_full_get_bookmark): Add 'self' argument. | |
4699 | ||
fc6691b2 TT |
4700 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
4701 | ||
4702 | * target.h (struct target_ops) <to_make_corefile_notes>: Add | |
4703 | argument. | |
4704 | (target_make_corefile_notes): Add argument. | |
4705 | * target.c (dummy_make_corefile_notes): Add 'self' argument. | |
4706 | * procfs.c (procfs_make_note_section): Add 'self' argument. | |
4707 | (procfs_make_note_section): Add 'self' argument. | |
4708 | (procfs_make_note_section): Add 'self' argument. | |
4709 | * linux-nat.c (linux_nat_make_corefile_notes): Add 'self' | |
4710 | argument. | |
4711 | * fbsd-nat.h (fbsd_make_corefile_notes): Add 'self' argument. | |
4712 | * fbsd-nat.c (fbsd_make_corefile_notes): Add 'self' argument. | |
4713 | * exec.c (exec_make_note_section): Add 'self' argument. | |
4714 | (exec_make_note_section): Add 'self' argument. | |
4715 | ||
2e73927c TT |
4716 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
4717 | ||
4718 | * target.h (struct target_ops) <to_find_memory_regions>: Add | |
4719 | argument. | |
4720 | (target_find_memory_regions): Add argument. | |
4721 | * target.c (dummy_find_memory_regions): Add 'self' argument. | |
4722 | * procfs.c (proc_find_memory_regions): Add 'self' argument. | |
4723 | * gnu-nat.c (gnu_find_memory_regions): Add 'self' argument. | |
4724 | * fbsd-nat.h (fbsd_find_memory_regions): Add 'self' argument. | |
4725 | * fbsd-nat.c (fbsd_find_memory_regions): Add 'self' argument. | |
4726 | * exec. (exec_do_find_memory_regions): New global. | |
4727 | (exec_set_find_memory_regions): Rewrite. | |
4728 | (exec_find_memory_regions): New function. | |
4729 | (init_exec_ops): Use exec_find_memory_regions. | |
4730 | ||
2a9a2795 TT |
4731 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
4732 | ||
4733 | * target.h (struct target_ops) <to_supports_non_stop>: Add | |
4734 | argument. | |
4735 | * target.c (find_default_supports_non_stop): Add argument. | |
4736 | (target_supports_non_stop): Add argument. | |
4737 | (find_default_supports_non_stop): Add 'self' argument. | |
4738 | * remote.c (remote_supports_non_stop): Add 'self' argument. | |
4739 | * linux-nat.c (linux_nat_supports_non_stop): Add 'self' argument. | |
4740 | ||
4ab76ea3 TT |
4741 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
4742 | ||
4743 | * target.h (struct target_ops) <to_log_command>: Add argument. | |
4744 | (target_log_command): Add argument. | |
4745 | * serial.h (serial_log_command): Add 'self' argument. | |
4746 | * serial.c (serial_log_command): Add 'self' argument. | |
4747 | ||
8dd27370 TT |
4748 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
4749 | ||
4750 | * windows-nat.c (windows_pid_to_exec_file): Add 'self' argument. | |
4751 | * target.h (struct target_ops) <to_pid_to_exec_file>: Add | |
4752 | argument. | |
4753 | (target_pid_to_exec_file): Add argument. | |
4754 | * target.c (debug_to_pid_to_exec_file): Add argument. | |
4755 | (update_current_target): Update. | |
4756 | * nbsd-nat.h (nbsd_pid_to_exec_file): Add 'self' argument. | |
4757 | * nbsd-nat.c (nbsd_pid_to_exec_file): Add 'self' argument. | |
4758 | * linux-nat.c (linux_child_pid_to_exec_file): Add 'self' argument. | |
4759 | (linux_handle_extended_wait): Update. | |
4760 | * inf-child.c (inf_child_pid_to_exec_file): Add 'self' argument. | |
4761 | * fbsd-nat.h (fbsd_pid_to_exec_file): Add 'self' argument. | |
4762 | * fbsd-nat.c (fbsd_pid_to_exec_file): Add 'self' argument. | |
4763 | * darwin-nat.c (darwin_pid_to_exec_file): Add 'self' argument. | |
4764 | ||
1aac633b TT |
4765 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
4766 | ||
4767 | * target.h (struct target_ops) <to_rcmd>: Add argument. | |
4768 | (target_rcmd): Add argument. | |
4769 | * target.c (debug_to_rcmd): Add argument. | |
4770 | (update_current_target, do_monitor_command): Update. | |
4771 | * remote.c (remote_rcmd): Add 'self' argument. | |
4772 | * monitor.c (monitor_rcmd): Add 'self' argument. | |
4773 | ||
1eab8a48 TT |
4774 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
4775 | ||
4776 | * windows-nat.c (windows_stop): Add 'self' argument. | |
4777 | * target.h (struct target_ops) <to_stop>: Add argument. | |
4778 | * target.c (target_stop): Add argument. | |
4779 | (debug_to_stop): Add argument. | |
4780 | (update_current_target): Update. | |
4781 | * remote.c (remote_stop): Add 'self' argument. | |
4782 | * remote-sim.c (gdbsim_stop): Add 'self' argument. | |
4783 | (gdbsim_cntrl_c): Update. | |
4784 | * remote-m32r-sdi.c (m32r_stop): Add 'self' argument. | |
4785 | * procfs.c (procfs_stop): Add 'self' argument. | |
4786 | * nto-procfs.c (procfs_stop): Add 'self' argument. | |
4787 | * monitor.c (monitor_stop): Add 'self' argument. | |
4788 | (monitor_open): Update. | |
4789 | * linux-nat.c (linux_nat_stop): Add argument. | |
4790 | * inf-ptrace.c (inf_ptrace_stop): Add 'self' argument. | |
4791 | * gnu-nat.c (gnu_stop): Add 'self' argument. | |
4792 | * darwin-nat.c (darwin_stop): Add 'self' argument. | |
4793 | ||
503a628d TT |
4794 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
4795 | ||
4796 | * target.h (struct target_ops) <to_thread_name>: Add argument. | |
4797 | * target.c (target_thread_name): Add argument. | |
4798 | (update_current_target): Update. | |
4799 | * linux-nat.c (linux_nat_thread_name): Add 'self' argument. | |
4800 | ||
c15906d8 TT |
4801 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
4802 | ||
4803 | * target.h (struct target_ops) <to_extra_thread_info>: Add | |
4804 | argument. | |
4805 | (target_extra_thread_info): Add argument. | |
4806 | * target.c (update_current_target): Update. | |
4807 | * remote.c (remote_threads_extra_info): Add 'self' argument. | |
4808 | * ravenscar-thread.c (ravenscar_extra_thread_info): Add 'self' | |
4809 | argument. | |
4810 | * nto-tdep.h (nto_extra_thread_info): Add 'self' argument. | |
4811 | * nto-tdep.c (nto_extra_thread_info): Add 'self' argument. | |
4812 | * linux-thread-db.c (thread_db_extra_thread_info): Add 'self' | |
4813 | argument. | |
4814 | * inf-ttrace.c (inf_ttrace_extra_thread_info): Add 'self' | |
4815 | argument. | |
4816 | * bsd-uthread.c (bsd_uthread_extra_thread_info): Add 'self' | |
4817 | argument. | |
4818 | * aix-thread.c (aix_thread_extra_thread_info): Add 'self' | |
4819 | argument. | |
4820 | ||
daf5e9b6 TT |
4821 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
4822 | ||
4823 | * target.h (struct target_ops) <to_program_signals>: Add argument. | |
4824 | * target.c (target_program_signals): Add argument. | |
4825 | * remote.c (remote_program_signals): Add 'self' argument. | |
4826 | ||
94bedb42 TT |
4827 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
4828 | ||
4829 | * target.h (struct target_ops) <to_pass_signals>: Add argument. | |
4830 | * target.c (target_pass_signals): Add argument. | |
4831 | * remote.c (remote_pass_signals): Add 'self' argument. | |
4832 | (remote_start_remote): Update. | |
4833 | * procfs.c (procfs_pass_signals): Add 'self' argument. | |
4834 | * nto-procfs.c (procfs_pass_signals): Add 'self' argument. | |
4835 | * linux-nat.c (linux_nat_pass_signals): Add 'self' argument. | |
4836 | (linux_nat_create_inferior, linux_nat_attach): Update. | |
4837 | ||
da82bd6b TT |
4838 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
4839 | ||
4840 | * windows-nat.c (windows_can_run): Add 'self' argument. | |
4841 | * target.h (struct target_ops) <to_can_run>: Add argument. | |
4842 | (target_can_run): Add argument. | |
4843 | * target.c (debug_to_can_run): Add argument. | |
4844 | (update_current_target): Update. | |
4845 | * nto-procfs.c (procfs_can_run): Add 'self' argument. | |
4846 | * inf-child.c (inf_child_can_run): Add 'self' argument. | |
4847 | * go32-nat.c (go32_can_run): Add 'self' argument. | |
4848 | ||
d796e1d6 TT |
4849 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
4850 | ||
4851 | * target.h (struct target_ops) <to_has_exited>: Add argument. | |
4852 | (target_has_exited): Add argument. | |
4853 | * target.c (debug_to_has_exited): Add argument. | |
4854 | (update_current_target): Update. | |
4855 | ||
ff214e67 TT |
4856 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
4857 | ||
4858 | * target.h (struct target_ops) <to_set_syscall_catchpoint>: Add | |
4859 | argument. | |
4860 | (target_set_syscall_catchpoint): Add argument. | |
4861 | * linux-nat.c (linux_child_set_syscall_catchpoint): Add 'self' | |
4862 | argument. | |
4863 | * target.c (update_current_target): Update. | |
4864 | ||
758e29d2 TT |
4865 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
4866 | ||
4867 | * target.h (struct target_ops) <to_remove_exec_catchpoint>: Add | |
4868 | argument. | |
4869 | (target_remove_exec_catchpoint): Add argument. | |
4870 | * target.c (debug_to_remove_exec_catchpoint): Add argument. | |
4871 | (update_current_target): Update. | |
4872 | * linux-nat.c (linux_child_remove_exec_catchpoint): Add 'self' | |
4873 | argument. | |
4874 | ||
ba025e51 TT |
4875 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
4876 | ||
4877 | * target.h (struct target_ops) <to_insert_exec_catchpoint>: Add | |
4878 | argument. | |
4879 | (target_insert_exec_catchpoint): Add argument. | |
4880 | * target.c (debug_to_insert_exec_catchpoint): Add argument. | |
4881 | (update_current_target): Update. | |
4882 | * linux-nat.c (linux_child_insert_exec_catchpoint): Add 'self' | |
4883 | argument. | |
4884 | ||
e98cf0cd TT |
4885 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
4886 | ||
4887 | * target.h (struct target_ops) <to_remove_vfork_catchpoint>: Add | |
4888 | argument. | |
4889 | (target_remove_vfork_catchpoint): Add argument. | |
4890 | * target.c (debug_to_remove_vfork_catchpoint): Add argument. | |
4891 | (update_current_target): Update. | |
4892 | * linux-nat.c (linux_child_remove_vfork_catchpoint): Add 'self' | |
4893 | argument. | |
4894 | ||
3ecc7da0 TT |
4895 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
4896 | ||
4897 | * target.h (struct target_ops) <to_insert_vfork_catchpoint>: Add | |
4898 | argument. | |
4899 | (target_insert_vfork_catchpoint): Add argument. | |
4900 | * target.c (debug_to_insert_vfork_catchpoint): Add argument. | |
4901 | (update_current_target): Update. | |
4902 | * linux-nat.c (linux_child_insert_vfork_catchpoint): Add 'self' | |
4903 | argument. | |
4904 | ||
973fc227 TT |
4905 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
4906 | ||
4907 | * target.h (struct target_ops) <to_remove_fork_catchpoint>: Add | |
4908 | argument. | |
4909 | (target_remove_fork_catchpoint): Add argument. | |
4910 | * target.c (debug_to_remove_fork_catchpoint): Add argument. | |
4911 | (update_current_target): Update. | |
4912 | * linux-nat.c (linux_child_remove_fork_catchpoint): Add 'self' | |
4913 | argument. | |
4914 | ||
a863b201 TT |
4915 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
4916 | ||
4917 | * target.h (struct target_ops) <to_insert_fork_catchpoint>: Add | |
4918 | argument. | |
4919 | (target_insert_fork_catchpoint): Add argument. | |
4920 | * target.c (debug_to_insert_fork_catchpoint): Add argument. | |
4921 | (update_current_target): Update. | |
4922 | * linux-nat.c (linux_child_insert_fork_catchpoint): Add 'self' | |
4923 | argument. | |
4924 | ||
2e97a79e TT |
4925 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
4926 | ||
4927 | * target.h (struct target_ops) <to_post_startup_inferior>: Add | |
4928 | argument. | |
4929 | (target_post_startup_inferior): Add argument. | |
4930 | * target.c (debug_to_post_startup_inferior): Add argument. | |
4931 | (update_current_target): Update. | |
4932 | * spu-linux-nat.c (spu_child_post_startup_inferior): Add 'self' | |
4933 | argument. | |
4934 | * linux-nat.c (linux_child_post_startup_inferior): Add 'self' | |
4935 | argument. | |
4936 | * inf-ptrace.c (inf_ptrace_post_startup_inferior): Add 'self' | |
4937 | argument. | |
4938 | * inf-child.c (inf_child_post_startup_inferior): Add 'self' | |
4939 | argument. | |
4940 | * i386-linux-nat.c (i386_linux_child_post_startup_inferior): Add | |
4941 | 'self' argument. | |
4942 | (super_post_startup_inferior): Likewise. | |
4943 | * amd64-linux-nat.c (amd64_linux_child_post_startup_inferior): Add | |
4944 | 'self' argument. | |
4945 | (super_post_startup_inferior): Likewise. | |
4946 | * aarch64-linux-nat.c (aarch64_linux_child_post_startup_inferior): | |
4947 | Add 'self' argument. | |
4948 | (super_post_startup_inferior): Likewise. | |
4949 | ||
71a9f134 TT |
4950 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
4951 | ||
4952 | * target.h (struct target_ops) <to_load>: Add argument. | |
4953 | * target.c (target_load): Add argument. | |
4954 | (debug_to_load): Add argument. | |
4955 | (update_current_target): Update. | |
4956 | * remote.c (remote_load): Add 'self' argument. | |
4957 | * remote-sim.c (gdbsim_load): Add 'self' argument. | |
4958 | * remote-mips.c (mips_load): Add 'self' argument. | |
4959 | * remote-m32r-sdi.c (m32r_load): Add 'self' argument. | |
4960 | * monitor.c (monitor_load): Add 'self' argument. | |
4961 | * m32r-rom.c (m32r_load_gen): Add 'self' argument. | |
4962 | ||
0a4f40a2 TT |
4963 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
4964 | ||
4965 | * target.h (struct target_ops) <to_terminal_info>: Add argument. | |
4966 | (target_terminal_info): Add argument. | |
4967 | * target.c (debug_to_terminal_info): Add argument. | |
4968 | (default_terminal_info): Likewise. | |
4969 | * inflow.c (child_terminal_info): Add 'self' argument. | |
4970 | * inferior.h (child_terminal_info): Add 'self' argument. | |
4971 | * go32-nat.c (go32_terminal_info): Add 'self' argument. | |
4972 | ||
ae3bd431 TT |
4973 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
4974 | ||
4975 | * target.h (struct target_ops) <to_terminal_save_ours>: Add | |
4976 | argument. | |
4977 | (target_terminal_save_ours): Add argument. | |
4978 | * target.c (debug_to_terminal_save_ours): Add argument. | |
4979 | (update_current_target): Update. | |
4980 | * inflow.c (terminal_save_ours): Add 'self' argument. | |
4981 | * inferior.h (terminal_save_ours): Add 'self' argument. | |
4982 | ||
e3594fd1 TT |
4983 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
4984 | ||
4985 | * target.h (struct target_ops) <to_terminal_ours>: Add argument. | |
4986 | (target_terminal_ours): Add argument. | |
4987 | * target.c (debug_to_terminal_ours): Add argument. | |
4988 | (update_current_target): Update. | |
4989 | * remote.c (remote_terminal_ours): Add 'self' argument. | |
4990 | (remote_close): Update. | |
4991 | * linux-nat.c (linux_nat_terminal_ours): Add 'self' argument. | |
4992 | * inflow.c (terminal_ours): Add 'self' argument. | |
4993 | * inferior.h (terminal_ours): Add 'self' argument. | |
4994 | * go32-nat.c (go32_terminal_ours): Add 'self' argument. | |
4995 | ||
2e1e1a19 TT |
4996 | 2014-02-19 Pedro Alves <palves@redhat.com> |
4997 | Tom Tromey <tromey@redhat.com> | |
4998 | ||
4999 | * target.h (struct target_ops) <to_terminal_ours_for_output>: Add | |
5000 | argument. | |
5001 | (target_terminal_ours_for_output): Add argument. | |
5002 | * target.c (debug_to_terminal_ours_for_output): Add argument. | |
5003 | (update_current_target): Update. | |
5004 | * inflow.c (terminal_ours_for_output): Add 'self' argument. | |
5005 | * inferior.h (terminal_ours_for_output): Add 'self' argument. | |
5006 | * go32-nat.c (go32_terminal_ours): Add 'self' argument. | |
5007 | ||
d2f640d4 TT |
5008 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
5009 | ||
5010 | * target.h (struct target_ops) <to_terminal_inferior>: Add | |
5011 | argument. | |
5012 | * target.c (target_terminal_inferior): Add argument. | |
5013 | (update_current_target): Update. | |
5014 | * remote.c (remote_terminal_inferior): Add 'self' argument. | |
5015 | * linux-nat.c (linux_nat_terminal_inferior): Add 'self' argument. | |
5016 | * inflow.c (terminal_inferior): Add 'self' argument. | |
5017 | * inferior.h (terminal_inferior): Add 'self' argument. | |
5018 | * go32-nat.c (go32_terminal_inferior): Add 'self' argument. | |
5019 | (go32_terminal_inferior): Add 'self' argument. | |
5020 | ||
c42bf286 TT |
5021 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
5022 | ||
5023 | * target.h (struct target_ops) <to_terminal_init>: Add argument. | |
5024 | (target_terminal_init): Add argument. | |
5025 | * target.c (debug_to_terminal_init): Add argument. | |
5026 | (update_current_target): Update. | |
5027 | * inflow.c (terminal_init_inferior): Add 'self' argument. | |
5028 | * inferior.h (terminal_init_inferior): Add 'self' argument. | |
5029 | * go32-nat.c (go32_terminal_init): Add 'self' argument. | |
5030 | * gnu-nat.c (gnu_terminal_init_inferior): Add 'self' argument. | |
5031 | ||
c3a5ff89 TT |
5032 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
5033 | ||
5034 | * target.h (struct target_ops) | |
5035 | <to_can_accel_watchpoint_condition>: Add argument. | |
5036 | (target_can_accel_watchpoint_condition): Add argument. | |
5037 | * target.c (debug_to_can_accel_watchpoint_condition): Add | |
5038 | argument. | |
5039 | (update_current_target): Update. | |
5040 | * ppc-linux-nat.c (ppc_linux_can_accel_watchpoint_condition): Add | |
5041 | 'self' argument. | |
5042 | ||
31568a15 TT |
5043 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
5044 | ||
5045 | * target.h (struct target_ops) <to_region_ok_for_hw_watchpoint>: | |
5046 | Add argument. | |
5047 | (target_region_ok_for_hw_watchpoint): Add argument. | |
5048 | * target.c (debug_to_region_ok_for_hw_watchpoint): Add argument. | |
5049 | (default_region_ok_for_hw_watchpoint): Add argument. | |
5050 | * spu-multiarch.c (spu_region_ok_for_hw_watchpoint): Add argument. | |
5051 | * s390-linux-nat.c (s390_region_ok_for_hw_watchpoint): Add 'self' | |
5052 | argument. | |
5053 | * remote.c (remote_region_ok_for_hw_watchpoint): Add 'self' | |
5054 | argument. | |
5055 | * procfs.c (procfs_region_ok_for_hw_watchpoint): Add 'self' | |
5056 | argument. | |
5057 | * ppc-linux-nat.c (ppc_linux_region_ok_for_hw_watchpoint): Add | |
5058 | 'self' argument. | |
5059 | * mips-linux-nat.c (mips_linux_region_ok_for_hw_watchpoint): Add | |
5060 | 'self' argument. | |
5061 | * inf-ttrace.c (inf_ttrace_region_ok_for_hw_watchpoint): Add | |
5062 | 'self' argument. | |
5063 | * i386-nat.c (i386_region_ok_for_watchpoint): Add 'self' argument. | |
5064 | * arm-linux-nat.c (arm_linux_region_ok_for_hw_watchpoint): Add | |
5065 | 'self' argument. | |
5066 | * aarch64-linux-nat.c (aarch64_linux_region_ok_for_hw_watchpoint): | |
5067 | Add 'self' argument. | |
5068 | ||
7bb99c53 TT |
5069 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
5070 | ||
5071 | * target.h (struct target_ops) <to_insert_watchpoint>: Add | |
5072 | argument. | |
5073 | (target_insert_watchpoint): Add argument. | |
5074 | * target.c (debug_to_insert_watchpoint): Add argument. | |
5075 | (update_current_target): Update. | |
5076 | * s390-linux-nat.c (s390_insert_watchpoint): Add 'self' argument. | |
5077 | * remote.c (remote_insert_watchpoint): Add 'self' argument. | |
5078 | * remote-mips.c (mips_insert_watchpoint): Add 'self' argument. | |
5079 | * remote-m32r-sdi.c (m32r_insert_watchpoint): Add 'self' argument. | |
5080 | * procfs.c (procfs_insert_watchpoint): Add 'self' argument. | |
5081 | * ppc-linux-nat.c (ppc_linux_insert_watchpoint): Add 'self' | |
5082 | argument. | |
5083 | * nto-procfs.c (procfs_insert_hw_watchpoint): Add 'self' argument. | |
5084 | (procfs_insert_hw_watchpoint): Add 'self' argument. | |
5085 | * mips-linux-nat.c (mips_linux_insert_watchpoint): Add 'self' | |
5086 | argument. | |
5087 | * inf-ttrace.c (inf_ttrace_insert_watchpoint): Add 'self' | |
5088 | argument. | |
5089 | * ia64-linux-nat.c (ia64_linux_insert_watchpoint): Add 'self' | |
5090 | argument. | |
5091 | * i386-nat.c (i386_insert_watchpoint): Add 'self' argument. | |
5092 | * arm-linux-nat.c (arm_linux_insert_watchpoint): Add 'self' | |
5093 | argument. | |
5094 | * aarch64-linux-nat.c (aarch64_linux_insert_watchpoint): Add | |
5095 | 'self' argument. | |
5096 | ||
11b5219a TT |
5097 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
5098 | ||
5099 | * target.h (struct target_ops) <to_remove_watchpoint>: Add | |
5100 | argument. | |
5101 | (target_remove_watchpoint): Add argument. | |
5102 | * target.c (debug_to_remove_watchpoint): Add argument. | |
5103 | (update_current_target): Update. | |
5104 | * s390-linux-nat.c (s390_remove_watchpoint): Add 'self' argument. | |
5105 | * remote.c (remote_remove_watchpoint): Add 'self' argument. | |
5106 | * remote-mips.c (mips_remove_watchpoint): Add 'self' argument. | |
5107 | * remote-m32r-sdi.c (m32r_remove_watchpoint): Add 'self' argument. | |
5108 | * procfs.c (procfs_remove_watchpoint): Add 'self' argument. | |
5109 | * ppc-linux-nat.c (ppc_linux_remove_watchpoint): Add 'self' | |
5110 | argument. | |
5111 | * nto-procfs.c (procfs_remove_hw_watchpoint): Add 'self' argument. | |
5112 | * mips-linux-nat.c (mips_linux_remove_watchpoint): Add 'self' | |
5113 | argument. | |
5114 | * inf-ttrace.c (inf_ttrace_remove_watchpoint): Add 'self' | |
5115 | argument. | |
5116 | * ia64-linux-nat.c (ia64_linux_remove_watchpoint): Add 'self' | |
5117 | argument. | |
5118 | * i386-nat.c (i386_remove_watchpoint): Add 'self' argument. | |
5119 | * arm-linux-nat.c (arm_linux_remove_watchpoint): Add 'self' | |
5120 | argument. | |
5121 | * aarch64-linux-nat.c (aarch64_linux_remove_watchpoint): Add | |
5122 | 'self' argument. | |
5123 | ||
a64dc96c TT |
5124 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
5125 | ||
5126 | * target.h (struct target_ops) <to_remove_hw_breakpoint>: Add | |
5127 | argument. | |
5128 | (target_remove_hw_breakpoint): Add argument. | |
5129 | * target.c (debug_to_remove_hw_breakpoint): Add argument. | |
5130 | (update_current_target): Update. | |
5131 | * remote.c (remote_remove_hw_breakpoint): Add 'self' argument. | |
5132 | * ppc-linux-nat.c (ppc_linux_remove_hw_breakpoint): Add 'self' | |
5133 | argument. | |
5134 | * i386-nat.c (i386_remove_hw_breakpoint): Add 'self' argument. | |
5135 | * arm-linux-nat.c (arm_linux_remove_hw_breakpoint): Add 'self' | |
5136 | argument. | |
5137 | * aarch64-linux-nat.c (aarch64_linux_remove_hw_breakpoint): Add | |
5138 | 'self' argument. | |
5139 | ||
23a26771 TT |
5140 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
5141 | ||
5142 | * target.h (struct target_ops) <to_insert_hw_breakpoint>: Add | |
5143 | argument. | |
5144 | (target_insert_hw_breakpoint): Add argument. | |
5145 | * target.c (debug_to_insert_hw_breakpoint): Add argument. | |
5146 | (update_current_target): Update. | |
5147 | * remote.c (remote_insert_hw_breakpoint): Add 'self' argument. | |
5148 | * ppc-linux-nat.c (ppc_linux_insert_hw_breakpoint): Add 'self' | |
5149 | argument. | |
5150 | * nto-procfs.c (procfs_insert_hw_breakpoint): Add 'self' argument. | |
5151 | * i386-nat.c (i386_insert_hw_breakpoint): Add 'self' argument. | |
5152 | * arm-linux-nat.c (arm_linux_insert_hw_breakpoint): Add 'self' | |
5153 | argument. | |
5154 | * aarch64-linux-nat.c (aarch64_linux_insert_hw_breakpoint): Add | |
5155 | 'self' argument. | |
5156 | ||
5461485a TT |
5157 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
5158 | ||
5159 | * target.h (struct target_ops) <to_can_use_hw_breakpoint>: Add | |
5160 | argument. | |
5161 | (target_can_use_hardware_watchpoint): Add argument. | |
5162 | * target.c (debug_to_can_use_hw_breakpoint): Add argument. | |
5163 | (update_current_target): Update. | |
5164 | * spu-linux-nat.c (spu_can_use_hw_breakpoint): Add 'self' | |
5165 | argument. | |
5166 | * s390-linux-nat.c (s390_can_use_hw_breakpoint): Add 'self' | |
5167 | argument. | |
5168 | * remote.c (remote_check_watch_resources): Add 'self' argument. | |
5169 | * remote-mips.c (mips_can_use_watchpoint): Add 'self' argument. | |
5170 | * remote-m32r-sdi.c (m32r_can_use_hw_watchpoint): Add 'self' | |
5171 | argument. | |
5172 | * procfs.c (procfs_can_use_hw_breakpoint): Add 'self' argument. | |
5173 | * ppc-linux-nat.c (ppc_linux_can_use_hw_breakpoint): Add 'self' | |
5174 | argument. | |
5175 | * nto-procfs.c (procfs_can_use_hw_breakpoint): Add 'self' | |
5176 | argument. | |
5177 | * mips-linux-nat.c (mips_linux_can_use_hw_breakpoint): Add 'self' | |
5178 | argument. | |
5179 | * inf-ttrace.c (inf_ttrace_can_use_hw_breakpoint): Add 'self' | |
5180 | argument. | |
5181 | * ia64-linux-nat.c (ia64_linux_can_use_hw_breakpoint): Add 'self' | |
5182 | argument. | |
5183 | * ia64-hpux-nat.c (ia64_hpux_can_use_hw_breakpoint): Add 'self' | |
5184 | argument. | |
5185 | * i386-nat.c (i386_can_use_hw_breakpoint): Add 'self' argument. | |
5186 | * arm-linux-nat.c (arm_linux_can_use_hw_breakpoint): Add 'self' | |
5187 | argument. | |
5188 | * aarch64-linux-nat.c (aarch64_linux_can_use_hw_breakpoint): Add | |
5189 | 'self' argument. | |
5190 | ||
f045800c TT |
5191 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
5192 | ||
5193 | * target.h (struct target_ops) <to_post_attach>: Add argument. | |
5194 | (target_post_attach): Add argument. | |
5195 | * target.c (debug_to_post_attach): Add argument. | |
5196 | (update_current_target): Update. | |
5197 | * spu-linux-nat.c (spu_child_post_attach): Add 'self' argument. | |
5198 | * nto-procfs.c (procfs_post_attach): Add 'self' argument. | |
5199 | * linux-nat.c (linux_child_post_attach): Add 'self' argument. | |
5200 | * inf-ptrace.c (inf_ptrace_post_attach): Add 'self' argument. | |
5201 | * inf-child.c (inf_child_post_attach): Add 'self' argument. | |
5202 | ||
de90e03d TT |
5203 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
5204 | ||
5205 | * windows-nat.c (windows_close): Add 'self' argument. | |
5206 | * tracepoint.c (tfile_close): Add 'self' argument. | |
5207 | * target.h (struct target_ops) <to_close>: Add argument. | |
5208 | * target.c (target_close): Add argument. | |
5209 | (update_current_target): Update. | |
5210 | * remote.c (remote_close): Add 'self' argument. | |
5211 | * remote-sim.c (gdbsim_close): Add 'self' argument. | |
5212 | * remote-mips.c (mips_close): Add 'self' argument. | |
5213 | * remote-m32r-sdi.c (m32r_close): Add 'self' argument. | |
5214 | * record-full.c (record_full_close): Add 'self' argument. | |
5215 | * record-btrace.c (record_btrace_close): Add 'self' argument. | |
5216 | * monitor.h (monitor_close): Add 'self' argument. | |
5217 | * monitor.c (monitor_close): Add 'self' argument. | |
5218 | * mips-linux-nat.c (mips_linux_close): Add 'self' argument. | |
5219 | * linux-nat.c (linux_nat_close): Add argument. | |
5220 | * go32-nat.c (go32_close): Add 'self' argument. | |
5221 | * exec.c (exec_close_1): Add 'self' argument. | |
5222 | * ctf.c (ctf_close): Add 'self' argument. | |
5223 | * corelow.c (core_close): Add 'self' argument. | |
5224 | (core_close_cleanup): Update. | |
5225 | * bsd-uthread.c (bsd_uthread_close): Add 'self' argument. | |
5226 | * bsd-kvm.c (bsd_kvm_close): Add 'self' argument. | |
5227 | ||
9dd130a0 TT |
5228 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
5229 | ||
5230 | * remote.c (remote_load): New function. | |
5231 | (init_remote_ops): Use it. | |
5232 | ||
46917d26 TT |
5233 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
5234 | ||
5235 | * common/linux-btrace.c (linux_supports_btrace): Add "ops" | |
5236 | argument. | |
5237 | * common/linux-btrace.h (linux_supports_btrace): Update. | |
5238 | * remote.c (remote_supports_btrace): Add "self" argument. | |
5239 | * target-delegates.c: Rebuild. | |
5240 | * target.c (target_supports_btrace): Remove. | |
5241 | * target.h (struct target_ops) <to_supports_btrace>: Add | |
5242 | target_ops argument. | |
5243 | (target_supports_btrace): New define. | |
5244 | ||
6b84065d TT |
5245 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
5246 | ||
5247 | * record-full.c (record_full_beneath_to_resume_ops) | |
5248 | (record_full_beneath_to_resume, record_full_beneath_to_wait_ops) | |
5249 | (record_full_beneath_to_wait) | |
5250 | (record_full_beneath_to_store_registers_ops) | |
5251 | (record_full_beneath_to_store_registers) | |
5252 | (record_full_beneath_to_xfer_partial_ops) | |
5253 | (record_full_beneath_to_xfer_partial) | |
5254 | (record_full_beneath_to_insert_breakpoint_ops) | |
5255 | (record_full_beneath_to_insert_breakpoint) | |
5256 | (record_full_beneath_to_remove_breakpoint_ops) | |
5257 | (record_full_beneath_to_remove_breakpoint) | |
5258 | (record_full_beneath_to_stopped_by_watchpoint) | |
5259 | (record_full_beneath_to_stopped_data_address) | |
5260 | (record_full_beneath_to_async, tmp_to_resume_ops, tmp_to_resume) | |
5261 | (tmp_to_wait_ops, tmp_to_wait, tmp_to_store_registers_ops) | |
5262 | (tmp_to_store_registers, tmp_to_xfer_partial_ops) | |
5263 | (tmp_to_xfer_partial, tmp_to_instmp_to_insert_breakpoint_ops) | |
5264 | (tmp_to_insert_breakpoint, tmp_to_remove_breakpoint_ops) | |
5265 | (tmp_to_remove_breakpoint, tmp_to_stopped_by_watchpoint) | |
5266 | (tmp_to_stopped_data_address, tmp_to_async): Remove. | |
5267 | (record_full_open_1, record_full_open): Update. Use RECORD_IS_USED. | |
5268 | (record_full_resume, record_full_wait_1) | |
5269 | (record_full_stopped_by_watchpoint, record_full_stopped_data_address) | |
5270 | (record_full_store_registers, record_full_xfer_partial) | |
5271 | (record_full_insert_breakpoint, record_full_remove_breakpoint) | |
5272 | (record_full_async, record_full_core_xfer_partial): Use target | |
5273 | delegation. | |
5274 | * target-delegates.c: Rebuild. | |
5275 | * target.c (current_xfer_partial): Remove. | |
5276 | (update_current_target): Do not INHERIT or de_fault | |
5277 | to_insert_breakpoint, to_remove_breakpoint, | |
5278 | to_stopped_data_address, to_stopped_by_watchpoint, to_can_async_p, | |
5279 | to_is_async_p, to_async. Do not set to_xfer_partial field. | |
5280 | (default_xfer_partial): Simplify. | |
5281 | (current_xfer_partial): Remove. | |
5282 | (target_wait, target_resume): Simplify. | |
5283 | (find_default_can_async_p, find_default_is_async_p): Update. | |
5284 | (init_dummy_target): Don't set to_can_async_p, to_is_async_p, | |
5285 | to_xfer_partial, to_stopped_by_watchpoint, | |
5286 | to_stopped_data_address. | |
5287 | (target_store_registers): Simplify. | |
5288 | (forward_target_remove_breakpoint) | |
5289 | (forward_target_insert_breakpoint): Remove. | |
5290 | (target_remove_breakpoint, target_insert_breakpoint) | |
5291 | (debug_to_insert_breakpoint, debug_to_remove_breakpoint): Update. | |
5292 | * target.h (struct target_ops) <to_resume, to_wait, | |
5293 | to_store_registers, to_insert_breakpoint, to_remove_breakpoint, | |
5294 | to_stopped_by_watchpoint, to_stopped_data_address, to_can_async_p, | |
5295 | to_is_async_p, to_async, to_xfer_partial>: Add TARGET_DEFAULT | |
5296 | markup. | |
5297 | (forward_target_remove_breakpoint) | |
5298 | (forward_target_insert_breakpoint): Remove. | |
5299 | * record-btrace.c (record_btrace_remove_breakpoint): Delegate | |
5300 | directly. | |
5301 | (record_btrace_insert_breakpoint): Delegate directly. | |
5302 | ||
1101cb7b TT |
5303 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
5304 | ||
5305 | PR build/7701: | |
5306 | * target-delegates.c: New file. | |
5307 | * target.c: Include target-delegates.c. | |
5308 | (init_dummy_target): Call install_dummy_methods. | |
5309 | (complete_target_initialization): Call install_delegators. | |
5310 | * target.h (TARGET_DEFAULT_IGNORE, TARGET_DEFAULT_NORETURN) | |
5311 | (TARGET_DEFAULT_RETURN, TARGET_DEFAULT_FUNC): New defines. | |
5312 | * make-target-delegates: New file. | |
5313 | ||
8b06beed TT |
5314 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
5315 | ||
5316 | * record.c (find_record_target): Use find_target_at. | |
5317 | * target.c (find_target_at): New function. | |
5318 | * target.h (find_target_at): Declare. | |
5319 | ||
6a109b6b TT |
5320 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
5321 | ||
5322 | * aarch64-linux-nat.c (aarch64_linux_stopped_by_watchpoint): | |
5323 | Add 'ops' argument. | |
5324 | * arm-linux-nat.c (arm_linux_stopped_by_watchpoint): Add | |
5325 | 'ops' argument. | |
5326 | * i386-nat.c (i386_stopped_by_watchpoint): Add 'ops' argument. | |
5327 | * ia64-linux-nat.c (ia64_linux_stopped_by_watchpoint): Add | |
5328 | 'ops' argument. | |
5329 | * inf-ttrace.c (inf_ttrace_stopped_by_watchpoint): Add 'ops' | |
5330 | argument. | |
5331 | * linux-nat.c (save_sigtrap): Update. | |
5332 | (linux_nat_stopped_by_watchpoint, linux_nat_is_async_p) | |
5333 | (linux_nat_can_async_p, linux_nat_async): Add 'ops' argument. | |
5334 | (linux_nat_close): Update. | |
5335 | * mips-linux-nat.c (mips_linux_stopped_by_watchpoint): Add 'ops' | |
5336 | argument. | |
5337 | * ppc-linux-nat.c (ppc_linux_stopped_by_watchpoint): Add 'ops' | |
5338 | argument. | |
5339 | * procfs.c (procfs_stopped_by_watchpoint): Add 'ops' argument. | |
5340 | * record-full.c (record_full_beneath_to_stopped_by_watchpoint) | |
5341 | (record_full_beneath_to_async, tmp_to_stopped_by_watchpoint) | |
5342 | (tmp_to_async): Add 'ops' argument. | |
5343 | (record_full_stopped_by_watchpoint, record_full_async) | |
5344 | (record_full_can_async_p, record_full_is_async_p): Add 'ops' | |
5345 | argument. | |
5346 | * remote-m32r-sdi.c (m32r_insert_breakpoint, m32r_remove_breakpoint) | |
5347 | (m32r_stopped_by_watchpoint): Add 'ops' argument. | |
5348 | * remote-mips.c (mips_stopped_by_watchpoint): Add 'ops' argument. | |
5349 | * remote.c (remote_stopped_by_watchpoint_p, remote_can_async_p) | |
5350 | (remote_is_async_p, remote_async): Add 'ops' argument. | |
5351 | (remote_stopped_data_address): Update. | |
5352 | * s390-nat.c (s390_stopped_by_watchpoint): Add 'ops' argument. | |
5353 | * target.c (update_current_target) | |
5354 | (find_default_can_async_p, find_default_is_async_p): Update. | |
5355 | (init_dummy_target): Update. | |
5356 | (debug_to_stopped_by_watchpoint): Add 'ops' argument. | |
5357 | * target.h (struct target_ops) <to_stopped_by_watchpoint, | |
5358 | to_can_async_p, to_is_async_p, to_async>: Add 'ops' argument. | |
5359 | (target_can_async_p, target_is_async_p, target_async) | |
5360 | (target_stopped_by_watchpoint): Update. | |
5361 | ||
e095146b YQ |
5362 | 2014-02-19 Yao Qi <yao@codesourcery.com> |
5363 | ||
5364 | PR gdb/16220 | |
5365 | * gdbarch.sh: Remove startup_gdbarch. | |
5366 | * gdbarch.c: Regenerated. | |
5367 | * gdbarch.h: Likewise. | |
5368 | ||
bc3c6b36 KB |
5369 | 2014-02-17 Kevin Buettner <kevinb@redhat.com> |
5370 | ||
5371 | * rl78-tdep.c (rl78_g10_register_name): New function. | |
5372 | (rl78_return_value): Add g10 support. | |
5373 | (rl78_gdbarch_init): Register rl78_g10_register_name for the | |
5374 | g10. | |
5375 | ||
98dc0167 | 5376 | 2014-02-17 Doug Evans <xdje42@gmail.com> |
f01c1940 DE |
5377 | |
5378 | * Makefile.in (SUBDIR_GUILE_OBS): Resort alphabetically. | |
5379 | (SUBDIR_GUILE_SRCS): Ditto. | |
5380 | (scm-gsmob.o): Ditto. | |
5381 | ||
842c05cd YQ |
5382 | 2014-02-17 Yao Qi <yao@codesourcery.com> |
5383 | ||
5384 | * gnu-nat.c (ILL_RPC): Declare defined function. | |
5385 | ||
25c0bd04 YQ |
5386 | 2014-02-17 Yao Qi <yao@codesourcery.com> |
5387 | ||
5388 | * gnu-nat.c (gnu_read_inferior): Change 'copy_count' type to | |
5389 | mach_msg_type_number_t. | |
5390 | (gnu_write_inferior): Likewise. | |
5391 | ||
a9a758e3 YQ |
5392 | 2014-02-17 Yao Qi <yao@codesourcery.com> |
5393 | ||
5394 | * gnu-nat.c (proc_get_exception_port): Use 'lu' insetad of 'd' | |
5395 | in format string. | |
5396 | (proc_steal_exc_port, make_proc, inf_set_pid): Likewise. | |
5397 | (inf_validate_procs, inf_signal): Likewise. | |
5398 | (S_exception_raise_request): Likewise. | |
5399 | (do_mach_notify_dead_name): Likewise. | |
5400 | (steal_exc_port): Likewise. | |
5401 | (gnu_read_inferior): Change 'copy_count''s type to | |
5402 | mach_msg_type_number_t. | |
5403 | (gnu_write_inferior): Likewise. Use 'lx' instead of 'x' in | |
5404 | format string. | |
5405 | ||
bae8023e TS |
5406 | 2014-02-16 Thomas Schwinge <thomas@codesourcery.com> |
5407 | ||
c82f56d9 TS |
5408 | * gnu-nat.c (struct inf): Change pending_execs member to a 1-bit |
5409 | flag. Adjust all users; in particular... | |
5410 | (gnu_wait): ..., don't decrement its value in here... | |
5411 | (gnu_create_inferior): ..., and instead set the flag in here, | |
5412 | around the startup_inferior call, and call that one with | |
5413 | START_INFERIOR_TRAPS_EXPECTED. | |
5414 | ||
3398af6a TS |
5415 | * gnu-nat.c (ill_rpc): Remove function; replaced with this... |
5416 | (ILL_RPC): ... new macro. | |
5417 | (do_mach_notify_no_senders, do_mach_notify_port_deleted) | |
5418 | (do_mach_notify_msg_accepted, do_mach_notify_port_destroyed) | |
5419 | (do_mach_notify_send_once, S_proc_setmsgport_reply) | |
5420 | (S_proc_getmsgport_reply, S_msg_sig_post_reply): Generate stub | |
5421 | functions with ILL_RPC macro. | |
5422 | (S_proc_pid2task_reply, S_proc_task2pid_reply) | |
5423 | (S_proc_task2proc_reply, S_proc_proc2task_reply) | |
5424 | (S_proc_pid2proc_reply, S_proc_getprocinfo_reply) | |
5425 | (S_proc_getprocargs_reply, S_proc_getprocenv_reply) | |
5426 | (S_proc_getloginid_reply, S_proc_getloginpids_reply) | |
5427 | (S_proc_getlogin_reply, S_proc_getsid_reply) | |
5428 | (S_proc_getsessionpgids_reply, S_proc_getsessionpids_reply) | |
5429 | (S_proc_getsidport_reply, S_proc_getpgrp_reply) | |
5430 | (S_proc_getpgrppids_reply, S_proc_get_tty_reply) | |
5431 | (S_proc_getnports_reply, S_proc_is_important_reply) | |
5432 | (S_proc_get_code_reply): New stub functions, generated with | |
5433 | ILL_RPC macro. | |
5434 | ||
d47642c9 TS |
5435 | * reply_mig_hack.awk: In phase 5, keep going if we have not yet |
5436 | collected the type check structures. | |
5437 | ||
bae8023e TS |
5438 | * reply_mig_hack.awk: Don't expect to see the auto keyword. |
5439 | ||
8a55ffb0 DE |
5440 | 2014-02-14 Doug Evans <dje@google.com> |
5441 | ||
5442 | * target.c (target_write_partial): Fix result type. | |
5443 | ||
c2853f3d JM |
5444 | 2014-02-14 Jose E. Marchesi <jose.marchesi@oracle.com> |
5445 | ||
5446 | * sparc64-linux-nat.c (_initialize_sparc64_linux_nat): Register | |
5447 | the proper offsets to access fpregset_t. | |
5448 | ||
ac61d2db SA |
5449 | 2014-02-13 Sanimir Agovic <sanimir.agovic@intel.com> |
5450 | ||
5451 | * cris-tdep.c (cris_supply_gregset): Remove zerobuf. | |
5452 | (_initialize_cris_tdep): Remove cris_set_cmdlist, cris_show_cmdlist. | |
5453 | * h8300-tdep.c (setmachinelist): Remove global. | |
5454 | * hppa-tdep.c (hppa_sigtramp): Remove global. | |
5455 | * mipsnbsd-tdep.c (sigtramp_retcode_mipsel, sigtramp_retcode_mipseb | |
5456 | RETCODE_NWORDS, RETCODE_SIZE): Wrap code with #if 0. | |
5457 | * ravenscar-thread.c (update_target_observer): Remove global. | |
5458 | * rs6000-tdep.c (rs6000_gdbarch_init): Remove segment_regs. | |
5459 | ||
9d2d0b8b TT |
5460 | 2014-02-12 Tom Tromey <tromey@redhat.com> |
5461 | ||
5462 | * common/rsp-low.c: Update comments. | |
5463 | * common/rsp-low.h: Update comments. | |
5464 | ||
a7191e8b TT |
5465 | 2014-02-12 Tom Tromey <tromey@redhat.com> |
5466 | ||
5467 | * common/rsp-low.c (convert_ascii_to_int): Remove. | |
5468 | * common/rsp-low.h (convert_ascii_to_int): Don't declare. | |
5469 | ||
ff0e980e TT |
5470 | 2014-02-12 Tom Tromey <tromey@redhat.com> |
5471 | ||
5472 | * common/rsp-low.h (unhexify): Don't declare. | |
5473 | * common/rsp-low.c (unhexify): Remove. | |
5474 | ||
e9371aff TT |
5475 | 2014-02-12 Tom Tromey <tromey@redhat.com> |
5476 | ||
5477 | * common/rsp-low.h (convert_int_to_ascii): Don't declare. | |
5478 | * common/rsp-low.c (convert_int_to_ascii): Remove. | |
5479 | ||
971dc0b8 TT |
5480 | 2014-02-12 Tom Tromey <tromey@redhat.com> |
5481 | ||
5482 | * common/rsp-low.h (hexify): Don't declare. | |
5483 | * common/rsp-low.c (hexify): Remove. | |
5484 | ||
0a822afb TT |
5485 | 2014-02-12 Tom Tromey <tromey@redhat.com> |
5486 | ||
5487 | * common/rsp-low.c (hexify): Never take strlen of argument. | |
5488 | ||
9f1b45b0 TT |
5489 | 2014-02-12 Tom Tromey <tromey@redhat.com> |
5490 | ||
5491 | * common/rsp-low.c (bin2hex): Never take strlen of argument. | |
5492 | * remote.c (extended_remote_run, remote_rcmd) | |
5493 | (remote_download_trace_state_variable, remote_save_trace_data) | |
5494 | (remote_set_trace_notes): Update. | |
5495 | * tracepoint.c (encode_source_string, tfile_write_status) | |
5496 | (tfile_write_uploaded_tsv): Update. | |
5497 | ||
9c3d6531 TT |
5498 | 2014-02-12 Tom Tromey <tromey@redhat.com> |
5499 | ||
5500 | * tracepoint.c: Include rsp-low.h. | |
5501 | * remote.h (hex2bin, bin2hex, unpack_varlen_hex): Don't declare. | |
5502 | * remote.c: Include rsp-low.h. | |
5503 | (hexchars, ishex, unpack_varlen_hex, pack_nibble, pack_hex_byte) | |
5504 | (fromhex, hex2bin, tohex, bin2hex, remote_escape_output) | |
5505 | (remote_unescape_input): Move to common/rsp-low.c. | |
5506 | * common/rsp-low.h: New file. | |
5507 | * common/rsp-low.c: New file. | |
5508 | * Makefile.in (SFILES): Add common/rsp-low.c. | |
5509 | (HFILES_NO_SRCDIR): Add common/rsp-low.h. | |
5510 | (COMMON_OBS): Add rsp-low.o. | |
5511 | (rsp-low.o): New target. | |
5512 | ||
01fd3ea5 TT |
5513 | 2014-02-12 Tom Tromey <tromey@redhat.com> |
5514 | ||
5515 | * utils.h: Include print-utils.h. | |
5516 | (host_address_to_string, plongest, pulongest, phex, phex_nz) | |
5517 | (int_string, core_addr_to_string, core_addr_to_string_nz) | |
5518 | (hex_string, hex_string_custom): Don't declare. | |
5519 | * utils.c (NUMCELLS, CELLSIZE, get_cell, decimal2str, pulongest) | |
5520 | (plongest, thirty_two, phex, phex_nz, octal2str, hex_string) | |
5521 | (hex_string_custom, int_string, core_addr_to_string) | |
5522 | (core_addr_to_string_nz, host_address_to_string): Move to | |
5523 | common/print-utils.c. | |
5524 | * common/print-utils.h: New file. | |
5525 | * common/print-utils.c: New file | |
5526 | * Makefile.in (SFILES): Add common/print-utils.c. | |
5527 | (HFILES_NO_SRCDIR): Add common/print-utils.h. | |
5528 | (COMMON_OBS): Add print-utils.o. | |
5529 | (print-utils.o): New target. | |
5530 | ||
9fb50108 TT |
5531 | 2014-02-12 Tom Tromey <tromey@redhat.com> |
5532 | ||
5533 | * nios2-tdep.c (nios2_stub_frame_base_address): Remove. | |
5534 | ||
0548b5db MK |
5535 | 2014-02-12 Mark Kettenis <kettenis@gnu.org> |
5536 | ||
5537 | * sparc64obsd-tdep.c (sparc64obsd_init_abi): Call obsd_init_abi. | |
5538 | ||
493443a4 MK |
5539 | 2014-02-12 Mark Kettenis <kettenis@gnu.org> |
5540 | ||
5541 | * inf-ptrace.c (inf_ptrace_xfer_partial): Return TARGET_XFER_EOF | |
5542 | if a PT_IO ptrace request returns sucessfully but indicates that 0 | |
5543 | bytes were transferred. | |
5544 | ||
706d0883 PA |
5545 | 2014-02-12 Pedro Alves <palves@redhat.com> |
5546 | Kevin Buettner <kevinb@redhat.com> | |
5547 | ||
5548 | * gnu-v3-abi.c (build_gdb_vtable_type): Return a type marked with | |
5549 | TYPE_INSTANCE_FLAG_CODE_SPACE. | |
5550 | ||
5caa2f0b PA |
5551 | 2014-02-12 Pedro Alves <palves@redhat.com> |
5552 | ||
5553 | * h8300-tdep.c (pseudo_from_raw_register) | |
5554 | (raw_from_pseudo_register): New functions. | |
5555 | (h8300_pseudo_register_read, h8300_pseudo_register_write): Use | |
5556 | them. | |
5557 | ||
76fd5f74 PA |
5558 | 2014-02-12 Pedro Alves <palves@redhat.com> |
5559 | ||
5560 | * h8300-tdep.c (h8300_register_sim_regno): New function. | |
5561 | (h8300_gdbarch_init): Install h8300_register_sim_regno as | |
5562 | gdbarch_register_sim_regno hook. | |
5563 | ||
8f008406 SA |
5564 | 2014-02-12 Sanimir Agovic <sanimir.agovic@intel.com> |
5565 | ||
5566 | * nios2-tdep.c (nios2_stub_frame_base): Remove global. | |
5567 | ||
195abc10 SA |
5568 | 2014-02-12 Sanimir Agovic <sanimir.agovic@intel.com> |
5569 | ||
5570 | * tic6x-tdep.c (tic6x_gdbarch_init): Call frame_base_set_default. | |
5571 | ||
93ffa5b9 MK |
5572 | 2014-02-12 Mark Kettenis <kettenis@gnu.org> |
5573 | ||
5574 | * obsd-tdep.h (obsd_init_abi): New prototype. | |
5575 | * obsd-tdep.c: Define enum with OpenBSD signal numbers. | |
5576 | (obsd_gdb_signal_from_target, obsd_gdb_signal_to_target) | |
5577 | (obsd_init_abi): New functions. | |
5578 | * i386obsd-tdep.c: Include "obsd-tdep.h". | |
5579 | (i386obsd_init_abi): Call obsd_init_abi. | |
5580 | * amd64obsd-tdep.c: Include "obsd-tdep.h". | |
5581 | (amd64obsd_init_abi): Call obsd_init_abi. | |
5582 | * configure.tgt (i[34567]86-*-openbsd*, x86_64-*-openbsd*): Add | |
5583 | obsd-tdep.c to gdb_target_obs. | |
5584 | ||
49caec94 JM |
5585 | 2014-02-11 Jose E. Marchesi <jose.marchesi@oracle.com> |
5586 | ||
5587 | * sparc64-tdep.c (sparc64_store_arguments): Do not align complex | |
5588 | double float arguments to 16-byte in the argument slots. | |
5589 | ||
e1402065 DE |
5590 | 2014-02-11 Doug Evans <xdje42@gmail.com> |
5591 | ||
5592 | * configure.ac: Don't crash if pkg-config is not found and guile | |
5593 | wasn't explicitly requested. Use AC_MSG_ERROR instead of AC_ERROR | |
5594 | in guile checks. | |
5595 | * configure: Regenerate. | |
5596 | ||
edcc890f YQ |
5597 | 2014-02-11 Yao Qi <yao@codesourcery.com> |
5598 | ||
5599 | * aix-thread.c (aix_thread_xfer_partial): Update comments. | |
5600 | * auxv.c (procfs_xfer_auxv, memory_xfer_auxv): Likewise. | |
5601 | * bsd-uthread.c (bsd_uthread_xfer_partial): Likewise. | |
5602 | * gnu-nat.c (gnu_xfer_memory): Likewise. | |
5603 | * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise. | |
5604 | * rs6000-nat.c (rs6000_xfer_partial): Likewise. | |
5605 | * sparc-nat.c (sparc_xfer_wcookie): Likewise. | |
5606 | * spu-linux-nat.c (spu_proc_xfer_spu): Likewise. | |
5607 | ||
9b409511 YQ |
5608 | 2014-02-11 Yao Qi <yao@codesourcery.com> |
5609 | ||
5610 | * target.h (enum target_xfer_error): Rename to ... | |
5611 | (enum target_xfer_status): ... it. New. All users updated. | |
5612 | (enum target_xfer_status) <TARGET_XFER_OK>, <TARGET_XFER_EOF>: | |
5613 | New. | |
5614 | (TARGET_XFER_STATUS_ERROR_P): New macro. | |
5615 | (target_xfer_error_to_string): Remove declaration. | |
5616 | (target_xfer_status_to_string): Declare. | |
5617 | (target_xfer_partial_ftype): Adjust it. | |
5618 | (struct target_ops) <to_xfer_partial>: Return | |
5619 | target_xfer_status. Add argument xfered_len. Update | |
5620 | comments. | |
5621 | * target.c (target_xfer_error_to_string): Rename to ... | |
5622 | (target_xfer_status_to_string): ... it. New. All callers | |
5623 | updated. | |
5624 | (target_read_live_memory): Likewise. Call target_xfer_partial | |
5625 | instead of target_read. | |
5626 | (memory_xfer_live_readonly_partial): Return | |
5627 | target_xfer_status. Add argument xfered_len. | |
5628 | (raw_memory_xfer_partial): Likewise. | |
5629 | (memory_xfer_partial_1): Likewise. | |
5630 | (memory_xfer_partial): Likewise. | |
5631 | (target_xfer_partial): Likewise. Check *XFERED_LEN is set | |
5632 | properly. Update debug message. | |
5633 | (default_xfer_partial, current_xfer_partial): Likewise. | |
5634 | (target_write_partial): Likewise. | |
5635 | (target_read_partial): Likewise. All callers updated. | |
5636 | (read_whatever_is_readable): Likewise. | |
5637 | (target_write_with_progress): Likewise. | |
5638 | (target_read_alloc_1): Likewise. | |
5639 | ||
5640 | * aix-thread.c (aix_thread_xfer_partial): Likewise. | |
5641 | * auxv.c (procfs_xfer_auxv): Likewise. | |
5642 | (ld_so_xfer_auxv, memory_xfer_auxv): Likewise. | |
5643 | * bfd-target.c (target_bfd_xfer_partial): Likewise. | |
5644 | * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise. | |
5645 | * bsd-uthread.c (bsd_uthread_xfer_partia): Likewise. | |
5646 | * corefile.c (read_memory): Adjust. | |
5647 | * corelow.c (core_xfer_partial): Likewise. | |
5648 | * ctf.c (ctf_xfer_partial): Likewise. | |
5649 | * darwin-nat.c (darwin_read_dyld_info): Likewise. All callers | |
5650 | updated. | |
5651 | (darwin_xfer_partial): Likewise. | |
5652 | * exec.c (section_table_xfer_memory_partial): Likewise. All | |
5653 | callers updated. | |
5654 | (exec_xfer_partial): Likewise. | |
5655 | * exec.h (section_table_xfer_memory_partial): Update | |
5656 | declaration. | |
5657 | * gnu-nat.c (gnu_xfer_memory): Likewise. Assert 'res' is not | |
5658 | negative. | |
5659 | (gnu_xfer_partial): Likewise. | |
5660 | * ia64-hpux-nat.c (ia64_hpux_xfer_memory_no_bs): Likewise. | |
5661 | (ia64_hpux_xfer_memory, ia64_hpux_xfer_uregs): Likewise. | |
5662 | (ia64_hpux_xfer_solib_got): Likewise. | |
5663 | * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise. Change | |
5664 | type of 'partial_len' to ULONGEST. | |
5665 | * inf-ttrace.c (inf_ttrace_xfer_partial): Likewise. | |
5666 | * linux-nat.c (linux_xfer_siginfo ): Likewise. | |
5667 | (linux_nat_xfer_partial): Likewise. | |
5668 | (linux_proc_xfer_partial, linux_xfer_partial): Likewise. | |
5669 | (linux_proc_xfer_spu, linux_nat_xfer_osdata): Likewise. | |
5670 | * monitor.c (monitor_xfer_memory): Likewise. | |
5671 | (monitor_xfer_partial): Likewise. | |
5672 | * procfs.c (procfs_xfer_partial): Likewise. | |
5673 | * record-btrace.c (record_btrace_xfer_partial): Likewise. | |
5674 | * record-full.c (record_full_xfer_partial): Likewise. | |
5675 | (record_full_core_xfer_partial): Likewise. | |
5676 | * remote-sim.c (gdbsim_xfer_memory): Likewise. | |
5677 | (gdbsim_xfer_partial): Likewise. | |
5678 | * remote.c (remote_write_bytes_aux): Likewise. All callers | |
5679 | updated. | |
5680 | (remote_write_bytes, remote_read_bytes): Likewise. All | |
5681 | callers updated. | |
5682 | (remote_flash_erase): Likewise. All callers updated. | |
5683 | (remote_write_qxfer): Likewise. All callers updated. | |
5684 | (remote_read_qxfer): Likewise. All callers updated. | |
5685 | (remote_xfer_partial): Likewise. | |
5686 | * rs6000-nat.c (rs6000_xfer_partial): Likewise. | |
5687 | (rs6000_xfer_shared_libraries): Likewise. | |
5688 | * sol-thread.c (sol_thread_xfer_partial): Likewise. | |
5689 | (sol_thread_xfer_partial): Likewise. | |
5690 | * sparc-nat.c (sparc_xfer_wcookie): Likewise. | |
5691 | (sparc_xfer_partial): Likewise. | |
5692 | * spu-linux-nat.c (spu_proc_xfer_spu): Likewise. All callers | |
5693 | updated. | |
5694 | (spu_xfer_partial): Likewise. | |
5695 | * spu-multiarch.c (spu_xfer_partial): Likewise. | |
5696 | * tracepoint.c (tfile_xfer_partial): Likewise. | |
5697 | * windows-nat.c (windows_xfer_memory): Likewise. | |
5698 | (windows_xfer_shared_libraries): Likewise. | |
5699 | (windows_xfer_partial): Likewise. | |
5700 | * valprint.c: Replace 'target_xfer_error' with | |
5701 | 'target_xfer_status' in comments. | |
5702 | ||
a8e63083 JB |
5703 | 2014-02-11 Simon Marchi <simon.marchi@ericsson.com> (tiny patch) |
5704 | ||
5705 | Checked in by Joel Brobecker <brobecker@adacore.com>. | |
5706 | * mi/mi-main.c (mi_cmd_data_write_memory_bytes): Fix comment. | |
5707 | ||
e86b67d3 JB |
5708 | 2014-02-11 Joel Brobecker <brobecker@adacore.com> |
5709 | ||
5710 | * symfile-debug.c (debug_qf_expand_symtabs_matching): Reformat | |
5711 | function parameters. | |
5712 | ||
4b7d1f7f WN |
5713 | 2014-02-10 Will Newton <will.newton@linaro.org> |
5714 | ||
5715 | * elfread.c (elf_rel_plt_read): Look for a .got section if | |
5716 | looking up .got.plt fails. | |
5717 | (elf_gnu_ifunc_resolve_by_got): Call gdbarch_addr_bits_remove | |
5718 | on address passed to elf_gnu_ifunc_record_cache. | |
5719 | (elf_gnu_ifunc_resolve_addr): Likewise. | |
5720 | (elf_gnu_ifunc_resolver_return_stop): Likewise. | |
5721 | ||
961842b2 JM |
5722 | 2014-02-10 Jose E. Marchesi <jose.marchesi@oracle.com> |
5723 | ||
5724 | * sparc-tdep.c (sparc_in_function_epilogue_p): New function. | |
5725 | (X_RETTURN): New macro. | |
5726 | * sparc-tdep.h: sparc_in_function_epilogue_p prototype. | |
5727 | ||
5728 | * sparc64-tdep.c (sparc64_init_abi): Hook | |
5729 | sparc_in_function_epilogue_p. | |
5730 | ||
3f03e7b1 GB |
5731 | 2014-02-10 Gary Benson <gbenson@redhat.com> |
5732 | ||
5733 | * symfile-debug.c (debug_qf_expand_symtabs_matching): | |
5734 | Rename name_matcher to symbol_matcher. | |
5735 | ||
96f861ef GB |
5736 | 2014-02-10 Gary Benson <gbenson@redhat.com> |
5737 | ||
5738 | * symfile-debug.c (debug_qf_expand_symtabs_matching): | |
5739 | Use expand_symtabs_file_matcher_ftype and | |
5740 | expand_symtabs_symbol_matcher_ftype. | |
5741 | ||
ee01b665 JB |
5742 | 2014-02-10 Joel Brobecker <brobecker@adacore.com> |
5743 | ||
5744 | * ada-lang.c (struct cache_entry, HASH_SIZE): Move definition up. | |
5745 | (struct ada_symbol_cache): New. | |
5746 | (ada_free_symbol_cache): Forward declare. | |
5747 | (struct ada_pspace_data): New. | |
5748 | (ada_pspace_data_handle): New static global. | |
5749 | (get_ada_pspace_data, ada_pspace_data_cleanup) | |
5750 | (ada_init_symbol_cache, ada_free_symbol_cache): New functions. | |
5751 | (cache_space, cache): Delete, now folded inside struct | |
5752 | ada_pspace_data. | |
5753 | (ada_get_symbol_cache): New function. | |
5754 | (ada_clear_symbol_cache, find_entry, cache_symbol): Adjust | |
5755 | implementation. | |
5756 | (_initialize_ada_language): Remove initialization of cache_space. | |
5757 | Move call to observer_attach_inferior_exit up, grouping it | |
5758 | with the other observer registrations inside this function. | |
5759 | Rename command to be more general. Add call to | |
5760 | register_program_space_data_with_cleanup. | |
5761 | ||
143adbbf JB |
5762 | 2014-02-10 Joel Brobecker <brobecker@adacore.com> |
5763 | ||
5764 | * ada-tasks.c (ada_tasks_new_objfile_observer): Renames | |
5765 | ada_new_objfile_observer. | |
5766 | (ada_tasks_normal_stop_observer): Renames ada_normal_stop_observer. | |
5767 | (_initialize_tasks): Update uses of ada_new_objfile_observer | |
5768 | and ada_tasks_normal_stop_observer. | |
5769 | ||
aa4fb036 JB |
5770 | 2014-02-10 Joel Brobecker <brobecker@adacore.com> |
5771 | ||
5772 | * ada-lang.c (ada_evaluate_subexp): Set the type of the value | |
5773 | returned by the 'Length attribute to integer. | |
5774 | ||
9dee8cc6 JB |
5775 | 2014-02-10 Joel Brobecker <brobecker@adacore.com> |
5776 | ||
5777 | * ada-lang.c (_initialize_ada_language): Initialize | |
5778 | cache_space obstack. | |
5779 | ||
3d9434b5 JB |
5780 | 2014-02-10 Joel Brobecker <brobecker@adacore.com> |
5781 | ||
5782 | * ada-lang.c (HASH_SIZE): New macro. | |
5783 | (struct cache_entry): New type. | |
5784 | (cache_space, cache): New static globals. | |
5785 | (ada_clear_symbol_cache, find_entry): New functions. | |
5786 | (lookup_cached_symbol, cache_symbol): Implement. | |
5787 | (ada_new_objfile_observer, ada_free_objfile_observer): New. | |
5788 | (_initialize_ada_language): Attach ada_new_objfile_observer | |
5789 | and ada_free_objfile_observer. | |
5790 | ||
f0c5f9b2 JB |
5791 | 2014-02-10 Joel Brobecker <brobecker@adacore.com> |
5792 | ||
5793 | * ada-lang.c (ada_add_block_symbols, add_defn_to_vec) | |
5794 | (lookup_cached_symbol, ada_add_local_symbols): Add "const" to | |
5795 | struct block * parameter. | |
5796 | (ada_lookup_symbol_list_worker): Constify local variable "block". | |
5797 | Remove cast which is no longer necessary. | |
5798 | ||
ed3ef339 DE |
5799 | 2014-02-10 Doug Evans <xdje42@gmail.com> |
5800 | ||
5801 | Add Guile as an extension language. | |
5802 | * NEWS: Mention Guile scripting. | |
5803 | * Makefile.in (SUBDIR_GUILE_OBS): New variable. | |
5804 | (SUBDIR_GUILE_SRCS, SUBDIR_GUILE_DEPS): New variables | |
5805 | (SUBDIR_GUILE_LDFLAGS, SUBDIR_GUILE_CFLAGS): New variables. | |
5806 | (INTERNAL_CPPFLAGS): Add GUILE_CPPFLAGS. | |
5807 | (CLIBS): Add GUILE_LIBS. | |
5808 | (install-guile): New rule. | |
5809 | (guile.o): New rule. | |
5810 | (scm-arch.o, scm-auto-load.o, scm-block.o): New rules. | |
5811 | (scm-breakpoint.o, scm-disasm.o, scm-exception.o): New rules. | |
5812 | (scm-frame.o, scm-iterator.o, scm-lazy-string.o): New rules. | |
5813 | (scm-math.o, scm-objfile.o, scm-ports.o): New rules. | |
5814 | (scm-pretty-print.o, scm-safe-call.o, scm-gsmob.o): New rules. | |
5815 | (scm-string.o, scm-symbol.o, scm-symtab.o): New rules. | |
5816 | (scm-type.o, scm-utils.o, scm-value.o): New rules. | |
5817 | * configure.ac: New option --with-guile. | |
5818 | * configure: Regenerate. | |
5819 | * config.in: Regenerate. | |
5820 | * auto-load.c: Remove #include "python/python.h". Add #include | |
5821 | "gdb/section-scripts.h". | |
5822 | (source_section_scripts): Handle Guile scripts. | |
5823 | (_initialize_auto_load): Add name of Guile objfile script to | |
5824 | scripts-directory help text. | |
5825 | * breakpoint.c (condition_command): Tweak comment to include Scheme. | |
5826 | * breakpoint.h (gdbscm_breakpoint_object): Add forward decl. | |
5827 | (struct breakpoint): New member scm_bp_object. | |
5828 | * defs.h (enum command_control_type): New value guile_control. | |
5829 | * cli/cli-cmds.c: Remove #include "python/python.h". Add #include | |
5830 | "extension.h". | |
5831 | (show_user): Update comment. | |
5832 | (_initialize_cli_cmds): Update help text for "show user". Update help | |
5833 | text for max-user-call-depth. | |
5834 | * cli/cli-script.c: Remove #include "python/python.h". Add #include | |
5835 | "extension.h". | |
5836 | (multi_line_command_p): Add guile_control. | |
5837 | (print_command_lines): Handle guile_control. | |
5838 | (execute_control_command, recurse_read_control_structure): Ditto. | |
5839 | (process_next_line): Recognize "guile" commands. | |
5840 | * disasm.c (gdb_disassemble_info): Make non-static. | |
5841 | * disasm.h: #include "dis-asm.h". | |
5842 | (struct gdbarch): Add forward decl. | |
5843 | (gdb_disassemble_info): Declare. | |
5844 | * extension.c: #include "guile/guile.h". | |
5845 | (extension_languages): Add guile. | |
5846 | (get_ext_lang_defn): Handle EXT_LANG_GDB. | |
5847 | * extension.h (enum extension_language): New value EXT_LANG_GUILE. | |
5848 | * gdbtypes.c (get_unsigned_type_max): New function. | |
5849 | (get_signed_type_minmax): New function. | |
5850 | * gdbtypes.h (get_unsigned_type_max): Declare. | |
5851 | (get_signed_type_minmax): Declare. | |
5852 | * guile/README: New file. | |
5853 | * guile/guile-internal.h: New file. | |
5854 | * guile/guile.c: New file. | |
5855 | * guile/guile.h: New file. | |
5856 | * guile/scm-arch.c: New file. | |
5857 | * guile/scm-auto-load.c: New file. | |
5858 | * guile/scm-block.c: New file. | |
5859 | * guile/scm-breakpoint.c: New file. | |
5860 | * guile/scm-disasm.c: New file. | |
5861 | * guile/scm-exception.c: New file. | |
5862 | * guile/scm-frame.c: New file. | |
5863 | * guile/scm-gsmob.c: New file. | |
5864 | * guile/scm-iterator.c: New file. | |
5865 | * guile/scm-lazy-string.c: New file. | |
5866 | * guile/scm-math.c: New file. | |
5867 | * guile/scm-objfile.c: New file. | |
5868 | * guile/scm-ports.c: New file. | |
5869 | * guile/scm-pretty-print.c: New file. | |
5870 | * guile/scm-safe-call.c: New file. | |
5871 | * guile/scm-string.c: New file. | |
5872 | * guile/scm-symbol.c: New file. | |
5873 | * guile/scm-symtab.c: New file. | |
5874 | * guile/scm-type.c: New file. | |
5875 | * guile/scm-utils.c: New file. | |
5876 | * guile/scm-value.c: New file. | |
5877 | * guile/lib/gdb.scm: New file. | |
5878 | * guile/lib/gdb/boot.scm: New file. | |
5879 | * guile/lib/gdb/experimental.scm: New file. | |
5880 | * guile/lib/gdb/init.scm: New file. | |
5881 | * guile/lib/gdb/iterator.scm: New file. | |
5882 | * guile/lib/gdb/printing.scm: New file. | |
5883 | * guile/lib/gdb/types.scm: New file. | |
5884 | * data-directory/Makefile.in (GUILE_SRCDIR): New variable. | |
5885 | (VPATH): Add $(GUILE_SRCDIR). | |
5886 | (GUILE_DIR): New variable. | |
5887 | (GUILE_INSTALL_DIR, GUILE_FILES): New variables. | |
5888 | (all): Add stamp-guile dependency. | |
5889 | (stamp-guile): New rule. | |
5890 | (clean-guile, install-guile, uninstall-guile): New rules. | |
5891 | (install-only): Add install-guile dependency. | |
5892 | (uninstall): Add uninstall-guile dependency. | |
5893 | (clean): Add clean-guile dependency. | |
5894 | ||
ac020ec5 DE |
5895 | 2014-02-09 Doug Evans <xdje42@gmail.com> |
5896 | ||
5897 | Revert this patch (which I approved, mea culpa). | |
5898 | ||
5899 | 2014-02-08 Mark Kettenis <kettenis@gnu.org> | |
5900 | ||
5901 | * Makefile.in (all-lib): Remove. | |
5902 | ($(LIBGNU) $(GNULIB_H)): Replace with gits of remove all-lib target. | |
5903 | ||
2a081c59 JK |
5904 | 2014-02-09 Jan Kratochvil <jan.kratochvil@redhat.com> |
5905 | ||
5906 | Fix Python stack corruption. | |
5907 | * python/py-linetable.c (ltpy_get_pcs_for_line, ltpy_has_line): Use | |
5908 | gdb_py_longest. | |
5909 | ||
0a6bd22d MK |
5910 | 2014-02-08 Mark Kettenis <kettenis@gnu.org> |
5911 | ||
5912 | * Makefile.in (all-lib): Remove. | |
5913 | ($(LIBGNU) $(GNULIB_H)): Replace with gits of remove all-lib target. | |
5914 | ||
1a860409 DE |
5915 | 2014-02-07 Doug Evans <dje@google.com> |
5916 | ||
5917 | * extension-priv.h (extension_language_script_ops): Add comment. | |
5918 | (extension_language_ops): Add comment. | |
caf5a491 | 5919 | (active_ext_lang_state): Fix typo in comment. |
1a860409 | 5920 | |
d137e6dc PA |
5921 | 2014-02-07 Pedro Alves <palves@redhat.com> |
5922 | ||
0dcb32c3 | 5923 | PR breakpoints/16292 |
d137e6dc PA |
5924 | * infrun.c (handle_signal_stop) <signal arrives while stepping |
5925 | over a breakpoint>: Switch back to the stepping thread. | |
5926 | ||
ce6d0892 YQ |
5927 | 2014-02-07 Yao Qi <yao@codesourcery.com> |
5928 | ||
5929 | * target.c (target_xfer_partial): Return zero if LEN is zero. | |
5930 | ||
2ed4b548 YQ |
5931 | 2014-02-07 Yao Qi <yao@codesourcery.com> |
5932 | ||
5933 | * auxv.c (procfs_xfer_auxv): Replace -1 with TARGET_XFER_E_IO. | |
5934 | (ld_so_xfer_auxv): Likewise. | |
5935 | * bfd-target.c (target_bfd_xfer_partial): Likewise. | |
5936 | * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise. | |
5937 | * corelow.c (core_xfer_partial): Likewise. | |
5938 | * ctf.c (ctf_xfer_partial): Likewise. | |
5939 | * darwin-nat.c (darwin_read_dyld_info): Likewise. | |
5940 | (darwin_xfer_partial): Likewise. | |
5941 | * exec.c (exec_xfer_partial): Likewise. | |
5942 | * gnu-nat.c (gnu_xfer_partial): Likewise. | |
5943 | * ia64-hpux-nat.c (ia64_hpux_xfer_uregs): Likewise. | |
5944 | * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise. | |
5945 | * inf-ttrace.c (inf_ttrace_xfer_partial): Likewise. | |
5946 | * linux-nat.c (linux_xfer_siginfo): Likewise. | |
5947 | (linux_proc_xfer_spu): Likewise. | |
5948 | * procfs.c (procfs_xfer_partial): Likewise. | |
5949 | * record-full.c (record_full_xfer_partial): Likewise. | |
5950 | (record_full_core_xfer_partial): Likewise. | |
5951 | * remote-sim.c (gdbsim_xfer_partial): Likewise. | |
5952 | * remote.c (remote_write_qxfer): Likewise. | |
5953 | (remote_write_qxfer, remote_read_qxfer): Likewise. | |
5954 | (remote_xfer_partial): Likewise. | |
5955 | * rs6000-nat.c (rs6000_xfer_partial): Likewise. | |
5956 | (rs6000_xfer_shared_libraries): Likewise. | |
5957 | * sparc-nat.c (sparc_xfer_wcookie): Likewise. | |
5958 | * spu-linux-nat.c (spu_proc_xfer_spu): Likewise. | |
5959 | (spu_xfer_partial): Likewise. | |
5960 | * target.c (memory_xfer_partial_1): Likewise. | |
5961 | * tracepoint.c (tfile_xfer_partial): Likewise. | |
5962 | * windows-nat.c (windows_xfer_shared_libraries): Likewise. | |
5963 | (windows_xfer_partial): Likewise. | |
5964 | ||
c09f20e4 YQ |
5965 | 2014-02-07 Yao Qi <yao@codesourcery.com> |
5966 | ||
5967 | * gdbarch.sh (core_xfer_shared_libraries): Returns ULONGEST. Add | |
5968 | comments. | |
5969 | (core_xfer_shared_libraries_aix): Likewise. | |
5970 | * gdbarch.c, gdbarch.h: Regenerated. | |
5971 | * i386-cygwin-tdep.c (windows_core_xfer_shared_libraries): Return | |
5972 | ULONGEST. Change 'len_avail' type to ULONGEST. | |
5973 | * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise. | |
5974 | * rs6000-aix-tdep.h (rs6000_aix_ld_info_to_xml): Update | |
5975 | declaration. | |
5976 | (rs6000_aix_core_xfer_shared_libraries_aix): Return ULONGEST. | |
5977 | ||
8635b3bf YQ |
5978 | 2014-02-07 Yao Qi <yao@codesourcery.com> |
5979 | ||
5980 | * corefile.c (memory_error): Get 'exception' from ERR and pass | |
5981 | 'exception' to throw_error. | |
5982 | ||
6dddc817 DE |
5983 | 2014-02-06 Doug Evans <xdje42@gmail.com> |
5984 | ||
5985 | * configure.ac (libpython checking): Remove all but python.o from | |
5986 | CONFIG_OBS. Remove all but python.c from CONFIG_SRCS. | |
5987 | * configure: Regenerate. | |
5988 | ||
5989 | * Makefile.in (SFILES): Add extension.c. | |
5990 | (HFILES_NO_SRCDIR): Add extension.h, extension-priv.h | |
5991 | (COMMON_OBS): Add extension.o. | |
5992 | * extension.h: New file. | |
5993 | * extension-priv.h: New file. | |
5994 | * extension.c: New file. | |
5995 | ||
5996 | * python/python-internal.h: #include "extension.h". | |
5997 | (gdbpy_auto_load_enabled): Declare. | |
5998 | (gdbpy_apply_val_pretty_printer): Declare. | |
5999 | (gdbpy_apply_frame_filter): Declare. | |
6000 | (gdbpy_preserve_values): Declare. | |
6001 | (gdbpy_breakpoint_cond_says_stop): Declare. | |
6002 | (gdbpy_breakpoint_has_cond): Declare. | |
6003 | (void source_python_script_for_objfile): Delete. | |
6004 | * python/python.c: #include "extension-priv.h". | |
6005 | Delete inclusion of "observer.h". | |
6006 | (extension_language_python): Moved here and renamed from | |
6007 | script_language_python in py-auto-load.c. | |
6008 | Redefined to be of type extension_language_defn. | |
6009 | (python_extension_script_ops): New global. | |
6010 | (python_extension_ops): New global. | |
6011 | (struct python_env): New member previous_active. | |
6012 | (restore_python_env): Call restore_active_ext_lang. | |
6013 | (ensure_python_env): Call set_active_ext_lang. | |
6014 | (gdbpy_clear_quit_flag): Renamed from clear_quit_flag, made static. | |
6015 | New arg extlang. | |
6016 | (gdbpy_set_quit_flag): Renamed from set_quit_flag, made static. | |
6017 | New arg extlang. | |
6018 | (gdbpy_check_quit_flag): Renamed from check_quit_flag, made static. | |
6019 | New arg extlang. | |
6020 | (gdbpy_eval_from_control_command): Renamed from | |
6021 | eval_python_from_control_command, made static. New arg extlang. | |
6022 | (gdbpy_source_script) Renamed from source_python_script, made static. | |
6023 | New arg extlang. | |
6024 | (gdbpy_before_prompt_hook): Renamed from before_prompt_hook. Change | |
6025 | result to int. New arg extlang. | |
6026 | (gdbpy_source_objfile_script): Renamed from | |
6027 | source_python_script_for_objfile, made static. New arg extlang. | |
6028 | (gdbpy_start_type_printers): Renamed from start_type_printers, made | |
6029 | static. New args extlang, extlang_printers. Change result type to | |
6030 | "void". | |
6031 | (gdbpy_apply_type_printers): Renamed from apply_type_printers, made | |
6032 | static. New arg extlang. Rename arg printers to extlang_printers | |
6033 | and change type to ext_lang_type_printers *. | |
6034 | (gdbpy_free_type_printers): Renamed from free_type_printers, made | |
6035 | static. Replace argument arg with extlang, extlang_printers. | |
6036 | (!HAVE_PYTHON, eval_python_from_control_command): Delete. | |
6037 | (!HAVE_PYTHON, source_python_script): Delete. | |
6038 | (!HAVE_PYTHON, gdbpy_should_stop): Delete. | |
6039 | (!HAVE_PYTHON, gdbpy_breakpoint_has_py_cond): Delete. | |
6040 | (!HAVE_PYTHON, start_type_printers): Delete. | |
6041 | (!HAVE_PYTHON, apply_type_printers): Delete. | |
6042 | (!HAVE_PYTHON, free_type_printers): Delete. | |
6043 | (_initialize_python): Delete call to observer_attach_before_prompt. | |
6044 | (finalize_python): Set/restore active extension language. | |
6045 | (gdbpy_finish_initialization) Renamed from | |
6046 | finish_python_initialization, made static. New arg extlang. | |
6047 | (gdbpy_initialized): New function. | |
6048 | * python/python.h: #include "extension.h". Delete #include | |
6049 | "value.h", "mi/mi-cmds.h". | |
6050 | (extension_language_python): Declare. | |
6051 | (GDBPY_AUTO_FILE_NAME): Delete. | |
6052 | (enum py_bt_status): Moved to extension.h and renamed to | |
6053 | ext_lang_bt_status. | |
6054 | (enum frame_filter_flags): Moved to extension.h. | |
6055 | (enum py_frame_args): Moved to extension.h and renamed to | |
6056 | ext_lang_frame_args. | |
6057 | (finish_python_initialization): Delete. | |
6058 | (eval_python_from_control_command): Delete. | |
6059 | (source_python_script): Delete. | |
6060 | (apply_val_pretty_printer): Delete. | |
6061 | (apply_frame_filter): Delete. | |
6062 | (preserve_python_values): Delete. | |
6063 | (gdbpy_script_language_defn): Delete. | |
6064 | (gdbpy_should_stop, gdbpy_breakpoint_has_py_cond): Delete. | |
6065 | (start_type_printers, apply_type_printers, free_type_printers): Delete. | |
6066 | ||
6067 | * auto-load.c: #include "extension.h". | |
6068 | (GDB_AUTO_FILE_NAME): Delete. | |
6069 | (auto_load_gdb_scripts_enabled): Make public. New arg extlang. | |
6070 | (script_language_gdb): Delete, moved to extension.c and renamed to | |
6071 | extension_language_gdb. | |
6072 | (source_gdb_script_for_objfile): Delete. | |
6073 | (auto_load_pspace_info): New member unsupported_script_warning_printed. | |
6074 | (loaded_script): Change type of language member to | |
6075 | struct extension_language_defn *. | |
6076 | (init_loaded_scripts_info): Initialize | |
6077 | unsupported_script_warning_printed. | |
6078 | (maybe_add_script): Make static. Change type of language arg to | |
6079 | struct extension_language_defn *. | |
6080 | (clear_section_scripts): Reset unsupported_script_warning_printed. | |
6081 | (auto_load_objfile_script_1): Rewrite to use extension language API. | |
6082 | (auto_load_objfile_script): Make public. Remove support-compiled-in | |
6083 | and auto-load-enabled checks, moved to auto_load_scripts_for_objfile. | |
6084 | (source_section_scripts): Rewrite to use extension language API. | |
6085 | (load_auto_scripts_for_objfile): Rewrite to use | |
6086 | auto_load_scripts_for_objfile. | |
6087 | (collect_matching_scripts_data): Change type of language member to | |
6088 | struct extension_language_defn *. | |
6089 | (auto_load_info_scripts): Change type of language arg to | |
6090 | struct extension_language_defn *. | |
6091 | (unsupported_script_warning_print): New function. | |
6092 | (script_not_found_warning_print): Make static. | |
6093 | (_initialize_auto_load): Rewrite construction of scripts-directory | |
6094 | help. | |
6095 | * auto-load.h (struct objfile): Add forward decl. | |
6096 | (struct script_language): Delete. | |
6097 | (struct auto_load_pspace_info): Add forward decl. | |
6098 | (struct extension_language_defn): Add forward decl. | |
6099 | (maybe_add_script): Delete. | |
6100 | (auto_load_objfile_script): Declare. | |
6101 | (script_not_found_warning_print): Delete. | |
6102 | (auto_load_info_scripts): Update prototype. | |
6103 | (auto_load_gdb_scripts_enabled): Declare. | |
6104 | * python/py-auto-load.c (gdbpy_auto_load_enabled): Renamed from | |
6105 | auto_load_python_scripts_enabled and made public. | |
6106 | (script_language_python): Delete, moved to python.c. | |
6107 | (gdbpy_script_language_defn): Delete. | |
6108 | (info_auto_load_python_scripts): Update to use | |
6109 | extension_language_python. | |
6110 | ||
6111 | * breakpoint.c (condition_command): Replace call to | |
6112 | gdbpy_breakpoint_has_py_cond with call to get_breakpoint_cond_ext_lang. | |
6113 | (bpstat_check_breakpoint_conditions): Replace call to gdbpy_should_stop | |
6114 | with call to breakpoint_ext_lang_cond_says_stop. | |
6115 | * python/py-breakpoint.c (gdbpy_breakpoint_cond_says_stop): Renamed | |
6116 | from gdbpy_should_stop. Change result type to enum scr_bp_stop. | |
6117 | New arg slang. Return SCR_BP_STOP_UNSET if py_bp_object is NULL. | |
6118 | (gdbpy_breakpoint_has_cond): Renamed from gdbpy_breakpoint_has_py_cond. | |
6119 | New arg slang. | |
6120 | (local_setattro): Print name of extension language with existing | |
6121 | stop condition. | |
6122 | ||
6123 | * valprint.c (val_print, value_print): Update to call | |
6124 | apply_ext_lang_val_pretty_printer. | |
6125 | * cp-valprint.c (cp_print_value): Update call to | |
6126 | apply_ext_lang_val_pretty_printer. | |
6127 | * python/py-prettyprint.c: Remove #ifdef HAVE_PYTHON. | |
6128 | (gdbpy_apply_val_pretty_printer): Renamed from | |
6129 | apply_val_pretty_printer. New arg extlang. | |
6130 | (!HAVE_PYTHON, apply_val_pretty_printer): Delete. | |
6131 | ||
6132 | * cli/cli-cmds.c (source_script_from_stream): Rewrite to use | |
6133 | extension language API. | |
6134 | * cli/cli-script.c (execute_control_command): Update to call | |
6135 | eval_ext_lang_from_control_command. | |
6136 | ||
6137 | * mi/mi-cmd-stack.c (mi_cmd_stack_list_frames): Update to use | |
6138 | enum ext_lang_bt_status values. Update call to | |
6139 | apply_ext_lang_frame_filter. | |
6140 | (mi_cmd_stack_list_locals): Ditto. | |
6141 | (mi_cmd_stack_list_args): Ditto. | |
6142 | (mi_cmd_stack_list_variables): Ditto. | |
6143 | * mi/mi-main.c: Delete #include "python/python-internal.h". | |
6144 | Add #include "extension.h". | |
6145 | (mi_cmd_list_features): Replace reference to python internal variable | |
6146 | gdb_python_initialized with call to ext_lang_initialized_p. | |
6147 | ||
6148 | * stack.c (backtrace_command_1): Update to use enum ext_lang_bt_status. | |
6149 | Update to use enum ext_lang_frame_args. Update to call | |
6150 | apply_ext_lang_frame_filter. | |
6151 | * python/py-framefilter.c (extract_sym): Update to use enum | |
6152 | ext_lang_bt_status. | |
6153 | (extract_value, py_print_type, py_print_value): Ditto. | |
6154 | (py_print_single_arg, enumerate_args, enumerate_locals): Ditto. | |
6155 | (py_mi_print_variables, py_print_locals, py_print_args): Ditto. | |
6156 | (py_print_frame): Ditto. | |
6157 | (gdbpy_apply_frame_filter): Renamed from apply_frame_filter. | |
6158 | New arg extlang. Update to use enum ext_lang_bt_status. | |
6159 | ||
6160 | * top.c (gdb_init): Delete #ifdef HAVE_PYTHON call to | |
6161 | finish_python_initialization. Replace with call to | |
6162 | finish_ext_lang_initialization. | |
6163 | ||
6164 | * typeprint.c (do_free_global_table): Update to call | |
6165 | free_ext_lang_type_printers. | |
6166 | (create_global_typedef_table): Update to call | |
6167 | start_ext_lang_type_printers. | |
6168 | (find_global_typedef): Update to call apply_ext_lang_type_printers. | |
6169 | * typeprint.h (struct ext_lang_type_printers): Add forward decl. | |
6170 | (type_print_options): Change type of global_printers from "void *" | |
6171 | to "struct ext_lang_type_printers *". | |
6172 | ||
6173 | * value.c (preserve_values): Update to call preserve_ext_lang_values. | |
6174 | * python/py-value.c: Remove #ifdef HAVE_PYTHON. | |
6175 | (gdbpy_preserve_values): Renamed from preserve_python_values. | |
6176 | New arg extlang. | |
6177 | (!HAVE_PYTHON, preserve_python_values): Delete. | |
6178 | ||
6179 | * utils.c (quit_flag): Delete, moved to extension.c. | |
6180 | (clear_quit_flag, set_quit_flag, check_quit_flag): Delete, moved to | |
6181 | extension.c. | |
6182 | ||
6183 | * eval.c: Delete #include "python/python.h". | |
6184 | * main.c: Delete #include "python/python.h". | |
6185 | ||
6186 | * defs.h: Update comment. | |
6187 | ||
6af79985 JB |
6188 | 2014-02-06 Joel Brobecker <brobecker@adacore.com> |
6189 | ||
6190 | GDB 7.7 released. | |
6191 | ||
12c5175d MK |
6192 | 2014-02-05 Mark Kettenis <kettenis@gnu.org> |
6193 | ||
6194 | * c-exp.y (YYPRINT, c_print_token): Only define if YYBISON is | |
6195 | defined. | |
6196 | ||
8dc5b319 YQ |
6197 | 2014-02-05 Yao Qi <yao@codesourcery.com> |
6198 | ||
6199 | * remote.c (remote_pass_signals): Remove local 'buf' and use | |
6200 | rs->buf. | |
6201 | (remote_program_signals): Likewise. | |
6202 | ||
de7b2893 YQ |
6203 | 2014-02-05 Yao Qi <yao@codesourcery.com> |
6204 | ||
6205 | * ctf.c: Include "inferior.h" and "gdbthread.h". | |
6206 | (CTF_PID): A new macro. | |
6207 | (ctf_open): Call inferior_appeared and add_thread_silent. | |
6208 | (ctf_close): Call exit_inferior_silent and set inferior_ptid. | |
6209 | (ctf_thread_alive): New function. | |
6210 | (init_ctf_ops): Install ctf_thread_alive to to_thread_alive. | |
6211 | ||
66d032ac YQ |
6212 | 2014-02-05 Yao Qi <yao@codesourcery.com> |
6213 | ||
6214 | Revert this patch: | |
6215 | ||
6216 | 2013-05-24 Yao Qi <yao@codesourcery.com> | |
6217 | ||
6218 | * tracepoint.c (TFILE_PID): Remove. | |
6219 | (tfile_open): Don't add thread and inferior. | |
6220 | (tfile_close): Don't set 'inferior_ptid'. Don't call | |
6221 | exit_inferior_silent. | |
6222 | (tfile_thread_alive): Remove. | |
6223 | (init_tfile_ops): Don't set field 'to_thread_alive' of | |
6224 | tfile_ops. | |
6225 | ||
f4ccffad CE |
6226 | 2014-02-04 Christian Eggers <ceggers@gmx.de> (tiny change) |
6227 | ||
6228 | * remote.c (remote_start_remote): Call remote_check_symbols even | |
6229 | if only symbol-file (not file) has been given. | |
6230 | ||
591a12a1 UW |
6231 | 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com> |
6232 | ||
6233 | * gdbarch.sh (skip_entrypoint): New callback. | |
6234 | * gdbarch.c, gdbarch.h: Regenerate. | |
6235 | * symtab.c (skip_prologue_sal): Call gdbarch_skip_entrypoint. | |
6236 | * infrun.c (fill_in_stop_func): Likewise. | |
6237 | * ppc-linux-tdep.c: Include "elf/ppc64.h". | |
6238 | (ppc_elfv2_elf_make_msymbol_special): New function. | |
6239 | (ppc_elfv2_skip_entrypoint): Likewise. | |
6240 | (ppc_linux_init_abi): Install them for ELFv2. | |
6241 | ||
cc0e89c5 UW |
6242 | 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com> |
6243 | ||
6244 | * ppc-sysv-tdep.c (ppc64_aggregate_candidate): New routine. | |
6245 | (ppc64_elfv2_abi_homogeneous_aggregate): Likewise. | |
6246 | (ppc64_sysv_abi_push_param): Handle ELFv2 homogeneous structs. | |
6247 | (ppc64_sysv_abi_return_value): Likewise. Also, handle small | |
6248 | structures returned in GPRs. | |
6249 | ||
52f548e4 UW |
6250 | 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com> |
6251 | ||
6252 | * ppc-sysv-tdep.c (ppc64_sysv_abi_push_dummy_call): Use correct | |
6253 | offset to the stack parameter list for the ELFv2 ABI. | |
6254 | ||
d4094b6a UW |
6255 | 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com> |
6256 | ||
6257 | * ppc-linux-tdep.c (ppc_linux_init_abi): Only call | |
6258 | set_gdbarch_convert_from_func_ptr_addr and | |
6259 | set_gdbarch_elf_make_msymbol_special for ELFv1. | |
6260 | * ppc-sysv-tdep.c (ppc64_sysv_abi_push_param): Only handle | |
6261 | function descriptors on ELFv1. | |
6262 | (ppc64_sysv_abi_push_dummy_call): Likewise. On ELFv2, | |
6263 | set up r12 at function entry. | |
6264 | ||
cd453cd0 UW |
6265 | 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com> |
6266 | ||
6267 | * ppc-tdep.h (enum powerpc_elf_abi): New data type. | |
6268 | (struct gdbarch_tdep): New member elf_abi. | |
6269 | ||
6270 | * rs6000-tdep.c: Include "elf/ppc64.h". | |
6271 | (rs6000_gdbarch_init): Detect ELF ABI version. | |
6272 | ||
0ff3e01f UW |
6273 | 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com> |
6274 | ||
6275 | * ppc-sysv-tdep.c (ppc64_sysv_abi_push_freg): Use correct order | |
6276 | within a register pair holding a DFP 128-bit value on little-endian. | |
6277 | (ppc64_sysv_abi_return_value_base): Likewise. | |
6278 | * rs6000-tdep.c (dfp_pseudo_register_read): Likewise. | |
6279 | (dfp_pseudo_register_write): Likewise. | |
6280 | ||
5b757e5d UW |
6281 | 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com> |
6282 | ||
6283 | * ppc-sysv-tdep.c (ppc64_sysv_abi_push_freg): Use correct | |
6284 | offset on little-endian when passing _Decimal32. | |
6285 | (ppc64_sysv_abi_return_value_base): Likewise for return values. | |
6286 | ||
084ee545 UW |
6287 | 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com> |
6288 | ||
6289 | * rs6000-tdep.c (efpr_pseudo_register_read): Use correct offset | |
6290 | of the overlapped FP register within the VSX register on little- | |
6291 | endian platforms. | |
6292 | (efpr_pseudo_register_write): Likewise. | |
6293 | ||
d63167af UW |
6294 | 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com> |
6295 | ||
6296 | * ppc-sysv-tdep.c (ppc64_sysv_abi_push_val): Use correct | |
6297 | offset on little-endian when passing small structures. | |
6298 | ||
e765b44c UW |
6299 | 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com> |
6300 | ||
6301 | * ppc-sysv-tdep.c (get_decimal_float_return_value): Update comment. | |
6302 | (struct ppc64_sysv_argpos): New data structure. | |
6303 | (ppc64_sysv_abi_push_float): Remove. | |
6304 | (ppc64_sysv_abi_push_val): New function. | |
6305 | (ppc64_sysv_abi_push_integer): Likewise. | |
6306 | (ppc64_sysv_abi_push_freg): Likewise. | |
6307 | (ppc64_sysv_abi_push_vreg): Likewise. | |
6308 | (ppc64_sysv_abi_push_param): Likewise. | |
6309 | (ppc64_sysv_abi_push_dummy_call): Refactor to use those new routines. | |
6310 | (ppc64_sysv_abi_return_value_base): New function. | |
6311 | (ppc64_sysv_abi_return_value): Refactor to use it. | |
6312 | ||
36c24d95 UW |
6313 | 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com> |
6314 | ||
6315 | * NEWS: Document new target powerpc64le-*-linux*. | |
6316 | ||
26fd9228 MK |
6317 | 2014-02-04 Mark Kettenis <kettenis@gnu.org> |
6318 | ||
6319 | * sparc64obsd-tdep.c (sparc64obsd_gregset): New variable. | |
6320 | (sparc64obsd_supply_gregset): Handle registers sets used in ELF | |
6321 | core dumps. | |
6322 | (sparc64obsd_init_abi): Adjust minimum size of the general purpose | |
6323 | register set used in ELF core dumps. Add floating-point register set. | |
6324 | ||
c5bb7362 KB |
6325 | 2014-02-03 Kevin Buettner <kevinb@redhat.com> |
6326 | ||
6327 | * mn10300-tdep.c (mn10300_dwarf2_reg_to_regnum): Rewrite | |
6328 | dwarf2_to_gdb[] table using symbolic constants. Adjust | |
6329 | penultimate entry from number representing the PC register | |
6330 | to symbolic constant representing the MDR register. Add | |
6331 | constant for the PC register to the end of the table. | |
6332 | ||
af09351e MK |
6333 | 2014-02-03 Mark Kettenis <kettenis@gnu.org> |
6334 | ||
6335 | * bsd-kvm.c: Include <sys/param.h> | |
6336 | ||
8507e05d MK |
6337 | 2014-02-03 Mark Kettenis <kettenis@gnu.org> |
6338 | ||
6339 | * sparc64nbsd-nat.c (sparc64nbsd_supply_fpregset): Fix prototype. | |
6340 | ||
ae56bfb8 JB |
6341 | 2014-01-31 Joel Brobecker <brobecker@adacore.com> |
6342 | ||
6343 | * ada-lang.h (clear_ada_sym_cache): Delete. | |
6344 | ||
718ee4dc UW |
6345 | 2014-01-30 Ulrich Weigand <uweigand@de.ibm.com> |
6346 | ||
6347 | * auxv.c (fprint_target_auxv): Handle AT_HWCAP2. | |
6348 | ||
401e27fd JM |
6349 | 2014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com> |
6350 | ||
6351 | * sparc64-linux-tdep.c (sparc64_linux_step_trap): Get PC from | |
6352 | the sigreturn register save area only if the syscall is | |
6353 | sigreturn. | |
6354 | ||
a7c88acd JB |
6355 | 2014-01-29 Joel Brobecker <brobecker@adacore.com> |
6356 | ||
6357 | * valops.c (value_slice): Minor reformatting. | |
6358 | ||
fa0079ea UW |
6359 | 2014-01-28 Ulrich Weigand <uweigand@de.ibm.com> |
6360 | ||
6361 | * ppc64-tdep.c (ppc64_standard_linkage7): Fix typo. | |
6362 | ||
c6044dd1 JB |
6363 | 2014-01-28 Joel Brobecker <brobecker@adacore.com> |
6364 | ||
6365 | * ada-lang.c (maint_set_ada_cmdlist, maint_show_ada_cmdlist): | |
6366 | New static globals. | |
6367 | (maint_set_ada_cmd, maint_show_ada_cmd): New functions. | |
6368 | (ada_ignore_descriptive_types_p): New static global. | |
6369 | (find_parallel_type_by_descriptive_type): Return immediately | |
6370 | if ada_ignore_descriptive_types_p is set. | |
6371 | (_initialize_ada_language): Register new commands "maintenance | |
6372 | set ada", "maintenance show ada", "maintenance set ada | |
6373 | ignore-descriptive-types" and "maintenance show ada | |
6374 | ignore-descriptive-types". | |
6375 | * NEWS: Add entry for new "maint ada set/show | |
6376 | ignore-descriptive-types" commands. | |
6377 | ||
568e808b MM |
6378 | 2014-01-27 Markus Metzger <markus.t.metzger@intel.com> |
6379 | ||
6380 | * record-btrace.c (record_btrace_close): Call btrace_teardown | |
6381 | for all threads. | |
6382 | ||
467d141b JB |
6383 | 2014-01-27 Joel Brobecker <brobecker@adacore.com> |
6384 | ||
6385 | * ada-lang.c: Remove "#ifdef UI_OUT" condition for including | |
6386 | "ui-out.h". | |
6387 | ||
fb151210 JB |
6388 | 2014-01-27 Joel Brobecker <brobecker@adacore.com> |
6389 | ||
6390 | * ada-typeprint (type_is_full_subrange_of_target_type): | |
6391 | New function. | |
6392 | (print_range): Add parameter bounds_prefered_p. If not set, | |
6393 | try printing range types using the name of their base type. | |
6394 | (print_range_type): Add parameter bounds_prefered_p. | |
6395 | Use it in call to print_range. | |
6396 | (print_array_type, ada_print_type): Update calls to print_range | |
6397 | and print_range_type. | |
6398 | ||
aba02109 JB |
6399 | 2014-01-27 Joel Brobecker <brobecker@adacore.com> |
6400 | ||
6401 | * ada-typeprint.c (print_array_type, print_choices, print_range) | |
6402 | (print_range_bound, print_dynamic_range_bound, print_range_type): | |
6403 | Remove declaration. | |
6404 | ||
e62e21fd JB |
6405 | 2014-01-27 Joel Brobecker <brobecker@adacore.com> |
6406 | ||
6407 | * ada-typeprint.c (print_range): Add missing empty line | |
6408 | after local declaration. | |
6409 | ||
859cf5d1 JB |
6410 | 2014-01-27 Joel Brobecker <brobecker@adacore.com> |
6411 | ||
6412 | * ada-valprint.c (print_optional_low_bound): Get index_type's | |
6413 | target type for as long as it is a TYPE_CODE_RANGE. | |
6414 | ||
25790f6f JB |
6415 | 2014-01-27 Joel Brobecker <brobecker@adacore.com> |
6416 | ||
6417 | * procfs.c (procfs_make_note_section): Remove assertion and | |
6418 | associated comment. | |
6419 | ||
6b6aa828 YQ |
6420 | 2014-01-24 Yao Qi <yao@codesourcery.com> |
6421 | ||
6422 | * remote.c (remote_read_bytes): Change type of len to ULONGEST. | |
6423 | * corelow.c (get_core_siginfo): Likewise. | |
6424 | ||
5d6df423 YQ |
6425 | 2014-01-24 Yao Qi <yao@codesourcery.com> |
6426 | ||
6427 | * remote.c (remote_write_bytes_aux): Change type of 'len' to | |
6428 | ULONGEST. Don't check 'len' is negative. | |
6429 | (remote_write_bytes): Change type of 'len' to ULONGEST. | |
6430 | ||
83b645b8 TT |
6431 | 2014-01-23 Tom Tromey <tromey@redhat.com> |
6432 | ||
6433 | PR python/16485: | |
6434 | * python/lib/gdb/FrameDecorator.py: (FrameVars.fetch_frame_args): | |
6435 | Handle exception from frame.block. | |
6436 | (FrameVars.fetch_frame_locals): Likewise. | |
6437 | ||
0740f8d8 TT |
6438 | 2014-01-23 Tom Tromey <tromey@redhat.com> |
6439 | ||
6440 | PR python/16487: | |
6441 | * python/py-framefilter.c (py_print_frame): Don't call Py_DECREF | |
6442 | on a NULL pointer. Move "goto error" to correct place. | |
6443 | ||
21909fa1 TT |
6444 | 2014-01-23 Tom Tromey <tromey@redhat.com> |
6445 | ||
6446 | PR python/16491: | |
6447 | * python/py-framefilter.c (apply_frame_filter): Call | |
6448 | ensure_python_env after computing gdbarch. | |
6449 | ||
17fde6d0 YQ |
6450 | 2014-01-23 Yao Qi <yao@codesourcery.com> |
6451 | ||
6452 | * target.c (raw_memory_xfer_partial): Change argument type | |
6453 | from void * to gdb_byte *. | |
6454 | (memory_xfer_partial_1, memory_xfer_partial): Likewise. | |
6455 | ||
87ce2a04 DE |
6456 | 2014-01-22 Doug Evans <dje@google.com> |
6457 | ||
6458 | New gdbserver option --debug-format=timestamp. | |
6459 | * NEWS: Mention it. | |
6460 | ||
237b092b AA |
6461 | 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com> |
6462 | ||
6463 | * syscalls/s390x-linux.xml: New file. | |
6464 | * syscalls/s390-linux.xml: New file. | |
6465 | * s390-linux-tdep.c (XML_SYSCALL_FILENAME_S390): New macro. | |
6466 | (XML_SYSCALL_FILENAME_S390X): Likewise. | |
6467 | (op_svc): New enum value for SVC opcode. | |
6468 | (s390_sigtramp_frame_sniffer): Replace literal by 'op_svc'. | |
6469 | (s390_linux_get_syscall_number): New function. | |
6470 | (s390_gdbarch_init): Register '*get_syscall_number' and the | |
6471 | syscall xml file name. | |
6472 | * data-directory/Makefile.in (SYSCALLS_FILES): Add | |
6473 | "s390-linux.xml" and "s390x-linux.xml". | |
6474 | * NEWS: Announce new feature. | |
6475 | ||
54bff650 BS |
6476 | 2014-01-22 Baruch Siach <baruch@tkos.co.il> |
6477 | ||
6478 | * xtensa-tdep.h (xtensa_elf_greg_t): Change type to uint32_t. | |
6479 | ||
14e361d7 PA |
6480 | 2014-01-22 Pedro Alves <palves@redhat.com> |
6481 | ||
6482 | * xtensa-config.c: Include defs.h. | |
6483 | ||
46bbb3ed JB |
6484 | 2014-01-22 Joel Brobecker <brobecker@adacore.com> |
6485 | ||
6486 | * common/common-utils.h: Add "ARI:" comment beside __func__ | |
6487 | reference. | |
6488 | ||
3a80edfc JB |
6489 | 2014-01-22 Joel Brobecker <brobecker@adacore.com> |
6490 | ||
6491 | * common/common-utils.h (FUNCTION_NAME): Expand the macro's | |
6492 | documentation a bit. | |
6493 | ||
4869db5e RM |
6494 | 2014-01-21 Roland McGrath <mcgrathr@google.com> |
6495 | ||
6496 | * configure.ac: Call AM_PROG_INSTALL_STRIP. | |
6497 | * configure: Regenerate. | |
6498 | * aclocal.m4: Regenerate. | |
6499 | * Makefile.in (install_sh, INSTALL_STRIP_PROGRAM, STRIP): | |
6500 | New substituted variables. | |
6501 | (install-strip): New target. | |
6502 | (INSTALL_SCRIPT): New substituted variable. | |
6503 | (FLAGS_TO_PASS): Add it. | |
6504 | (install-only): Use $(INSTALL_SCRIPT) rather than | |
6505 | $(INSTALL_PROGRAM) for gcore. | |
6506 | ||
9ea4267d TT |
6507 | 2014-01-20 Tom Tromey <tromey@redhat.com> |
6508 | ||
6509 | * cli/cli-decode.h (struct cmd_list_element): Move all bitfields | |
6510 | together. | |
6511 | ||
1f2bdf09 TT |
6512 | 2014-01-20 Tom Tromey <tromey@redhat.com> |
6513 | ||
6514 | * cli/cli-decode.c (add_cmd, deprecate_cmd, add_alias_cmd) | |
6515 | (add_setshow_cmd_full, delete_cmd, lookup_cmd_1) | |
6516 | (deprecated_cmd_warning, complete_on_cmdlist): Update. | |
6517 | * cli/cli-decode.h (CMD_DEPRECATED, DEPRECATED_WARN_USER) | |
6518 | (MALLOCED_REPLACEMENT, DOC_ALLOCATED): Remove. | |
6519 | (struct cmd_list_element) <flags>: Remove. | |
6520 | <cmd_deprecated, deprecated_warn_user, malloced_replacement, | |
6521 | doc_allocated>: New fields. | |
6522 | <hook_in, allow_unknown, abbrev_flag, type, var_type>: Now | |
6523 | bitfields. | |
6524 | * maint.c (maintenance_do_deprecate): Update. | |
6525 | * top.c (execute_command): Update. | |
6526 | ||
e671835b BS |
6527 | 2014-01-20 Baruch Siach <baruch@tkos.co.il> |
6528 | ||
6529 | * xtensa-linux-nat.c: Include asm/ptrace.h. | |
6530 | ||
50367cd2 IB |
6531 | 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org> |
6532 | ||
6533 | * Makefile.in (SFILES): Add d-support.c. | |
6534 | (COMMON_OBS): Add d-support.o. | |
6535 | * d-lang.h (d_parse_symbol): Add comment, now defined in | |
6536 | d-support.c. | |
6537 | * d-lang.c (parse_call_convention) | |
6538 | (parse_attributes, parse_function_types) | |
6539 | (parse_function_args, parse_type, parse_identifier) | |
6540 | (call_convention_p, d_parse_symbol): Move functions to ... | |
6541 | * d-support.c: ... New file. | |
6542 | ||
ec9f644a IB |
6543 | 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org> |
6544 | ||
6545 | * d-lang.h (d_parse_symbol): Add declaration. | |
6546 | * d-lang.c (extract_identifiers) | |
6547 | (extract_type_info): Remove functions. | |
6548 | (parse_call_convention, parse_attributes) | |
6549 | (parse_function_types, parse_function_args) | |
6550 | (parse_type, parse_identifier, call_convention_p) | |
6551 | (d_parse_symbol): New functions. | |
6552 | (d_demangle): Use d_parse_symbol to demangle D symbols. | |
6553 | ||
94b1b47e IB |
6554 | 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org> |
6555 | ||
6556 | * d-lang.h (struct builtin_d_type): New data type. | |
6557 | (builtin_d_type): Add declaration. | |
6558 | * d-lang.c (d_language_arch_info, build_d_types) | |
6559 | (builtin_d_type): New functions. | |
6560 | (enum d_primitive_types): New data type. | |
6561 | (d_language_defn): Change c_language_arch_info to | |
6562 | d_language_arch_info. | |
6563 | (d_type_data): New static variable. | |
6564 | (_initialize_d_language): Initialize d_type_data. | |
6565 | ||
63778547 IB |
6566 | 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org> |
6567 | ||
6568 | * d-lang.h (d_main_name): Add declaration. | |
6569 | * d-lang.c (d_main_name): New function. | |
6570 | * symtab.c (find_main_name): Add call to d_main_name. | |
6571 | ||
3271ba66 IB |
6572 | 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org> |
6573 | ||
6574 | * d-lang.c (d_language_defn): Change macro_expansion_c to | |
6575 | macro_expansion_no. | |
6576 | ||
d36b3012 IB |
6577 | 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org> |
6578 | ||
6579 | * MAINTAINERS: Add myself as a write-after-approval maintainer. | |
6580 | ||
c90a6fb7 SDJ |
6581 | 2014-01-17 Sergio Durigan Junior <sergiodj@redhat.com> |
6582 | ||
6583 | * breakpoint.c (insert_bp_location): Add "volatile" keyword to "struct | |
6584 | gdb_exception" declaration. | |
6585 | * remote.c (getpkt_or_notif_sane): Likewise. | |
6586 | ||
749234e5 DE |
6587 | 2014-01-17 Doug Evans <dje@google.com> |
6588 | ||
6589 | * common/gdb_vecs.c (delim_string_to_char_ptr_vec_append): New | |
6590 | function, contents of dirnames_to_char_ptr_vec_append moved here. | |
6591 | (delim_string_to_char_ptr_vec): New function. | |
6592 | (dirnames_to_char_ptr_vec_append): Rewrite. | |
6593 | * common/gdb_vecs.h (delim_string_to_char_ptr_vec): Declare. | |
6594 | ||
df049a58 DE |
6595 | 2014-01-17 Doug Evans <dje@google.com> |
6596 | ||
6597 | * common/common-utils.h (FUNCTION_NAME): Renamed from ASSERT_FUNCTION, | |
6598 | and moved here ... | |
6599 | * common/gdb_assert.h (ASSERT_FUNCTION): ... from here. | |
6600 | #include "common-utils.h". | |
6601 | (gdb_assert, gdb_assert_fail, gdb_assert_not_reached): Update. | |
6602 | * common/vec.h (VEC_ASSERT_PASS): Update. | |
6603 | * darwin-nat.h: Replace #include of gdb_assert.h with common-utils.h. | |
6604 | (MACH_CHECK_ERROR): Update. | |
6605 | ||
69f97648 SM |
6606 | 2014-01-17 Simon Marchi <simon.marchi@ericsson.com> |
6607 | ||
6608 | * gdbarch.sh (gdbarch_address_class_name_to_type_flags): Add | |
6609 | comments. | |
6610 | * gdbarch.h: Regenerate. | |
6611 | ||
98b1cfdc TT |
6612 | 2014-01-16 Tom Tromey <tromey@redhat.com> |
6613 | ||
6614 | * value.c (struct value) <regnum>: Move earlier. | |
6615 | ||
77a19445 TT |
6616 | 2014-01-16 Tom Tromey <tromey@redhat.com> |
6617 | ||
6618 | * remote.c (extended_remote_create_inferior): Rename from | |
6619 | extended_remote_create_inferior_1. Add "ops" argument. Remove | |
6620 | old implementation. | |
6621 | ||
62261490 PA |
6622 | 2014-01-16 Pedro Alves <palves@redhat.com> |
6623 | ||
6624 | * s390-linux-tdep.c (s390_frame_unwind_cache): Swallow | |
6625 | NOT_AVAILABLE_ERROR errors while parsing the prologue or reading | |
6626 | the backchain. | |
6627 | ||
4d65956b DE |
6628 | 2014-01-16 Doug Evans <dje@google.com> |
6629 | ||
6630 | * dwarf2read.c (open_and_init_dwp_file): Fix typo in comment. | |
6631 | ||
52834460 MM |
6632 | 2014-01-16 Markus Metzger <markus.t.metzger@intel.com> |
6633 | ||
6634 | * btrace.h (btrace_thread_flag): New. | |
6635 | (struct btrace_thread_info) <flags>: New. | |
6636 | * record-btrace.c (record_btrace_resume_thread) | |
6637 | (record_btrace_find_thread_to_move, btrace_step_no_history) | |
6638 | (btrace_step_stopped, record_btrace_start_replaying) | |
6639 | (record_btrace_step_thread, record_btrace_decr_pc_after_break) | |
6640 | (record_btrace_find_resume_thread): New. | |
6641 | (record_btrace_resume, record_btrace_wait): Extend. | |
6642 | (record_btrace_can_execute_reverse): New. | |
6643 | (record_btrace_open): Fail in non-stop mode. | |
6644 | (record_btrace_set_replay): Split into this, ... | |
6645 | (record_btrace_stop_replaying): ... this, ... | |
6646 | (record_btrace_clear_histories): ... and this. | |
6647 | (init_record_btrace_ops): Init to_can_execute_reverse. | |
6648 | * NEWS: Announce it. | |
6649 | ||
118e6252 MM |
6650 | 2014-01-16 Markus Metzger <markus.t.metzger@intel.com> |
6651 | ||
6652 | * target.h (struct target_ops) <to_decr_pc_after_break>: New. | |
6653 | (forward_target_decr_pc_after_break) | |
6654 | (target_decr_pc_after_break): New. | |
6655 | * target.c (forward_target_decr_pc_after_break) | |
6656 | (target_decr_pc_after_break): New. | |
6657 | * aix-thread.c (aix_thread_wait): Call target_decr_pc_after_break | |
6658 | instead of gdbarch_decr_pc_after_break. | |
6659 | * darwin-nat.c (cancel_breakpoint): Call target_decr_pc_after_break | |
6660 | instead of gdbarch_decr_pc_after_break. | |
6661 | * infrun.c (adjust_pc_after_break): Call target_decr_pc_after_break | |
6662 | instead of gdbarch_decr_pc_after_break. | |
6663 | * linux-nat.c (cancel_breakpoint): Call target_decr_pc_after_break | |
6664 | instead of gdbarch_decr_pc_after_break. | |
6665 | * linux-thread-db.c (check_event): Call target_decr_pc_after_break | |
6666 | instead of gdbarch_decr_pc_after_break. | |
6667 | * record-full.c (record_full_wait_1): Call target_decr_pc_after_break | |
6668 | instead of gdbarch_decr_pc_after_break. | |
6669 | ||
6e07b1d2 MM |
6670 | 2014-01-16 Markus Metzger <markus.t.metzger@intel.com> |
6671 | ||
6672 | * btrace.c: Include regcache.h. | |
6673 | (btrace_add_pc): New. | |
6674 | (btrace_enable): Call btrace_add_pc. | |
6675 | (btrace_is_empty): New. | |
6676 | * btrace.h (btrace_is_empty): New. | |
6677 | * record-btrace.c (require_btrace, record_btrace_info): Call | |
6678 | btrace_is_empty. | |
6679 | ||
969c39fb MM |
6680 | 2014-01-16 Markus Metzger <markus.t.metzger@intel.com> |
6681 | ||
6682 | * common/linux-btrace.c (perf_event_read_bts, linux_read_btrace): | |
6683 | Support delta reads. | |
6684 | (linux_disable_btrace): Change return type. | |
6685 | * common/linux-btrace.h (linux_read_btrace): Change parameters | |
6686 | and return type to allow error reporting. Update users. | |
6687 | (linux_disable_btrace): Change return type. Update users. | |
6688 | * common/btrace-common.h (btrace_read_type) <BTRACE_READ_DELTA>: | |
6689 | New. | |
6690 | (btrace_error): New. | |
6691 | (btrace_block) <begin>: Comment on BEGIN == 0. | |
6692 | * btrace.c (btrace_compute_ftrace): Start from the end of | |
6693 | the current trace. | |
6694 | (btrace_stitch_trace, btrace_clear_history): New. | |
6695 | (btrace_fetch): Read delta trace, return if replaying. | |
6696 | (btrace_clear): Move clear history code to btrace_clear_history. | |
6697 | (parse_xml_btrace): Throw an error if parsing failed. | |
6698 | * target.h (struct target_ops) <to_read_btrace>: Change parameters | |
6699 | and return type to allow error reporting. | |
6700 | (target_read_btrace): Change parameters and return type to allow | |
6701 | error reporting. | |
6702 | * target.c (target_read_btrace): Update. | |
6703 | * remote.c (remote_read_btrace): Support delta reads. Pass | |
6704 | errors on. | |
6705 | * NEWS: Announce it. | |
6706 | ||
0b722aec MM |
6707 | 2014-01-16 Markus Metzger <markus.t.metzger@intel.com> |
6708 | ||
6709 | * record.h (record_btrace_frame_unwind) | |
6710 | (record_btrace_tailcall_frame_unwind): New declarations. | |
6711 | * dwarf2-frame: Include record.h | |
6712 | (dwarf2_frame_cfa): Throw an error for btrace frames. | |
6713 | * record-btrace.c: Include hashtab.h. | |
6714 | (btrace_get_bfun_name): New. | |
6715 | (btrace_call_history): Call btrace_get_bfun_name. | |
6716 | (struct btrace_frame_cache): New. | |
6717 | (bfcache): New. | |
6718 | (bfcache_hash, bfcache_eq, bfcache_new): New. | |
6719 | (btrace_get_frame_function): New. | |
6720 | (record_btrace_frame_unwind_stop_reason): Allow unwinding. | |
6721 | (record_btrace_frame_this_id): Compute own id. | |
6722 | (record_btrace_frame_prev_register): Provide PC, throw_error | |
6723 | for all other registers. | |
6724 | (record_btrace_frame_sniffer): Detect btrace frames. | |
6725 | (record_btrace_tailcall_frame_sniffer): New. | |
6726 | (record_btrace_frame_dealloc_cache): New. | |
6727 | (record_btrace_frame_unwind): Add new functions. | |
6728 | (record_btrace_tailcall_frame_unwind): New. | |
6729 | (_initialize_record_btrace): Allocate cache. | |
6730 | * btrace.c (btrace_clear): Call reinit_frame_cache. | |
6731 | * NEWS: Announce it. | |
6732 | ||
066ce621 MM |
6733 | 2014-01-16 Markus Metzger <markus.t.metzger@intel.com> |
6734 | ||
6735 | * record-btrace.c (record_btrace_set_replay) | |
6736 | (record_btrace_goto_begin, record_btrace_goto_end) | |
6737 | (record_btrace_goto): New. | |
6738 | (init_record_btrace_ops): Initialize them. | |
6739 | * NEWS: Announce it. | |
6740 | ||
e2887aa3 MM |
6741 | 2014-01-16 Markus Metzger <markus.t.metzger@intel.com> |
6742 | ||
6743 | * record-btrace.c (record_btrace_find_new_threads) | |
6744 | (record_btrace_thread_alive): New. | |
6745 | (init_record_btrace_ops): Initialize to_find_new_threads and | |
6746 | to_thread_alive. | |
6747 | ||
b2f4cfde MM |
6748 | 2014-01-16 Markus Metzger <markus.t.metzger@intel.com> |
6749 | ||
6750 | * record-btrace.c (record_btrace_resume): New. | |
6751 | (record_btrace_wait): New. | |
6752 | (init_record_btrace_ops): Initialize to_wait and to_resume. | |
6753 | ||
633785ff MM |
6754 | 2014-01-16 Markus Metzger <markus.t.metzger@intel.com> |
6755 | ||
6756 | * record-btrace.c (record_btrace_xfer_partial) | |
6757 | (record_btrace_insert_breakpoint, record_btrace_remove_breakpoint) | |
6758 | (record_btrace_allow_memory_access): New. | |
6759 | (init_record_btrace_ops): Initialize new methods. | |
6760 | * target.c (raw_memory_xfer_partial): Bail out if target reports | |
6761 | that this memory is not available. | |
6762 | ||
3db08215 MM |
6763 | 2014-01-16 Markus Metzger <markus.t.metzger@intel.com> |
6764 | ||
6765 | * target.h (target_ops) <to_insert_breakpoint> | |
6766 | <to_remove_breakpoint>: Add target_ops parameter. | |
6767 | (forward_target_insert_breakpoint): New. | |
6768 | (forward_target_remove_breakpoint): New. | |
6769 | (memory_remove_breakpoint, memory_insert_breakpoint): | |
6770 | Add target_ops parameter. | |
6771 | * target.c (target_insert_breakpoint): Split into this and ... | |
6772 | (forward_target_insert_breakpoint): ... this. | |
6773 | (target_remove_breakpoint): Split into this and ... | |
6774 | (forward_target_remove_breakpoint): ... this. | |
6775 | (debug_to_insert_breakpoint): Add target_ops parameter. | |
6776 | Call forward_target_insert_breakpoint. | |
6777 | (debug_to_remove_breakpoint): Add target_ops parameter. | |
6778 | Call forward_target_remove_breakpoint. | |
6779 | (update_current_target): Do not inherit or default to_insert_breakpoint | |
6780 | and to_remove_breakpoint. | |
6781 | * corelow.c (ignore): Add target_ops parameter. | |
6782 | * exec.c (ignore): Add target_ops parameter. | |
6783 | * mem-break.c (memory_insert_breakpoint, memory_remove_breakpoint): | |
6784 | Add target_ops parameter. | |
6785 | * monitor.c (monitor_insert_breakpoint, monitor_remove_breakpoint): | |
6786 | Add target_ops parameter. | |
6787 | * nto-procfs.c (procfs_insert_breakpoint, procfs_remove_breakpoint): | |
6788 | Add target_ops parameter. | |
6789 | * record-full.c (record_full_beneath_to_insert_breakpoint) | |
6790 | (record_full_beneath_to_remove_breakpoint, tmp_to_insert_breakpoint) | |
6791 | (tmp_to_remove_breakpoint, record_full_insert_breakpoint) | |
6792 | (record_full_remove_breakpoint, record_full_core_insert_breakpoint) | |
6793 | (record_full_core_remove_breakpoint): Add target_ops parameter. | |
6794 | Update users. | |
6795 | (record_full_beneath_to_insert_breakpoint_ops) | |
6796 | (record_full_beneath_to_remove_breakpoint_ops) | |
6797 | (tmp_to_insert_breakpoint_ops, tmp_to_remove_breakpoint_ops): New. | |
6798 | (record_full_open): Initialize tmp_to_insert_breakpoint_ops, | |
6799 | tmp_to_remove_breakpoint_ops, | |
6800 | record_full_beneath_to_insert_breakpoint_ops, and | |
6801 | record_full_beneath_to_remove_breakpoint_ops. | |
6802 | * remote-m32r-sdi.c (m32r_insert_breakpoint) | |
6803 | (m32r_remove_breakpoint): Add target_ops parameter. | |
6804 | * remote-mips.c (mips_insert_breakpoint, mips_remove_breakpoint): | |
6805 | Add target_ops parameter. | |
6806 | * remote.c (remote_insert_breakpoint, remote_remove_breakpoint): | |
6807 | Add target_ops parameter. | |
6808 | ||
cecac1ab MM |
6809 | 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com> |
6810 | Markus Metzger <markus.t.metzger@intel.com> | |
6811 | ||
6812 | * record-btrace.c: Include frame-unwind.h. | |
6813 | (record_btrace_frame_unwind_stop_reason) | |
6814 | (record_btrace_frame_this_id, record_btrace_frame_prev_register) | |
6815 | (record_btrace_frame_sniffer, record_btrace_frame_unwind): | |
6816 | New. | |
6817 | (init_record_btrace_ops): Install it. | |
6818 | ||
824344ca MM |
6819 | 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com> |
6820 | ||
6821 | * frame.c (get_frame_unwind_stop_reason): Unconditionally call | |
6822 | get_prev_frame_1. | |
6823 | ||
32261e52 MM |
6824 | 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com> |
6825 | ||
6826 | * dwarf2-frame.c (dwarf2_frame_cfa): Move UNWIND_UNAVAILABLE check | |
6827 | earlier. | |
6828 | ||
ea001bdc MM |
6829 | 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com> |
6830 | ||
6831 | * frame-unwind.c: Include target.h. | |
6832 | (frame_unwind_try_unwinder): New function with code from ... | |
6833 | (frame_unwind_find_by_frame): ... here. New variable | |
6834 | unwinder_from_target, call also target_get_unwinder) | |
6835 | (target_get_tailcall_unwinder, and frame_unwind_try_unwinder for it. | |
6836 | * target.c (target_get_unwinder, target_get_tailcall_unwinder): New. | |
6837 | * target.h (struct target_ops): New fields to_get_unwinder and | |
6838 | to_get_tailcall_unwinder. | |
6839 | (target_get_unwinder, target_get_tailcall_unwinder): New declarations. | |
6840 | ||
1f3ef581 MM |
6841 | 2014-01-16 Markus Metzger <markus.t.metzger@intel.com> |
6842 | ||
6843 | * record-btrace.c (record_btrace_fetch_registers) | |
6844 | (record_btrace_store_registers) | |
6845 | (record_btrace_to_prepare_to_store): New. | |
6846 | (init_record_btrace_ops): Add the above. | |
6847 | ||
f32dbf8c MM |
6848 | 2014-01-16 Tom Tromey <tromey@redhat.com> |
6849 | ||
6850 | * windows-nat.c (windows_prepare_to_store): Add 'self' argument. | |
6851 | * target.h (struct target_ops) <to_prepare_to_store>: Add | |
6852 | argument. | |
6853 | (target_prepare_to_store): Add argument. | |
6854 | * target.c (debug_to_prepare_to_store): Add argument. | |
6855 | (update_current_target): Update. | |
6856 | * remote.c (remote_prepare_to_store): Add 'self' argument. | |
6857 | * remote-sim.c (gdbsim_prepare_to_store): Add 'self' argument. | |
6858 | * remote-mips.c (mips_prepare_to_store): Add 'self' argument. | |
6859 | * remote-m32r-sdi.c (m32r_prepare_to_store): Add 'self' argument. | |
6860 | * record-full.c (record_full_core_prepare_to_store): Add 'self' | |
6861 | argument. | |
6862 | * ravenscar-thread.c (ravenscar_prepare_to_store): Add argument. | |
6863 | * nto-procfs.c (procfs_prepare_to_store): Add 'self' argument. | |
6864 | * monitor.c (monitor_prepare_to_store): Add 'self' argument. | |
6865 | * inf-child.c (inf_child_prepare_to_store): Add 'self' argument. | |
6866 | * go32-nat.c (go32_prepare_to_store): Add 'self' argument. | |
6867 | ||
07bbe694 MM |
6868 | 2014-01-16 Markus Metzger <markus.t.metzger@intel.com> |
6869 | ||
6870 | * btrace.h (replay) <replay>: New. | |
6871 | (btrace_is_replaying): New. | |
6872 | * btrace.c (btrace_clear): Free replay iterator. | |
6873 | (btrace_is_replaying): New. | |
6874 | * record-btrace.c (record_btrace_is_replaying): New. | |
6875 | (record_btrace_info): Print insn number if replaying. | |
6876 | (record_btrace_insn_history): Start at replay position. | |
6877 | (record_btrace_call_history): Start at replay position. | |
6878 | (init_record_btrace_ops): Init to_record_is_replaying. | |
6879 | ||
0688d04e MM |
6880 | 2014-01-16 Markus Metzger <markus.t.metzger@intel.com> |
6881 | ||
6882 | * record-btrace.c (record_btrace_insn_history_range): Include | |
6883 | end. | |
6884 | (record_btrace_insn_history_from): Adjust range. | |
6885 | (record_btrace_call_history_range): Include | |
6886 | end. | |
6887 | (record_btrace_call_history_from): Adjust range. | |
6888 | * NEWS: Announce changes. | |
6889 | ||
8710b709 MM |
6890 | 2014-01-16 Markus Metzger <markus.t.metzger@intel.com> |
6891 | ||
6892 | * record.h (enum record_print_flag) | |
6893 | <record_print_indent_calls>: New. | |
6894 | * record.c (get_call_history_modifiers): Recognize /c modifier. | |
6895 | (_initialize_record): Document /c modifier. | |
6896 | * record-btrace.c (btrace_call_history): Add btinfo parameter. | |
6897 | Reorder fields. Optionally indent the function name. Update | |
6898 | all users. | |
6899 | * NEWS: Announce changes. | |
6900 | ||
d0fa7535 MM |
6901 | 2014-01-16 Markus Metzger <markus.t.metzger@intel.com> |
6902 | ||
6903 | * common/linux-btrace.c (linux_enable_btrace): Enlarge buffer. | |
6904 | ||
5de9129b MM |
6905 | 2014-01-16 Markus Metzger <markus.t.metzger@intel.com> |
6906 | ||
6907 | * btrace.c (ftrace_new_function): Start counting at one. | |
6908 | * record-btrace.c (record_btrace_info): Adjust number of calls | |
6909 | and insns. | |
6910 | * NEWS: Announce it. | |
6911 | ||
7acbe133 MM |
6912 | 2014-01-16 Markus Metzger <markus.t.metzger@intel.com> |
6913 | ||
6914 | * record-btrace.c (btrace_call_history_insn_range): Print | |
6915 | insn range as [begin, end]. | |
6916 | ||
23a7fe75 MM |
6917 | 2014-01-16 Markus Metzger <markus.t.metzger@intel.com> |
6918 | ||
6919 | * btrace.h (struct btrace_func_link): New. | |
6920 | (enum btrace_function_flag): New. | |
6921 | (struct btrace_inst): Rename to ... | |
6922 | (struct btrace_insn): ...this. Update all users. | |
6923 | (struct btrace_func) <ibegin, iend>: Remove. | |
6924 | (struct btrace_func_link): New. | |
6925 | (struct btrace_func): Rename to ... | |
6926 | (struct btrace_function): ...this. Update all users. | |
6927 | (struct btrace_function) <segment, flow, up, insn, insn_offset) | |
6928 | (number, level, flags>: New. | |
6929 | (struct btrace_insn_iterator): Rename to ... | |
6930 | (struct btrace_insn_history): ...this. | |
6931 | Update all users. | |
6932 | (struct btrace_insn_iterator, btrace_call_iterator): New. | |
6933 | (struct btrace_target_info) <btrace, itrace, ftrace>: Remove. | |
6934 | (struct btrace_target_info) <begin, end, level> | |
6935 | <insn_history, call_history>: New. | |
6936 | (btrace_insn_get, btrace_insn_number, btrace_insn_begin) | |
6937 | (btrace_insn_end, btrace_insn_prev, btrace_insn_next) | |
6938 | (btrace_insn_cmp, btrace_find_insn_by_number, btrace_call_get) | |
6939 | (btrace_call_number, btrace_call_begin, btrace_call_end) | |
6940 | (btrace_call_prev, btrace_call_next, btrace_call_cmp) | |
6941 | (btrace_find_function_by_number, btrace_set_insn_history) | |
6942 | (btrace_set_call_history): New. | |
6943 | * btrace.c (btrace_init_insn_iterator) | |
6944 | (btrace_init_func_iterator, compute_itrace): Remove. | |
6945 | (ftrace_print_function_name, ftrace_print_filename) | |
6946 | (ftrace_skip_file): Change | |
6947 | parameter to const. | |
6948 | (ftrace_init_func): Remove. | |
6949 | (ftrace_debug): Use new btrace_function fields. | |
6950 | (ftrace_function_switched): Also consider gaining and | |
6951 | losing symbol information). | |
6952 | (ftrace_print_insn_addr, ftrace_new_call, ftrace_new_return) | |
6953 | (ftrace_new_switch, ftrace_find_caller, ftrace_new_function) | |
6954 | (ftrace_update_caller, ftrace_fixup_caller, ftrace_new_tailcall): | |
6955 | New. | |
6956 | (ftrace_new_function): Move. Remove debug print. | |
6957 | (ftrace_update_lines, ftrace_update_insns): New. | |
6958 | (ftrace_update_function): Check for call, ret, and jump. | |
6959 | (compute_ftrace): Renamed to ... | |
6960 | (btrace_compute_ftrace): ...this. Rewritten to compute call | |
6961 | stack. | |
6962 | (btrace_fetch, btrace_clear): Updated. | |
6963 | (btrace_insn_get, btrace_insn_number, btrace_insn_begin) | |
6964 | (btrace_insn_end, btrace_insn_prev, btrace_insn_next) | |
6965 | (btrace_insn_cmp, btrace_find_insn_by_number, btrace_call_get) | |
6966 | (btrace_call_number, btrace_call_begin, btrace_call_end) | |
6967 | (btrace_call_prev, btrace_call_next, btrace_call_cmp) | |
6968 | (btrace_find_function_by_number, btrace_set_insn_history) | |
6969 | (btrace_set_call_history): New. | |
6970 | * record-btrace.c (require_btrace): Use new btrace thread | |
6971 | info fields. | |
6972 | (record_btrace_info, btrace_insn_history) | |
6973 | (record_btrace_insn_history, record_btrace_insn_history_range): | |
6974 | Use new btrace thread info fields and new iterator. | |
6975 | (btrace_func_history_src_line): Rename to ... | |
6976 | (btrace_call_history_src_line): ...this. Use new btrace | |
6977 | thread info fields. | |
6978 | (btrace_func_history): Rename to ... | |
6979 | (btrace_call_history): ...this. Use new btrace thread info | |
6980 | fields and new iterator. | |
6981 | (record_btrace_call_history, record_btrace_call_history_range): | |
6982 | Use new btrace thread info fields and new iterator. | |
6983 | ||
8372a7cb MM |
6984 | 2014-01-16 Markus Metzger <markus.t.metzger@intel.com> |
6985 | ||
6986 | * frame.h (frame_id_build_unavailable_stack_special): New. | |
6987 | * frame.c (frame_id_build_unavailable_stack_special): New. | |
6988 | ||
c2170eef MM |
6989 | 2014-01-16 Markus Metzger <markus.t.metzger@intel.com> |
6990 | ||
6991 | * amd64-tdep.c (amd64_classify_insn_at, amd64_insn_is_call) | |
6992 | (amd64_insn_is_ret, amd64_insn_is_jump, amd64_jmp_p): New. | |
6993 | (amd64_init_abi): Add insn_is_call, insn_is_ret, and insn_is_jump | |
6994 | to gdbarch. | |
6995 | * i386-tdep.c (i386_insn_is_call, i386_insn_is_ret) | |
6996 | (i386_insn_is_jump, i386_jmp_p): New. | |
6997 | (i386_gdbarch_init): Add insn_is_call, insn_is_ret, and | |
6998 | insn_is_jump to gdbarch. | |
6999 | * gdbarch.sh (insn_is_call, insn_is_ret, insn_is_jump): New. | |
7000 | * gdbarch.h: Regenerated. | |
7001 | * gdbarch.c: Regenerated. | |
7002 | * arch-utils.h (default_insn_is_call, default_insn_is_ret) | |
7003 | (default_insn_is_jump): New. | |
7004 | * arch-utils.c (default_insn_is_call, default_insn_is_ret) | |
7005 | (default_insn_is_jump): New. | |
7006 | ||
864089d2 MM |
7007 | 2014-01-16 Markus Metzger <markus.t.metzger@intel.com> |
7008 | ||
7009 | * common/btrace-common.h (btrace_read_type) <btrace_read_all>: | |
7010 | Change to ... | |
7011 | (btrace_read_type) <BTRACE_READ_ALL>: ... this. Update users. | |
7012 | (btrace_read_type) <btrace_read_new>: Change to ... | |
7013 | (btrace_read_type) <BTRACE_READ_NEW>: ... this. Update users. | |
7014 | ||
ed9edfb5 MM |
7015 | 2014-01-16 Markus Metzger <markus.t.metzger@intel.com> |
7016 | ||
7017 | * common/linux-btrace.c (linux_read_btrace): Free trace from | |
7018 | previous iteration. | |
7019 | ||
fbcbc3fd DE |
7020 | 2014-01-15 Doug Evans <dje@google.com> |
7021 | ||
7022 | * dwarf2read.c (open_and_init_dwp_file): Use pulongest to print | |
7023 | uint32_t. | |
7024 | ||
3d548a53 TT |
7025 | 2014-01-15 Tom Tromey <tromey@redhat.com> |
7026 | ||
7027 | * dbxread.c (process_one_symbol): Use set_objfile_main_name. | |
7028 | * dwarf2read.c (read_partial_die): Use set_objfile_main_name. | |
7029 | * objfiles.c (get_objfile_bfd_data): Initialize language_of_main. | |
7030 | (set_objfile_main_name): New function. | |
7031 | * objfiles.h (struct objfile_per_bfd_storage) <name_of_main, | |
7032 | language_of_main>: New fields. | |
7033 | (set_objfile_main_name): Declare. | |
7034 | * symtab.c (find_main_name): Loop over objfiles to find the main | |
7035 | name and language. | |
7036 | (set_main_name): Now static. | |
7037 | (get_main_info): Add comment. | |
7038 | * symtab.h (set_main_name): Don't declare. | |
7039 | ||
32ac0d11 TT |
7040 | 2014-01-15 Tom Tromey <tromey@redhat.com> |
7041 | ||
7042 | * symtab.c (main_progspace_key): New global. | |
7043 | (struct main_info): New. | |
7044 | (name_of_main, language_of_main): Remove. | |
7045 | (get_main_info, main_info_cleanup): New function. | |
7046 | (set_main_name, main_name, main_language): Use get_main_info. | |
7047 | (_initialize_symtab): Initialize main_progspace_key. | |
7048 | ||
9e6c82ad TT |
7049 | 2014-01-15 Tom Tromey <tromey@redhat.com> |
7050 | ||
7051 | * dbxread.c (process_one_symbol): Update. | |
7052 | * dwarf2read.c (read_partial_die): Update. | |
7053 | * symfile.c (set_initial_language): Call main_language. | |
7054 | * symtab.c (language_of_main): Now static. | |
7055 | (set_main_name): Add 'lang' parameter. | |
7056 | (find_main_name): Update. | |
7057 | (main_language): New function. | |
7058 | (symtab_observer_executable_changed): Update. | |
7059 | * symtab.h (set_main_name): Update. | |
7060 | (language_of_main): Remove. | |
7061 | (main_language): Declare. | |
7062 | ||
6ef55de7 TT |
7063 | 2014-01-15 Tom Tromey <tromey@redhat.com> |
7064 | ||
7065 | * symfile.c (init_entry_point_info): Use new "initialized" field. | |
7066 | Update. | |
7067 | * objfiles.h (struct entry_point) <initialized>: New field. | |
7068 | (struct objfile_per_bfd_storage) <ei>: New field, moved from... | |
7069 | (struct objfile) <ei>: ...here. Remove. | |
7070 | * objfiles.c (entry_point_address_query): Update. | |
7071 | ||
53eddfa6 TT |
7072 | 2014-01-15 Tom Tromey <tromey@redhat.com> |
7073 | ||
7074 | * objfiles.c (entry_point_address_query): Relocate entry point | |
7075 | address. | |
7076 | (objfile_relocate1): Do not relocate entry point address. | |
7077 | * objfiles.h (struct entry_info) <entry_point>: Update comment. | |
7078 | <the_bfd_section_index>: New field. | |
7079 | * symfile.c (init_entry_point_info): Find the entry point's | |
7080 | section. | |
7081 | ||
d56e56aa TT |
7082 | 2014-01-15 Tom Tromey <tromey@redhat.com> |
7083 | ||
7084 | * solib-frv.c (enable_break): Use entry_point_address_query. | |
7085 | ||
33a97bbe OJ |
7086 | 2014-01-15 Omair Javaid <omair.javaid@linaro.org> |
7087 | ||
7088 | * NEWS: Add note on improved process record-replay on | |
7089 | arm*-linux* targets. | |
7090 | ||
c6ec2b30 OJ |
7091 | 2014-01-15 Omair Javaid <omair.javaid@linaro.org> |
7092 | ||
7093 | * arm-tdep.c (enum arm_record_result): New enum. | |
7094 | (arm_record_unsupported_insn): New function. | |
7095 | (arm_record_coproc_data_proc): Removed. | |
7096 | (thumb2_record_ld_st_multiple): New function. | |
7097 | (thumb2_record_ld_st_dual_ex_tbb): New function. | |
7098 | (thumb2_record_data_proc_sreg_mimm): New function. | |
7099 | (thumb2_record_ps_dest_generic): New function. | |
7100 | (thumb2_record_branch_misc_cntrl): New function. | |
7101 | (thumb2_record_str_single_data): New function. | |
7102 | (thumb2_record_ld_mem_hints): New function. | |
7103 | (thumb2_record_ld_word): New function. | |
7104 | (thumb2_record_lmul_lmla_div): New function. | |
7105 | (thumb2_record_decode_insn_handler): New function. | |
7106 | (decode_insn): Add thumb32 instruction handlers. | |
7107 | ||
97dfe206 OJ |
7108 | 2014-01-15 Omair Javaid <omair.javaid@linaro.org> |
7109 | ||
7110 | * arm-linux-tdep.c: Include "record-full.h" and "linux-record.h". | |
7111 | (struct arm_linux_record_tdep): Declare. | |
7112 | (arm_canonicalize_syscall): New function. | |
7113 | (arm_all_but_pc_registers_record): New function. | |
7114 | (arm_linux_syscall_record): New function. | |
7115 | (arm_linux_init_abi): Add syscall recording constructs. | |
7116 | * arm-tdep.c (thumb_record_ldm_stm_swi): Update thumb syscall | |
7117 | decoding. (arm_record_coproc_data_proc): Update arm syscall | |
7118 | decoding. | |
7119 | * arm-tdep.h (struct gdbarch_tdep) <arm_swi_record>: Remove. | |
7120 | <arm_syscall_record>: New field. | |
7121 | * configure.tgt (arm*-*-linux*): Add linux-record.o to | |
7122 | gdb_target_obs. | |
7123 | ||
9904a494 OJ |
7124 | 2014-01-15 Omair Javaid <omair.javaid@linaro.org> |
7125 | ||
7126 | * arm-tdep.c (thumb_record_misc): Update to use sp as base | |
7127 | register for push instruction recording. | |
7128 | ||
f969241e OJ |
7129 | 2014-01-15 Omair Javaid <omair.javaid@linaro.org> |
7130 | ||
7131 | * arm-tdep.c (thumb_record_misc): Update to correct logical | |
7132 | error while recording ldm, ldmia and pop instructions. | |
7133 | ||
bfbbec00 OJ |
7134 | 2014-01-15 Omair Javaid <omair.javaid@linaro.org> |
7135 | ||
7136 | * arm-tdep.c (struct arm_mem_r) <addr>: Change type to uint32_t. | |
7137 | ||
e40adcc9 PA |
7138 | 2014-01-15 Pedro Alves <palves@redhat.com> |
7139 | ||
7140 | * go32-nat.c (go32_open, go32_close, go32_attach, go32_detach) | |
7141 | (go32_resume, go32_fetch_registers, store_register) | |
7142 | (go32_store_registers, go32_prepare_to_store) | |
7143 | (go32_xfer_memory, go32_files_info, go32_kill_inferior) | |
7144 | (go32_create_inferior, go32_can_run, go32_terminal_init) | |
7145 | (go32_terminal_inferior, go32_terminal_ours): Delete forward | |
7146 | declarations. | |
7147 | ||
b0a16e66 TT |
7148 | 2014-01-15 Tom Tromey <tromey@redhat.com> |
7149 | ||
7150 | * target.h (async_callback_ftype): New typedef. | |
7151 | (struct target_ops) <to_async>: Use it. | |
7152 | ||
bf7105a4 JB |
7153 | 2014-01-15 Joel Brobecker <brobecker@adacore.com> |
7154 | ||
7155 | * python/py-value.c (get_field_type): Remove unnecessary curly | |
7156 | braces for single-statement if block. | |
7157 | ||
a8f35c2e JB |
7158 | 2014-01-15 Joel Brobecker <brobecker@adacore.com> |
7159 | ||
7160 | * python/py-type.c (convert_field): Add missing empty line | |
7161 | after declarations. | |
7162 | ||
bb4142cf DE |
7163 | 2014-01-14 Doug Evans <dje@google.com> |
7164 | ||
7165 | * symfile.h (expand_symtabs_matching): Renamed from | |
7166 | expand_partial_symbol_names. Update prototype. | |
7167 | (map_symbol_filenames): Renamed from map_partial_symbol_filenames. | |
7168 | * symfile.c (expand_symtabs_matching): Renamed from | |
7169 | expand_partial_symbol_names. New args file_matcher, kind. | |
7170 | Rename arg fun to symbol_matcher. | |
7171 | (map_symbol_filenames): Renamed from map_partial_symbol_filenames. | |
7172 | * ada-lang.c (ada_complete_symbol_matcher): Renamed from | |
7173 | ada_expand_partial_symbol_name. | |
7174 | (ada_make_symbol_completion_list): Update to call | |
7175 | expand_symtabs_matching. | |
7176 | (ada_add_global_exceptions): Call expand_symtabs_matching. | |
7177 | * mi/mi-cmd-file.c (mi_cmd_file_list_exec_source_files): Update to | |
7178 | call map_symbol_filenames. | |
7179 | * symtab.c (sources_info): Update to call map_symbol_filenames. | |
7180 | (search_symbols): Call expand_symtabs_matching. | |
7181 | (symbol_completion_matcher): Renamed from expand_partial_symbol_name. | |
7182 | (default_make_symbol_completion_list_break_on): Update to call | |
7183 | expand_symtabs_matching. | |
7184 | (make_source_files_completion_list): Update to call | |
7185 | map_symbol_filenames. | |
7186 | ||
206f2a57 DE |
7187 | 2014-01-14 Doug Evans <dje@google.com> |
7188 | ||
7189 | * symfile.h (expand_symtabs_file_matcher_ftype): New typedef. | |
7190 | (expand_symtabs_symbol_matcher_ftype): New typedef. | |
7191 | (quick_symbol_functions.expand_symtabs_matching): Update to use. | |
7192 | expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype. | |
7193 | * symfile.c (expand_partial_symbol_names): Update to use | |
7194 | expand_symtabs_symbol_matcher_ftype. | |
7195 | * dwarf2read.c (dw2_expand_symtabs_matching): Update to use | |
7196 | expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype. | |
7197 | Arg name_matcher renamed to symbol_matcher. | |
7198 | * psymtab.c (recursively_search_psymtabs): Update to use | |
7199 | expand_symtabs_symbol_matcher_ftype. Arg name_matcher renamed to | |
7200 | sym_matcher. | |
7201 | (expand_symtabs_matching_via_partial): Update to use | |
7202 | expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype. | |
7203 | Arg name_matcher renamed to symbol_matcher. | |
7204 | ||
540c2971 DE |
7205 | 2014-01-14 Doug Evans <dje@google.com> |
7206 | ||
7207 | * psymtab.c (expand_partial_symbol_names): Delete, moved to symfile.c. | |
7208 | (map_partial_symbol_filenames): Ditto. | |
7209 | * psymtab.h (expand_partial_symbol_names): Delete, moved to symfile.h. | |
7210 | (map_partial_symbol_filenames): Ditto. | |
7211 | * symfile.c (expand_partial_symbol_names): Moved here from psymtab.c. | |
7212 | (map_partial_symbol_filenames): Ditto. | |
7213 | * symfile.h (expand_partial_symbol_names): Moved here from psymtab.h. | |
7214 | (map_partial_symbol_filenames): Ditto. | |
7215 | * symtab.c: Delete #include "psymtab.h". | |
7216 | ||
8213266a PA |
7217 | 2014-01-14 Pedro Alves <palves@redhat.com> |
7218 | Tom Tromey <tromey@redhat.com> | |
7219 | ||
7220 | * infrun.c (use_displaced_stepping): Use find_record_target | |
7221 | instead of RECORD_IS_USED. | |
7222 | (adjust_pc_after_break): Use record_full_is_used instead of | |
7223 | RECORD_IS_USED. | |
7224 | * record-btrace.c (record_btrace_open): Call record_preopen | |
7225 | instead of checking RECORD_IS_USED. | |
7226 | * record-full.c (record_full_shortname) | |
7227 | (record_full_core_shortname): New globals. | |
7228 | (record_full_is_used): New function. | |
7229 | (find_full_open): Call record_preopen instead of checking | |
7230 | RECORD_IS_USED. | |
7231 | (init_record_full_ops): Set the target's shortname to | |
7232 | record_full_shortname. | |
7233 | (init_record_full_core_ops): Set the target's shortname to | |
7234 | record_full_core_shortname. | |
7235 | * record-full.h (record_full_is_used): Declare. | |
7236 | * record.c (find_record_target): Make extern. | |
7237 | (record_preopen): New function. | |
7238 | * record.h (RECORD_IS_USED): Delete macro. | |
7239 | (find_record_target, record_preopen): Declare functions. | |
7240 | ||
7ec1862d YQ |
7241 | 2014-01-14 Yao Qi <yao@codesourcery.com> |
7242 | ||
7243 | * gdbarch.sh (core_xfer_shared_libraries): Change its argument | |
7244 | 'len''s type to ULONGEST. | |
7245 | (core_xfer_shared_libraries_aix): Likewise. | |
7246 | * gdbarch.c, gdbarch.h: Regenerated. | |
7247 | * i386-cygwin-tdep.c (windows_core_xfer_shared_libraries): | |
7248 | Change type of 'len' to ULONGEST. | |
7249 | * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise. | |
7250 | (rs6000_aix_core_xfer_shared_libraries_aix): Likewise. | |
7251 | ||
dea80a27 YQ |
7252 | 2014-01-14 Yao Qi <yao@codesourcery.com> |
7253 | ||
7254 | * common/linux-osdata.c (linux_xfer_osdata_processes): Change | |
7255 | type of 'len' to ULONGEST. | |
7256 | (linux_xfer_osdata_processgroups): Likewise. | |
7257 | (linux_xfer_osdata_threads): Likewise. | |
7258 | (linux_xfer_osdata_fds): Likewise. | |
7259 | (linux_xfer_osdata_isockets): Likewise. | |
7260 | (linux_xfer_osdata_shm): Likewise. | |
7261 | (linux_xfer_osdata_sem): Likewise. | |
7262 | (linux_xfer_osdata_msg): Likewise. | |
7263 | (linux_common_xfer_osdata): Likewise. | |
7264 | (struct osdata_type) <getter>: Likewise. | |
7265 | * common/linux-osdata.h (linux_common_xfer_osdata): Update | |
7266 | the declaration. | |
7267 | ||
b55e14c7 YQ |
7268 | 2014-01-14 Yao Qi <yao@codesourcery.com> |
7269 | ||
7270 | * target.h (target_xfer_partial_ftype): Update. | |
7271 | (struct target_ops) <to_xfer_partial>: Change 'len' type to | |
7272 | ULONGEST. | |
7273 | * aix-thread.c (aix_thread_xfer_partial): Change type of | |
7274 | argument 'len' to ULONGEST. | |
7275 | * auxv.c (procfs_xfer_auxv): Likewise. | |
7276 | (ld_so_xfer_auxv): Likewise. | |
7277 | (memory_xfer_auxv): Likewise. | |
7278 | * bfd-target.c (target_bfd_xfer_partial): Likewise. | |
7279 | * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise. | |
7280 | * bsd-uthread.c (bsd_uthread_xfer_partial): Likewise. | |
7281 | * corelow.c (core_xfer_partial): Likewise. | |
7282 | * ctf.c (ctf_xfer_partial): Likewise. | |
7283 | * darwin-nat.c (darwin_read_write_inferior): Likewise. Use | |
7284 | '%u'. | |
7285 | (darwin_read_dyld_info): Likewise. | |
7286 | (darwin_xfer_partial): Likewise. | |
7287 | * exec.c (section_table_xfer_memory_partial): Likewise. | |
7288 | (exec_xfer_partial): Likewise. | |
7289 | * exec.h (section_table_xfer_memory_partial): Update | |
7290 | declaration. | |
7291 | * gnu-nat.c (gnu_xfer_memory): Likewise. Call pulongest | |
7292 | instead of plongest. | |
7293 | (gnu_xfer_partial): Likewise. | |
7294 | * ia64-hpux-nat.c (ia64_hpux_xfer_memory): Likewise. | |
7295 | (ia64_hpux_xfer_solib_got): Likewise. | |
7296 | (ia64_hpux_xfer_partial): Likewise. | |
7297 | * ia64-linux-nat.c (ia64_linux_xfer_partial): | |
7298 | * inf-ptrace.c (inf_ptrace_xfer_partial): | |
7299 | * inf-ttrace.c (inf_ttrace_xfer_partial): | |
7300 | * linux-nat.c (linux_xfer_siginfo): Likewise. | |
7301 | (linux_nat_xfer_partial): Likewise. | |
7302 | (spu_enumerate_spu_ids, linux_proc_xfer_spu): Likewise. | |
7303 | (linux_nat_xfer_osdata, linux_xfer_partial): Likewise. | |
7304 | * monitor.c (monitor_xfer_memory): Likewise. | |
7305 | (monitor_xfer_partial): Likewise. | |
7306 | * procfs.c (procfs_xfer_partial): Likewise. | |
7307 | * record-full.c (record_full_xfer_partial): Likewise. | |
7308 | (record_full_core_xfer_partial): Likewise. | |
7309 | * remote-sim.c (gdbsim_xfer_memory): Likewise. Call pulongest | |
7310 | instead of plongest. | |
7311 | (gdbsim_xfer_partial): Likewise. | |
7312 | * remote.c (remote_xfer_partial): Likewise. | |
7313 | * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise. | |
7314 | * rs6000-aix-tdep.h (rs6000_aix_ld_info_to_xml): Update | |
7315 | declaration. | |
7316 | * rs6000-nat.c (rs6000_xfer_partial): Likewise. | |
7317 | (rs6000_xfer_shared_libraries): Likewise. | |
7318 | * sol-thread.c (sol_thread_xfer_partial): Likewise. | |
7319 | * sparc-nat.c (sparc_xfer_wcookie): Likewise. | |
7320 | (sparc_xfer_partial): Likewise. | |
7321 | * spu-linux-nat.c (spu_proc_xfer_spu): Likewise. | |
7322 | (spu_xfer_partial): Likewise. | |
7323 | * spu-multiarch.c (spu_xfer_partial): Likewise. | |
7324 | * target.c (target_read_live_memory): Likewise. | |
7325 | (memory_xfer_live_readonly_partial): Likewise. | |
7326 | (memory_xfer_partial, memory_xfer_partial_1): Likewise. | |
7327 | (target_xfer_partial, default_xfer_partial): Likewise. | |
7328 | (current_xfer_partial): Likewise. | |
7329 | * tracepoint.c (tfile_xfer_partial): Likewise. | |
7330 | * windows-nat.c (windows_xfer_memory): Likewise. Call | |
7331 | pulongest instead of plongest. | |
7332 | (windows_xfer_partial): Likewise. | |
7333 | (windows_xfer_shared_libraries): Likewise. | |
7334 | ||
05804640 YQ |
7335 | 2014-01-14 Yao Qi <yao@codesourcery.com> |
7336 | ||
7337 | * rs6000-nat.c (rs6000_xfer_shared_libraries): Use | |
7338 | target_xfer_partial_ftype. | |
7339 | ||
b5b08fb4 SC |
7340 | 2014-01-13 Siva Chandra Reddy <sivachandra@google.com> |
7341 | ||
7342 | PR python/15464 | |
7343 | PR python/16113 | |
7344 | * valops.c (value_struct_elt_bitpos): New function | |
7345 | * py-type.c (convert_field): Set 'name' attribute of a gdb.Field | |
7346 | object to 'None' if the field name is an empty string (""). | |
7347 | * python/py-value.c (valpy_getitem): Use 'bitpos' and 'type' | |
7348 | attribute to look for a field when 'name' is 'None'. | |
7349 | (get_field_type): New function | |
7350 | ||
13aaf454 DE |
7351 | 2014-01-13 Doug Evans <dje@google.com> |
7352 | ||
7353 | PR symtab/16426 | |
7354 | * dwarf2read.c (dwarf2_get_dwz_file): Call gdb_bfd_record_inclusion. | |
7355 | (try_open_dwop_file): Ditto. | |
7356 | * gdb_bfd.c: #include "vec.h". | |
7357 | (bfdp): New typedef. | |
7358 | (struct gdb_bfd_data): New member included_bfds. | |
7359 | (gdb_bfd_unref): Unref all included bfds. | |
7360 | (gdb_bfd_record_inclusion): New function. | |
7361 | * gdb_bfd.h (gdb_bfd_record_inclusion): Declare. | |
7362 | ||
c2cec97c TT |
7363 | 2014-01-13 Tom Tromey <tromey@redhat.com> |
7364 | ||
7365 | * gdbcore.h (deprecated_core_resize_section_table): Remove. | |
7366 | ||
78e5999d TT |
7367 | 2014-01-13 Tom Tromey <tromey@redhat.com> |
7368 | ||
7369 | * defs.h (use_windows): Remove. | |
7370 | * gdb.c (main): Update. | |
7371 | * main.c (captured_main, gdb_main): Update. | |
7372 | * main.h (struct captured_main_args) <use_windows>: Remove. | |
7373 | * top.c (use_windows): Remove. | |
7374 | ||
f2052bbe TT |
7375 | 2014-01-13 Tom Tromey <tromey@redhat.com> |
7376 | ||
7377 | * defs.h (deprecated_flush_hook): Remove. | |
7378 | ||
fde4f8ed JK |
7379 | 2014-01-13 Jan Kratochvil <jan.kratochvil@redhat.com> |
7380 | ||
7381 | PR threads/16216 | |
7382 | * linux-thread-db.c (try_thread_db_load): Add parameter | |
7383 | check_auto_load_safe. Move here the file_is_auto_load_safe call. | |
7384 | (try_thread_db_load_from_pdir_1): Move it there from here. | |
7385 | (try_thread_db_load_from_sdir): Update caller. | |
7386 | (try_thread_db_load_from_dir): Move it there from here. | |
7387 | ||
bdf61915 PP |
7388 | 2014-01-13 Patrick Palka <patrick@parcs.ath.cx> |
7389 | ||
7390 | * regformats/regdat.sh: Always rewrite the register file. | |
7391 | ||
f71e1a8d PA |
7392 | 2014-01-13 Pedro Alves <palves@redhat.com> |
7393 | ||
7394 | * Makefile.in (CHECK_HEADERS): New variable. | |
7395 | (check-headers:): New rule. | |
7396 | ||
42c85435 TT |
7397 | 2014-01-13 Tom Tromey <tromey@redhat.com> |
7398 | ||
7399 | * cli/cli-setshow.c (do_set_command): Update. | |
7400 | * defs.h (deprecated_set_hook): Remove. | |
7401 | * top.c (deprecated_set_hook): Remove. | |
7402 | ||
f8de5129 PA |
7403 | 2014-01-13 Pedro Alves <palves@redhat.com> |
7404 | ||
7405 | * tracepoint.c (tfile_fetch_registers): Don't infer the PC from | |
7406 | the tracepoint if the PC is a pseudo-register. | |
7407 | ||
fc270c35 TT |
7408 | 2014-01-13 Tom Tromey <tromey@redhat.com> |
7409 | ||
7410 | * defs.h (XCALLOC): Remove. | |
7411 | * bcache.c (bcache_xmalloc): Use XCNEW, not XCALLOC. | |
7412 | (print_bcache_statistics): Use XCNEWVEC, not XCALLOC. | |
7413 | * dwarf2loc.c (allocate_piece_closure): Likewise. | |
7414 | * elfread.c (elf_symfile_segments): Likewise. | |
7415 | (elf_symfile_segments): Likewise. | |
7416 | * gdbtypes.c (copy_type_recursive): Likewise. | |
7417 | * i386-tdep.c (i386_gdbarch_init): Use XCNEW, not XCALLOC. | |
7418 | * jit.c (jit_frame_sniffer): Use XCNEWVEC, not XCALLOC. | |
7419 | * minsyms.c (prim_record_minimal_symbol_full): Use XCNEW, not | |
7420 | XCALLOC. | |
7421 | * mt-tdep.c (mt_gdbarch_init): Likewise. | |
7422 | * opencl-lang.c (allocate_lval_closure): Use XCNEWVEC, not | |
7423 | XCALLOC. | |
7424 | * psymtab.c (psymbol_compare): Use XCNEW, not XCALLOC. | |
7425 | * regcache.c (regcache_xmalloc_1): Use XCNEWVEC, not XCALLOC. | |
7426 | * registry.c (registry_alloc_data): Likewise. | |
7427 | * rs6000-tdep.c (rs6000_gdbarch_init): Use XCNEW, not XCALLOC. | |
7428 | * s390-linux-tdep.c (s390_gdbarch_init): Likewise. | |
7429 | * serial.c (serial_fdopen_ops): Likewise. | |
7430 | * solib-aix.c (solib_aix_get_section_offsets): Use XCNEWVEC, not | |
7431 | XCALLOC. | |
7432 | * spu-tdep.c (spu_gdbarch_init): Use XCNEW, not XCALLOC. | |
7433 | * symfile.c (default_symfile_segments): Use XCNEW and XCNEWVEC, | |
7434 | not XCALLOC. | |
7435 | ||
70ba0933 TT |
7436 | 2014-01-13 Tom Tromey <tromey@redhat.com> |
7437 | ||
7438 | * defs.h (XMALLOC): Remove. | |
7439 | * avr-tdep.c (avr_gdbarch_init): Use XNEW, not XMALLOC. | |
7440 | * bfin-tdep.c (bfin_gdbarch_init): Likewise. | |
7441 | * cli-out.c (struct ui_out *): Likewise. | |
7442 | * cli/cli-dump.c (add_dump_command): Likewise. | |
7443 | (add_dump_command): Likewise. | |
7444 | * complaints.c (get_complaints): Likewise. | |
7445 | (find_complaint): Likewise. | |
7446 | * dwarf2-frame.c (execute_cfa_program): Likewise. | |
7447 | * dwarf2read.c (abbrev_table_read_table): Likewise. | |
7448 | * gdbarch.sh: Likewise. | |
7449 | * gdbarch.c: Rebuild. | |
7450 | * inf-ttrace.c (inf_ttrace_add_page): Likewise. | |
7451 | * interps.c (interp_new): Likewise. | |
7452 | * lm32-tdep.c (lm32_gdbarch_init): Likewise. | |
7453 | * m32r-tdep.c (m32r_gdbarch_init): Likewise. | |
7454 | * mi/mi-console.c (mi_console_file_new): Likewise. | |
7455 | * mi/mi-interp.c (mi_interpreter_init): Likewise. | |
7456 | * mi/mi-out.c (mi_out_new): Likewise. | |
7457 | * mi/mi-parse.c (mi_parse): Likewise. | |
7458 | * microblaze-tdep.c (microblaze_gdbarch_init): Likewise. | |
7459 | * moxie-tdep.c (moxie_gdbarch_init): Likewise. | |
7460 | * observer.c (xalloc_observer_list_node): Likewise. | |
7461 | * regcache.c (regcache_xmalloc_1): Likewise. | |
7462 | * reggroups.c (reggroup_new): Likewise. | |
7463 | (_initialize_reggroup): Likewise. | |
7464 | * registry.c (register_data_with_cleanup): Likewise. | |
7465 | * remote.c (remote_notif_stop_alloc_reply): Likewise. | |
7466 | * ser-base.c (serial_ttystate): Likewise. | |
7467 | * ser-mingw.c (make_pipe_state): Likewise. | |
7468 | * ser-pipe.c (pipe_open): Likewise. | |
7469 | * serial.c (serial_open): Likewise. | |
7470 | * sh64-tdep.c (sh64_gdbarch_init): Likewise. | |
7471 | * tui/tui-data.c (tui_alloc_generic_win_info): Likewise. | |
7472 | (tui_alloc_win_info): Likewise. | |
7473 | (tui_add_content_elements): Likewise. | |
7474 | * tui/tui-file.c (tui_file_new): Likewise. | |
7475 | * tui/tui-out.c (tui_out_new): Likewise. | |
7476 | * ui-file.c (mem_file_new): Likewise. | |
7477 | * ui-out.c (push_level): Likewise. | |
7478 | (make_cleanup_ui_out_end): Likewise. | |
7479 | (append_header_to_list): Likewise. | |
7480 | (ui_out_new): Likewise. | |
7481 | * user-regs.c (user_reg_add_builtin): Likewise. | |
7482 | ||
41bf6aca TT |
7483 | 2014-01-13 Tom Tromey <tromey@redhat.com> |
7484 | ||
7485 | * defs.h (XZALLOC): Remove. | |
7486 | * ada-lang.c (get_ada_inferior_data): Use XCNEW, not XZALLOC. | |
7487 | * ada-tasks.c (get_ada_tasks_pspace_data): Likewise. | |
7488 | (get_ada_tasks_inferior_data): Likewise. | |
7489 | * auto-load.c (get_auto_load_pspace_data): Likewise. | |
7490 | * auxv.c (get_auxv_inferior_data): Likewise. | |
7491 | * bfd-target.c (target_bfd_reopen): Likewise. | |
7492 | * breakpoint.c (get_catch_syscall_inferior_data): Likewise. | |
7493 | (deprecated_insert_raw_breakpoint): Likewise. | |
7494 | * bsd-uthread.c (bsd_uthread_pid_to_str): Likewise. | |
7495 | * corelow.c (core_open): Likewise. | |
7496 | * darwin-nat.c (darwin_check_new_threads): Likewise. | |
7497 | (darwin_attach_pid): Likewise. | |
7498 | * dummy-frame.c (dummy_frame_push): Likewise. | |
7499 | * dwarf2-frame.c (dwarf2_frame_cache): Likewise. | |
7500 | * dwarf2loc.c (allocate_piece_closure): Likewise. | |
7501 | * elfread.c (elf_symfile_segments): Likewise. | |
7502 | * eval.c (ptrmath_type_p): Likewise. | |
7503 | * exceptions.c (EXCEPTIONS_SIGJMP_BUF): Likewise. | |
7504 | * gdbtypes.c (alloc_type_arch): Likewise. | |
7505 | (alloc_type_instance): Likewise. | |
7506 | * hppa-tdep.c (hppa_gdbarch_init): Likewise. | |
7507 | * inf-child.c (inf_child_can_use_agent): Likewise. | |
7508 | * inflow.c (get_inflow_inferior_data): Likewise. | |
7509 | * infrun.c (save_infcall_suspend_state): Likewise. | |
7510 | * jit.c (jit_reader_load): Likewise. | |
7511 | (get_jit_objfile_data): Likewise. | |
7512 | (get_jit_program_space_data): Likewise. | |
7513 | (jit_object_open_impl): Likewise. | |
7514 | (jit_symtab_open_impl): Likewise. | |
7515 | (jit_block_open_impl): Likewise. | |
7516 | (jit_frame_sniffer): Likewise. | |
7517 | * linux-fork.c (add_fork): Likewise. | |
7518 | * maint.c (make_command_stats_cleanup): Likewise. | |
7519 | * objfiles.c (get_objfile_pspace_data): Likewise. | |
7520 | * opencl-lang.c (struct lval_closure): Likewise. | |
7521 | * osdata.c (osdata_start_osdata): Likewise. | |
7522 | * progspace.c (new_address_space): Likewise. | |
7523 | (add_program_space): Likewise. | |
7524 | * remote-sim.c (get_sim_inferior_data): Likewise. | |
7525 | * sh-tdep.c (sh_gdbarch_init): Likewise. | |
7526 | * skip.c (Ignore): Likewise. | |
7527 | (skip_delete_command): Likewise. | |
7528 | * solib-aix.c (get_solib_aix_inferior_data): Likewise. | |
7529 | (library_list_start_library): Likewise. | |
7530 | (solib_aix_current_sos): Likewise. | |
7531 | * solib-darwin.c (get_darwin_info): Likewise. | |
7532 | (darwin_current_sos): Likewise. | |
7533 | * solib-dsbt.c (get_dsbt_info): Likewise. | |
7534 | * solib-ia64-hpux.c (new_so_list): Likewise. | |
7535 | (ia64_hpux_get_solib_linkage_addr): Likewise. | |
7536 | * solib-spu.c (append_ocl_sos): Likewise. | |
7537 | (spu_current_sos): Likewise. | |
7538 | * solib-svr4.c (get_svr4_info): Likewise. | |
7539 | (svr4_keep_data_in_core): Likewise. | |
7540 | (library_list_start_library): Likewise. | |
7541 | (svr4_default_sos): Likewise. | |
7542 | (svr4_read_so_list): Likewise. | |
7543 | * solib-target.c (library_list_start_library): Likewise. | |
7544 | (solib_target_current_sos): Likewise. | |
7545 | * sparc-tdep.c (sparc32_gdbarch_init): Likewise. | |
7546 | * symfile-debug.c (install_symfile_debug_logging): Likewise. | |
7547 | * symfile.c (default_symfile_segments): Likewise. | |
7548 | * target-descriptions.c (tdesc_data_init): Likewise. | |
7549 | (tdesc_create_reg): Likewise. | |
7550 | (struct tdesc_type *): Likewise. | |
7551 | (tdesc_create_vector): Likewise. | |
7552 | (tdesc_set_struct_size): Likewise. | |
7553 | (struct tdesc_type *): Likewise. | |
7554 | (tdesc_free_feature): Likewise. | |
7555 | (tdesc_create_feature): Likewise. | |
7556 | * windows-nat.c (windows_add_thread): Likewise. | |
7557 | (windows_make_so): Likewise. | |
7558 | * xml-support.c (gdb_xml_body_text): Likewise. | |
7559 | (gdb_xml_create_parser_and_cleanup): Likewise. | |
7560 | (xml_process_xincludes): Likewise. | |
7561 | * xml-syscall.c (allocate_syscalls_info): Likewise. | |
7562 | (syscall_create_syscall_desc): Likewise. | |
7563 | ||
5acfdbae SDJ |
7564 | 2014-01-12 Sergio Durigan Junior <sergiodj@redhat.com> |
7565 | ||
7566 | * i386-tdep.c (i386_stap_parse_special_token_triplet): New | |
7567 | function, with code from i386_stap_parse_special_token. | |
7568 | (i386_stap_parse_special_token_three_arg_disp): Likewise. | |
7569 | (i386_stap_parse_special_token): Move code to the two functions | |
7570 | above; simplify it. | |
7571 | ||
0000e5cc PA |
7572 | 2014-01-09 Pedro Alves <palves@redhat.com> |
7573 | Hui Zhu <hui@codesourcery.com> | |
7574 | ||
7575 | PR gdb/16101 | |
7576 | * breakpoint.c (insert_bp_location): Rename hw_bp_err_string to | |
7577 | bp_err_string. Don't mark the location shlib_disabled if the | |
7578 | error thrown wasn't a generic or memory error. Catch errors | |
7579 | thrown while inserting breakpoints in overlayed code. Output | |
7580 | error message of software breakpoints. | |
7581 | * remote.c (remote_insert_breakpoint): If this breakpoint has | |
7582 | target-side commands but this stub doesn't support Z0 packets, | |
7583 | throw NOT_SUPPORTED_ERROR error. | |
7584 | * exceptions.h (enum errors) <NOT_SUPPORTED_ERROR>: New error. | |
7585 | * target.h (target_insert_breakpoint): Extend comment. | |
7586 | (target_insert_hw_breakpoint): Add comment. | |
7587 | ||
b7ea362b PA |
7588 | 2014-01-08 Pedro Alves <palves@redhat.com> |
7589 | ||
7590 | * remote.c (remote_add_thread): Add threads silently if starting | |
7591 | up. | |
7592 | (remote_notice_new_inferior): If in all-stop, and starting up, | |
7593 | don't call notice_new_inferior. | |
7594 | (get_current_thread): New function, factored out from ... | |
7595 | (add_current_inferior_and_thread): ... this. Adjust. | |
7596 | (remote_start_remote) <all-stop>: Fetch the thread list. If we | |
7597 | found any thread, then select the remote's current thread as GDB's | |
7598 | current thread too. | |
7599 | ||
b7bba001 JB |
7600 | 2014-01-08 Joel Brobecker <brobecker@adacore.com> |
7601 | ||
7602 | * NEWS: Create a new section for the next release branch. | |
7603 | Rename the section of the current branch, now that it has | |
7604 | been cut. | |
7605 | ||
16dfbded JB |
7606 | 2014-01-08 Joel Brobecker <brobecker@adacore.com> |
7607 | ||
7608 | GDB 7.7 branch created (79301218fa0f074c5656db0ec8972a5ddcf91fb5): | |
7609 | * version.in: Bump version to 7.7.50.DATE-cvs. | |
7610 | ||
22c90ac1 YQ |
7611 | 2014-01-08 Yao Qi <yao@codesourcery.com> |
7612 | ||
7613 | * spu-linux-nat.c (spu_symbol_file_add_from_memory): Change | |
7614 | type of 'id' to gdb_byte. Cast 'id' to 'const char *'. | |
7615 | (spu_xfer_partial): Cast 'buf' to 'const char *'. | |
7616 | ||
d64ad97c YQ |
7617 | 2014-01-08 Yao Qi <yao@codesourcery.com> |
7618 | ||
7619 | * spu-linux-nat.c (spu_symbol_file_add_from_memory): Pass | |
7620 | return value of bfd_get_filename to symbol_file_add_from_bfd. | |
7621 | ||
f93ba80c PM |
7622 | 2014-01-08 Pierre Muller <muller@sourceware.org> |
7623 | ||
7624 | Fix PR16201. | |
7625 | * coff-pe-read.c (struct read_pe_section_data): Add index field. | |
7626 | (add_pe_exported_sym): Use SECTION_DATA->INDEX for call | |
7627 | to prim_record_mininal_symbol_and_info. | |
7628 | (add_pe_forwarded_sym): Use known section number of forwarded symbol | |
7629 | in call to prim_record_minimal_symbol_and_info. | |
7630 | (read_pe_exported_syms): Set index field of section_data. | |
7631 | ||
a4d9ba85 AP |
7632 | 2014-01-07 Andrew Pinski <apinski@cavium.com> |
7633 | ||
7634 | * features/aarch64-core.xml (cpsr): Change to be 64bit. | |
7635 | * features/aarch64.c: Regenerate. | |
7636 | ||
1b67eb02 AS |
7637 | 2014-01-07 Andreas Schwab <schwab@linux-m68k.org> |
7638 | ||
7639 | * target.c (return_null): Define. | |
7640 | (update_current_target): Use it instead of return_zero for | |
7641 | functions that return a pointer. | |
7642 | ||
5e3f4fab EBM |
7643 | 2014-01-07 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com> |
7644 | ||
7645 | * source.c (add_path): Fix check for duplicated paths in the previously | |
7646 | included paths. | |
7647 | ||
e2616788 HK |
7648 | 2014-01-07 Honggyu Kim <hong.gyu.kim@lge.com> |
7649 | ||
7650 | * ada-lang.c: Remove duplicated include statements. | |
7651 | * alphabsd-nat.c: Ditto. | |
7652 | * amd64-darwin-tdep.c: Ditto. | |
7653 | * amd64fbsd-nat.c: Ditto. | |
7654 | * auto-load.c: Ditto. | |
7655 | * ax-gdb.c: Ditto. | |
7656 | * breakpoint.c: Ditto. | |
7657 | * dbxread.c: Ditto. | |
7658 | * fork-child.c: Ditto. | |
7659 | * gdb_usleep.c: Ditto. | |
7660 | * i386-darwin-tdep.c: Ditto. | |
7661 | * i386fbsd-nat.c: Ditto. | |
7662 | * infcmd.c: Ditto. | |
7663 | * inferior.c: Ditto. | |
7664 | * jv-lang.c: Ditto. | |
7665 | * linux-nat.c: Ditto. | |
7666 | * linux-tdep.c: Ditto. | |
7667 | * m68kbsd-nat.c: Ditto. | |
7668 | * m68klinux-nat.c: Ditto. | |
7669 | * microblaze-tdep.c: Ditto. | |
7670 | * mips-linux-tdep.c: Ditto. | |
7671 | * mn10300-tdep.c: Ditto. | |
7672 | * nto-tdep.c: Ditto. | |
7673 | * opencl-lang.c: Ditto. | |
7674 | * osdata.c: Ditto. | |
7675 | * printcmd.c: Ditto. | |
7676 | * regcache.c: Ditto. | |
7677 | * remote-m32r-sdi.c: Ditto. | |
7678 | * remote.c: Ditto. | |
7679 | * symfile.c: Ditto. | |
7680 | * symtab.c: Ditto. | |
7681 | * tilegx-linux-nat.c: Ditto. | |
7682 | * tilegx-tdep.c: Ditto. | |
7683 | * tracepoint.c: Ditto. | |
7684 | * valops.c: Ditto. | |
7685 | * vaxbsd-nat.c: Ditto. | |
7686 | * windows-nat.c: Ditto. | |
7687 | * xtensa-tdep.c: Ditto. | |
7688 | ||
bd1f7788 YQ |
7689 | 2014-01-07 Yao Qi <yao@codesourcery.com> |
7690 | ||
7691 | * spu-linux-nat.c (_initialize_spu_nat): Declare. | |
7692 | ||
79301218 JB |
7693 | 2014-01-07 Yao Qi <yao@codesourcery.com> |
7694 | Joel Brobecker <brobecker@adacore.com> | |
7695 | ||
7696 | * aix-thread.c (pdc_read_regs): Cast parameter to uintptr_t. | |
7697 | (pdc_write_regs): Likewise. | |
7698 | (fetch_regs_kernel_thread): Likewise. | |
7699 | (store_regs_kernel_thread): Likewise. | |
7700 | ||
7701 | 2014-01-07 Joel Brobecker <brobecker@adacore.com> | |
7702 | ||
7703 | * ada-varobj.c (ada_varobj_adjust_for_child_access): Convert | |
7704 | tagged type objects to their actual type. | |
7705 | ||
8e355c5d JB |
7706 | 2014-01-07 Joel Brobecker <brobecker@adacore.com> |
7707 | ||
7708 | * ada-valprint.c (print_field_values): Add "language" parameter. | |
7709 | Update calls to print_field_values and print_variant_part. | |
7710 | Pass new parameter "language" in call to val_print instead | |
7711 | of "current_language". Replace call to ada_val_print by call | |
7712 | to val_print. | |
7713 | (print_variant_part): Add "language" parameter. | |
7714 | (ada_val_print_struct_union): Update call to print_field_values. | |
7715 | ||
4fbf5aa5 JB |
7716 | 2014-01-07 Joel Brobecker <brobecker@adacore.com> |
7717 | ||
7718 | * ada-valprint.c (ui_memcpy): Delete. | |
7719 | (ada_print_floating): Update documentation. Add empty line | |
7720 | between between function documentation and implementation. | |
7721 | Delete variable "buffer". Use ui_file_xstrdup in place of | |
7722 | ui_file_put. Minor adjustments following this change. | |
7723 | ||
71855601 JB |
7724 | 2014-01-07 Joel Brobecker <brobecker@adacore.com> |
7725 | ||
7726 | * ada-valprint.c (ada_val_print_string): New function, | |
7727 | extracted from ada_val_print_array. | |
7728 | (ada_val_print_array): Replace extracted code by call | |
7729 | to ada_val_print_string followed by a return. Move | |
7730 | "else" branch to the function's top block. | |
7731 | ||
4eb27a30 JB |
7732 | 2014-01-07 Joel Brobecker <brobecker@adacore.com> |
7733 | ||
7734 | * ada-valprint.c (ada_val_print_array): Move implementation | |
7735 | down. Rename parameter "offset" and "val" into "offset_aligned" | |
7736 | and "original_value" respectively. Add parameter "offset". | |
7737 | ||
34b27950 JB |
7738 | 2014-01-07 Joel Brobecker <brobecker@adacore.com> |
7739 | ||
7740 | * ada-valprint.c (ada_val_print_ref): Rewrite by mostly | |
7741 | re-organizing the code. Change the "???" message printed | |
7742 | when target type is a TYPE_CODE_UNDEF into | |
7743 | "<ref to undefined type>". | |
7744 | ||
079e4591 JB |
7745 | 2014-01-07 Joel Brobecker <brobecker@adacore.com> |
7746 | ||
7747 | * ada-valprint.c (print_record): Delete, implementation inlined... | |
7748 | (ada_val_print_struct_union): ... here. Remove call to | |
7749 | ada_check_typedef in inlined implementation. | |
7750 | ||
8004dfd1 JB |
7751 | 2014-01-07 Joel Brobecker <brobecker@adacore.com> |
7752 | ||
7753 | * ada-valprint.c (ada_val_print_gnat_array): New function, | |
7754 | extracted from ada_val_print_1; | |
7755 | (ada_val_print_ptr, ada_val_print_num, ada_val_print_enum) | |
7756 | (ada_val_print_flt, ada_val_print_struct_union) | |
7757 | (ada_val_print_ref): Likewise. | |
7758 | (ada_val_print_1): Delete variables i and elttype. | |
7759 | Replace extracted-out code by call to corresponding | |
7760 | new functions. | |
7761 | ||
760a2db0 JB |
7762 | 2014-01-07 Joel Brobecker <brobecker@adacore.com> |
7763 | ||
7764 | * ada-valprint.c (ada_val_print_1): Remove call to gdb_flush. | |
7765 | ||
3a92c861 JB |
7766 | 2014-01-07 Joel Brobecker <brobecker@adacore.com> |
7767 | ||
7768 | * ada-valprint.c (ada_val_print_1): Replace calls to | |
7769 | ada_val_print_1 by calls to val_print. | |
7770 | ||
cd1630f9 JB |
7771 | 2014-01-07 Joel Brobecker <brobecker@adacore.com> |
7772 | ||
7773 | * ada-valprint.c (ada_val_print_1): Add parameter "language". | |
7774 | Update calls to self accordingly. Replace calls to c_val_print | |
7775 | by calls to val_print. | |
7776 | ||
bdf779a0 JB |
7777 | 2014-01-07 Joel Brobecker <brobecker@adacore.com> |
7778 | ||
7779 | * ada-valprint.c (print_record): Delete declaration. | |
7780 | (adjust_type_signedness, ada_val_print_1): Likewise. | |
7781 | (ada_val_print): Move function implementation down. | |
7782 | (print_variant_part, print_field_values, print_record): | |
7783 | Move function implementation up. | |
7784 | ||
c0d48811 JB |
7785 | 2014-01-07 Joel Brobecker <brobecker@adacore.com> |
7786 | ||
7787 | * python/py-type.c (typy_get_name): New function. | |
7788 | (type_object_getset): Add entry for attribute "name". | |
7789 | * NEWS: Add entry mentioning this new attribute. | |
7790 | ||
c26e9cbb YQ |
7791 | 2014-01-07 Yao Qi <yao@codesourcery.com> |
7792 | ||
7793 | * gnu-nat.c (set_exceptions_cmd): Remove an empty body 'if' | |
7794 | statement. | |
7795 | ||
0cc6f43d YQ |
7796 | 2014-01-07 Yao Qi <yao@codesourcery.com> |
7797 | ||
7798 | * gnu-nat.c (info_port_rights): Add qualifier const to | |
7799 | argument args. | |
7800 | ||
eec03155 YQ |
7801 | 2014-01-07 Yao Qi <yao@codesourcery.com> |
7802 | ||
7803 | * gnu-nat.c (trace_me): Use 'void' for empty argument list. | |
7804 | ||
f04a82ef YQ |
7805 | 2014-01-07 Yao Qi <yao@codesourcery.com> |
7806 | ||
7807 | * gnu-nat.c (make_inf) Update declaration. | |
7808 | (make_inf): Make it static. | |
7809 | (inf_set_traced): Likewise. | |
7810 | (inf_port_to_thread, inf_task_died_status): Likewise. | |
7811 | ||
d57dda0a YQ |
7812 | 2014-01-07 Yao Qi <yao@codesourcery.com> |
7813 | ||
7814 | * gnu-nat.c (inf_tid_to_proc): Remove declaration. | |
7815 | ||
3aa8c969 YQ |
7816 | 2014-01-07 Yao Qi <yao@codesourcery.com> |
7817 | ||
7818 | * gnu-nat.c (_initialize_gnu_nat): Declare. | |
7819 | ||
94123b4f YQ |
7820 | 2014-01-07 Yao Qi <yao@codesourcery.com> |
7821 | ||
7822 | * gdbarch.sh (byte_order, byte_order_for_code): Change type to | |
7823 | 'enum bfd_endian'. | |
7824 | (struct gdbarch_info) <byte_order>: Change type to | |
7825 | 'enum bfd_endian'. | |
7826 | <byte_order_for_code>: Likewise. | |
7827 | * gdbarch.c, gdbarch.h: Regenerated. | |
7828 | ||
dc81d70a TT |
7829 | 2014-01-06 Sasha Smundak <asmundak@google.com> |
7830 | ||
7831 | * jit.c: (jit_reader_load_command): Fix JIT reader path creation. | |
7832 | ||
cc2f3c35 TT |
7833 | 2014-01-06 Tom Tromey <tromey@redhat.com> |
7834 | ||
7835 | * doublest.c (convert_doublest_to_floatformat): Use const, not | |
7836 | CONST. | |
7837 | * somread.c (som_symtab_read): Likewise. | |
7838 | ||
adcf2eed HZ |
7839 | 2014-01-07 Hui Zhu <hui@codesourcery.com> |
7840 | ||
7841 | * gdb_bfd.c (gdb_bfd_stash_filename): Removed. | |
7842 | (gdb_bfd_open): Removed gdb_bfd_stash_filename. | |
7843 | (gdb_bfd_fopen): Ditto. | |
7844 | (gdb_bfd_openr): Ditto. | |
7845 | (gdb_bfd_openw): Ditto. | |
7846 | (gdb_bfd_openr_iovec): Ditto. | |
7847 | (gdb_bfd_fdopenr): Ditto. | |
7848 | * gdb_bfd.h (gdb_bfd_stash_filename): Removed. | |
7849 | * solib-aix.c (solib_aix_bfd_open): Alloc object_bfd->filename | |
7850 | with xstrdup. | |
7851 | * solib-darwin.c (darwin_bfd_open): Alloc res->filename | |
7852 | with xstrdup. | |
7853 | * symfile-mem.c (symbol_file_add_from_memory): Removed | |
7854 | gdb_bfd_stash_filename. | |
7855 | ||
50722198 DE |
7856 | 2014-01-03 Doug Evans <dje@google.com> |
7857 | ||
7858 | * nat/linux-waitpid.c (linux_debug): Remove extraneous \n from | |
7859 | output. | |
7860 | ||
2fa4b862 JB |
7861 | 2014-01-01 Joel Brobecker <brobecker@adacore.com> |
7862 | ||
7863 | Update year range in copyright notice of all files. | |
7864 | ||
28498c42 JB |
7865 | 2014-01-01 Joel Brobecker <brobecker@adacore.com> |
7866 | ||
7867 | * top.c (print_gdb_version): Set copyright year to 2014. | |
7868 | ||
7b6e1046 JB |
7869 | 2014-01-01 Joel Brobecker <brobecker@adacore.com> |
7870 | ||
7871 | * config/djgpp/fnchange.lst: Add entry for gdb/ChangeLog-2013. | |
7872 | ||
df96af55 | 7873 | For older changes see ChangeLog-2013. |
c906108c SS |
7874 | \f |
7875 | Local Variables: | |
7876 | mode: change-log | |
7877 | left-margin: 8 | |
7878 | fill-column: 74 | |
7879 | version-control: never | |
57da7796 | 7880 | coding: utf-8 |
c906108c | 7881 | End: |