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