Commit | Line | Data |
---|---|---|
84754697 JB |
1 | 2014-08-18 Joel Brobecker <brobecker@adacore.com> |
2 | ||
3 | * ada-lang.c (ada_evaluate_subexp) <OP_VAR_VALUE>: | |
4 | When noside is EVAL_AVOID_SIDE_EFFECTS, only return a statically | |
5 | fixed value for records and unions for which some GNAT encodings | |
6 | are present. | |
7 | ||
da5c522f JB |
8 | 2014-08-18 Joel Brobecker <brobecker@adacore.com> |
9 | ||
10 | * ada-lang.c (ada_evaluate_subexp) <OP_VAR_VALUE>: Slight code | |
11 | rewrite to avoid "else if" and "else" constructs. Should be | |
12 | a no-op in practice. | |
13 | ||
0d72a7c3 JB |
14 | 2014-08-18 Joel Brobecker <brobecker@adacore.com> |
15 | ||
16 | * ada-lang.c (ada_evaluate_subexp) <OP_VAR_VALUE>: Fix identation | |
17 | of lexical block. | |
18 | ||
e66d4446 SC |
19 | 2014-08-15 Siva Chandra Reddy <sivachandra@google.com> |
20 | ||
21 | PR c++/17132 | |
22 | * eval.c: Update all calls to find_overload_match. | |
23 | * valarith.c: Likewise. | |
24 | (value_user_defined_cpp_op, value_user_defined_op): New | |
25 | argument NOSIDE. Update all callers. | |
26 | * valops.c (find_overload_match): New argument NOSIDE. | |
27 | * value.h (find_overload_match): Update signature. | |
28 | ||
940df408 SC |
29 | 2014-08-15 Siva Chandra Reddy <sivachandra@google.com> |
30 | ||
31 | * python/lib/gdb/command/xmethods.py (set_xm_status1): Use the | |
32 | 'items' methods instead of 'iteritems' method on dictionaries. | |
33 | ||
699ca60a DE |
34 | 2014-08-15 Doug Evans <dje@google.com> |
35 | ||
36 | * dwarf2read.c (dwarf_decode_lines_1): Move definition of adj_opcode | |
37 | closer to use. | |
38 | ||
37780ee5 DE |
39 | 2014-08-15 Doug Evans <dje@google.com> |
40 | ||
41 | * dwarf2read.c (dwarf_decode_lines_1): Add comment. | |
42 | ||
0ad93d4f DE |
43 | 2014-08-15 Doug Evans <dje@google.com> |
44 | ||
45 | * dwarf2read.c (dwarf_decode_lines_1): Delete local "column", unused. | |
46 | ||
20d8c372 DE |
47 | 2014-08-15 Doug Evans <dje@google.com> |
48 | ||
49 | * dwarf2read.c (dwarf_decode_lines_1): Delete local basic_block, | |
50 | unused. | |
51 | ||
cb039ba4 EZ |
52 | 2014-08-15 Eli Zaretskii <eliz@gnu.org> |
53 | ||
54 | * dcache.h: Include target.h, to avoid compile time warnings. | |
55 | ||
eb7a547a JB |
56 | 2014-08-15 Joel Brobecker <brobecker@adacore.com> |
57 | ||
58 | * gdbarch.sh: #include "frame.h" in gdbarch.h. Delete "struct | |
59 | frame_info" partial declaration. | |
60 | * gdbarch.h: Regenerate. | |
61 | ||
783cecc8 YQ |
62 | 2014-08-15 Yao Qi <yao@codesourcery.com> |
63 | ||
64 | * dwarf2read.c (dwarf_decode_lines_1): Remove parameter 'pst'. | |
65 | Add parameter 'decode_for_pst_p'. Callers update. | |
66 | ||
65c749e7 YQ |
67 | 2014-08-13 Yao Qi <yao@codesourcery.com> |
68 | ||
69 | PR build/17104 | |
70 | * configure.ac: Use local variable 'pos'. | |
71 | * configure: Regenerated. | |
72 | ||
d769e349 DE |
73 | 2014-08-11 Doug Evans <dje@google.com> |
74 | ||
75 | * solib.c (solib_read_symbols): Delete "Loaded symbols for ..." | |
76 | message, it is redundant with "Reading symbols from ..." message. | |
77 | ||
24f1235e DE |
78 | 2014-08-10 Doug Evans <xdje42@gmail.com> |
79 | ||
80 | * linux-nat.c (linux_nat_thread_address_space): Delete dead code. | |
81 | ||
dcd2e6ef YQ |
82 | 2014-08-09 Yao Qi <yao@codesourcery.com> |
83 | ||
84 | PR remote/9053 | |
85 | * remote.c (remote_xfer_partial): Remove dead code. | |
86 | ||
070bdf0b AA |
87 | 2014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com> |
88 | ||
89 | * ia64-linux-tdep.c: Include "regset.h". | |
90 | (ia64_linux_gregmap, ia64_linux_fpregmap): New register maps. | |
91 | (IA64_LINUX_GREGS_SIZE, IA64_LINUX_FPREGS_SIZE): New macros. | |
92 | (ia64_linux_supply_fpregset): New function. | |
93 | (ia64_linux_gregset, ia64_linux_fpregset): New regsets. | |
94 | (ia64_linux_regset_from_core_section): New function. | |
95 | (ia64_linux_init_abi): Set regset_from_core_section gdbarch | |
96 | method. | |
97 | ||
08f9f542 AA |
98 | 2014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com> |
99 | ||
100 | * m68klinux-tdep.c: Include "regset.h". | |
101 | (m68k_linux_gregmap, m68k_linux_fpregmap): New register maps. | |
102 | (M68K_LINUX_GREGS_SIZE, M68K_LINUX_FPREGS_SIZE): New macros. | |
103 | (m68k_linux_gregset, m68k_linux_fpregset): New regsets. | |
104 | (m68k_linux_regset_from_core_section): New function. | |
105 | (m68k_linux_init_abi): Set regset_from_core_section gdbarch | |
106 | method. | |
107 | ||
8f1cee41 AA |
108 | 2014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com> |
109 | ||
110 | * tilegx-linux-tdep.c (tilegx_linux_supply_regset): Delete | |
111 | function. Move logic to... | |
112 | (tilegx_linux_regmap): ... this new register map. | |
113 | (tilegx_linux_regset): Refer to register map, replace supply | |
114 | method by regcache_supply_regset, and add collect method. | |
115 | * tilegx-tdep.h (enum tilegx_regnum): New enum value | |
116 | TILEGX_FIRST_EASY_REGNUM. | |
117 | ||
c5741217 AA |
118 | 2014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com> |
119 | ||
120 | * score-tdep.c (score7_linux_supply_gregset): Reduce to small stub | |
121 | that calls regcache_supply_regset and handles the EPC register | |
122 | separately. Move main logic to... | |
123 | (score7_linux_gregmap): ... this new register map. | |
124 | (SCORE7_LINUX_SIZEOF_GREGSET, SCORE7_LINUX_EPC_OFFSET): New macros. | |
125 | (score7_linux_gregset): Refer to register map. Add collect method. | |
126 | (score7_linux_regset_from_core_section): Replace | |
127 | sizeof elf_gregset_t by SCORE7_LINUX_SIZEOF_GREGSET. | |
128 | * score-tdep.h (enum gdb_regnum): New enum value SCORE_EPC_REGNUM. | |
129 | (struct regset): Delete unused forward declaraction. | |
130 | (struct pt_regs): Delete structure definition. | |
131 | (elf_gregset_t): Delete typedef. | |
132 | ||
81580573 AA |
133 | 2014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com> |
134 | ||
135 | * nios2-linux-tdep.c (nios2_collect_gregset): New function. | |
136 | (nios2_core_regset): Add collect method. | |
137 | ||
ba199d7d AA |
138 | 2014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com> |
139 | ||
140 | * m32r-linux-tdep.c (m32r_linux_supply_gregset): Make | |
141 | platform-independent and don't write to read-only input buffer. | |
142 | (m32r_linux_collect_gregset): New function. | |
143 | (m32r_linux_gregset): Add collect method. | |
144 | ||
0006a9da AA |
145 | 2014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com> |
146 | ||
147 | * hppa-linux-tdep.c (greg_map): Rename to... | |
148 | (hppa_linux_gregmap): ... this. Also convert to | |
149 | regcache_map_entry format. | |
150 | (hppa_linux_supply_regset): Delete function. | |
151 | (hppa_linux_supply_fpregset): Delete function. Move logic to... | |
152 | (hppa_linux_fpregmap): ... this new register map. | |
153 | (hppa_linux_regset, hppa_linux_fpregset): Refer to appropriate | |
154 | register map, replace supply method by regcache_supply_regset, and | |
155 | add collect method regcache_collect_regset. | |
156 | ||
901e1b23 AA |
157 | 2014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com> |
158 | ||
159 | * frv-linux-tdep.c (FRV_PT_PSR, FRV_PT_ISR, FRV_PT_CCR) | |
160 | (FRV_PT_CCCR, FRV_PT_LR, FRV_PT_LCR, FRV_PT_PC, FRV_PT_GNER0) | |
161 | (FRV_PT_GNER1, FRV_PT_IACC0H, FRV_PT_IACC0L, FRV_PT_GR) | |
162 | (FRV_PT_TBR, FRV_PT_GR, FRV_PT_EXEC_FDPIC_LOADMAP) | |
163 | (FRV_PT_INTERP_FDPIC_LOADMAP): Delete macros. | |
164 | (frv_linux_gregmap, frv_linux_fpregmap): New register maps. | |
165 | (frv_linux_supply_gregset): Replace main logic by call to | |
166 | regcache_supply_regset, but keep clearing gr32-gr63. | |
167 | (frv_linux_supply_fpregset): Delete function. | |
168 | (frv_linux_gregset): Refer to appropriate register map and add | |
169 | regcache_collect_regset as the collect method. | |
170 | (frv_linux_fpregset): Likewise. Also exchange the supply method | |
171 | by regcache_supply_regset. | |
172 | ||
1d6e7555 AA |
173 | 2014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com> |
174 | ||
175 | * alpha-linux-tdep.c (alpha_linux_supply_gregset): Replace logic | |
176 | by call to alpha_supply_int_regs. | |
177 | (alpha_linux_collect_gregset): New function. | |
178 | (alpha_linux_supply_fpregset): Replace logic by call to | |
179 | alpha_supply_fp_regs. | |
180 | (alpha_linux_collect_fpregset): New function. | |
181 | (alpha_linux_gregset, alpha_linux_fpregset): Add collect method. | |
182 | ||
d4d793bf AA |
183 | 2014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com> |
184 | ||
185 | * aarch64-linux-nat.c (fill_gregset, fill_fpregset): Replace logic | |
186 | by call to regcache_collect_regset. | |
187 | (supply_gregset, supply_fpregset): Call regcache_supply_regset | |
188 | instead of aarch64_linux_supply_gregset/_fpregset. | |
189 | * aarch64-linux-tdep.c (AARCH64_LINUX_SIZEOF_GREGSET) | |
190 | (AARCH64_LINUX_SIZEOF_FPREGSET): Delete macros here, move to | |
191 | header file instead. | |
192 | (aarch64_linux_supply_gregset, supply_gregset_from_core) | |
193 | (aarch64_linux_suply_fpregset, supply_fpregset_from_core): Delete | |
194 | functions. Move logic to ... | |
195 | (aarch64_linux_gregmap, aarch64_linux_fpregmap): ... these new | |
196 | register maps. | |
197 | (aarch64_linux_gregset, aarch64_linux_fpregset): Make global, | |
198 | refer to new register maps, replace *_regset_from_core by | |
199 | regcache_supply_regset, and also use regcache_collect_regset. | |
200 | * aarch64-linux-tdep.h: Include "regset.h". | |
201 | (aarch64_linux_supply_gregset, aarch64_linux_supply_fpregset): | |
202 | Delete prototypes. | |
203 | (AARCH64_LINUX_SIZEOF_GREGSET, AARCH64_LINUX_SIZEOF_FPREGSET): New | |
204 | macros, moved from C source file. | |
205 | (aarch64_linux_gregset, aarch64_linux_fpregset): New global | |
206 | variable declarations. | |
207 | ||
99b7da5d AA |
208 | 2014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com> |
209 | ||
210 | * s390-linux-nat.c: Include "regset.h". | |
211 | (regmap_gregset): Delete macro. | |
212 | (s390_64_regmap_gregset): New register map for | |
213 | regcache_supply/_collect_regset. | |
214 | (s390_64_gregset): New regset. | |
215 | (S390_PSWM_OFFSET, S390_PSWA_OFFSET): New macros. | |
216 | (regmap_fpregset): Delete macro. | |
217 | (s390_native_supply, s390_native_collect): Delete functions. | |
218 | (supply_gregset, fill_gregset): Replace s390-specific regmap | |
219 | handling by a call to regcache_supply/_collect_regset. | |
220 | (supply_fpregset, fill_fpregset): Call regcache_supply/ | |
221 | _collect_regset instead of s390_native_supply/_collect. | |
222 | (fetch_regset, store_regset): Likewise. Also change the last | |
223 | parameter to a regset instead of a regmap. | |
224 | (s390_linux_fetch_inferior_registers) | |
225 | (390_linux_store_inferior_registers): Adjust last parameter in | |
226 | calls to fetch_regset and store_regset. | |
227 | * s390-linux-tdep.c (s390_regmap_gregset): Rename to... | |
228 | (s390_gregmap): ... this. Also make static const and convert to | |
229 | regcache_map_entry format. | |
230 | (s390x_regmap_gregset): Delete. | |
231 | (s390_regmap_fpregset): Rename to... | |
232 | (s390_fpregmap): ... this. Make static const and convert to | |
233 | regcache_map_entry format. | |
234 | (s390_regmap_upper, s390_regmap_last_break) | |
235 | (s390x_regmap_last_break, s390_regmap_system_call) | |
236 | (s390_regmap_tdb): Likewise. | |
237 | (s390_supply_regset, s390_collect_regset): Remove functions. | |
238 | (s390_supply_tdb_regset): Call regcache_supply_regset instead of | |
239 | s390_supply_regset. | |
240 | (s390_gregset, s390_fpregset, s390_upper_regset) | |
241 | (s390_last_break_regset, s390x_last_break_regset) | |
242 | (s390_system_call_regset, s390_tdb_regset): Make global and | |
243 | replace s390_supply/_collect_regset by regcache_supply/ | |
244 | _collect_regset. | |
245 | (s390x_gregset): Delete. | |
246 | (s390_gdbarch_init): Replace s390x_gregset by s390_gregset. | |
247 | * s390-linux-tdep.h (s390_regmap_gregset, s390x_regmap_gregset) | |
248 | (s390_regmap_fpregset, s390_regmap_last_break) | |
249 | (s390x_regmap_last_break, s390_regmap_system_call) | |
250 | (s390_regmap_tdb): Delete global variable declarations. | |
251 | (s390_gregset, s390_fpregset, s390_last_break_regset) | |
252 | (s390x_last_break_regset, s390_system_call_regset) | |
253 | (s390_tdb_regset): New global variable declarations. | |
254 | ||
0b309272 AA |
255 | 2014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com> |
256 | ||
257 | * regcache.c: Include "regset.h". | |
258 | (regcache_transfer_regset): New local function. | |
259 | (regcache_supply_regset, regcache_collect_regset): New functions. | |
260 | * regcache.h (struct regcache_map_entry): New structure. | |
261 | (REGCACHE_MAP_SKIP): New enum value. | |
262 | (regcache_supply_regset, regcache_collect_regset): New prototypes. | |
263 | ||
7fefa8d7 AA |
264 | 2014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com> |
265 | ||
266 | * regset.h (struct regset): Rename 'descr' field to 'regmap'. | |
267 | * ppc-linux-tdep.c (ppc_linux_supply_gregset) | |
268 | (ppc_linux_collect_gregset ): Likewise. | |
269 | * rs6000-tdep.c (ppc_supply_gregset, ppc_supply_fpregset) | |
270 | (ppc_supply_vrregset, ppc_collect_gregset, ppc_collect_fpregset) | |
271 | (ppc_collect_vrregset): Likewise. | |
272 | * s390-linux-tdep.c (s390_supply_regset, s390_collect_regset): | |
273 | Likewise. | |
274 | ||
96c4f946 YQ |
275 | 2014-08-07 Yao Qi <yao@codesourcery.com> |
276 | ||
277 | * corelow.c (core_xfer_partial): Replace 0 with TARGET_XFER_EOF. | |
278 | * remote-m32r-sdi.c (m32r_xfer_memory): Likewise. | |
279 | * remote.c (remote_read_bytes): Likewise. | |
280 | ||
fffbe6a8 YQ |
281 | 2014-08-07 Yao Qi <yao@codesourcery.com> |
282 | ||
283 | * dwarf2read.c (struct dwarf2_per_cu_data) <u>: Tweak comments. | |
284 | ||
5ee8a82c YQ |
285 | 2014-08-07 Yao Qi <yao@codesourcery.com> |
286 | ||
287 | PR remote/17230 | |
288 | * remote-mips.c (mips_xfer_memory): Set *xfered_len and return | |
289 | TARGET_XFER_OK instead of 0. | |
290 | ||
bb974a24 GB |
291 | 2014-08-07 Gary Benson <gbenson@redhat.com> |
292 | ||
293 | * common/common-defs.h: Include errno.h. | |
294 | * defs.h: Do not include errno.h. | |
295 | * ada-typeprint.c: Likewise. | |
296 | * c-typeprint.c: Likewise. | |
297 | * core-regset.c: Likewise. | |
298 | * corefile.c: Likewise. | |
299 | * corelow.c: Likewise. | |
300 | * event-loop.c: Likewise. | |
301 | * f-typeprint.c: Likewise. | |
302 | * gnu-nat.c: Likewise. | |
303 | * go32-nat.c: Likewise. | |
304 | * i386gnu-nat.c: Likewise. | |
305 | * m2-typeprint.c: Likewise. | |
306 | * nat/linux-btrace.c: Likewise. | |
307 | * p-typeprint.c: Likewise. | |
308 | * procfs.c: Likewise. | |
309 | * remote-sim.c: Likewise. | |
310 | * rs6000-nat.c: Likewise. | |
311 | * target.c: Likewise. | |
312 | * typeprint.c: Likewise. | |
313 | * ui-file.c: Likewise. | |
314 | * valops.c: Likewise. | |
315 | * valprint.c: Likewise. | |
316 | ||
6d3d12eb GB |
317 | 2014-08-07 Gary Benson <gbenson@redhat.com> |
318 | ||
319 | * common/common-defs.h: Include string.h. | |
320 | * aarch64-tdep.c: Do not include string.h. | |
321 | * ada-exp.y: Likewise. | |
322 | * ada-lang.c: Likewise. | |
323 | * ada-lex.l: Likewise. | |
324 | * ada-typeprint.c: Likewise. | |
325 | * ada-valprint.c: Likewise. | |
326 | * aix-thread.c: Likewise. | |
327 | * alpha-linux-tdep.c: Likewise. | |
328 | * alpha-mdebug-tdep.c: Likewise. | |
329 | * alpha-nat.c: Likewise. | |
330 | * alpha-osf1-tdep.c: Likewise. | |
331 | * alpha-tdep.c: Likewise. | |
332 | * alphanbsd-tdep.c: Likewise. | |
333 | * amd64-dicos-tdep.c: Likewise. | |
334 | * amd64-linux-tdep.c: Likewise. | |
335 | * amd64-nat.c: Likewise. | |
336 | * amd64-sol2-tdep.c: Likewise. | |
337 | * amd64fbsd-tdep.c: Likewise. | |
338 | * amd64obsd-tdep.c: Likewise. | |
339 | * arch-utils.c: Likewise. | |
340 | * arm-linux-nat.c: Likewise. | |
341 | * arm-linux-tdep.c: Likewise. | |
342 | * arm-tdep.c: Likewise. | |
343 | * arm-wince-tdep.c: Likewise. | |
344 | * armbsd-tdep.c: Likewise. | |
345 | * armnbsd-nat.c: Likewise. | |
346 | * armnbsd-tdep.c: Likewise. | |
347 | * armobsd-tdep.c: Likewise. | |
348 | * avr-tdep.c: Likewise. | |
349 | * ax-gdb.c: Likewise. | |
350 | * ax-general.c: Likewise. | |
351 | * bcache.c: Likewise. | |
352 | * bfin-tdep.c: Likewise. | |
353 | * breakpoint.c: Likewise. | |
354 | * build-id.c: Likewise. | |
355 | * buildsym.c: Likewise. | |
356 | * c-exp.y: Likewise. | |
357 | * c-lang.c: Likewise. | |
358 | * c-typeprint.c: Likewise. | |
359 | * c-valprint.c: Likewise. | |
360 | * charset.c: Likewise. | |
361 | * cli-out.c: Likewise. | |
362 | * cli/cli-cmds.c: Likewise. | |
363 | * cli/cli-decode.c: Likewise. | |
364 | * cli/cli-dump.c: Likewise. | |
365 | * cli/cli-interp.c: Likewise. | |
366 | * cli/cli-logging.c: Likewise. | |
367 | * cli/cli-script.c: Likewise. | |
368 | * cli/cli-setshow.c: Likewise. | |
369 | * cli/cli-utils.c: Likewise. | |
370 | * coffread.c: Likewise. | |
371 | * common/agent.c: Likewise. | |
372 | * common/buffer.c: Likewise. | |
373 | * common/buffer.h: Likewise. | |
374 | * common/common-utils.c: Likewise. | |
375 | * common/filestuff.c: Likewise. | |
376 | * common/filestuff.c: Likewise. | |
377 | * common/format.c: Likewise. | |
378 | * common/print-utils.c: Likewise. | |
379 | * common/rsp-low.c: Likewise. | |
380 | * common/signals.c: Likewise. | |
381 | * common/vec.h: Likewise. | |
382 | * common/xml-utils.c: Likewise. | |
383 | * core-regset.c: Likewise. | |
384 | * corefile.c: Likewise. | |
385 | * corelow.c: Likewise. | |
386 | * cp-abi.c: Likewise. | |
387 | * cp-name-parser.y: Likewise. | |
388 | * cp-support.c: Likewise. | |
389 | * cp-valprint.c: Likewise. | |
390 | * cris-tdep.c: Likewise. | |
391 | * d-exp.y: Likewise. | |
392 | * darwin-nat.c: Likewise. | |
393 | * dbxread.c: Likewise. | |
394 | * dcache.c: Likewise. | |
395 | * demangle.c: Likewise. | |
396 | * dicos-tdep.c: Likewise. | |
397 | * disasm.c: Likewise. | |
398 | * doublest.c: Likewise. | |
399 | * dsrec.c: Likewise. | |
400 | * dummy-frame.c: Likewise. | |
401 | * dwarf2-frame.c: Likewise. | |
402 | * dwarf2loc.c: Likewise. | |
403 | * dwarf2read.c: Likewise. | |
404 | * elfread.c: Likewise. | |
405 | * environ.c: Likewise. | |
406 | * eval.c: Likewise. | |
407 | * event-loop.c: Likewise. | |
408 | * exceptions.c: Likewise. | |
409 | * exec.c: Likewise. | |
410 | * expprint.c: Likewise. | |
411 | * f-exp.y: Likewise. | |
412 | * f-lang.c: Likewise. | |
413 | * f-typeprint.c: Likewise. | |
414 | * f-valprint.c: Likewise. | |
415 | * fbsd-nat.c: Likewise. | |
416 | * findcmd.c: Likewise. | |
417 | * findvar.c: Likewise. | |
418 | * fork-child.c: Likewise. | |
419 | * frame.c: Likewise. | |
420 | * frv-linux-tdep.c: Likewise. | |
421 | * frv-tdep.c: Likewise. | |
422 | * gdb.c: Likewise. | |
423 | * gdb_bfd.c: Likewise. | |
424 | * gdbarch.c: Likewise. | |
425 | * gdbarch.sh: Likewise. | |
426 | * gdbtypes.c: Likewise. | |
427 | * gnu-nat.c: Likewise. | |
428 | * gnu-v2-abi.c: Likewise. | |
429 | * gnu-v3-abi.c: Likewise. | |
430 | * go-exp.y: Likewise. | |
431 | * go-lang.c: Likewise. | |
432 | * go32-nat.c: Likewise. | |
433 | * guile/guile.c: Likewise. | |
434 | * guile/scm-auto-load.c: Likewise. | |
435 | * hppa-hpux-tdep.c: Likewise. | |
436 | * hppa-linux-nat.c: Likewise. | |
437 | * hppanbsd-tdep.c: Likewise. | |
438 | * hppaobsd-tdep.c: Likewise. | |
439 | * i386-cygwin-tdep.c: Likewise. | |
440 | * i386-dicos-tdep.c: Likewise. | |
441 | * i386-linux-tdep.c: Likewise. | |
442 | * i386-nto-tdep.c: Likewise. | |
443 | * i386-sol2-tdep.c: Likewise. | |
444 | * i386-tdep.c: Likewise. | |
445 | * i386bsd-tdep.c: Likewise. | |
446 | * i386gnu-nat.c: Likewise. | |
447 | * i386nbsd-tdep.c: Likewise. | |
448 | * i386obsd-tdep.c: Likewise. | |
449 | * i387-tdep.c: Likewise. | |
450 | * ia64-libunwind-tdep.c: Likewise. | |
451 | * ia64-linux-nat.c: Likewise. | |
452 | * inf-child.c: Likewise. | |
453 | * inf-ptrace.c: Likewise. | |
454 | * inf-ttrace.c: Likewise. | |
455 | * infcall.c: Likewise. | |
456 | * infcmd.c: Likewise. | |
457 | * inflow.c: Likewise. | |
458 | * infrun.c: Likewise. | |
459 | * interps.c: Likewise. | |
460 | * iq2000-tdep.c: Likewise. | |
461 | * irix5-nat.c: Likewise. | |
462 | * jv-exp.y: Likewise. | |
463 | * jv-lang.c: Likewise. | |
464 | * jv-typeprint.c: Likewise. | |
465 | * jv-valprint.c: Likewise. | |
466 | * language.c: Likewise. | |
467 | * linux-fork.c: Likewise. | |
468 | * linux-nat.c: Likewise. | |
469 | * lm32-tdep.c: Likewise. | |
470 | * m2-exp.y: Likewise. | |
471 | * m2-typeprint.c: Likewise. | |
472 | * m32c-tdep.c: Likewise. | |
473 | * m32r-linux-nat.c: Likewise. | |
474 | * m32r-linux-tdep.c: Likewise. | |
475 | * m32r-rom.c: Likewise. | |
476 | * m32r-tdep.c: Likewise. | |
477 | * m68hc11-tdep.c: Likewise. | |
478 | * m68k-tdep.c: Likewise. | |
479 | * m68kbsd-tdep.c: Likewise. | |
480 | * m68klinux-nat.c: Likewise. | |
481 | * m68klinux-tdep.c: Likewise. | |
482 | * m88k-tdep.c: Likewise. | |
483 | * machoread.c: Likewise. | |
484 | * macrocmd.c: Likewise. | |
485 | * main.c: Likewise. | |
486 | * mdebugread.c: Likewise. | |
487 | * mem-break.c: Likewise. | |
488 | * memattr.c: Likewise. | |
489 | * memory-map.c: Likewise. | |
490 | * mep-tdep.c: Likewise. | |
491 | * mi/mi-cmd-break.c: Likewise. | |
492 | * mi/mi-cmd-disas.c: Likewise. | |
493 | * mi/mi-cmd-env.c: Likewise. | |
494 | * mi/mi-cmd-stack.c: Likewise. | |
495 | * mi/mi-cmd-var.c: Likewise. | |
496 | * mi/mi-cmds.c: Likewise. | |
497 | * mi/mi-console.c: Likewise. | |
498 | * mi/mi-getopt.c: Likewise. | |
499 | * mi/mi-interp.c: Likewise. | |
500 | * mi/mi-main.c: Likewise. | |
501 | * mi/mi-parse.c: Likewise. | |
502 | * microblaze-rom.c: Likewise. | |
503 | * microblaze-tdep.c: Likewise. | |
504 | * mingw-hdep.c: Likewise. | |
505 | * minidebug.c: Likewise. | |
506 | * minsyms.c: Likewise. | |
507 | * mips-irix-tdep.c: Likewise. | |
508 | * mips-linux-tdep.c: Likewise. | |
509 | * mips-tdep.c: Likewise. | |
510 | * mips64obsd-tdep.c: Likewise. | |
511 | * mipsnbsd-tdep.c: Likewise. | |
512 | * mipsread.c: Likewise. | |
513 | * mn10300-linux-tdep.c: Likewise. | |
514 | * mn10300-tdep.c: Likewise. | |
515 | * monitor.c: Likewise. | |
516 | * moxie-tdep.c: Likewise. | |
517 | * mt-tdep.c: Likewise. | |
518 | * nat/linux-btrace.c: Likewise. | |
519 | * nat/linux-osdata.c: Likewise. | |
520 | * nat/linux-procfs.c: Likewise. | |
521 | * nat/linux-ptrace.c: Likewise. | |
522 | * nat/linux-waitpid.c: Likewise. | |
523 | * nbsd-tdep.c: Likewise. | |
524 | * nios2-linux-tdep.c: Likewise. | |
525 | * nto-procfs.c: Likewise. | |
526 | * nto-tdep.c: Likewise. | |
527 | * objc-lang.c: Likewise. | |
528 | * objfiles.c: Likewise. | |
529 | * opencl-lang.c: Likewise. | |
530 | * osabi.c: Likewise. | |
531 | * osdata.c: Likewise. | |
532 | * p-exp.y: Likewise. | |
533 | * p-lang.c: Likewise. | |
534 | * p-typeprint.c: Likewise. | |
535 | * parse.c: Likewise. | |
536 | * posix-hdep.c: Likewise. | |
537 | * ppc-linux-nat.c: Likewise. | |
538 | * ppc-sysv-tdep.c: Likewise. | |
539 | * ppcfbsd-tdep.c: Likewise. | |
540 | * ppcnbsd-tdep.c: Likewise. | |
541 | * ppcobsd-tdep.c: Likewise. | |
542 | * printcmd.c: Likewise. | |
543 | * procfs.c: Likewise. | |
544 | * prologue-value.c: Likewise. | |
545 | * python/py-auto-load.c: Likewise. | |
546 | * python/py-gdb-readline.c: Likewise. | |
547 | * ravenscar-thread.c: Likewise. | |
548 | * regcache.c: Likewise. | |
549 | * registry.c: Likewise. | |
550 | * remote-fileio.c: Likewise. | |
551 | * remote-m32r-sdi.c: Likewise. | |
552 | * remote-mips.c: Likewise. | |
553 | * remote-notif.c: Likewise. | |
554 | * remote-sim.c: Likewise. | |
555 | * remote.c: Likewise. | |
556 | * reverse.c: Likewise. | |
557 | * rs6000-aix-tdep.c: Likewise. | |
558 | * ser-base.c: Likewise. | |
559 | * ser-go32.c: Likewise. | |
560 | * ser-mingw.c: Likewise. | |
561 | * ser-pipe.c: Likewise. | |
562 | * ser-tcp.c: Likewise. | |
563 | * ser-unix.c: Likewise. | |
564 | * serial.c: Likewise. | |
565 | * sh-tdep.c: Likewise. | |
566 | * sh64-tdep.c: Likewise. | |
567 | * shnbsd-tdep.c: Likewise. | |
568 | * skip.c: Likewise. | |
569 | * sol-thread.c: Likewise. | |
570 | * solib-dsbt.c: Likewise. | |
571 | * solib-frv.c: Likewise. | |
572 | * solib-osf.c: Likewise. | |
573 | * solib-som.c: Likewise. | |
574 | * solib-spu.c: Likewise. | |
575 | * solib-target.c: Likewise. | |
576 | * solib.c: Likewise. | |
577 | * somread.c: Likewise. | |
578 | * source.c: Likewise. | |
579 | * sparc-nat.c: Likewise. | |
580 | * sparc-sol2-tdep.c: Likewise. | |
581 | * sparc-tdep.c: Likewise. | |
582 | * sparc64-tdep.c: Likewise. | |
583 | * sparc64fbsd-tdep.c: Likewise. | |
584 | * sparc64nbsd-tdep.c: Likewise. | |
585 | * sparcnbsd-tdep.c: Likewise. | |
586 | * spu-linux-nat.c: Likewise. | |
587 | * spu-multiarch.c: Likewise. | |
588 | * spu-tdep.c: Likewise. | |
589 | * stabsread.c: Likewise. | |
590 | * stack.c: Likewise. | |
591 | * std-regs.c: Likewise. | |
592 | * symfile.c: Likewise. | |
593 | * symmisc.c: Likewise. | |
594 | * symtab.c: Likewise. | |
595 | * target.c: Likewise. | |
596 | * thread.c: Likewise. | |
597 | * tilegx-linux-nat.c: Likewise. | |
598 | * tilegx-tdep.c: Likewise. | |
599 | * top.c: Likewise. | |
600 | * tracepoint.c: Likewise. | |
601 | * tui/tui-command.c: Likewise. | |
602 | * tui/tui-data.c: Likewise. | |
603 | * tui/tui-disasm.c: Likewise. | |
604 | * tui/tui-file.c: Likewise. | |
605 | * tui/tui-layout.c: Likewise. | |
606 | * tui/tui-out.c: Likewise. | |
607 | * tui/tui-regs.c: Likewise. | |
608 | * tui/tui-source.c: Likewise. | |
609 | * tui/tui-stack.c: Likewise. | |
610 | * tui/tui-win.c: Likewise. | |
611 | * tui/tui-windata.c: Likewise. | |
612 | * tui/tui-winsource.c: Likewise. | |
613 | * typeprint.c: Likewise. | |
614 | * ui-file.c: Likewise. | |
615 | * ui-out.c: Likewise. | |
616 | * user-regs.c: Likewise. | |
617 | * utils.c: Likewise. | |
618 | * v850-tdep.c: Likewise. | |
619 | * valarith.c: Likewise. | |
620 | * valops.c: Likewise. | |
621 | * valprint.c: Likewise. | |
622 | * value.c: Likewise. | |
623 | * varobj.c: Likewise. | |
624 | * vax-tdep.c: Likewise. | |
625 | * vaxnbsd-tdep.c: Likewise. | |
626 | * vaxobsd-tdep.c: Likewise. | |
627 | * windows-nat.c: Likewise. | |
628 | * xcoffread.c: Likewise. | |
629 | * xml-support.c: Likewise. | |
630 | * xstormy16-tdep.c: Likewise. | |
631 | * xtensa-linux-nat.c: Likewise. | |
632 | ||
dccbb609 GB |
633 | 2014-08-07 Gary Benson <gbenson@redhat.com> |
634 | ||
635 | * common/common-defs.h: Include gdb_assert.h. | |
636 | * aarch64-tdep.c: Do not include gdb_assert.h. | |
637 | * addrmap.c: Likewise. | |
638 | * aix-thread.c: Likewise. | |
639 | * alpha-linux-tdep.c: Likewise. | |
640 | * alpha-mdebug-tdep.c: Likewise. | |
641 | * alphanbsd-tdep.c: Likewise. | |
642 | * amd64-nat.c: Likewise. | |
643 | * amd64-tdep.c: Likewise. | |
644 | * amd64bsd-nat.c: Likewise. | |
645 | * amd64fbsd-nat.c: Likewise. | |
646 | * amd64fbsd-tdep.c: Likewise. | |
647 | * amd64nbsd-nat.c: Likewise. | |
648 | * amd64nbsd-tdep.c: Likewise. | |
649 | * amd64obsd-nat.c: Likewise. | |
650 | * amd64obsd-tdep.c: Likewise. | |
651 | * arch-utils.c: Likewise. | |
652 | * arm-tdep.c: Likewise. | |
653 | * armbsd-tdep.c: Likewise. | |
654 | * auxv.c: Likewise. | |
655 | * bcache.c: Likewise. | |
656 | * bfin-tdep.c: Likewise. | |
657 | * blockframe.c: Likewise. | |
658 | * breakpoint.c: Likewise. | |
659 | * bsd-kvm.c: Likewise. | |
660 | * bsd-uthread.c: Likewise. | |
661 | * buildsym.c: Likewise. | |
662 | * c-exp.y: Likewise. | |
663 | * c-lang.c: Likewise. | |
664 | * charset.c: Likewise. | |
665 | * cleanups.c: Likewise. | |
666 | * cli-out.c: Likewise. | |
667 | * cli/cli-decode.c: Likewise. | |
668 | * cli/cli-dump.c: Likewise. | |
669 | * cli/cli-logging.c: Likewise. | |
670 | * cli/cli-script.c: Likewise. | |
671 | * cli/cli-utils.c: Likewise. | |
672 | * coffread.c: Likewise. | |
673 | * common/common-utils.c: Likewise. | |
674 | * common/queue.h: Likewise. | |
675 | * common/signals.c: Likewise. | |
676 | * common/vec.h: Likewise. | |
677 | * complaints.c: Likewise. | |
678 | * completer.c: Likewise. | |
679 | * corelow.c: Likewise. | |
680 | * cp-abi.c: Likewise. | |
681 | * cp-name-parser.y: Likewise. | |
682 | * cp-namespace.c: Likewise. | |
683 | * cp-support.c: Likewise. | |
684 | * cris-tdep.c: Likewise. | |
685 | * dbxread.c: Likewise. | |
686 | * dictionary.c: Likewise. | |
687 | * doublest.c: Likewise. | |
688 | * dsrec.c: Likewise. | |
689 | * dummy-frame.c: Likewise. | |
690 | * dwarf2-frame-tailcall.c: Likewise. | |
691 | * dwarf2-frame.c: Likewise. | |
692 | * dwarf2expr.c: Likewise. | |
693 | * dwarf2loc.c: Likewise. | |
694 | * dwarf2read.c: Likewise. | |
695 | * eval.c: Likewise. | |
696 | * event-loop.c: Likewise. | |
697 | * exceptions.c: Likewise. | |
698 | * expprint.c: Likewise. | |
699 | * f-valprint.c: Likewise. | |
700 | * fbsd-nat.c: Likewise. | |
701 | * findvar.c: Likewise. | |
702 | * frame-unwind.c: Likewise. | |
703 | * frame.c: Likewise. | |
704 | * frv-tdep.c: Likewise. | |
705 | * gcore.c: Likewise. | |
706 | * gdb-dlfcn.c: Likewise. | |
707 | * gdb_bfd.c: Likewise. | |
708 | * gdbarch.c: Likewise. | |
709 | * gdbarch.sh: Likewise. | |
710 | * gdbtypes.c: Likewise. | |
711 | * gnu-nat.c: Likewise. | |
712 | * gnu-v3-abi.c: Likewise. | |
713 | * go-lang.c: Likewise. | |
714 | * guile/scm-exception.c: Likewise. | |
715 | * guile/scm-gsmob.c: Likewise. | |
716 | * guile/scm-lazy-string.c: Likewise. | |
717 | * guile/scm-math.c: Likewise. | |
718 | * guile/scm-pretty-print.c: Likewise. | |
719 | * guile/scm-safe-call.c: Likewise. | |
720 | * guile/scm-utils.c: Likewise. | |
721 | * guile/scm-value.c: Likewise. | |
722 | * h8300-tdep.c: Likewise. | |
723 | * hppa-hpux-nat.c: Likewise. | |
724 | * hppa-tdep.c: Likewise. | |
725 | * hppanbsd-tdep.c: Likewise. | |
726 | * hppaobsd-tdep.c: Likewise. | |
727 | * i386-darwin-nat.c: Likewise. | |
728 | * i386-darwin-tdep.c: Likewise. | |
729 | * i386-nto-tdep.c: Likewise. | |
730 | * i386-tdep.c: Likewise. | |
731 | * i386bsd-nat.c: Likewise. | |
732 | * i386fbsd-tdep.c: Likewise. | |
733 | * i386gnu-nat.c: Likewise. | |
734 | * i386nbsd-tdep.c: Likewise. | |
735 | * i386obsd-tdep.c: Likewise. | |
736 | * i387-tdep.c: Likewise. | |
737 | * ia64-libunwind-tdep.c: Likewise. | |
738 | * ia64-tdep.c: Likewise. | |
739 | * inf-ptrace.c: Likewise. | |
740 | * inf-ttrace.c: Likewise. | |
741 | * infcall.c: Likewise. | |
742 | * infcmd.c: Likewise. | |
743 | * infrun.c: Likewise. | |
744 | * inline-frame.c: Likewise. | |
745 | * interps.c: Likewise. | |
746 | * jv-lang.c: Likewise. | |
747 | * jv-typeprint.c: Likewise. | |
748 | * linux-fork.c: Likewise. | |
749 | * linux-nat.c: Likewise. | |
750 | * linux-thread-db.c: Likewise. | |
751 | * m32c-tdep.c: Likewise. | |
752 | * m32r-linux-nat.c: Likewise. | |
753 | * m32r-tdep.c: Likewise. | |
754 | * m68k-tdep.c: Likewise. | |
755 | * m68kbsd-nat.c: Likewise. | |
756 | * m68kbsd-tdep.c: Likewise. | |
757 | * m88k-tdep.c: Likewise. | |
758 | * machoread.c: Likewise. | |
759 | * macroexp.c: Likewise. | |
760 | * macrotab.c: Likewise. | |
761 | * maint.c: Likewise. | |
762 | * mdebugread.c: Likewise. | |
763 | * memory-map.c: Likewise. | |
764 | * mep-tdep.c: Likewise. | |
765 | * mi/mi-common.c: Likewise. | |
766 | * microblaze-tdep.c: Likewise. | |
767 | * mingw-hdep.c: Likewise. | |
768 | * mips-linux-nat.c: Likewise. | |
769 | * mips-linux-tdep.c: Likewise. | |
770 | * mips-tdep.c: Likewise. | |
771 | * mips64obsd-tdep.c: Likewise. | |
772 | * mipsnbsd-tdep.c: Likewise. | |
773 | * mn10300-linux-tdep.c: Likewise. | |
774 | * mn10300-tdep.c: Likewise. | |
775 | * moxie-tdep.c: Likewise. | |
776 | * mt-tdep.c: Likewise. | |
777 | * nat/linux-btrace.c: Likewise. | |
778 | * nat/linux-osdata.c: Likewise. | |
779 | * nat/linux-ptrace.c: Likewise. | |
780 | * nat/mips-linux-watch.c: Likewise. | |
781 | * nios2-linux-tdep.c: Likewise. | |
782 | * nios2-tdep.c: Likewise. | |
783 | * objc-lang.c: Likewise. | |
784 | * objfiles.c: Likewise. | |
785 | * obsd-nat.c: Likewise. | |
786 | * opencl-lang.c: Likewise. | |
787 | * osabi.c: Likewise. | |
788 | * parse.c: Likewise. | |
789 | * ppc-linux-nat.c: Likewise. | |
790 | * ppc-sysv-tdep.c: Likewise. | |
791 | * ppcfbsd-nat.c: Likewise. | |
792 | * ppcfbsd-tdep.c: Likewise. | |
793 | * ppcnbsd-nat.c: Likewise. | |
794 | * ppcnbsd-tdep.c: Likewise. | |
795 | * ppcobsd-nat.c: Likewise. | |
796 | * ppcobsd-tdep.c: Likewise. | |
797 | * printcmd.c: Likewise. | |
798 | * procfs.c: Likewise. | |
799 | * prologue-value.c: Likewise. | |
800 | * psymtab.c: Likewise. | |
801 | * python/py-lazy-string.c: Likewise. | |
802 | * python/py-value.c: Likewise. | |
803 | * regcache.c: Likewise. | |
804 | * reggroups.c: Likewise. | |
805 | * registry.c: Likewise. | |
806 | * remote-sim.c: Likewise. | |
807 | * remote.c: Likewise. | |
808 | * rs6000-aix-tdep.c: Likewise. | |
809 | * rs6000-tdep.c: Likewise. | |
810 | * s390-linux-tdep.c: Likewise. | |
811 | * score-tdep.c: Likewise. | |
812 | * ser-base.c: Likewise. | |
813 | * ser-mingw.c: Likewise. | |
814 | * sh-tdep.c: Likewise. | |
815 | * sh64-tdep.c: Likewise. | |
816 | * solib-darwin.c: Likewise. | |
817 | * solib-spu.c: Likewise. | |
818 | * solib-svr4.c: Likewise. | |
819 | * source.c: Likewise. | |
820 | * sparc-nat.c: Likewise. | |
821 | * sparc-sol2-tdep.c: Likewise. | |
822 | * sparc-tdep.c: Likewise. | |
823 | * sparc64-sol2-tdep.c: Likewise. | |
824 | * sparc64-tdep.c: Likewise. | |
825 | * sparc64fbsd-tdep.c: Likewise. | |
826 | * sparc64nbsd-tdep.c: Likewise. | |
827 | * sparc64obsd-tdep.c: Likewise. | |
828 | * sparcnbsd-tdep.c: Likewise. | |
829 | * sparcobsd-tdep.c: Likewise. | |
830 | * spu-multiarch.c: Likewise. | |
831 | * spu-tdep.c: Likewise. | |
832 | * stabsread.c: Likewise. | |
833 | * stack.c: Likewise. | |
834 | * symfile.c: Likewise. | |
835 | * symtab.c: Likewise. | |
836 | * target-descriptions.c: Likewise. | |
837 | * target-memory.c: Likewise. | |
838 | * target.c: Likewise. | |
839 | * tic6x-linux-tdep.c: Likewise. | |
840 | * tic6x-tdep.c: Likewise. | |
841 | * tilegx-linux-nat.c: Likewise. | |
842 | * tilegx-tdep.c: Likewise. | |
843 | * top.c: Likewise. | |
844 | * tramp-frame.c: Likewise. | |
845 | * tui/tui-out.c: Likewise. | |
846 | * tui/tui-winsource.c: Likewise. | |
847 | * ui-out.c: Likewise. | |
848 | * user-regs.c: Likewise. | |
849 | * utils.c: Likewise. | |
850 | * v850-tdep.c: Likewise. | |
851 | * valops.c: Likewise. | |
852 | * value.c: Likewise. | |
853 | * varobj.c: Likewise. | |
854 | * vax-nat.c: Likewise. | |
855 | * xml-syscall.c: Likewise. | |
856 | * xml-tdesc.c: Likewise. | |
857 | * xstormy16-tdep.c: Likewise. | |
858 | * xtensa-linux-nat.c: Likewise. | |
859 | * xtensa-tdep.c: Likewise. | |
860 | ||
e76df0d0 GB |
861 | 2014-08-07 Gary Benson <gbenson@redhat.com> |
862 | ||
863 | * common/common-defs.h: Include common-utils.h. | |
864 | * defs.h: Do not include common-utils.h. | |
865 | * common/gdb_assert.h: Likewise. | |
866 | * darwin-nat.h: Likewise. | |
867 | * nat/linux-btrace.c: Likewise. | |
868 | * target/waitstatus.h: Likewise. | |
869 | ||
4cb9c816 GB |
870 | 2014-08-07 Gary Benson <gbenson@redhat.com> |
871 | ||
872 | * common/common-defs.h: Include ptid.h. | |
873 | * defs.h: Do not include ptid.h. | |
874 | * inferior.h: Likewise. | |
875 | * infrun.h: Likewise. | |
876 | * nat/linux-btrace.h: Likewise. | |
877 | * nat/linux-osdata.h: Likewise. | |
878 | * target/waitstatus.h: Likewise. | |
879 | ||
3995eeee GB |
880 | 2014-08-07 Gary Benson <gbenson@redhat.com> |
881 | ||
882 | * common/common-defs.h: Include gdb_locale.h. | |
883 | * defs.h: Do not include gdb_locale.h. | |
884 | ||
cb9f1a9b GB |
885 | 2014-08-07 Gary Benson <gbenson@redhat.com> |
886 | ||
887 | * common/common-defs.h: Include gdb/signals.h. | |
888 | * defs.h: Do not include gdb/signals.h. | |
889 | ||
a5fceff8 GB |
890 | 2014-08-07 Gary Benson <gbenson@redhat.com> |
891 | ||
892 | * common/common-defs.h: Include pathmax.h. | |
893 | * defs.h: Do not include pathmax.h. | |
894 | ||
b9391142 GB |
895 | 2014-08-07 Gary Benson <gbenson@redhat.com> |
896 | ||
897 | * common/common-defs.h: Include libiberty.h. | |
898 | * defs.h: Do not include libiberty.h. | |
899 | * common/queue.h: Likewise. | |
900 | * cp-name-parser.y: Likewise. | |
901 | * mi/mi-cmd-catch.c: Likewise. | |
902 | * python/python.c: Likewise. | |
903 | ||
0e443c87 GB |
904 | 2014-08-07 Gary Benson <gbenson@redhat.com> |
905 | ||
906 | * common/common-defs.h: Include ansidecl.h. | |
907 | * defs.h: Do not include ansidecl.h. | |
908 | * common/buffer.h: Likewise. | |
909 | * common/common-utils.h: Likewise. | |
910 | ||
8ebb3f56 GB |
911 | 2014-08-07 Gary Benson <gbenson@redhat.com> |
912 | ||
913 | * common/common-defs.h: Include stddef.h. | |
914 | * defs.h: Do not include stddef.h. | |
915 | * common/common-utils.h: Likewise. | |
916 | * amd64fbsd-nat.c: Likewise. | |
917 | * bcache.c: Likewise. | |
918 | * charset.c: Likewise. | |
919 | * common/buffer.h: Likewise. | |
920 | * common/vec.h: Likewise. | |
921 | * i386bsd-nat.c: Likewise. | |
922 | * nat/linux-btrace.h: Likewise. | |
923 | * ppcfbsd-nat.c: Likewise. | |
924 | * ppcnbsd-tdep.h: Likewise. | |
925 | * ppcobsd-nat.c: Likewise. | |
926 | * ppcobsd-tdep.h: Likewise. | |
927 | * python/py-gdb-readline.c: Likewise. | |
928 | ||
8980bdf6 GB |
929 | 2014-08-07 Gary Benson <gbenson@redhat.com> |
930 | ||
931 | * common/common-defs.h: Include stdarg.h. | |
932 | * defs.h: Do not include stdarg.h. | |
933 | * ada-lang.c: Likewise. | |
934 | * common/common-utils.h: Likewise. | |
935 | * guile/scm-string.c: Likewise. | |
936 | * guile/scm-utils.c: Likewise. | |
937 | * m32c-tdep.c: Likewise. | |
938 | ||
d7096f71 GB |
939 | 2014-08-07 Gary Benson <gbenson@redhat.com> |
940 | ||
941 | * common/common-defs.h: Include stdlib.h. | |
942 | * defs.h: Do not include stdlib.h. | |
943 | * addrmap.c: Likewise. | |
944 | * bcache.c: Likewise. | |
945 | * common/buffer.c: Likewise. | |
946 | * common/common-utils.c: Likewise. | |
947 | * cp-name-parser.y: Likewise. | |
948 | * go32-nat.c: Likewise. | |
949 | * mn10300-linux-tdep.c: Likewise. | |
950 | * nat/linux-osdata.c: Likewise. | |
951 | * tui/tui.c: Likewise. | |
952 | * windows-nat.c: Likewise. | |
953 | ||
d02f550d GB |
954 | 2014-08-07 Gary Benson <gbenson@redhat.com> |
955 | ||
956 | * common/common-defs.h: Include stdio.h. | |
957 | * defs.h: Do not include stdio.h. | |
958 | * ada-lang.c: Likewise. | |
959 | * common/buffer.c: Likewise. | |
960 | * common/common-utils.c: Likewise. | |
961 | * cp-name-parser.y: Likewise. | |
962 | * gnu-nat.c: Likewise. | |
963 | * go32-nat.c: Likewise. | |
964 | * i386gnu-nat.c: Likewise. | |
965 | * proc-api.c: Likewise. | |
966 | * proc-events.c: Likewise. | |
967 | * proc-flags.c: Likewise. | |
968 | * proc-why.c: Likewise. | |
969 | * python/python-internal.h: Likewise. | |
970 | * target-memory.c: Likewise. | |
971 | * tui/tui-io.c: Likewise. | |
972 | * tui/tui.c: Likewise. | |
973 | ||
b6d7a4bf SM |
974 | 2014-08-06 Simon Marchi <simon.marchi@ericsson.com> |
975 | ||
976 | * solib-svr4.c (scan_dyntag): Rename dyntag and dyn_tag variables. | |
977 | (scan_dyntag_auxv): Same. | |
978 | ||
af19829b YQ |
979 | 2014-08-06 Yao Qi <yao@codesourcery.com> |
980 | ||
981 | * amd64-linux-nat.c: Remove duplicated include | |
982 | "x86-linux-nat.h". | |
983 | * i386-linux-nat.c: Likewise. | |
984 | ||
8e07a239 YQ |
985 | 2014-08-06 Yao Qi <yao@codesourcery.com> |
986 | ||
987 | * dwarf2read.c (dwarf_decode_lines_1): Replace "Special | |
988 | operand" with "Special opcode" in comments. | |
989 | ||
7bfe8241 GB |
990 | 2014-08-05 Gary Benson <gbenson@redhat.com> |
991 | ||
992 | * interps.c (initialize_interps): Remove prototype. | |
993 | (interpreter_initialized): Remove static global. | |
994 | (interp_add): Do not call initialize_interps. | |
995 | (initialize_interps): Remove function. | |
996 | ||
d6c95504 GB |
997 | 2014-08-05 Gary Benson <gbenson@redhat.com> |
998 | ||
999 | * utils.c (vwarning): Remove spurious va_end. | |
1000 | ||
241fd515 AM |
1001 | 2014-08-05 Alan Modra <amodra@gmail.com> |
1002 | ||
1003 | * charset.c (convert_between_encodings): Cast result of obstack_base. | |
1004 | * cp-valprint.c (cp_print_value_fields): Use size_t locals. | |
1005 | * hppa-tdep.c (internalize_unwinds): Change "size" parm to size_t. | |
1006 | (read_unwind_info): Use size_t for some locals. | |
1007 | * jit.c (finalize_symtab): Likewise. | |
1008 | * utils.c (hashtab_obstack_allocate): Likewise. | |
1009 | * symmisc.c (print_objfile_statistics): Update format strings. | |
1010 | ||
dc304a94 JK |
1011 | 2014-08-04 Jan Kratochvil <jan.kratochvil@redhat.com> |
1012 | ||
1013 | * NEWS (Changes in GDB-4.0): Move Intel MPX and Intel AVX-512 items ... | |
1014 | (Changes in GDB 7.8): ... here. | |
1015 | ||
3cecbbbe TT |
1016 | 2014-08-04 Tom Tromey <tromey@redhat.com> |
1017 | ||
1018 | * target.c (set_targetdebug): New function. | |
1019 | (initialize_targets): Pass set_targetdebug when creating "set | |
1020 | debug target". | |
1021 | ||
6908c509 JB |
1022 | 2014-08-01 Joel Brobecker <brobecker@adacore.com> |
1023 | ||
1024 | * gdbtypes.c (resolve_dynamic_struct): Do not generate an error | |
1025 | if detecting a variable-sized field that is not the last field. | |
1026 | Fix struct type length computation. | |
1027 | ||
53e8f97d JB |
1028 | 2014-08-01 Joel Brobecker <brobecker@adacore.com> |
1029 | ||
1030 | * amd64-windows-tdep.c (amd64_windows_frame_decode_insns): | |
1031 | Add debug trace. | |
1032 | ||
e068c55d JB |
1033 | 2014-08-01 Joel Brobecker <brobecker@adacore.com> |
1034 | ||
1035 | * amd64-windows-tdep.c (amd64_windows_frame_decode_insns): | |
1036 | Remove "+ 8" offset in computation of CHAIN_VMA. | |
1037 | ||
4d4ca2a1 DE |
1038 | 2014-07-31 Doug Evans <dje@google.com> |
1039 | ||
1040 | * inflow.c (child_terminal_inferior): Add comment. | |
1041 | (child_terminal_ours_for_output): Add comment. | |
1042 | (child_terminal_ours): Add comment. | |
1043 | * linux-nat.c (linux_nat_terminal_inferior): Add comment. | |
1044 | (linux_nat_terminal_ours): Add comment. | |
1045 | ||
462f517e GB |
1046 | 2014-07-31 Gary Benson <gbenson@redhat.com> |
1047 | ||
1048 | * common/btrace-common.h: Do not include defs.h or server.h. | |
1049 | * nat/mips-linux-watch.h: Likewise. | |
1050 | * gdb-dlfcn.h: Do not include defs.h. | |
1051 | * tracefile.h: Likewise. | |
1052 | ||
74228e77 RM |
1053 | 2014-07-30 Roland McGrath <mcgrathr@google.com> |
1054 | ||
1055 | * remote-sim.c (gdbsim_open): Apply constification to forward decl. | |
1056 | ||
014f9477 TT |
1057 | 2014-07-30 Tom Tromey <tromey@redhat.com> |
1058 | ||
1059 | * bsd-kvm.c (bsd_kvm_open): Constify. | |
1060 | * corelow.c (core_open): Constify. | |
1061 | * ctf.c (ctf_open): Constify. | |
1062 | * dbug-rom.c (dbug_open): Constify. | |
1063 | * exec.c (exec_open): Constify. | |
1064 | * m32r-rom.c (m32r_open, mon2000_open): Constify. | |
1065 | * microblaze-rom.c (picobug_open): Constify. | |
1066 | * nto-procfs.c (procfs_open_1, procfs_open, procfs_native_open): | |
1067 | Constify. | |
1068 | * ppcbug-rom.c (ppcbug_open0, ppcbug_open1): Constify. | |
1069 | * record-btrace.c (record_btrace_open): Constify. | |
1070 | * record-full.c (record_full_core_open_1, record_full_open_1) | |
1071 | (record_full_open): Constify. | |
1072 | * remote-m32r-sdi.c (m32r_open): Constify. | |
1073 | * remote-mips.c (common_open, mips_open, pmon_open, ddb_open) | |
1074 | (rockhopper_open, lsi_open): Constify. | |
1075 | * remote-sim.c (gdbsim_open): Constify. | |
1076 | * remote.c (remote_open, extended_remote_open, remote_open_1): | |
1077 | Constify. | |
1078 | * target.h (struct target_ops) <to_open>: Make "arg" const. | |
1079 | * tracefile-tfile.c (tfile_open): Constify. | |
1080 | ||
e799154c TT |
1081 | 2014-07-30 Tom Tromey <tromey@redhat.com> |
1082 | ||
1083 | * breakpoint.c (map_breakpoint_numbers): Update. | |
1084 | * cli/cli-utils.c (get_number_trailer): Make "pp" const. Update. | |
1085 | (get_number_const): New function. | |
1086 | (get_number): Rewrite using get_number_const. | |
1087 | (init_number_or_range): Make "string" const. | |
1088 | (number_is_in_list): Make "list" const. | |
1089 | * cli/cli-utils.h (get_number_const): Declare. | |
1090 | (struct get_number_or_range_state) <string, end_ptr>: Now const. | |
1091 | (init_number_or_range, number_is_in_list): Update. | |
1092 | * printcmd.c (map_display_numbers): Update. | |
1093 | * value.c (value_from_history_ref): Constify. | |
1094 | * value.h (value_from_history_ref): Update. | |
1095 | ||
5f08566b TT |
1096 | 2014-07-30 Tom Tromey <tromey@redhat.com> |
1097 | ||
1098 | * corefile.c (hook_type, call_extra_exec_file_hooks) | |
1099 | (specify_exec_file_hook): Constify. | |
1100 | * exec.c (exec_file_attach): Make "filename" const. | |
1101 | * gdbcore.h (deprecated_exec_file_display_hook) | |
1102 | (specify_exec_file_hook, exec_file_attach): Constify. | |
1103 | * main.c (captured_main): Use catch_command_errors_const. | |
1104 | ||
8981c758 TT |
1105 | 2014-07-30 Tom Tromey <tromey@redhat.com> |
1106 | ||
1107 | * target.c (open_target): New function. | |
1108 | (add_target_with_completer, add_deprecated_target_alias): Use | |
1109 | set_cmd_sfunc, set_cmd_context. | |
1110 | (debug_to_open): Remove. | |
1111 | (setup_target_debug): Update. | |
1112 | ||
a1c7835a YQ |
1113 | 2014-07-30 Yao Qi <yao@codesourcery.com> |
1114 | ||
1115 | * parser-defs.h (struct exp_descriptor) <operator_check>: Update | |
1116 | comments. | |
1117 | * parse.c (exp_iterate): Update comments. | |
1118 | ||
976411d6 GB |
1119 | 2014-07-30 Gary Benson <gbenson@redhat.com> |
1120 | ||
1121 | * common/common-defs.h: New file. | |
1122 | * Makefile.in (HFILES_NO_SRCDIR): Add common/common-defs.h. | |
1123 | * defs.h: Include common-defs.h. | |
1124 | Do not include config.h or build-gnulib/config.h. | |
1125 | ||
5d4848a4 GB |
1126 | 2014-07-30 Gary Benson <gbenson@redhat.com> |
1127 | ||
1128 | * common/common-utils.h: Do not include config.h. | |
1129 | * nat/linux-btrace.h: Likewise. | |
1130 | ||
d41f6d8e GB |
1131 | 2014-07-30 Gary Benson <gbenson@redhat.com> |
1132 | ||
1133 | * btrace.c: Include defs.h. | |
1134 | * common/ptid.c: Include defs.h or server.h as appropriate. | |
1135 | * nat/mips-linux-watch.c: Likewise. | |
1136 | ||
84202f9c TT |
1137 | 2014-07-29 Tom Tromey <tromey@redhat.com> |
1138 | ||
1139 | * target.c (target_is_pushed): Simplify. | |
1140 | ||
2530441c JB |
1141 | 2014-07-29 Joel Brobecker <brobecker@adacore.com> |
1142 | ||
1143 | GDB 7.8 released. | |
1144 | ||
7e09a223 YQ |
1145 | 2014-07-29 Yao Qi <yao@codesourcery.com> |
1146 | ||
1147 | PR gdb/17206 | |
1148 | * infcmd.c (until_next_command): Set step_range_end to PC + 1. | |
1149 | ||
7ebdbe92 DE |
1150 | 2014-07-28 Doug Evans <xdje42@gmail.com> |
1151 | ||
1152 | PR guile/17203 | |
1153 | * guile/scm-param.c (pascm_parameter_defined_p): New function. | |
1154 | (gdbscm_register_parameter_x): Call it. Raise error for pre-existing | |
1155 | parameters. | |
1156 | ||
f347ffc9 WN |
1157 | 2014-07-28 Will Newton <will.newton@linaro.org> |
1158 | ||
1159 | * arm-linux-tdep.c (THUMB2_SET_R7_SIGRETURN1): New define. | |
1160 | (THUMB2_SET_R7_SIGRETURN2): Likewise. | |
1161 | (THUMB2_SET_R7_RT_SIGRETURN1): Likewise. | |
1162 | (THUMB2_SET_R7_RT_SIGRETURN2): Likewise. | |
1163 | (THUMB2_EABI_SYSCALL): Likewise. | |
1164 | (thumb2_eabi_linux_sigreturn_tramp_frame): Create new | |
1165 | struct tramp_frame. | |
1166 | (thumb2_eabi_linux_rt_sigreturn_tramp_frame): Likewise. | |
1167 | (arm_linux_init_abi): Add Thumb2 tramp frame unwinders. | |
1168 | ||
37c5f1f7 DE |
1169 | 2014-07-27 Doug Evans <xdje42@gmail.com> |
1170 | ||
1171 | * guile/scm-param.c (pascm_print_param_smob): Fix output. | |
1172 | ||
0c3abbc7 DE |
1173 | 2014-07-27 Doug Evans <xdje42@gmail.com> |
1174 | ||
1175 | * guile/guile.c (gdbscm_execute_gdb_command): Fix typo in comment. | |
1176 | ||
e76c5d17 DE |
1177 | 2014-07-26 Ludovic Courtès <ludo@gnu.org> |
1178 | Doug Evans <xdje42@gmail.com> | |
1179 | ||
1180 | PR guile/17146 | |
1181 | * acinclude.m4 (GDB_GUILE_PROGRAM_NAMES): New macro. | |
1182 | (GDB_GUILD_TARGET_FLAG, GDB_TRY_GUILD): New macros. | |
1183 | * configure.ac: Try to use guild to compile an scm file, if it fails | |
1184 | then disable guile support. | |
1185 | * configure: Regenerate. | |
1186 | * data-directory/Makefile.in (GUILE_SOURCE_FILES): Renamed from | |
1187 | GUILE_FILE_LIST. | |
1188 | (GUILE_COMPILED_FILES): New variable. | |
1189 | (GUILE_FILES) Update. | |
1190 | (GUILD, GUILD_TARGET_FLAG, GUILD_COMPILE_FLAGS): New variables. | |
1191 | (stamp-guile): Compile scm files. | |
1192 | * guile/guile.c (boot_guile_support): New function. | |
1193 | (standard_throw_args_p): New function. | |
1194 | (print_standard_throw_error, print_throw_error): New functions. | |
1195 | (handle_boot_error): New function. | |
1196 | (initialize_scheme_side): Rewrite to call boot_guile_support. | |
1197 | * guile/lib/gdb/boot.scm: Update %load-compiled-path. Load gdb.go. | |
1198 | * guile/lib/gdb/init.scm (%silence-compiler-warnings%): New function. | |
1199 | ||
186fcde0 DE |
1200 | 2014-07-26 Ludovic Courtès <ludo@gnu.org> |
1201 | Doug Evans <xdje42@gmail.com> | |
1202 | ||
1203 | PR guile/17146 | |
1204 | * data-directory/Makefile.in (GUILE_FILES): Add support.scm. | |
1205 | * guile/lib/gdb/support.scm: New file. | |
1206 | * guile/guile.c (gdbscm_init_module_name): Change to "gdb". | |
1207 | * guile/lib/gdb.scm: Load gdb/init.scm as an include file. | |
1208 | All uses updated. | |
1209 | * guile/lib/gdb/init.scm (SCM_ARG1, SCM_ARG2): Moved to support.scm. | |
1210 | All uses updated. | |
1211 | (%assert-type): Ditto, and renamed to assert-type. | |
1212 | (%exception-print-style): Delete. | |
1213 | ||
4df42755 DE |
1214 | 2014-07-26 Doug Evans <xdje42@gmail.com> |
1215 | ||
1216 | PR build/17105 | |
1217 | * configure.ac: Add AM_CONDITIONALs for HAVE_PYTHON, HAVE_GUILE. | |
1218 | * configure: Regenerate. | |
1219 | * data-directory/Makefile.in (PYTHON_FILE_LIST): Renamed from | |
1220 | PYTHON_FILES. | |
1221 | (PYTHON_FILES): New variable. | |
1222 | (GUILE_FILE_LIST): Renamed from GUILE_FILES. | |
1223 | (GUILE_FILES): New variable. | |
1224 | (stamp-python, install-python, uninstall-python): Handle empty | |
1225 | file list. | |
1226 | (stamp-guile, install-guile, uninstall-guile): Ditto. | |
1227 | ||
ee7333ae DE |
1228 | 2014-07-26 Doug Evans <xdje42@gmail.com> |
1229 | ||
1230 | PR guile/17177 | |
1231 | * guile/lib/gdb.scm (pretty-printers): Export. | |
1232 | (set-pretty-printers!): Export. | |
1233 | * guile/lib/gdb/printing.scm (gdb module): Update. | |
1234 | (prepend-pretty-printer!, append-pretty-printer!): Update. | |
1235 | * guile/scm-pretty-print.c (pretty_printer_list_name): Delete. | |
1236 | (pretty_printer_list_var): Delete. | |
1237 | (pretty_printer_list): New static global. | |
1238 | (gdbscm_pretty_printers): New function. | |
1239 | (gdbscm_set_pretty_printers_x): New function. | |
1240 | (ppscm_find_pretty_printer_from_gdb): Update. | |
1241 | (pretty_printer_functions): Add pretty-printers, set-pretty-printers!. | |
1242 | (gdbscm_initialize_pretty_printers): Update. | |
1243 | ||
74edf516 DE |
1244 | 2014-07-26 Doug Evans <xdje42@gmail.com> |
1245 | ||
1246 | PR 17185 | |
1247 | * configure.ac: Add check for header gc/gc.h. | |
1248 | Add check for function setenv. | |
1249 | * configure: Regenerate. | |
1250 | * config.in: Regenerate. | |
1251 | * guile/guile.c (_initialize_guile): Add workaround for libgc 7.4.0. | |
1252 | ||
d54398a7 MR |
1253 | 2014-07-25 Maciej W. Rozycki <macro@codesourcery.com> |
1254 | ||
1255 | * mips-tdep.c (mips_gdbarch_init): Also check the compressed ISA | |
1256 | variation in gdbarch matching. | |
1257 | ||
ab16fce8 TT |
1258 | 2014-07-25 Tom Tromey <tromey@redhat.com> |
1259 | ||
1260 | * exec.c (using_exec_ops): Remove. | |
1261 | (exec_close_1): Update. Remove extraneous block, reindent. | |
1262 | (add_target_sections): Use target_is_pushed. | |
1263 | ||
88056fbb PA |
1264 | 2014-07-25 Pedro Alves <palves@redhat.com> |
1265 | ||
1266 | * go32-nat.c (go32_create_inferior): Pass 0 to clear_proceed_status. | |
1267 | * monitor.c (monitor_create_inferior): Likewise. | |
1268 | * remote-m32r-sdi.c (m32r_create_inferior): Likewise. | |
1269 | * remote-sim.c (gdbsim_create_inferior): Likewise. | |
1270 | * solib-irix.c (irix_solib_create_inferior_hook): Likewise. | |
1271 | * solib-osf.c (osf_solib_create_inferior_hook): Likewise. | |
1272 | * windows-nat.c (do_initial_windows_stuff): Likewise. | |
1273 | ||
70509625 PA |
1274 | 2014-07-25 Pedro Alves <palves@redhat.com> |
1275 | ||
1276 | * NEWS: Mention signal passing and "signal" command changes. | |
1277 | * gdbthread.h (struct thread_suspend_state) <stop_signal>: Extend | |
1278 | comment. | |
1279 | * breakpoint.c (until_break_command): Adjust clear_proceed_status | |
1280 | call. | |
1281 | * infcall.c (run_inferior_call): Adjust clear_proceed_status call. | |
1282 | * infcmd.c (proceed_thread_callback, continue_1, step_once) | |
1283 | (jump_command): Adjust clear_proceed_status call. | |
1284 | (signal_command): Warn if other thread that are resumed have | |
1285 | signals that will be delivered. Adjust clear_proceed_status call. | |
1286 | (until_next_command, finish_command) | |
1287 | (proceed_after_attach_callback, attach_command_post_wait) | |
1288 | (attach_command): Adjust clear_proceed_status call. | |
1289 | * infrun.c (proceed_after_vfork_done): Likewise. | |
1290 | (proceed_after_attach_callback): Adjust comment. | |
1291 | (clear_proceed_status_thread): Clear stop_signal if not in pass | |
1292 | state. | |
1293 | (clear_proceed_status_callback): Delete. | |
1294 | (clear_proceed_status): New 'step' parameter. Only clear the | |
1295 | proceed status of threads the command being prepared is about to | |
1296 | resume. | |
1297 | (proceed): If passed in an explicit signal, override stop_signal | |
1298 | with it. Don't pass the last stop signal to the thread we're | |
1299 | resuming. | |
1300 | (init_wait_for_inferior): Adjust clear_proceed_status call. | |
1301 | (switch_back_to_stepped_thread): Clear the signal if it should not | |
1302 | be passed. | |
1303 | * infrun.h (clear_proceed_status): New 'step' parameter. | |
1304 | (user_visible_resume_ptid): Add comment. | |
1305 | * linux-nat.c (linux_nat_resume_callback): Don't check whether the | |
1306 | signal is in pass state. | |
1307 | * remote.c (append_pending_thread_resumptions): Likewise. | |
1308 | * mi/mi-main.c (proceed_thread): Adjust clear_proceed_status call. | |
1309 | ||
d8be2939 TT |
1310 | 2014-07-25 Tom Tromey <tromey@redhat.com> |
1311 | ||
1312 | * target.h (target_stopped_data_address) | |
1313 | (target_watchpoint_addr_within_range): Use "->", not ".". Fix | |
1314 | parentheses. | |
1315 | ||
7d0d9d2b PL |
1316 | 2014-07-25 Pierre Langlois <pierre.langlois@embecosm.com> |
1317 | ||
1318 | * avr-tdep.c (avr_address_to_pointer): Clarify the conversion in the | |
1319 | comments. | |
1320 | (avr_pointer_to_address): Likewise. | |
1321 | ||
e9e7f724 TT |
1322 | 2014-07-24 Tom Tromey <tromey@redhat.com> |
1323 | ||
1324 | * monitor.c (compile_pattern): Update. | |
1325 | * target.h (struct target_ops) <to_shortname, to_longname, | |
1326 | to_doc>: Now const. | |
1327 | ||
1947513d TT |
1328 | 2014-07-24 Tom Tromey <tromey@redhat.com> |
1329 | ||
1330 | * cli/cli-decode.c (add_cmd, add_prefix_cmd) | |
1331 | (add_abbrev_prefix_cmd, add_set_or_show_cmd, add_info) | |
1332 | (add_info_alias, add_com): Make "doc" const. | |
1333 | (print_doc_line): Make "str" const. | |
1334 | (delete_cmd): Update. | |
1335 | * cli/cli-decode.h (struct cmd_list_element) <doc>: Now const. | |
1336 | (print_doc_line): Update. | |
1337 | * cli/cli-script.c (document_command): Update. | |
1338 | * command.h (add_cmd, add_prefix_cmd, add_abbrev_prefix_cmd) | |
1339 | (add_com, add_info, add_info_alias): Update. | |
1340 | * guile/scm-cmd.c (cmdscm_destroyer): Update. | |
1341 | * python/py-cmd.c (cmdpy_destroyer): Update. | |
1342 | ||
64e61d29 TT |
1343 | 2014-07-24 Tom Tromey <tromey@redhat.com> |
1344 | ||
1345 | * cli/cli-decode.c (print_help_for_command): Make "prefix" const. | |
1346 | (add_prefix_cmd, add_abbrev_prefix_cmd, apropos_cmd, help_list) | |
1347 | (help_cmd_list): Constify. | |
1348 | (lookup_cmd): Update. | |
1349 | * cli/cli-decode.h (struct cmd_list_element) <prefixname>: Now | |
1350 | const. | |
1351 | (help_cmd_list, apropos_cmd): Update. | |
1352 | * cli/cli-script.c (show_user): Update. | |
1353 | * cli/cli-setshow.c (cmd_show_list): Make "prefix" const. | |
1354 | * cli/cli-setshow.h (cmd_show_list): Update. | |
1355 | * command.h (add_prefix_cmd, add_abbrev_prefix_cmd, help_list) | |
1356 | (cmd_show_list): Update. | |
1357 | * guile/scm-cmd.c (cmdscm_destroyer): Update. | |
1358 | * python/py-cmd.c (cmdpy_destroyer): Update. | |
1359 | ||
429e55ea TT |
1360 | 2014-07-24 Tom Tromey <tromey@redhat.com> |
1361 | ||
1362 | * cli/cli-decode.c (deprecate_cmd): Make "replacement" const. | |
1363 | * cli/cli-decode.h (struct cmd_list_element) <replacement>: Now | |
1364 | const. | |
1365 | * command.h (deprecate_cmd): Update. | |
1366 | * maint.c (maintenance_do_deprecate): Add casts. | |
1367 | ||
64669f3b TT |
1368 | 2014-07-24 Tom Tromey <tromey@redhat.com> |
1369 | ||
1370 | * cli/cli-decode.c (help_cmd): Make parameter "const". | |
1371 | * cli/cli-decode.h (help_cmd): Update. | |
1372 | ||
d3d3328b TT |
1373 | 2014-07-24 Tom Tromey <tromey@redhat.com> |
1374 | ||
1375 | * stack.c (up_silently_base, down_silently_base): Make argument | |
1376 | const. | |
1377 | ||
414842dc TT |
1378 | 2014-07-24 Tom Tromey <tromey@redhat.com> |
1379 | ||
1380 | * solib.c (solib_add): Make "pattern" const. | |
1381 | * solib.h (solib_add): Update. | |
1382 | ||
baa336ce TT |
1383 | 2014-07-24 Tom Tromey <tromey@redhat.com> |
1384 | ||
1385 | * remote.c (remote_serial_open, print_packet, putpkt) | |
1386 | (putpkt_binary): Constify. | |
1387 | * remote.h (putpkt): Update. | |
1388 | ||
5a19e2d0 TT |
1389 | 2014-07-24 Tom Tromey <tromey@redhat.com> |
1390 | ||
1391 | * monitor.c (monitor_open): Make "args" const. | |
1392 | * monitor.h (monitor_open): Update. | |
1393 | ||
fc4baa5e TT |
1394 | 2014-07-24 Tom Tromey <tromey@redhat.com> |
1395 | ||
1396 | * maint.c (match_bfd_flags): Make "string" const. | |
1397 | (print_bfd_section_info): Remove casts. | |
1398 | (print_objfile_section_info): Make "string" const. | |
1399 | ||
0d5f0dbe TT |
1400 | 2014-07-24 Tom Tromey <tromey@redhat.com> |
1401 | ||
1402 | * inf-child.c (inf_child_open_target): Make "arg" const. | |
1403 | * inf-child.h (inf_child_open_target): Update. | |
1404 | ||
41c77899 TT |
1405 | 2014-07-24 Tom Tromey <tromey@redhat.com> |
1406 | ||
1407 | * environ.c (unset_in_environ): Make "var" const. | |
1408 | * environ.h (unset_in_environ): Update. | |
1409 | ||
93db0d79 TT |
1410 | 2014-07-24 Tom Tromey <tromey@redhat.com> |
1411 | ||
1412 | * cli/cli-dump.c (scan_expression_with_cleanup): Return const. | |
1413 | Make "cmd" const. | |
1414 | (scan_filename_with_cleanup): Likewise. | |
1415 | (dump_memory_to_file, dump_value_to_file, restore_binary_file): | |
1416 | Make arguments const. | |
1417 | (restore_command): Update. | |
1418 | ||
36d6eb95 PA |
1419 | 2014-07-24 Pedro Alves <palves@redhat.com> |
1420 | ||
1421 | * tui/tui-io.c (tui_prep_terminal): Handle NULL rl_prompt. | |
1422 | ||
8009206a TT |
1423 | 2014-07-24 Tom Tromey <tromey@redhat.com> |
1424 | Gary Benson <gbenson@redhat.com> | |
1425 | ||
1426 | * nat/linux-ptrace.c (additional_flags): New global. | |
1427 | (linux_test_for_tracesysgood, linux_test_for_tracefork): Use | |
1428 | additional_flags; don't check GDBSERVER. | |
1429 | (linux_ptrace_set_additional_flags): New function. | |
1430 | * nat/linux-ptrace.h (linux_ptrace_set_additional_flags): | |
1431 | Declare. | |
1432 | * linux-nat.c (_initialize_linux_nat): Call | |
1433 | linux_ptrace_set_additional_flags. | |
1434 | ||
a7068b60 TT |
1435 | 2014-07-24 Tom Tromey <tromey@redhat.com> |
1436 | ||
1437 | * make-target-delegates (munge_type, write_debugmethod): New | |
1438 | functions. | |
1439 | (debug_names): New global. | |
1440 | ($TARGET_DEBUG_PRINTER): New global. | |
1441 | (write_function_header): Strip TARGET_DEBUG_PRINTER from the type | |
1442 | name. | |
1443 | Write debug methods. Generate init_debug_target. | |
1444 | * target-debug.h: New file. | |
1445 | * target-delegates.c: Rebuild. | |
1446 | * target.c: Include target-debug.h. | |
1447 | (debug_target): Hoist definition. | |
1448 | (target_kill, target_get_section_table, target_memory_map) | |
1449 | (target_flash_erase, target_flash_done, target_detach) | |
1450 | (target_disconnect, target_wait, target_resume) | |
1451 | (target_pass_signals, target_program_signals, target_follow_fork) | |
1452 | (target_mourn_inferior, target_search_memory) | |
1453 | (target_thread_address_space, target_close) | |
1454 | (target_find_new_threads, target_core_of_thread) | |
1455 | (target_verify_memory, target_insert_mask_watchpoint) | |
1456 | (target_remove_mask_watchpoint): Remove targetdebug code. | |
1457 | (debug_to_post_attach, debug_to_prepare_to_store) | |
1458 | (debug_to_files_info, debug_to_insert_breakpoint) | |
1459 | (debug_to_remove_breakpoint, debug_to_can_use_hw_breakpoint) | |
1460 | (debug_to_region_ok_for_hw_watchpoint) | |
1461 | (debug_to_can_accel_watchpoint_condition) | |
1462 | (debug_to_stopped_by_watchpoint, debug_to_stopped_data_address) | |
1463 | (debug_to_watchpoint_addr_within_range) | |
1464 | (debug_to_insert_hw_breakpoint, debug_to_remove_hw_breakpoint) | |
1465 | (debug_to_insert_watchpoint, debug_to_remove_watchpoint) | |
1466 | (debug_to_terminal_init, debug_to_terminal_inferior) | |
1467 | (debug_to_terminal_ours_for_output, debug_to_terminal_ours) | |
1468 | (debug_to_terminal_save_ours, debug_to_terminal_info) | |
1469 | (debug_to_load, debug_to_post_startup_inferior) | |
1470 | (debug_to_insert_fork_catchpoint) | |
1471 | (debug_to_remove_fork_catchpoint) | |
1472 | (debug_to_insert_vfork_catchpoint) | |
1473 | (debug_to_remove_vfork_catchpoint) | |
1474 | (debug_to_insert_exec_catchpoint) | |
1475 | (debug_to_remove_exec_catchpoint, debug_to_has_exited) | |
1476 | (debug_to_can_run, debug_to_thread_architecture, debug_to_stop) | |
1477 | (debug_to_rcmd, debug_to_pid_to_exec_file): Remove. | |
1478 | (setup_target_debug): Call init_debug_target. | |
1479 | * target.h (TARGET_DEBUG_PRINTER): New macro. | |
1480 | (struct target_ops) <to_resume, to_wait, to_pass_signals, | |
1481 | to_program_signals>: Use TARGET_DEBUG_PRINTER. | |
1482 | ||
2c51604d GB |
1483 | 2014-07-24 Gary Benson <gbenson@redhat.com> |
1484 | ||
1485 | * exceptions.h (throw_vfatal): Renamed to... | |
1486 | (throw_vquit): New declaration. | |
1487 | (throw_quit): Likewise. | |
1488 | * exceptions.c (throw_vfatal): Renamed to... | |
1489 | (throw_vquit): New function. | |
1490 | (throw_quit): Likewise. | |
1491 | (throw_error): Call throw_verror rather than throw_it. | |
1492 | * utils.h (vfatal): Removed. | |
1493 | (fatal): Likewise. | |
1494 | * utils.c (vfatal): Removed. | |
1495 | (fatal): Likewise. | |
1496 | (internal_verror): Replaced call to fatal with call to throw_quit. | |
1497 | (quit): Replaced calls to fatal with calls to throw_quit. | |
1498 | ||
34211963 ME |
1499 | 2014-07-23 Ajit Agarwal <ajitkum@xilinx.com> |
1500 | ||
1501 | * microblaze-tdep.c (microblaze_fetch_instruction): Use of | |
1502 | target_read_code. | |
1503 | ||
a52b4d3e ME |
1504 | 2014-07-23 Chen Gang <gang.chen.5i5j@gmail.com> |
1505 | ||
1506 | * microblaze-tdep.c (microblaze_dwarf2_reg_to_regnum): Check whether | |
1507 | less than zero in conditional expression. | |
1508 | ||
a8bdc56b TT |
1509 | 2014-07-23 Tom Tromey <tromey@redhat.com> |
1510 | ||
1511 | * make-target-delegates ($ARGS_PART): Match trailing close paren. | |
1512 | ($INTRO_PART): Don't match whitespace. | |
1513 | ($METHOD_TRAILER): Move earlier. Remove trailing semicolon and | |
1514 | argument matching. | |
1515 | ($METHOD): Add $METHOD_TRAILER. | |
1516 | (trim): Rewrite. | |
1517 | (scan_target_h): New sub. | |
1518 | Change main loop not to collect state. | |
1519 | * target-delegates.c: Rebuild. | |
1520 | ||
91b52240 GB |
1521 | 2014-07-23 Gary Benson <gbenson@redhat.com> |
1522 | ||
1523 | * cp-support.c (gdb_demangle): Fix build on systems without | |
1524 | sigaltstack. | |
1525 | ||
45326f6f JK |
1526 | 2014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com> |
1527 | ||
1528 | * dwarf2loc.c (value_of_dwarf_reg_entry): Remove setting value address | |
1529 | for reference entry value target data value. | |
1530 | ||
e214cf6c JK |
1531 | 2014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com> |
1532 | ||
1533 | * stack.c (read_frame_arg): Verify value_optimized_out before calling | |
1534 | value_available_contents_eq. | |
1535 | ||
bddbbedd PA |
1536 | 2014-07-22 Pedro Alves <palves@redhat.com> |
1537 | ||
1538 | * value.c (allocate_optimized_out_value): Don't mark value as | |
1539 | non-lazy. | |
1540 | ||
45c71484 JW |
1541 | 2014-07-22 Jiong Wang <jiong.wang@arm.com> |
1542 | ||
1543 | * MAINTAINERS (Write After Approval): Update my email address. | |
1544 | ||
9597b22a DE |
1545 | 2014-07-20 Doug Evans <dje@google.com> |
1546 | ||
1547 | PR server/17147 | |
1548 | * remote.c (putpkt_binary): Add text to error message. | |
1549 | ||
91101fe5 YQ |
1550 | 2014-07-20 Yao Qi <yao@codesourcery.com> |
1551 | ||
1552 | * eval.c: Remove "Chill" from comments. | |
1553 | * gdbtypes.h: Likewise. | |
1554 | * symtab.h: Likewise. | |
1555 | ||
c9402c95 YQ |
1556 | 2014-07-20 Yao Qi <yao@codesourcery.com> |
1557 | ||
1558 | * std-operator.def: Update comments to TERNOP_SLICE. | |
1559 | ||
ae8fddda YQ |
1560 | 2014-07-20 Yao Qi <yao@codesourcery.com> |
1561 | ||
1562 | * std-operator.def: Remove BINOP_RANGE. | |
1563 | * breakpoint.c (watchpoint_exp_is_const): Update. | |
1564 | * expprint.c (dump_subexp_body_standard): Likewise. | |
1565 | * eval.c (init_array_element): Remove dead code. | |
1566 | (evaluate_subexp_standard): Likewise. | |
1567 | ||
9c816640 YQ |
1568 | 2014-07-20 Yao Qi <yao@codesourcery.com> |
1569 | ||
1570 | * std-operator.def: Remove BINOP_IN. | |
1571 | * breakpoint.c (watchpoint_exp_is_const): Update. | |
1572 | * eval.c (evaluate_subexp_standard): Likewise. | |
1573 | * expprint.c (dump_subexp_body_standard): Likewise. | |
1574 | ||
164224e9 ME |
1575 | 2014-07-19 Ajit Agarwal <ajitkum@xilinx.com> |
1576 | ||
1577 | * microblaze-tdep.c (microblaze_register_names): Add | |
1578 | the rshr and rslr register names. | |
1579 | (microblaze_gdbarch_init): Use of tdesc_has_registers. | |
1580 | Use of tdesc_find_feature. Use of tdesc_data_alloc. | |
1581 | Use of tdesc_numbered_register. Use of | |
1582 | microblaze_register_g_packet_guesses. Use of | |
1583 | tdesc_use_registers. Use of set_gdbarch_register_type. | |
1584 | (microblaze_register_g_packet_guesses): New. | |
1585 | * microblaze-tdep.h (microblaze_reg_num): Add | |
1586 | field MICROBLAZE_SLR_REGNUM MICROBLAZE_SHR_REGNUM | |
1587 | MICROBLAZE_NUM_REGS and MICROBLAZE_NUM_CORE_REGS. | |
1588 | (microblaze_frame_cache): Use of MICROBLAZE_NUM_REGS. | |
1589 | * features/microblaze-core.xml: New file. | |
1590 | * features/microblaze-stack-protect.xml: New file. | |
1591 | * features/microblaze-with-stack-protect.c: New file. | |
1592 | * features/microblaze-with-stack-protect.xml: New file. | |
1593 | * features/microblaze.xml: New file. | |
1594 | * features/microblaze.c: New file. | |
1595 | * features/Makefile (microblaze-with-stack-protect): Add | |
1596 | microblaze-with-stack-protect microblaze and microblaze-expedite. | |
1597 | * regformats/microblaze-with-stack-protect.dat: New file. | |
1598 | * regformats/microblaze.dat: New file. | |
1599 | * doc/gdb.texinfo (MicroBlaze Features): Added. | |
1600 | ||
e8b2341c TT |
1601 | 2014-07-18 Tom Tromey <tromey@redhat.com> |
1602 | ||
1603 | * exec.c (exec_ops): Now static. | |
1604 | * exec.h (exec_ops): Don't declare. | |
1605 | ||
44e89118 TT |
1606 | 2014-07-18 Tom Tromey <tromey@redhat.com> |
1607 | ||
1608 | * spu-multiarch.c (spu_region_ok_for_hw_watchpoint): Pass "self" | |
1609 | to find_target_beneath. | |
1610 | * ravenscar-thread.c (ravenscar_prepare_to_store): Pass "ops" to | |
1611 | find_target_beneath. | |
1612 | (ravenscar_mourn_inferior): Pass "self" to find_target_beneath. | |
1613 | ||
b0ed115f TT |
1614 | 2014-07-18 Tom Tromey <tromey@redhat.com> |
1615 | ||
1616 | PR gdb/17130: | |
1617 | * utils.c (quit): Use target_supports_terminal_ours. | |
1618 | * target.h (target_supports_terminal_ours): Declare. | |
1619 | * target.c (target_supports_delete_record): Don't check | |
1620 | to_delete_record against NULL. | |
1621 | (target_supports_terminal_ours): New function. | |
1622 | ||
e75fdfca TT |
1623 | 2014-07-18 Tom Tromey <tromey@redhat.com> |
1624 | ||
1625 | PR gdb/17130: | |
1626 | * spu-multiarch.c (spu_region_ok_for_hw_watchpoint) | |
1627 | (spu_fetch_registers, spu_store_registers, spu_xfer_partial) | |
1628 | (spu_search_memory, spu_mourn_inferior): Simplify delegation. | |
1629 | * linux-thread-db.c (thread_db_pid_to_str): Always delegate. | |
1630 | * windows-nat.c (windows_xfer_partial): Always delegate. | |
1631 | * record-btrace.c (record_btrace_xfer_partial): Simplify | |
1632 | delegation. | |
1633 | (record_btrace_fetch_registers, record_btrace_store_registers) | |
1634 | (record_btrace_prepare_to_store, record_btrace_resume) | |
1635 | (record_btrace_wait, record_btrace_find_new_threads) | |
1636 | (record_btrace_thread_alive): Likewise. | |
1637 | * procfs.c (procfs_xfer_partial): Always delegate. | |
1638 | * corelow.c (core_xfer_partial): Always delegate. | |
1639 | * sol-thread.c (sol_find_new_threads): Simplify delegation. | |
1640 | ||
83814951 TT |
1641 | 2014-07-18 Tom Tromey <tromey@redhat.com> |
1642 | ||
1643 | * exec.c (exec_make_note_section): Move earlier. | |
1644 | ||
b8b8facf DE |
1645 | 2014-07-17 Doug Evans <dje@google.com> |
1646 | ||
74b49205 | 1647 | PR gdb/17170 |
b8b8facf DE |
1648 | * maint.c (count_symtabs_and_blocks): Handle NULL |
1649 | current_program_space. | |
1650 | (report_command_stats): Check global enabled flag in addition to | |
1651 | recorded enabled flag. | |
1652 | (make_command_stats_cleanup): Handle msg_type == 0, startup. | |
1653 | ||
69ff6be5 PA |
1654 | 2014-07-16 Pedro Alves <palves@redhat.com> |
1655 | ||
1656 | * linux-nat.c (kill_callback): Use kill_lwp, not kill. | |
1657 | ||
252db1b5 TT |
1658 | 2014-07-16 Tom Tromey <tromey@redhat.com> |
1659 | ||
1660 | * target.h (struct target_ops) <to_delete_record>: Reformat | |
1661 | comment. | |
1662 | ||
a432721e TT |
1663 | 2014-07-16 Tom Tromey <tromey@redhat.com> |
1664 | ||
1665 | * target-delegates.c: Rebuild. | |
1666 | ||
487d9753 PL |
1667 | 2014-07-15 Pierre Langlois <pierre.langlois@embecosm.com> |
1668 | ||
1669 | * avr-tdep.c (AVR_TYPE_ADDRESS_CLASS_FLASH): New macro. | |
1670 | (AVR_TYPE_INSTANCE_FLAG_ADDRESS_CLASS_FLASH): Likewise. | |
1671 | (avr_address_to_pointer): Check for AVR_TYPE_ADDRESS_CLASS_FLASH. | |
1672 | (avr_pointer_to_address): Likewise. | |
1673 | (avr_address_class_type_flags): New function. | |
1674 | (avr_address_class_type_flags_to_name): Likewise. | |
1675 | (avr_address_class_name_to_type_flags): Likewise. | |
1676 | (avr_gdbarch_init): Set address_class_type_flags, | |
1677 | address_class_type_flags_to_name and | |
1678 | address_class_name_to_type_flags. | |
1679 | ||
57745c90 PA |
1680 | 2014-07-15 Pedro Alves <palves@redhat.com> |
1681 | ||
1682 | * linux-nat.c (kill_callback): Save errno and work with saved | |
1683 | copy. | |
1684 | ||
2d40be18 SM |
1685 | 2014-07-15 Simon Marchi <simon.marchi@ericsson.com> |
1686 | ||
1687 | * expprint.c (dump_subexp_body_standard): Handle OP_STRING. | |
1688 | ||
572f6555 EBM |
1689 | 2014-07-14 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com> |
1690 | ||
1691 | * ppc-linux-nat.c (ppc_linux_can_use_hw_breakpoint): Report no hardware | |
1692 | breakpoint support correctly. | |
1693 | ||
cc1c52ad PA |
1694 | 2014-07-14 Pedro Alves <palves@redhat.com> |
1695 | ||
1696 | * utils.c (prompt_for_continue): Call target_terminal_ours. | |
1697 | ||
1e973570 PA |
1698 | 2014-07-14 Pedro Alves <palves@redhat.com> |
1699 | ||
1700 | * inf-loop.c (inferior_event_handler): Use TRY_CATCH instead of | |
1701 | catch_errors. Don't re-enable stdin or notify observers where, | |
1702 | and rethrow error. | |
1703 | (fetch_inferior_event_wrapper): Delete. | |
1704 | ||
93d6eb10 PA |
1705 | 2014-07-14 Pedro Alves <palves@redhat.com> |
1706 | ||
1707 | PR gdb/17072 | |
1708 | * top.c: Include "inf-loop.h". | |
1709 | (struct gdb_readline_wrapper_cleanup) <target_is_async_orig>: New | |
1710 | field. | |
1711 | (gdb_readline_wrapper_cleanup): Make the target async again, if it | |
1712 | was async before. | |
1713 | (gdb_readline_wrapper): Store whether the target is async, and | |
1714 | make it sync. | |
1715 | ||
0017922d PA |
1716 | 2014-07-14 Pedro Alves <palves@redhat.com> |
1717 | ||
1718 | PR gdb/17072 | |
1719 | * top.c (gdb_readline_wrapper_line): Tweak comment. | |
1720 | (gdb_readline_wrapper_cleanup): If readline is enabled, reinstall | |
1721 | the input handler callback. | |
1722 | ||
94696ad3 PA |
1723 | 2014-07-14 Pedro Alves <palves@redhat.com> |
1724 | ||
1725 | PR gdb/17072 | |
1726 | * main.c: Include event-top.h. | |
1727 | (handle_command_errors): New function. | |
1728 | (catch_command_errors, catch_command_errors_const): Use it. | |
1729 | ||
9d1e69a2 PA |
1730 | 2014-07-14 Pedro Alves <palves@redhat.com> |
1731 | ||
1732 | * exceptions.c (catch_command_errors, catch_command_errors_const): | |
1733 | Moved to main.c. | |
1734 | * exceptions.h (catch_command_errors_ftype) | |
1735 | (catch_command_errors_const_ftype): Moved to main.c. | |
1736 | (catch_command_errors, catch_command_errors_const): Delete | |
1737 | declarations. | |
1738 | * main.c (catch_command_errors_ftype) | |
1739 | (catch_command_errors_const_ftype): Moved here from exceptions.h. | |
1740 | (catch_command_errors, catch_command_errors_const)): Moved here | |
1741 | from exceptions.c and make static. | |
1742 | ||
feefc97b PA |
1743 | 2014-07-14 Pedro Alves <palves@redhat.com> |
1744 | ||
1745 | * exceptions.c (print_any_exception): Delete. | |
1746 | (catch_exceptions_with_msg): Use exception_print instead of | |
1747 | print_any_exception. | |
1748 | (catch_errors): Use exception_fprintf instead of | |
1749 | print_any_exception. | |
1750 | (catch_command_errors, catch_command_errors_const): Use | |
1751 | exception_print instead of print_any_exception. | |
1752 | ||
c933f875 PA |
1753 | 2014-07-14 Pedro Alves <palves@redhat.com> |
1754 | ||
1755 | * infcall.c (run_inferior_call): Set 'sync_execution' while | |
1756 | running the inferior call. | |
1757 | ||
feb6f816 PA |
1758 | 2014-07-14 Pedro Alves <palves@redhat.com> |
1759 | ||
1760 | * value.c (value_contents_equal): Delete function. | |
1761 | * value.h (value_contents_equal): Delete declaration. | |
1762 | ||
d98b7a16 TT |
1763 | 2014-07-14 Tom Tromey <tromey@redhat.com> |
1764 | ||
1765 | PR exp/17106: | |
1766 | * gdbtypes.c (is_dynamic_type_internal): New function, from | |
1767 | is_dynamic_type. | |
1768 | (is_dynamic_type): Rewrite. | |
1769 | (resolve_dynamic_union): Use resolve_dynamic_type_internal. | |
1770 | (resolve_dynamic_struct): Likewise. | |
1771 | (resolve_dynamic_type_internal): New function, from | |
1772 | resolve_dynamic_type. | |
1773 | (resolve_dynamic_type): Rewrite. | |
1774 | ||
548740d6 TT |
1775 | 2014-07-14 Tom Tromey <tromey@redhat.com> |
1776 | ||
1777 | * target.c (target_require_runnable): Also check record_stratum. | |
1778 | Update comment. | |
1779 | ||
808f7ab1 YQ |
1780 | 2014-07-11 Yao Qi <yao@codesourcery.com> |
1781 | ||
1782 | * arm-tdep.c (thumb_analyze_prologue): Break the loop if | |
1783 | thumb_instruction_restores_sp return true. | |
1784 | ||
540314bd YQ |
1785 | 2014-07-11 Yao Qi <yao@codesourcery.com> |
1786 | ||
1787 | * arm-tdep.c (thumb_instruction_restores_sp): New function. | |
1788 | (thumb_in_function_epilogue_p): Call | |
1789 | thumb_instruction_restores_sp. | |
1790 | ||
1db01f22 YQ |
1791 | 2014-07-11 Yao Qi <yao@codesourcery.com> |
1792 | ||
1793 | * arm-tdep.c (thumb_analyze_prologue): Don't match instruction | |
1794 | 'add sp, #imm'. | |
1795 | (thumb_in_function_epilogue_p): Don't match 'sub sp, #imm'. | |
1796 | ||
3116063b GB |
1797 | 2014-07-11 Gary Benson <gbenson@redhat.com> |
1798 | ||
1799 | * amd64-linux-nat.c (gdbcore.h): Remove include. | |
1800 | (regset.h): Likewise. | |
1801 | (nat/linux-btrace.h): Likewise. | |
1802 | (btrace.h): Likewise. | |
1803 | (gdb_assert.h): Likewise. | |
1804 | (string.h): Likewise. | |
1805 | (sys/uio.h): Likewise. | |
1806 | (sys/debugreg.h): Likewise. | |
1807 | (sys/syscall.h): Likewise. | |
1808 | (sys/procfs.h): Likewise. | |
1809 | (sys/user.h): Likewise. | |
1810 | (asm/ptrace.h): Likewise. | |
1811 | (i386-nat.h): Likewise. | |
1812 | * i386-linux-nat.c (i386-nat.h): Likewise. | |
1813 | (regset.h): Likewise. | |
1814 | (target.h): Likewise. | |
1815 | (linux-nat.h): Likewise. | |
1816 | (nat/linux-btrace.h): Likewise. | |
1817 | (btrace.h): Likewise. | |
1818 | (gdb_assert.h): Likewise. | |
1819 | (string.h): Likewise. | |
1820 | (sys/uio.h): Likewise. | |
1821 | (sys/user.h): Likewise. | |
1822 | (sys/procfs.h): Likewise. | |
1823 | (sys/reg.h): Likewise. | |
1824 | (sys/debugreg.h): Likewise. | |
1825 | (ORIG_EAX): Remove definition. | |
1826 | ||
040baaf6 GB |
1827 | 2014-07-11 Gary Benson <gbenson@redhat.com> |
1828 | ||
1829 | * i386-linux-nat.h: New file. | |
1830 | * x86-linux-nat.h: Likewise. | |
1831 | * x86-linux-nat.c: Likewise. | |
1832 | * Makefile.in (HFILES_NO_SRCDIR): Add the above new headers. | |
1833 | * config/i386/linux.mh (NATDEPFILES): Add x86-linux-nat.o. | |
1834 | * config/i386/linux64.mh (NATDEPFILES): Likewise. | |
1835 | * amd64-linux-nat.c (x86-linux-nat.h): New include. | |
1836 | (PTRACE_GETREGSET): Now in x86-linux-nat.h. | |
1837 | (PTRACE_SETREGSET): Likewise. | |
1838 | (arch_lwp_info): Now in x86-linux-nat.c. | |
1839 | (have_ptrace_getregset): Now in x86-linux-nat.h. | |
1840 | (x86_linux_dr_get): Now in x86-linux-nat.c. | |
1841 | (x86_linux_dr_set): Likewise. | |
1842 | (x86_linux_dr_get_addr): Likewise. | |
1843 | (x86_linux_dr_get_control): Likewise. | |
1844 | (x86_linux_dr_get_status): Likewise. | |
1845 | (update_debug_registers_callback): Likewise. | |
1846 | (x86_linux_dr_set_control): Likewise. | |
1847 | (x86_linux_dr_set_addr): Likewise. | |
1848 | (x86_linux_prepare_to_resume): Likewise. | |
1849 | (x86_linux_new_thread): Likewise. | |
1850 | (x86_linux_new_fork): Likewise. | |
1851 | (x86_linux_get_thread_area): Likewise. | |
1852 | (super_post_startup_inferior): Likewise. | |
1853 | (x86_linux_child_post_startup_inferior): Likewise. | |
1854 | (AMD64_LINUX_USER64_CS): Likewise. | |
1855 | (AMD64_LINUX_X32_DS): Likewise. | |
1856 | (x86_linux_read_description): Likewise. | |
1857 | (x86_linux_enable_btrace): Likewise. | |
1858 | (x86_linux_disable_btrace): Likewise. | |
1859 | (x86_linux_teardown_btrace): Likewise. | |
1860 | (x86_linux_read_btrace): Likewise. | |
1861 | (x86_linux_create_target): Likewise. | |
1862 | (x86_linux_add_target): Likewise. | |
1863 | * i386-linux-nat.c (x86-linux-nat.h): New include. | |
1864 | (PTRACE_GETREGSET): Now in x86-linux-nat.h. | |
1865 | (PTRACE_SETREGSET): Likewise. | |
1866 | (arch_lwp_info): Now in x86-linux-nat.c. | |
1867 | (have_ptrace_getregset): Now in x86-linux-nat.h. | |
1868 | (x86_linux_dr_get): Now in x86-linux-nat.c. | |
1869 | (x86_linux_dr_set): Likewise. | |
1870 | (x86_linux_dr_get_addr): Likewise. | |
1871 | (x86_linux_dr_get_control): Likewise. | |
1872 | (x86_linux_dr_get_status): Likewise. | |
1873 | (update_debug_registers_callback): Likewise. | |
1874 | (x86_linux_dr_set_control): Likewise. | |
1875 | (x86_linux_dr_set_addr): Likewise. | |
1876 | (x86_linux_prepare_to_resume): Likewise. | |
1877 | (x86_linux_new_thread): Likewise. | |
1878 | (x86_linux_new_fork): Likewise. | |
1879 | (x86_linux_get_thread_area): Likewise. | |
1880 | (super_post_startup_inferior): Likewise. | |
1881 | (x86_linux_child_post_startup_inferior): Likewise. | |
1882 | (AMD64_LINUX_USER64_CS): Likewise. | |
1883 | (AMD64_LINUX_X32_DS): Likewise. | |
1884 | (x86_linux_read_description): Likewise. | |
1885 | (x86_linux_enable_btrace): Likewise. | |
1886 | (x86_linux_disable_btrace): Likewise. | |
1887 | (x86_linux_teardown_btrace): Likewise. | |
1888 | (x86_linux_read_btrace): Likewise. | |
1889 | (x86_linux_create_target): Likewise. | |
1890 | (x86_linux_add_target): Likewise. | |
1891 | ||
1aa7e42c GB |
1892 | 2014-07-11 Gary Benson <gbenson@redhat.com> |
1893 | ||
1894 | * amd64-linux-nat.c: Comment and whitespace changes. | |
1895 | * i386-linux-nat.c: Comment and whitespace changes. | |
1896 | ||
c1e246a0 GB |
1897 | 2014-07-11 Gary Benson <gbenson@redhat.com> |
1898 | ||
1899 | * amd64-linux-nat.c (x86_linux_create_target): New function. | |
1900 | (x86_linux_add_target): Likewise. | |
1901 | (_initialize_amd64_linux_nat): Delegate to the above new functions. | |
1902 | * i386-linux-nat.c (x86_linux_create_target): New function. | |
1903 | (x86_linux_add_target): Likewise. | |
1904 | (_initialize_i386_linux_nat): Delegate to the above new functions. | |
1905 | ||
8c420b8d GB |
1906 | 2014-07-11 Gary Benson <gbenson@redhat.com> |
1907 | ||
1908 | * amd64-linux-nat.c (x86_linux_get_thread_area): New function. | |
1909 | (ps_get_thread_area): Delegate to the above in 32-bit mode. | |
1910 | * i386-linux-nat.c (x86_linux_get_thread_area): New function. | |
1911 | (ps_get_thread_area): Delegate to the above. | |
1912 | ||
cb1da100 GB |
1913 | 2014-07-11 Gary Benson <gbenson@redhat.com> |
1914 | ||
1915 | * amd64-linux-nat.c (amd64_linux_read_description): Renamed to | |
1916 | x86_linux_read_description. All uses updated. amd64-specific | |
1917 | code conditionalized. Conditionalized i386-specific code added. | |
1918 | Redundant cast removed. | |
1919 | * i386-linux-nat.c (i386_linux_read_description): Renamed to | |
1920 | x86_linux_read_description. All uses updated. i386-specific | |
1921 | code conditionalized. Conditionalized amd64-specific code added. | |
1922 | One sizeof replaced with the actual type it is describing. | |
1923 | ||
2acf3cd0 GB |
1924 | 2014-07-11 Gary Benson <gbenson@redhat.com> |
1925 | ||
1926 | * amd64-linux-nat.c (amd64_linux_dr_get): Renamed to | |
1927 | x86_linux_dr_get. All uses updated. | |
1928 | (amd64_linux_dr_set): Renamed to | |
1929 | x86_linux_dr_set. All uses updated. | |
1930 | (amd64_linux_dr_get_addr): Renamed to | |
1931 | x86_linux_dr_get_addr. All uses updated. | |
1932 | (amd64_linux_dr_get_control): Renamed to | |
1933 | x86_linux_dr_get_control. All uses updated. | |
1934 | (amd64_linux_dr_get_status): Renamed to | |
1935 | x86_linux_dr_get_status. All uses updated. | |
1936 | (amd64_linux_dr_set_control): Renamed to | |
1937 | x86_linux_dr_set_control. All uses updated. | |
1938 | (amd64_linux_dr_set_addr): Renamed to | |
1939 | x86_linux_dr_set_addr. All uses updated. | |
1940 | (amd64_linux_prepare_to_resume): Renamed to | |
1941 | x86_linux_prepare_to_resume. All uses updated. | |
1942 | (amd64_linux_new_thread): Renamed to | |
1943 | x86_linux_new_thread. All uses updated. | |
1944 | (amd64_linux_new_fork): Renamed to | |
1945 | x86_linux_new_fork. All uses updated. | |
1946 | (amd64_linux_child_post_startup_inferior): Renamed to | |
1947 | x86_linux_child_post_startup_inferior. All uses updated. | |
1948 | (amd64_linux_enable_btrace): Renamed to | |
1949 | x86_linux_enable_btrace. All uses updated. | |
1950 | (amd64_linux_disable_btrace): Renamed to | |
1951 | x86_linux_disable_btrace. All uses updated. | |
1952 | (amd64_linux_teardown_btrace): Renamed to | |
1953 | x86_linux_teardown_btrace. All uses updated. | |
1954 | (amd64_linux_read_btrace): Renamed to | |
1955 | x86_linux_read_btrace. All uses updated. | |
1956 | * i386-linux-nat.c (i386_linux_dr_get): Renamed to | |
1957 | x86_linux_dr_get. All uses updated. | |
1958 | (i386_linux_dr_set): Renamed to | |
1959 | x86_linux_dr_set. All uses updated. | |
1960 | (i386_linux_dr_get_addr): Renamed to | |
1961 | x86_linux_dr_get_addr. All uses updated. | |
1962 | (i386_linux_dr_get_control): Renamed to | |
1963 | x86_linux_dr_get_control. All uses updated. | |
1964 | (i386_linux_dr_get_status): Renamed to | |
1965 | x86_linux_dr_get_status. All uses updated. | |
1966 | (i386_linux_dr_set_control): Renamed to | |
1967 | x86_linux_dr_set_control. All uses updated. | |
1968 | (i386_linux_dr_set_addr): Renamed to | |
1969 | x86_linux_dr_set_addr. All uses updated. | |
1970 | (i386_linux_prepare_to_resume): Renamed to | |
1971 | x86_linux_prepare_to_resume. All uses updated. | |
1972 | (i386_linux_new_thread): Renamed to | |
1973 | x86_linux_new_thread. All uses updated. | |
1974 | (i386_linux_new_fork): Renamed to | |
1975 | x86_linux_new_fork. All uses updated. | |
1976 | (i386_linux_child_post_startup_inferior): Renamed to | |
1977 | x86_linux_child_post_startup_inferior. All uses updated. | |
1978 | (i386_linux_enable_btrace): Renamed to | |
1979 | x86_linux_enable_btrace. All uses updated. | |
1980 | (i386_linux_disable_btrace): Renamed to | |
1981 | x86_linux_disable_btrace. All uses updated. | |
1982 | (i386_linux_teardown_btrace): Renamed to | |
1983 | x86_linux_teardown_btrace. All uses updated. | |
1984 | (i386_linux_read_btrace): Renamed to | |
1985 | x86_linux_read_btrace. All uses updated. | |
1986 | ||
b9c1d481 AS |
1987 | 2014-07-11 Adrian Sendroiu <adrian.sendroiu@freescale.com> |
1988 | ||
1989 | * remote.c (extended_remote_post_attach): New function. | |
1990 | (init_extended_remote_ops): Install it as to_post_attach method. | |
1991 | ||
7180e04a PA |
1992 | 2014-07-09 Pedro Alves <palves@redhat.com> |
1993 | ||
1994 | * infcmd.c (attach_command_post_wait): Don't call | |
1995 | target_terminal_inferior here. | |
1996 | (attach_command): Call it here instead. | |
1997 | ||
9a9a7608 AB |
1998 | 2014-07-09 Andrew Burgess <andrew.burgess@embecosm.com> |
1999 | ||
2000 | * ada-varobj.c (ada_varobj_ops): Fill in is_path_expr_parent | |
2001 | field. | |
2002 | * c-varobj.c (c_is_path_expr_parent): New function, moved core | |
2003 | from varobj.c, with additional checks. | |
2004 | (c_varobj_ops): Fill in is_path_expr_parent field. | |
2005 | (cplus_varobj_ops): Fill in is_path_expr_parent field. | |
2006 | * jv-varobj.c (java_varobj_ops): Fill in is_path_expr_parent | |
2007 | field. | |
2008 | * varobj.c (is_path_expr_parent): Call is_path_expr_parent varobj | |
2009 | ops method. | |
2010 | (varobj_default_is_path_expr_parent): New function. | |
2011 | * varobj.h (lang_varobj_ops): Add is_path_expr_parent field. | |
2012 | (varobj_default_is_path_expr_parent): Declare new function. | |
2013 | ||
1f267ae3 MM |
2014 | 2014-07-08 Markus Metzger <markus.t.metzger@intel.com> |
2015 | ||
2016 | * infcmd.c (finish_backward): Turn internal error into normal error. | |
2017 | ||
b2ee242b PA |
2018 | 2014-07-07 Pedro Alves <palves@redhat.com> |
2019 | ||
8a869bca | 2020 | PR gdb/17096 |
b2ee242b PA |
2021 | * remote.c (async_handle_remote_sigint) |
2022 | (async_handle_remote_sigint_twice): Call | |
2023 | gdb_call_async_signal_handler instead of | |
2024 | mark_async_signal_handler. | |
2025 | ||
38e229b2 TT |
2026 | 2014-07-07 Tom Tromey <tromey@redhat.com> |
2027 | ||
2028 | * target-delegates.c: Rebuild. | |
2029 | * target.c (target_info_record): Remove. | |
2030 | * record.c (info_record_command): Unconditionally call | |
2031 | to_info_record. | |
2032 | * target.h (struct target_ops) <to_info_record>: Use | |
2033 | TARGET_DEFAULT_IGNORE. | |
2034 | (target_info_record): Remove. | |
2035 | ||
f0f9ff95 TT |
2036 | 2014-07-07 Tom Tromey <tromey@redhat.com> |
2037 | ||
2038 | * target.h (struct target_ops) <to_get_thread_local_address>: Use | |
2039 | TARGET_DEFAULT_NORETURN. | |
2040 | * target.c (generic_tls_error): New function. | |
2041 | (target_translate_tls_address): Don't search target stack. | |
2042 | * target-delegates.c: Rebuild. | |
2043 | * ppc-linux-tdep.c (ppc_linux_spe_context): Don't search target | |
2044 | stack. | |
2045 | * linux-thread-db.c (thread_db_get_thread_local_address): | |
2046 | Unconditionally call beneath target. | |
2047 | ||
4a5be5ee MK |
2048 | 2014-07-03 Marc Khouzam <marc.khouzam@ericsson.com> |
2049 | ||
2050 | * cli/cli-logging.c (pop_output_files): Assign targerr to | |
2051 | gdb_stdtargerr. | |
2052 | ||
92c3b204 AB |
2053 | 2014-07-03 Andrew Burgess <andrew.burgess@embecosm.com> |
2054 | ||
2055 | * MAINTAINERS (Write After Approval): Update my email address. | |
2056 | ||
9b11e3a7 GB |
2057 | 2014-07-02 Gary Benson <gbenson@redhat.com> |
2058 | ||
2059 | * proc-service.c (ps_xfer_memory): Update comment. | |
2060 | (ps_pstop): Remove unused function. | |
2061 | (ps_pcontinue): Likewise. | |
2062 | (ps_lstop): Likewise. | |
2063 | (ps_lcontinue): Likewise. | |
2064 | (ps_lgetxregsize): Likewise. | |
2065 | (ps_lgetxregs): Likewise. | |
2066 | (ps_lsetxregs): Likewise. | |
2067 | (ps_plog): Likewise. | |
2068 | (ps_ptread): Likewise. | |
2069 | (ps_ptwrite): Likewise. | |
2070 | ||
cf363f18 MW |
2071 | 2014-07-01 Mark Wielaard <mjw@redhat.com> |
2072 | ||
2073 | * dwarf2read.c (add_array_cv_type): New function. | |
2074 | (read_tag_const_type): Call add_array_cv_type for TYPE_CODE_ARRAY. | |
2075 | (read_tag_volatile_type): Likewise. | |
2076 | ||
82ae6c8d TT |
2077 | 2014-07-01 Tom Tromey <tromey@redhat.com> |
2078 | ||
2079 | * breakpoint.c (add_catch_command): Use cmd_sfunc_ftype. | |
2080 | * breakpoint.h (add_catch_command): Use cmd_sfunc_ftype. | |
2081 | * cli/cli-decode.c (cmd_cfunc_eq, add_cmd, add_prefix_cmd) | |
2082 | (add_abbrev_prefix_cmd, add_info, add_com): Use cmd_cfunc_ftype. | |
2083 | * command.h (cmd_cfunc_ftype): Move earlier. | |
2084 | (add_cmd, add_prefix_cmd, add_abbrev_prefix_cmd, cmd_cfunc_eq) | |
2085 | (add_com, add_info): Use cmd_cfunc_ftype. | |
2086 | ||
96142726 TT |
2087 | 2014-06-30 Tom Tromey <tromey@redhat.com> |
2088 | ||
2089 | * symtab.c (operator_chars): Make parameters and return type | |
2090 | const. | |
2091 | (file_matches): Make "files" const. | |
2092 | (struct search_symbols_data) <files>: Now const. | |
2093 | (search_symbols): Make "regexp" and "files" parameters const. | |
2094 | Update. | |
2095 | (symtab_symbol_info): Remove cast. | |
2096 | (rbreak_command): Update. | |
2097 | * symtab.h (search_symbols): Update. | |
2098 | ||
b67a2c6f YQ |
2099 | 2014-06-27 Yao Qi <yao@codesourcery.com> |
2100 | ||
2101 | * breakpoint.c (check_longjmp_breakpoint_for_call_dummy): | |
2102 | Change parameter type to 'struct thread_info *'. Caller | |
2103 | updated. | |
2104 | * breakpoint.h (check_longjmp_breakpoint_for_call_dummy): | |
2105 | Update declaration. | |
2106 | * dummy-frame.c (struct dummy_frame_id): New. | |
2107 | (dummy_frame_id_eq): New function. | |
2108 | (struct dummy_frame) <id>: Change its type to 'struct | |
2109 | dummy_frame_id'. | |
2110 | (dummy_frame_push): Add parameter ptid and save it in | |
2111 | dummy_frame_id. | |
2112 | (pop_dummy_frame_bpt): Use ptid of dummy_frame instead of | |
2113 | inferior_ptid. | |
2114 | (pop_dummy_frame): Assert that the ptid of dummy_frame equals | |
2115 | to inferior_ptid. | |
2116 | (lookup_dummy_frame): Change parameter type to 'struct | |
2117 | dummy_frame_id *'. Callers updated. Call dummy_frame_id_eq | |
2118 | instead of frame_id_eq. | |
2119 | (dummy_frame_pop): Add parameter ptid. Callers updated. | |
2120 | Update comments. Compose dummy_frame_id and pass it to | |
2121 | lookup_dummy_frame. | |
2122 | (dummy_frame_discard): Add parameter ptid. | |
2123 | (dummy_frame_sniffer): Compose dummy_frame_id and call | |
2124 | dummy_frame_id_eq instead of frame_id_eq. | |
2125 | (fprint_dummy_frames): Print ptid. | |
2126 | * dummy-frame.h: Remove comments. | |
2127 | (dummy_frame_push): Add ptid in declaration. | |
2128 | (dummy_frame_pop, dummy_frame_discard): Likewise. | |
2129 | ||
5b10184c TT |
2130 | 2014-06-26 Tom Tromey <tromey@redhat.com> |
2131 | ||
2132 | * cli/cli-cmds.c (error_no_arg): Make "why" const. | |
2133 | * command.h (error_no_arg): Update. | |
2134 | ||
06900326 TT |
2135 | 2014-06-26 Tom Tromey <tromey@redhat.com> |
2136 | ||
2137 | * cli/cli-setshow.c (do_set_command): Make "arg" const. | |
2138 | (do_show_command): Make "arg" const. | |
2139 | * cli/cli-setshow.h (do_set_command, do_show_command): Update. | |
2140 | ||
c2bcbb1d TT |
2141 | 2014-06-26 Tom Tromey <tromey@redhat.com> |
2142 | ||
2143 | * record-full.c (record_full_get_bookmark): Make "args" const. | |
2144 | (record_full_goto_bookmark): Make "raw_bookmark" const. | |
2145 | * record.c (record_goto): New function. | |
2146 | (cmd_record_goto): Use it. Now static. | |
2147 | * record.h (record_goto): Declare. | |
2148 | (cmd_record_goto): Remove declaration. | |
2149 | * target-delegates.c: Rebuild. | |
2150 | * target.h (struct target_ops) <to_get_bookmark, | |
2151 | to_goto_bookmark>: Make parameter const. | |
2152 | ||
9cbe5fff TT |
2153 | 2014-06-26 Tom Tromey <tromey@redhat.com> |
2154 | ||
2155 | * defs.h (generic_load): Update. | |
2156 | * m32r-rom.c (m32r_load_gen): Make "filename" const. | |
2157 | * monitor.c (monitor_load): Make "args" const. | |
2158 | * remote-m32r-sdi.c (m32r_load): Make "args" const. | |
2159 | * remote-mips.c (mips_load_srec, pmon_load_fast): Make "args" | |
2160 | const. | |
2161 | (mips_load): Make "file" const. | |
2162 | * remote-sim.c (gdbsim_load): Make "args" const. | |
2163 | * remote.c (remote_load): Make "name" const. | |
2164 | * symfile.c (generic_load): Make "args" const. | |
2165 | * target-delegates.c: Rebuild. | |
2166 | * target.c (target_load): Make "arg" const. | |
2167 | (debug_to_load): Make "args" const. | |
2168 | * target.h (struct target_ops) <to_load>: Make parameter const. | |
2169 | (target_load): Update. | |
2170 | ||
34a68019 TT |
2171 | 2014-06-26 Tom Tromey <tromey@redhat.com> |
2172 | ||
2173 | PR symtab/16902: | |
2174 | * dwarf2read.c (fixup_go_packaging, dwarf2_compute_name) | |
2175 | (dwarf2_physname, read_partial_die) | |
2176 | (guess_partial_die_structure_name, fixup_partial_die) | |
2177 | (guess_full_die_structure_name, anonymous_struct_prefix) | |
2178 | (dwarf2_name): Use per-BFD obstack. | |
2179 | ||
efc889c1 YQ |
2180 | 2014-06-26 Yao Qi <yao@codesourcery.com> |
2181 | ||
2182 | * dummy-frame.c (dummy_frame_sniffer): Move local variables | |
2183 | dummyframe and this_id into inner block below. | |
2184 | ||
4395285e YQ |
2185 | 2014-06-26 Yao Qi <yao@codesourcery.com> |
2186 | ||
2187 | * infrun.c (_initialize_infrun): Replace "signal_program[0]" | |
2188 | with "signal_pass[0]" in the initialization of signal_pass. | |
2189 | ||
aef92902 MM |
2190 | 2014-06-25 Markus Metzger <markus.t.metzger@intel.com> |
2191 | ||
2192 | * record-btrace.c (record_btrace_generating_corefile) | |
2193 | (record_btrace_prepare_to_generate_core) | |
2194 | (record_btrace_done_generating_core): New. | |
2195 | (record_btrace_xfer_partial, record_btrace_fetch_registers) | |
2196 | (record_btrace_store_registers, record_btrace_prepare_to_store): | |
2197 | Forward request when generating a core file. | |
2198 | (record_btrace_open): Set record_btrace_generating_corefile to zero. | |
2199 | (init_record_btrace_ops): Set to_prepare_to_generate_core and | |
2200 | to_done_generating_core. | |
2201 | ||
5fff78c4 MM |
2202 | 2014-06-25 Markus Metzger <markus.t.metzger@intel.com> |
2203 | ||
2204 | * target.h (target_ops) <to_prepare_to_generate_core> | |
2205 | <to_done_generating_core>: New. | |
2206 | (target_prepare_to_generate_core, target_done_generating_core): New. | |
2207 | * target.c (target_prepare_to_generate_core) | |
2208 | (target_done_generating_core): New. | |
2209 | * target-delegates.c: Regenerate. | |
2210 | * gcore.c: (write_gcore_file): Rename to ... | |
2211 | (write_gcore_file_1): ...this. | |
2212 | (write_gcore_file): Call target_prepare_to_generate_core | |
2213 | and target_done_generating_core. | |
2214 | ||
1d1f1ccb MM |
2215 | 2014-06-25 Markus Metzger <markus.t.metzger@intel.com> |
2216 | ||
2217 | * fbsd-nat.c (fbsd_make_corefile_notes): Remove make_cleanup call. | |
2218 | * gcore.c (write_gcore_file): Free memory returned from | |
2219 | make_corefile_notes. | |
2220 | * linux-tdep.c (linux_make_corefile_notes): Remove make_cleanup call. | |
2221 | * procfs.c (procfs_make_note_section): Remove make_cleanup call. | |
2222 | ||
3343ef86 YQ |
2223 | 2014-06-24 Yao Qi <yao@codesourcery.com> |
2224 | ||
2225 | * arm-linux-tdep.c (arm_linux_skip_trampoline_code): New. | |
2226 | (arm_linux_init_abi): Set skip_trampoline_code with | |
2227 | gdbarch_skip_trampoline_code instead of | |
2228 | find_solib_trampoline_target. | |
2229 | ||
18d18ac8 YQ |
2230 | 2014-06-24 Yao Qi <yao@codesourcery.com> |
2231 | ||
2232 | * arm-tdep.c (arm_stub_unwind_sniffer): Return 1 if | |
2233 | arm_skip_bx_reg returns non-zero. | |
2234 | ||
80d8d390 YQ |
2235 | 2014-06-24 Yao Qi <yao@codesourcery.com> |
2236 | ||
2237 | * arm-tdep.c (arm_skip_bx_reg): New function. | |
2238 | (arm_skip_stub): Call arm_skip_bx_reg. | |
2239 | ||
6a18a01c DB |
2240 | 2014-06-23 Don Breazeal <donb@codesourcery.com> |
2241 | ||
2242 | * MAINTAINERS: Add myself as write-after-approval maintainer. | |
2243 | ||
8e9db26e PA |
2244 | 2014-06-23 Pedro Alves <palves@redhat.com> |
2245 | ||
2246 | * amd64-linux-nat.c (amd64_linux_prepare_to_resume): Clear | |
2247 | DR_CONTROL before setting DR0..DR3. | |
2248 | * i386-linux-nat.c (i386_linux_prepare_to_resume): Likewise. | |
2249 | * nat/i386-dregs.c (i386_remove_aligned_watchpoint): Clear all | |
2250 | bits of DR_CONTROL related to the debug register slot being | |
2251 | disabled. If all slots are vacant, clear local slowdown as well, | |
2252 | and assert DR_CONTROL is 0. | |
2253 | ||
70afc5b7 SC |
2254 | 2014-06-23 Siva Chandra Reddy <sivachandra@google.com> |
2255 | ||
2256 | * python/lib/gdb/command/xmethods.py | |
2257 | (get_method_matchers_in_loci): Lookup xmethod matchers in the | |
2258 | current progspace only if the string "progspace" matches LOCUS_RE. | |
2259 | ||
840ed64d JK |
2260 | 2014-06-20 Jan Kratochvil <jan.kratochvil@redhat.com> |
2261 | ||
2262 | Fix --with-system-readline with readline-6.3 patch 5. | |
2263 | * tui/tui-io.c (tui_old_rl_getc_function, tui_old_rl_redisplay_function) | |
2264 | (tui_old_rl_prep_terminal, tui_old_rl_deprep_terminal): Use rl_*_t | |
2265 | types. | |
2266 | ||
26f2dc30 TT |
2267 | 2014-06-20 Tom Tromey <tromey@redhat.com> |
2268 | ||
2269 | * dwarf2read.c (dw2_get_real_path): Use correct type in | |
2270 | OBSTACK_CALLOC. | |
2271 | * gdb_obstack.h (OBSTACK_ZALLOC, OBSTACK_CALLOC): Cast result. | |
2272 | ||
125f8a3d GB |
2273 | 2014-06-20 Gary Benson <gbenson@redhat.com> |
2274 | ||
2275 | * common/gdb_thread_db.h: Moved to nat. All includes updated. | |
2276 | * common/glibc_thread_db.h: Likewise. | |
2277 | * common/i386-cpuid.h: Likewise. | |
2278 | * common/i386-gcc-cpuid.h: Likewise. | |
2279 | * common/linux-btrace.h: Likewise. | |
2280 | * common/linux-osdata.h: Likewise. | |
2281 | * common/linux-procfs.h: Likewise. | |
2282 | * common/linux-ptrace.h: Likewise. | |
2283 | * common/mips-linux-watch.h: Likewise. | |
2284 | * common/linux-btrace.c: Moved to nat. | |
2285 | * common/linux-osdata.c: Likewise. | |
2286 | * common/linux-procfs.c: Likewise. | |
2287 | * common/linux-ptrace.c: Likewise. | |
2288 | * common/mips-linux-watch.c: Likewise. | |
2289 | * nat/gdb_thread_db.h: Moved from common. | |
2290 | * nat/glibc_thread_db.h: Likewise. | |
2291 | * nat/i386-cpuid.h: Likewise. | |
2292 | * nat/i386-gcc-cpuid.h: Likewise. | |
2293 | * nat/linux-btrace.c: Likewise. | |
2294 | * nat/linux-btrace.h: Likewise. | |
2295 | * nat/linux-osdata.c: Likewise. | |
2296 | * nat/linux-osdata.h: Likewise. | |
2297 | * nat/linux-procfs.c: Likewise. | |
2298 | * nat/linux-procfs.h: Likewise. | |
2299 | * nat/linux-ptrace.c: Likewise. | |
2300 | * nat/linux-ptrace.h: Likewise. | |
2301 | * nat/mips-linux-watch.c: Likewise. | |
2302 | * nat/mips-linux-watch.h: Likewise. | |
2303 | * Makefile.in (HFILES_NO_SRCDIR): Reflect new locations. | |
2304 | (object file files): Reordered. | |
2305 | * gdb/copyright.py (EXCLUDE_LIST): Reflect new location | |
2306 | of glibc_thread_db.h. | |
2307 | ||
42995dbd GB |
2308 | 2014-06-20 Gary Benson <gbenson@redhat.com> |
2309 | ||
2310 | * i386-nat.h (debug_hw_points): Moved to nat/i386-dregs.c. | |
2311 | (i386_dr_low_type): Moved to nat/i386-dregs.h. | |
2312 | (i386_dr_low): Likewise. | |
2313 | (i386_dr_low_can_set_addr): Moved to nat/i386-dregs.c. | |
2314 | (i386_dr_low_set_addr): Likewise. | |
2315 | (i386_dr_low_get_addr): Likewise. | |
2316 | (i386_dr_low_can_set_control): Likewise. | |
2317 | (i386_dr_low_set_control): Likewise. | |
2318 | (i386_dr_low_get_control): Likewise. | |
2319 | (i386_dr_low_get_status): Likewise. | |
2320 | (i386_get_debug_register_length): Likewise. | |
2321 | * nat/i386-dregs.h (i386_dr_low_type): Moved from i386-nat.h. | |
2322 | (i386_dr_low): Likewise. | |
2323 | * nat/i386-dregs.c (i386-low.h): Remove include. | |
2324 | (i386-nat.h): Likewise. | |
2325 | (nat/i386-dregs.h): New include. | |
2326 | (i386_dr_low_can_set_addr): Moved from i386-nat.h. | |
2327 | (i386_dr_low_set_addr): Likewise. | |
2328 | (i386_dr_low_get_addr): Likewise. | |
2329 | (i386_dr_low_can_set_control): Likewise. | |
2330 | (i386_dr_low_set_control): Likewise. | |
2331 | (i386_dr_low_get_control): Likewise. | |
2332 | (i386_dr_low_get_status): Likewise. | |
2333 | (i386_get_debug_register_length): Likewise. | |
2334 | (debug_hw_points): Likewise. | |
2335 | ||
3ed9baed IB |
2336 | 2014-06-19 Iain Buclaw <ibuclaw@gdcproject.org> |
2337 | ||
2338 | * Makefile.in (SFILES): Add d-exp.y. | |
2339 | (YYFILES): Add d-exp.c. | |
2340 | (YYOBJ): Add d-exp.o. | |
2341 | (local-maintainer-clean): Delete d-exp.c. | |
2342 | * d-exp.y: New file. | |
2343 | * d-lang.h (d_parse): New declaration. | |
2344 | (d_error): New declaration. | |
2345 | * d-lang.c (d_op_print_tab): Add entry for BINOP_CONCAT and BINOP_EXP. | |
2346 | Set BINOP_EQUAL and BINOP_NOTEQUAL to same precedence as other | |
2347 | PREC_ORDER operators. | |
2348 | (d_language_defn): Use d_parse, d_error instead of c_parse, c_error. | |
2349 | ||
78c164b0 YQ |
2350 | 2014-06-19 Yao Qi <yao@codesourcery.com> |
2351 | ||
2352 | * gdbthread.h (any_running): Remove the declaration. | |
2353 | * thread.c (any_running): Remove. | |
2354 | ||
f6e29b6e YQ |
2355 | 2014-06-19 Yao Qi <yao@codesourcery.com> |
2356 | ||
2357 | * gdbthread.h (struct thread_info) <state>: Change its type to | |
2358 | 'enum thread_state'. Update comments. | |
2359 | ||
034f788c PA |
2360 | 2014-06-19 Pedro Alves <palves@redhat.com> |
2361 | ||
2362 | * gdbthread.h (ALL_THREADS): Delete. | |
2363 | (ALL_NON_EXITED_THREADS): New macro. | |
2364 | * btrace.c (btrace_free_objfile): Use ALL_NON_EXITED_THREADS | |
2365 | instead of ALL_THREADS. | |
2366 | * infrun.c (find_thread_needs_step_over) | |
2367 | (switch_back_to_stepped_thread): Use ALL_NON_EXITED_THREADS | |
2368 | instead of ALL_THREADS. | |
2369 | * record-btrace.c (record_btrace_open) | |
2370 | (record_btrace_stop_recording, record_btrace_close) | |
2371 | (record_btrace_is_replaying, record_btrace_resume) | |
2372 | (record_btrace_find_thread_to_move, record_btrace_wait): Likewise. | |
2373 | * remote.c (append_pending_thread_resumptions): Likewise. | |
2374 | * thread.c (thread_apply_all_command): Likewise. | |
2375 | ||
46e33252 GB |
2376 | 2014-06-19 Gary Benson <gbenson@redhat.com> |
2377 | ||
2378 | * i386-nat.c (i386_stopped_by_watchpoint): | |
2379 | Use i386_dr_stopped_by_watchpoint. | |
2380 | (i386_insert_hw_breakpoint): Use i386_dr_insert_watchpoint. | |
2381 | (i386_remove_hw_breakpoint): Use i386_dr_remove_watchpoint. | |
2382 | ||
3a8ee006 GB |
2383 | 2014-06-19 Gary Benson <gbenson@redhat.com> |
2384 | ||
2385 | * nat/i386-dregs.c: New file. | |
2386 | * Makefile.in (i386-dregs.o): New rule. | |
2387 | * config/i386/cygwin.mh (NATDEPFILES): Add i386-dregs.o. | |
2388 | * config/i386/cygwin64.mh (NATDEPFILES): Likewise. | |
2389 | * config/i386/darwin.mh (NATDEPFILES): Likewise. | |
2390 | * config/i386/fbsd.mh (NATDEPFILES): Likewise. | |
2391 | * config/i386/fbsd64.mh (NATDEPFILES): Likewise. | |
2392 | * config/i386/go32.mh (NATDEPFILES): Likewise. | |
2393 | * config/i386/linux.mh (NATDEPFILES): Likewise. | |
2394 | * config/i386/linux64.mh (NATDEPFILES): Likewise. | |
2395 | * config/i386/mingw.mh (NATDEPFILES): Likewise. | |
2396 | * config/i386/mingw64.mh (NATDEPFILES): Likewise. | |
2397 | * i386-nat.h (debug_hw_points): New declaration. | |
2398 | * i386-nat.c (breakpoint.h): Remove include. | |
2399 | (command.h): Likewise. | |
2400 | (target.h): Likewise. | |
2401 | (gdb_assert.h): Likewise. | |
2402 | (debug_hw_points): Made nonstatic. | |
2403 | (debug_printf): Now in i386-dregs.c. | |
2404 | (TARGET_HAS_DR_LEN_8): Likewise. | |
2405 | (DR_CONTROL_SHIFT): Likewise. | |
2406 | (DR_CONTROL_SIZE): Likewise. | |
2407 | (DR_RW_EXECUTE): Likewise. | |
2408 | (DR_RW_WRITE): Likewise. | |
2409 | (DR_RW_READ): Likewise. | |
2410 | (DR_RW_IORW): Likewise. | |
2411 | (DR_LEN_1): Likewise. | |
2412 | (DR_LEN_2): Likewise. | |
2413 | (DR_LEN_4): Likewise. | |
2414 | (DR_LEN_8): Likewise. | |
2415 | (DR_LOCAL_ENABLE_SHIFT): Likewise. | |
2416 | (DR_GLOBAL_ENABLE_SHIFT): Likewise. | |
2417 | (DR_ENABLE_SIZE): Likewise. | |
2418 | (DR_LOCAL_SLOWDOWN): Likewise. | |
2419 | (DR_GLOBAL_SLOWDOWN): Likewise. | |
2420 | (DR_CONTROL_RESERVED): Likewise. | |
2421 | (I386_DR_CONTROL_MASK): Likewise. | |
2422 | (I386_DR_VACANT): Likewise. | |
2423 | (I386_DR_LOCAL_ENABLE): Likewise. | |
2424 | (I386_DR_GLOBAL_ENABLE): Likewise. | |
2425 | (I386_DR_DISABLE): Likewise. | |
2426 | (I386_DR_SET_RW_LEN): Likewise. | |
2427 | (I386_DR_GET_RW_LEN): Likewise. | |
2428 | (I386_DR_WATCH_HIT): Likewise. | |
2429 | (i386_wp_op_t): Likewise. | |
2430 | (i386_show_dr): Likewise. | |
2431 | (i386_length_and_rw_bits): Likewise. | |
2432 | (i386_insert_aligned_watchpoint): Likewise. | |
2433 | (i386_remove_aligned_watchpoint): Likewise. | |
2434 | (i386_handle_nonaligned_watchpoint): Likewise. | |
2435 | (i386_update_inferior_debug_regs): Likewise. | |
2436 | (i386_insert_watchpoint): Use i386_dr_insert_watchpoint. | |
2437 | (i386_remove_watchpoint): Use i386_dr_remove_watchpoint. | |
2438 | (i386_region_ok_for_watchpoint): | |
2439 | Use i386_dr_region_ok_for_watchpoint. | |
2440 | (i386_stopped_data_address): Use i386_dr_stopped_data_address. | |
2441 | ||
322a8e06 GB |
2442 | 2014-06-19 Gary Benson <gbenson@redhat.com> |
2443 | ||
2444 | * i386-nat.c (i386_insert_hw_breakpoint): Use | |
2445 | i386_insert_watchpoint. | |
2446 | (i386_remove_hw_breakpoint): Use i386_remove_watchpoint. | |
2447 | ||
8f26655c GB |
2448 | 2014-06-19 Gary Benson <gbenson@redhat.com> |
2449 | ||
2450 | * i386-nat.c (i386_dr_show): Renamed to | |
2451 | i386_show_dr and made static. All uses updated. | |
2452 | (i386_dr_length_and_rw_bits): Renamed to | |
2453 | i386_length_and_rw_bits and made static. | |
2454 | All uses updated. | |
2455 | (i386_dr_insert_aligned_watchpoint): Renamed to | |
2456 | i386_insert_aligned_watchpoint and made static. | |
2457 | All uses updated. | |
2458 | (i386_dr_remove_aligned_watchpoint): Renamed to | |
2459 | i386_remove_aligned_watchpoint and made static. | |
2460 | All uses updated. | |
2461 | (i386_dr_update_inferior_debug_regs): Renamed to | |
2462 | i386_update_inferior_debug_regs and made static. | |
2463 | All uses updated. | |
2464 | * nat/i386-dregs.h (i386_dr_show): Removed. | |
2465 | (i386_dr_length_and_rw_bits): Likewise. | |
2466 | (i386_dr_insert_aligned_watchpoint): Likewise. | |
2467 | (i386_dr_remove_aligned_watchpoint): Likewise. | |
2468 | (i386_dr_update_inferior_debug_regs): Likewise. | |
2469 | ||
992c7d70 GB |
2470 | 2014-06-19 Gary Benson <gbenson@redhat.com> |
2471 | ||
2472 | * configure.ac [AC_CHECK_FUNCS] <sigaltstack>: New check. | |
2473 | * configure: Regenerate. | |
2474 | * config.in: Likewise. | |
2475 | * main.c (signal.h): New include. | |
2476 | (setup_alternate_signal_stack): New function. | |
2477 | (captured_main): Call the above. | |
2478 | * cp-support.c (signal.h): New include. | |
2479 | (catch_demangler_crashes): New flag. | |
2480 | (SIGJMP_BUF): New define. | |
2481 | (SIGSETJMP): Likewise. | |
2482 | (SIGLONGJMP): Likewise. | |
2483 | (gdb_demangle_jmp_buf): New static global. | |
2484 | (gdb_demangle_attempt_core_dump): Likewise. | |
2485 | (gdb_demangle_signal_handler): New function. | |
2486 | (gdb_demangle): If catch_demangler_crashes is set, install the | |
2487 | above signal handler before calling bfd_demangle, and restore | |
2488 | the original signal handler afterwards. Display the offending | |
2489 | symbol and call demangler_warning the first time a segmentation | |
2490 | fault is caught. | |
2491 | (_initialize_cp_support): New maint set/show command. | |
2492 | ||
eae7090b GB |
2493 | 2014-06-19 Gary Benson <gbenson@redhat.com> |
2494 | ||
2495 | * utils.h (resource_limit_kind): New enum. | |
2496 | (can_dump_core): New declaration. | |
2497 | (warn_cant_dump_core): Likewise. | |
2498 | (dump_core): Likewise. | |
2499 | * utils.c (dump_core): Made nonstatic. Added new | |
2500 | parameter "limit_kind". | |
2501 | (can_dump_core): Made nonstatic. Moved printing code to... | |
2502 | (warn_cant_dump_core): New function. | |
2503 | (can_dump_core_warn): Likewise. | |
2504 | (internal_vproblem): Replace calls to can_dump_core with | |
2505 | calls to can_dump_core_warn. Supply new argument to each. | |
2506 | ||
57fcfb1b GB |
2507 | 2014-06-19 Gary Benson <gbenson@redhat.com> |
2508 | ||
2509 | * utils.h (demangler_vwarning): New declaration. | |
2510 | (demangler_warning): Likewise. | |
2511 | * utils.c (struct internal_problem) | |
2512 | <user_settable_should_quit>: New field. | |
2513 | <user_settable_should_dump_core>: Likewise | |
2514 | (internal_error_problem): Add values for above new fields. | |
2515 | (internal_warning_problem): Likewise. | |
2516 | (demangler_warning_problem): New static global. | |
2517 | (demangler_vwarning): New function. | |
2518 | (demangler_warning): Likewise. | |
2519 | (add_internal_problem_command): Selectively add commands. | |
2520 | (_initialize_utils): New internal problem command. | |
2521 | * maint.c (maintenance_demangler_warning): New function. | |
2522 | (_initialize_maint_cmds): New command. | |
2523 | ||
17a40b44 TT |
2524 | 2014-06-18 Tom Tromey <tromey@redhat.com> |
2525 | ||
2526 | * f-valprint.c (info_common_command_for_block): Update. | |
2527 | * symtab.h (struct general_symbol_info) <common_block>: Now | |
2528 | const. | |
2529 | ||
346d1dfe TT |
2530 | 2014-06-18 Tom Tromey <tromey@redhat.com> |
2531 | ||
2532 | * symtab.h (struct symtab) <blockvector>: Now const. | |
2533 | * ada-lang.c (ada_add_global_exceptions): Update. | |
2534 | * buildsym.c (augment_type_symtab): Update. | |
2535 | * dwarf2read.c (dw2_lookup_symbol): Update. | |
2536 | * jit.c (finalize_symtab): Update. | |
2537 | * jv-lang.c (add_class_symtab_symbol): Update. | |
2538 | * mdebugread.c (parse_symbol, add_block, sort_blocks, new_symtab): | |
2539 | Update. | |
2540 | * objfiles.c (objfile_relocate1): Update. | |
2541 | * psymtab.c (lookup_symbol_aux_psymtabs) | |
2542 | (maintenance_check_psymtabs): Update. | |
2543 | * python/py-symtab.c (stpy_global_block, stpy_static_block): | |
2544 | Update. | |
2545 | * spu-tdep.c (spu_catch_start): Update. | |
2546 | * symmisc.c (dump_symtab_1): Update. | |
2547 | * symtab.c (lookup_global_symbol_from_objfile) | |
2548 | (lookup_symbol_aux_objfile, lookup_symbol_aux_quick) | |
2549 | (basic_lookup_transparent_type_quick) | |
2550 | (basic_lookup_transparent_type, find_pc_sect_symtab) | |
2551 | (find_pc_sect_line, search_symbols): Update. | |
2552 | * block.c (find_block_in_blockvector): Make "bl" const. | |
2553 | (blockvector_for_pc_sect, blockvector_for_pc): Make return type | |
2554 | const. | |
2555 | (blockvector_contains_pc): Make "bv" const. | |
2556 | (block_for_pc_sect): Update. | |
2557 | * block.h (blockvector_for_pc, blockvector_for_pc_sect) | |
2558 | (blockvector_contains_pc): Update. | |
2559 | * breakpoint.c (resolve_sal_pc): Update. | |
2560 | * inline-frame.c (block_starting_point_at): Update. | |
2561 | ||
1834676b TT |
2562 | 2014-06-18 Tom Tromey <tromey@redhat.com> |
2563 | ||
2564 | * completer.c (complete_line): Make "line_buffer" const. | |
2565 | * completer.h (complete_line): Update. | |
2566 | ||
ac1a991b TT |
2567 | 2014-06-18 Tom Tromey <tromey@redhat.com> |
2568 | ||
2569 | * symtab.c (add_macro_name): Remove unneeded cast. | |
2570 | ||
5bc98e52 TT |
2571 | 2014-06-18 Tom Tromey <tromey@redhat.com> |
2572 | ||
2573 | * cli/cli-setshow.h (parse_cli_boolean_value): Update. | |
2574 | * cli/cli-setshow.c (parse_cli_boolean_value): Make "arg" const. | |
2575 | ||
8236def8 TT |
2576 | 2014-06-18 Tom Tromey <tromey@redhat.com> |
2577 | ||
2578 | * probe.c (info_probes_for_ops): Make "arg" const. | |
2579 | * probe.h (info_probes_for_ops): Update. | |
2580 | ||
3977b71f TT |
2581 | 2014-06-18 Tom Tromey <tromey@redhat.com> |
2582 | ||
2583 | * varobj.c (varobj_create): Update. | |
2584 | * valops.c (value_of_this): Update. | |
2585 | * tracepoint.c (add_local_symbols, scope_info): Update. | |
2586 | * symtab.h (struct general_symbol_info) <block>: Now const. | |
2587 | * symtab.c (skip_prologue_sal) | |
2588 | (default_make_symbol_completion_list_break_on) | |
2589 | (skip_prologue_using_sal): Update. | |
2590 | * stack.h (iterate_over_block_locals) | |
2591 | (iterate_over_block_local_vars): Update. | |
2592 | * stack.c (print_frame_args): Update. | |
2593 | (iterate_over_block_locals, iterate_over_block_local_vars): Make | |
2594 | parameter const. | |
2595 | (get_selected_block): Make return type const. | |
2596 | * python/py-frame.c (frapy_block): Update. | |
2597 | * python/py-block.c (gdbpy_block_for_pc): Update. | |
2598 | * p-exp.y (%union) <bval>: Now const. | |
2599 | * mi/mi-cmd-stack.c (list_args_or_locals): Update. | |
2600 | * mdebugread.c (mylookup_symbol, parse_procedure): Update. | |
2601 | * m2-exp.y (%union) <bval>: Now const. | |
2602 | * linespec.c (get_current_search_block): Make return type const. | |
2603 | (create_sals_line_offset, find_label_symbols): Update. | |
2604 | * inline-frame.c (inline_frame_sniffer, skip_inline_frames): | |
2605 | Update. | |
2606 | (block_starting_point_at): Make "block" const. | |
2607 | * infrun.c (insert_exception_resume_breakpoint): Make "b" const. | |
2608 | (check_exception_resume): Update. | |
2609 | * guile/scm-frame.c (gdbscm_frame_block): Update. | |
2610 | * guile/scm-block.c (gdbscm_lookup_block): Update. | |
2611 | * frame.h (get_frame_block): Update. | |
2612 | (get_selected_block): Make return type const. | |
2613 | * frame.c (frame_id_inner): Update. | |
2614 | * f-valprint.c (info_common_command_for_block) | |
2615 | (info_common_command): Update. | |
2616 | * dwarf2loc.c (dwarf2_find_location_expression) | |
2617 | (dwarf_expr_frame_base, dwarf2_compile_expr_to_ax) | |
2618 | (locexpr_describe_location_piece): Update. | |
2619 | * c-exp.y (%union) <bval>: Now const. | |
2620 | * breakpoint.c (resolve_sal_pc): Update. | |
2621 | * blockframe.c (get_frame_block):Make return type const. | |
2622 | (get_pc_function_start, get_frame_function, find_pc_sect_function) | |
2623 | (block_innermost_frame): Update. | |
2624 | * block.h (blockvector_for_pc, blockvector_for_pc_sect) | |
2625 | (block_for_pc, block_for_pc_sect): Update. | |
2626 | * block.c (blockvector_for_pc_sect, blockvector_for_pc): Make | |
2627 | 'pblock' const. | |
2628 | (block_for_pc_sect, block_for_pc): Make return type const. | |
2629 | * ax-gdb.c (gen_expr): Update. | |
2630 | * alpha-mdebug-tdep.c (find_proc_desc): Update. | |
2631 | * ada-lang.c (ada_read_renaming_var_value): Make 'block' const. | |
2632 | (ada_make_symbol_completion_list, ada_add_exceptions_from_frame) | |
2633 | (ada_read_var_value): Update. | |
2634 | * ada-exp.y (struct name_info) <block>: Now const. | |
2635 | (%union): Likewise. | |
2636 | (block_lookup): Constify. | |
2637 | ||
b9228891 GB |
2638 | 2014-06-18 Gary Benson <gbenson@redhat.com> |
2639 | ||
2640 | * nat/i386-dregs.h: New file. | |
2641 | * Makefile.in (HFILES_NO_SRCDIR): Add the above. | |
2642 | * i386-nat.h (i386-dregs.h): New include. | |
2643 | (DR_FIRSTADDR): Now in i386-dregs.h. | |
2644 | (DR_LASTADDR): Likewise. | |
2645 | (DR_NADDR): Likewise. | |
2646 | (DR_STATUS): Likewise. | |
2647 | (DR_CONTROL): Likewise. | |
2648 | (i386_debug_reg_state): Likewise. | |
2649 | * i386-nat.c (ALL_DEBUG_REGISTERS): Likewise. | |
2650 | ||
a1aa2221 LM |
2651 | 2014-06-18 Don Breazeal <donb@codesourcery.com> |
2652 | ||
2653 | * breakpoint.c (set_longjmp_breakpoint): Call | |
2654 | momentary_breakpoint_from_master with additional argument. | |
2655 | (set_longjmp_breakpoint_for_call_dummy): Call | |
2656 | momentary_breakpoint_from_master with additional argument. | |
2657 | (set_std_terminate_breakpoint): Call | |
2658 | momentary_breakpoint_from_master with additional argument. | |
2659 | (momentary_breakpoint_from_master): Add argument to function | |
2660 | definition and use it to initialize structure member flag. | |
74228e77 | 2661 | (clone_momentary_breakpoint): Call |
a1aa2221 LM |
2662 | momentary_breakpoint_from_master with additional argument. |
2663 | * infrun.c (follow_inferior_reset_breakpoints): Clear structure | |
2664 | member flags set in momentary_breakpoint_from_master. | |
2665 | ||
4be83cc2 GB |
2666 | 2014-06-18 Gary Benson <gbenson@redhat.com> |
2667 | ||
2668 | * i386-nat.c (i386_show_dr): Renamed to | |
2669 | i386_dr_show and made nonstatic. All uses updated. | |
2670 | (i386_length_and_rw_bits): Renamed to | |
2671 | i386_dr_length_and_rw_bits and made nonstatic. | |
2672 | All uses updated. | |
2673 | (i386_insert_aligned_watchpoint): Renamed to | |
2674 | i386_dr_insert_aligned_watchpoint and made nonstatic. | |
2675 | All uses updated. | |
2676 | (i386_remove_aligned_watchpoint): Renamed to | |
2677 | i386_dr_remove_aligned_watchpoint and made nonstatic. | |
2678 | All uses updated. | |
2679 | (i386_update_inferior_debug_regs): Renamed to | |
2680 | i386_dr_update_inferior_debug_regs and made nonstatic. | |
2681 | All uses updated. | |
2682 | ||
131aa0d4 GB |
2683 | 2014-06-18 Gary Benson <gbenson@redhat.com> |
2684 | ||
2685 | * i386-nat.c (i386_dr_low_can_set_addr): New macro. | |
2686 | (i386_dr_low_can_set_control): Likewise. | |
2687 | (i386_dr_low_set_addr): Likewise. | |
2688 | (i386_dr_low_set_control): Likewise. | |
2689 | (i386_dr_low_get_addr): Likewise. | |
2690 | (i386_dr_low_get_status): Likewise. | |
2691 | (i386_dr_low_get_control): Likewise. | |
2692 | (i386_insert_aligned_watchpoint): Use new macros. | |
2693 | (i386_update_inferior_debug_regs): Likewise. | |
2694 | (i386_stopped_data_address): Likewise. | |
2695 | ||
d9305f7f GB |
2696 | 2014-06-18 Gary Benson <gbenson@redhat.com> |
2697 | ||
2698 | * i386-nat.c (i386_update_inferior_debug_regs) <state>: | |
2699 | New parameter. All uses updated. | |
2700 | ||
ea008da4 GB |
2701 | 2014-06-18 Gary Benson <gbenson@redhat.com> |
2702 | ||
2703 | * i386-nat.c (maint_show_dr): Renamed to debug_hw_points. | |
2704 | All uses updated. | |
2705 | ||
1b6d4134 GB |
2706 | 2014-06-18 Gary Benson <gbenson@redhat.com> |
2707 | ||
2708 | * i386-nat.c (debug_printf): New macro. | |
2709 | (i386_get_debug_register_length): Likewise. | |
2710 | (TARGET_HAS_DR_LEN_8): Use above macro. | |
2711 | (i386_show_dr): Use debug_printf instead of puts_unfiltered | |
2712 | and printf_unfiltered. Use phex to format values. | |
2713 | ||
9b4550ef GB |
2714 | 2014-06-18 Gary Benson <gbenson@redhat.com> |
2715 | ||
2716 | * i386-nat.c (i386_handle_nonaligned_watchpoint) <size_try_array>: | |
2717 | Make const. | |
2718 | ||
6e62758f GB |
2719 | 2014-06-18 Gary Benson <gbenson@redhat.com> |
2720 | ||
2721 | * i386-nat.c: Comment changes. | |
2722 | ||
51c79e94 GB |
2723 | 2014-06-18 Gary Benson <gbenson@redhat.com> |
2724 | ||
2725 | * i386-nat.c (I386_DR_WATCH_MASK): Remove macro. | |
2726 | ||
3e11889a GB |
2727 | 2014-06-18 Gary Benson <gbenson@redhat.com> |
2728 | ||
2729 | * i386-nat.c (i386_length_and_rw_bits): Remove prototype. | |
2730 | (i386_insert_aligned_watchpoint): Likewise. | |
2731 | (i386_remove_aligned_watchpoint): Likewise. | |
2732 | (i386_handle_nonaligned_watchpoint): Likewise. | |
2733 | ||
fc6e2f03 GB |
2734 | 2014-06-18 Gary Benson <gbenson@redhat.com> |
2735 | ||
2736 | * i386-nat.c: Whitespace changes. | |
2737 | ||
2afe7d50 SB |
2738 | 2014-06-17 Samuel Bronson <naesten@gmail.com> |
2739 | ||
2740 | * MAINTAINERS: Update Roland McGrath's email address. | |
2741 | Thanks to Sergio Durigan Junior for pointing out that he left | |
6a83deea | 2742 | Red Hat a while ago, and giving me a current address. |
2afe7d50 | 2743 | |
3bca49ee TT |
2744 | 2014-06-17 Tom Tromey <tromey@redhat.com> |
2745 | ||
2746 | * utils.h (savestring): Remove declaration. | |
2747 | ||
6e366df1 TT |
2748 | 2014-06-17 Tom Tromey <tromey@redhat.com> |
2749 | ||
2750 | * remote.c (extended_remote_run): Use make_cleanup_freeargv. | |
2751 | ||
6be47f0c KS |
2752 | 2014-06-16 Keith Seitz <keiths@redhat.com> |
2753 | ||
2754 | PR mi/15863 | |
2755 | * mi/mi-cmd-var.c (mi_cmd_var_update_iter): Do not attempt | |
2756 | to update the varobj if inferior_ptid is null_ptid. | |
2757 | ||
7bc112c1 TT |
2758 | 2014-06-16 Tom Tromey <tromey@redhat.com> |
2759 | ||
2760 | * target.h (struct target_ops) <to_info_proc>: Make parameter | |
2761 | const. | |
2762 | (target_info_proc): Update. | |
2763 | * target.c (target_info_proc): Make "args" const. | |
2764 | * procfs.c (procfs_info_proc): Update. | |
2765 | * linux-tdep.c (linux_info_proc): Update. | |
2766 | (linux_core_info_proc_mappings): Make "args" const. | |
2767 | (linux_core_info_proc): Update. | |
2768 | * gdbarch.sh (info_proc, core_info_proc): Make "args" const. | |
2769 | * gdbarch.c: Rebuild. | |
2770 | * gdbarch.h: Rebuild. | |
2771 | * corelow.c (core_info_proc): Update. | |
2772 | ||
fee354ee TT |
2773 | 2014-06-16 Tom Tromey <tromey@redhat.com> |
2774 | ||
2775 | * target.h (struct target_ops) <to_disconnect>: Make parameter | |
2776 | const. | |
2777 | (target_disconnect): Update. | |
2778 | * target.c (target_disconnect): Make "args" const. | |
2779 | * target-delegates.c: Rebuild. | |
2780 | * remote.c (remote_disconnect): Update. | |
2781 | * record.h (record_disconnect): Update. | |
2782 | * record.c (record_disconnect): Update. | |
2783 | * inf-child.c (inf_child_disconnect): Update. | |
2784 | ||
a30bf1f1 TT |
2785 | 2014-06-16 Tom Tromey <tromey@redhat.com> |
2786 | ||
2787 | * target.h (struct target_ops) <to_rcmd>: Make "command" const. | |
2788 | * target.c (debug_to_rcmd, default_rcmd): Update. | |
2789 | * target-delegates.c: Rebuild. | |
2790 | * remote.c (remote_rcmd): Update. | |
2791 | * monitor.c (monitor_rcmd): Update. | |
2792 | ||
d03de421 PA |
2793 | 2014-06-16 Pedro Alves <palves@redhat.com> |
2794 | ||
2795 | * breakpoint.c (insert_bp_location, remove_breakpoint_1): Adjust. | |
2796 | (disable_breakpoints_in_freed_objfile): Skip objfiles that don't | |
2797 | have OBJF_SHARED set. | |
2798 | * objfiles.c (userloaded_objfile_contains_address_p): Rename to... | |
2799 | (shared_objfile_contains_address_p): ... this. Check OBJF_SHARED | |
2800 | instead of OBJF_USERLOADED. | |
2801 | * objfiles.h (OBJF_SHARED): Update comment. | |
2802 | (userloaded_objfile_contains_address_p): Rename to ... | |
2803 | (shared_objfile_contains_address_p): ... this, and update | |
2804 | comments. | |
2805 | * symfile.c (add_symbol_file_command): Also set OBJF_SHARED in the | |
2806 | new objfile. | |
2807 | (remove_symbol_file_command): Skip objfiles that don't have | |
2808 | OBJF_SHARED set. | |
2809 | ||
99f4262f TT |
2810 | 2014-06-16 Tom Tromey <tromey@redhat.com> |
2811 | ||
2812 | * minsyms.h (prim_record_minimal_symbol) | |
2813 | (prim_record_minimal_symbol_and_info): Update comments. | |
2814 | ||
97d66cc6 EZ |
2815 | 2014-06-14 Eli Zaretskii <eliz@gnu.org> |
2816 | ||
2817 | * top.c (print_gdb_configuration) [HAVE_GUILE]: Print --with-guile | |
2818 | or --without-guile, according to how GDB was built. | |
2819 | ||
635c7e8a TT |
2820 | 2014-06-13 Tom Tromey <tromey@redhat.com> |
2821 | ||
2822 | * cp-support.c (maint_cplus_command): Pass all_commands, not -1, | |
2823 | to help_list. | |
2824 | * guile/guile.c (info_guile_command): Pass all_commands, not -1, | |
2825 | to help_list. | |
2826 | * tui/tui-win.c (tui_command): Pass all_commands, not -1, to | |
2827 | help_list. | |
2828 | * tui/tui-regs.c (tui_reg_command): Pass all_commands, not -1, to | |
2829 | help_list.Pass all_commands, not -1, to help_list. | |
2830 | * cli/cli-dump.c (dump_command, append_command) | |
2831 | (srec_dump_command, ihex_dump_command, tekhex_dump_command) | |
2832 | (binary_dump_command, binary_append_command): Pass all_commands, | |
2833 | not -1, to help_list. | |
2834 | * cli/cli-cmds.c (info_command, set_debug): Pass all_commands, not | |
2835 | -1, to help_list. | |
2836 | * valprint.c (set_print, set_print_raw): Pass all_commands, not | |
2837 | -1, to help_list. | |
2838 | * typeprint.c (set_print_type): Pass all_commands, not -1, to | |
2839 | help_list. | |
2840 | * top.c (set_history): Pass all_commands, not -1, to help_list. | |
2841 | * target-descriptions.c (set_tdesc_cmd, unset_tdesc_cmd): Pass | |
2842 | all_commands, not -1, to help_list. | |
2843 | * symfile.c (overlay_command): Pass all_commands, not -1, to | |
2844 | help_list. | |
2845 | * spu-tdep.c (info_spu_command): Pass all_commands, not -1, to | |
2846 | help_list. | |
2847 | * serial.c (serial_set_cmd): Pass all_commands, not -1, to | |
2848 | help_list. | |
2849 | * ser-tcp.c (set_tcp_cmd, show_tcp_cmd): Pass all_commands, not | |
2850 | -1, to help_list. | |
2851 | * remote.c (remote_command, set_remote_cmd): Pass all_commands, | |
2852 | not -1, to help_list. | |
2853 | * ravenscar-thread.c (set_ravenscar_command): Pass all_commands, | |
2854 | not -1, to help_list. | |
2855 | * maint.c (maintenance_command, maintenance_info_command) | |
2856 | (maintenance_print_command, maintenance_set_cmd): Pass | |
2857 | all_commands, not -1, to help_list. | |
2858 | * macrocmd.c (macro_command): Pass all_commands, not -1, to | |
2859 | help_list. | |
2860 | * language.c (set_check): Pass all_commands, not -1, to help_list. | |
2861 | * infcmd.c (unset_command): Pass all_commands, not -1, to | |
2862 | help_list. | |
2863 | * frame.c (set_backtrace_cmd): Pass all_commands, not -1, to | |
2864 | help_list. | |
2865 | * dwarf2read.c (set_dwarf2_cmd): Pass all_commands, not -1, to | |
2866 | help_list. | |
2867 | * dcache.c (set_dcache_command): Pass all_commands, not -1, to | |
2868 | help_list. | |
2869 | * breakpoint.c (save_command): Pass all_commands, not -1, to | |
2870 | help_list. | |
2871 | * ada-lang.c (maint_set_ada_cmd, set_ada_command): Pass | |
2872 | all_commands, not -1, to help_list. | |
2873 | ||
b94ade42 PL |
2874 | 2014-06-12 Pierre Langlois <pierre.langlois@embecosm.com> |
2875 | ||
2876 | * regcache.c (struct register_to_invalidate): New structure. | |
2877 | (do_register_invalidate, make_cleanup_regcache_invalidate): New | |
2878 | functions. | |
2879 | (regcache_raw_write): Call make_cleanup_regcache_invalidate. | |
2880 | ||
31f628ae YQ |
2881 | 2014-06-12 Yao Qi <yao@codesourcery.com> |
2882 | ||
2883 | * varobj.c (varobj_get_num_children): Call | |
2884 | varobj_is_dynamic_p. | |
2885 | (varobj_list_children): Likewise. | |
2886 | (varobj_update): Likewise. Update comments. | |
2887 | ||
cde5ef40 YQ |
2888 | 2014-06-12 Yao Qi <yao@codesourcery.com> |
2889 | ||
2890 | * varobj.c (varobj_pretty_printed_p): Rename to ... | |
2891 | (varobj_is_dynamic_p): ... this. New function. | |
2892 | * varobj.h (varobj_pretty_printed_p): Remove declaration. | |
2893 | (varobj_is_dynamic_p): Declare. | |
2894 | * mi/mi-cmd-var.c (print_varobj): All callers updated. | |
2895 | (mi_print_value_p, varobj_update_one): Likewise. | |
2896 | ||
576ea091 YQ |
2897 | 2014-06-12 Pedro Alves <pedro@codesourcery.com> |
2898 | Yao Qi <yao@codesourcery.com> | |
2899 | ||
2900 | * varobj.c: Remove "#if HAVE_PYTHON" and "#endif". | |
2901 | (varobj_get_iterator): Wrap up code for pretty-printer by | |
2902 | "#if HAVE_PYTHON" and "#endif". | |
2903 | (update_dynamic_varobj_children): Likewise. | |
2904 | ||
827f100c YQ |
2905 | 2014-06-12 Pedro Alves <pedro@codesourcery.com> |
2906 | Yao Qi <yao@codesourcery.com> | |
2907 | ||
2908 | * python/py-varobj.c (py_varobj_iter_next): Return NULL if | |
2909 | gdb_python_initialized is false. Move some code from varobj.c. | |
2910 | * varobj-iter.h (struct varobj_item): Moved from varobj.c. | |
2911 | * varobj.c: Move "varobj-iter.h" inclusion earlier. | |
2912 | (struct varobj_item): Moved to varobj-iter.h". | |
2913 | (varobj_clear_saved_item): New function. | |
2914 | (update_dynamic_varobj_children): Move python-related code to | |
2915 | py-varobj.c. | |
2916 | (free_variable): Call varobj_clear_saved_item and | |
2917 | varobj_iter_delete. | |
2918 | ||
e5250216 YQ |
2919 | 2014-06-12 Pedro Alves <pedro@codesourcery.com> |
2920 | Yao Qi <yao@codesourcery.com> | |
2921 | ||
2922 | * Makefile.in (SUBDIR_PYTHON_OBS): Add "py-varobj.o". | |
2923 | (SUBDIR_PYTHON_SRCS): Add "python/py-varobj.c". | |
2924 | (HFILES_NO_SRCDIR): Add "varobj-iter.h". | |
2925 | (py-varobj.o): New rule. | |
2926 | * python/py-varobj.c: New file. | |
2927 | * python/python-internal.h (py_varobj_get_iterator): Declare. | |
2928 | * varobj-iter.h: New file. | |
2929 | * varobj.c: Include "varobj-iter.h" | |
2930 | (struct varobj) <child_iter>: Change its type from "PyObject *" | |
2931 | to "struct varobj_iter *". | |
2932 | <saved_item>: Likewise. | |
2933 | [HAVE_PYTHON] (varobj_ensure_python_env): Make it extern. | |
2934 | [HAVE_PYTHON] (varobj_get_iterator): New function. | |
2935 | (update_dynamic_varobj_children) [HAVE_PYTHON]: Move | |
2936 | python-specific code to python/py-varobj.c. | |
2937 | (install_visualizer): Call varobj_iter_delete instead of | |
2938 | Py_XDECREF. | |
2939 | * varobj.h (varobj_ensure_python_env): Declare. | |
2940 | ||
5a2e0d6e YQ |
2941 | 2014-06-12 Yao Qi <yao@codesourcery.com> |
2942 | ||
2943 | * varobj.c (struct varobj_item): New structure. | |
2944 | (create_child_with_value): Update declaration. | |
2945 | (varobj_add_child): Replace arguments 'name' and 'value' with | |
2946 | 'item'. All callers updated. | |
2947 | (install_dynamic_child): Likewise. | |
2948 | (update_dynamic_varobj_children): Likewise. | |
2949 | (varobj_add_child): Likewise. | |
2950 | (create_child_with_value): Likewise. | |
2951 | ||
919b9a93 JB |
2952 | 2014-06-11 Joel Brobecker <brobecker@adacore.com> |
2953 | ||
2954 | * NEWS: Create a new section for the next release branch. | |
2955 | Rename the section of the current branch, now that it has | |
2956 | been cut. | |
2957 | ||
71a55bdf JB |
2958 | 2014-06-11 Joel Brobecker <brobecker@adacore.com> |
2959 | ||
2960 | GDB 7.8 branch created (173373c6f6388171d1d62a217fae90a052395be2): | |
2961 | * version.in: Bump version to 7.8.50.DATE-cvs. | |
2962 | ||
364fe1f7 PA |
2963 | 2014-06-11 Pedro Alves <palves@redhat.com> |
2964 | ||
2965 | PR remote/17028 | |
2966 | * ser-mingw.c (net_windows_socket_check_pending): New function. | |
2967 | (net_windows_select_thread): Ignore spurious wakeups. Use | |
2968 | net_windows_socket_check_pending. | |
2969 | (net_windows_wait_handle): Check for pending events with | |
2970 | ioctlsocket, through net_windows_socket_check_pending, instead of | |
2971 | checking the socket's event. | |
2972 | ||
5a6c7709 SC |
2973 | 2014-06-10 Siva Chandra Reddy <sivachandra@google.com> |
2974 | ||
2975 | * python/python-internal.h (gdb_PyObject_GetAttrString) | |
2976 | (gdb_PyObject_HasAttrString): New inline function definitions. | |
2977 | * py-value.c (get_field_flag): Remove the now unnecessary cast to | |
2978 | char * of the second argument to PyObject_GetAttrString. | |
74228e77 | 2979 | |
0e58ee40 JB |
2980 | 2014-06-10 Joel Brobecker <brobecker@adacore.com> |
2981 | ||
2982 | * serial.c (serial_write): Fix index of character to be printed | |
2983 | in call to serial_logchar when serial debug traces are enabled. | |
2984 | ||
d190df30 JB |
2985 | 2014-06-10 Joel Brobecker <brobecker@adacore.com> |
2986 | ||
2987 | * gdbtypes (resolve_dynamic_range): Add function description. | |
2988 | ||
b4b01d36 PA |
2989 | 2014-06-09 Pedro Alves <palves@redhat.com> |
2990 | ||
2991 | * linux-nat.c (linux_child_follow_fork): Initialize status with | |
2992 | W_STOPCODE (0) instead of 0. Remove shodowing 'status' local from | |
2993 | inner block. Only pass the signal to PTRACE_DETACH if in pass | |
2994 | state. | |
2995 | ||
3657956b GB |
2996 | 2014-06-09 Gary Benson <gbenson@redhat.com> |
2997 | ||
2998 | * common/signals.c (gdb_signal_from_host): Reorder to separate | |
2999 | the always-available ANSI-standard signals from the signals that | |
3000 | require checking. | |
3001 | (do_gdb_signal_to_host): Likewise. | |
3002 | * proc-events.c (signal_table): Likewise. | |
3003 | ||
c077881a HZ |
3004 | 2014-06-08 Hui Zhu <hui@codesourcery.com> |
3005 | ||
3006 | * common/linux-ptrace.c (linux_disable_event_reporting): New | |
3007 | function. | |
3008 | * common/linux-ptrace.h (linux_disable_event_reporting): New | |
3009 | declaration. | |
3010 | * linux-nat.c (linux_child_follow_fork): Do a single step before | |
3011 | detach. | |
3012 | ||
4186eb54 KS |
3013 | 2014-06-07 Keith Seitz <keiths@redhat.com> |
3014 | ||
3015 | Revert: | |
3016 | PR c++/16253 | |
3017 | * ada-lang.c (ada_symbol_matches_domain): Moved here and renamed | |
3018 | from symbol_matches_domain in symtab.c. All local callers | |
3019 | of symbol_matches_domain updated. | |
3020 | (standard_lookup): If DOMAIN is VAR_DOMAIN and no symbol is found, | |
3021 | search STRUCT_DOMAIN. | |
3022 | (ada_find_any_type_symbol): Do not search STRUCT_DOMAIN | |
3023 | independently. standard_lookup will do that automatically. | |
3024 | * cp-namespace.c (cp_lookup_symbol_nonlocal): Explain when/why | |
3025 | VAR_DOMAIN searches may return a STRUCT_DOMAIN match. | |
3026 | (cp_lookup_symbol_in_namespace): Likewise. | |
3027 | If no VAR_DOMAIN symbol is found, search STRUCT_DOMAIN. | |
3028 | (cp_lookup_symbol_exports): Explain when/why VAR_DOMAIN searches | |
3029 | may return a STRUCT_DOMAIN match. | |
3030 | (lookup_symbol_file): Search for the class name in STRUCT_DOMAIN. | |
3031 | * cp-support.c: Include language.h. | |
3032 | (inspect_type): Explicitly search STRUCT_DOMAIN before searching | |
3033 | VAR_DOMAIN. | |
3034 | * psymtab.c (match_partial_symbol): Compare the requested | |
3035 | domain with the symbol's domain directly. | |
3036 | (lookup_partial_symbol): Likewise. | |
3037 | * symtab.c (lookup_symbol_in_language): Explain when/why | |
3038 | VAR_DOMAIN searches may return a STRUCT_DOMAIN match. | |
3039 | If no VAR_DOMAIN symbol is found, search STRUCT_DOMAIN for | |
3040 | appropriate languages. | |
3041 | (symbol_matches_domain): Renamed `ada_symbol_matches_domain' | |
3042 | and moved to ada-lang.c | |
3043 | (lookup_block_symbol): Explain that this function only returns | |
3044 | symbol matching the requested DOMAIN. | |
3045 | Compare the requested domain with the symbol's domain directly. | |
3046 | (iterate_over_symbols): Compare the requested domain with the | |
3047 | symbol's domain directly. | |
3048 | * symtab.h (symbol_matches_domain): Remove. | |
3049 | ||
25326a28 | 3050 | 2014-06-06 Doug Evans <xdje42@gmail.com> |
d2929fdc DE |
3051 | |
3052 | * guile/guile-internal.h (gdbscm_guile_major_version): Declare. | |
3053 | (gdbscm_guile_minor_version, gdbscm_guile_micro_version): Declare. | |
3054 | (gdbscm_guile_version_is_at_least): Declare. | |
3055 | (gdbscm_scm_string_to_int): Declare. | |
3056 | * guile/guile.c (gdbscm_guile_major_version): New global. | |
3057 | (gdbscm_guile_minor_version, gdbscm_guile_micro_version): New globals. | |
3058 | (guile_datadir): New static global. | |
3059 | (gdbscm_guile_data_directory): New function. | |
3060 | (initialize_scheme_side): Update. | |
3061 | (misc_guile_functions): Add guile-data-directory. | |
3062 | (initialize_gdb_module): Fetch guile version number. | |
3063 | * guile/lib/gdb.scm: Remove call to add-to-load-path. | |
3064 | * guile/lib/gdb/init.scm (%initialize!): Ditto. | |
3065 | * guile/lib/gdb/boot.scm: Use guile-data-directory. | |
3066 | * guile/scm-exception.c (gdbscm_print_exception_with_stack): Fix | |
3067 | comments. | |
3068 | * guile/scm-string.c (gdbscm_scm_string_to_int): New function. | |
3069 | * guile/scm-utils.c (gdbscm_guile_version_is_at_least): New function. | |
3070 | * guile/scm-value.c (gdbscm_value_to_string): Only call | |
3071 | scm_port_conversion_strategy if Guile version >= 2.0.6. | |
3072 | ||
0a770bb2 | 3073 | 2014-06-06 Mingjie Xing <mingjie.xing@gmail.com> |
3074 | ||
3075 | * main.c (print_gdb_help): Add -q and --silent. | |
3076 | ||
73ba372c GB |
3077 | 2014-06-06 Gary Benson <gbenson@redhat.com> |
3078 | ||
3079 | * common/signals.c: Remove preprocessor conditionals for | |
3080 | always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE, | |
3081 | SIGSEGV and SIGTERM. | |
3082 | * proc-events.c: Likewise. | |
3083 | ||
c33b2f12 MM |
3084 | 2014-06-06 Markus Metzger <markus.t.metzger@intel.com> |
3085 | ||
3086 | * symfile.c (symfile_free_objfile): Remove restriction to | |
3087 | OBJF_USERLOADED. | |
3088 | * symfile-mem.c (symbol_file_add_from_memory): Call | |
3089 | add_target_sections_of_objfile. | |
3090 | ||
fb934770 LC |
3091 | 2014-06-05 Ludovic Courtès <ludo@gnu.org> |
3092 | ||
3093 | * guile/scm-value.c (gdbscm_history_append_x): Use | |
3094 | 'vlscm_get_value_smob_arg_unsafe' instead of | |
3095 | 'vlscm_scm_to_value'. | |
3096 | ||
6ef284bd SM |
3097 | 2014-06-05 Simon Marchi <simon.marchi@ericsson.com> |
3098 | ||
3099 | PR mi/15806 | |
3100 | * utils.c (printchar): Don't escape at all if quoter is NUL. | |
3101 | Update function documentation to clarify effect of parameter | |
3102 | QUOTER. | |
3103 | * remote.c (escape_buffer): Pass '\\' as the quoter to | |
3104 | fputstrn_unfiltered. | |
3105 | * mi/mi-interp.c (mi_solib_loaded): Use ui_out_field_* functions to | |
3106 | generate the output. | |
3107 | (mi_solib_unloaded): Same. | |
3108 | ||
270c9937 JB |
3109 | 2014-06-05 Joel Brobecker <brobecker@adacore.com> |
3110 | ||
3111 | * development.sh: Delete. | |
3112 | * Makefile.in (config.status): Adjust dependency on development.sh. | |
3113 | * configure.ac: Adjust development.sh source call. | |
3114 | * configure: Regenerate. | |
3115 | ||
16f691fb DE |
3116 | 2014-06-04 Doug Evans <xdje42@gmail.com> |
3117 | ||
3118 | * guile/scm-breakpoint.c (struct gdbscm_breakpoint_object): New members | |
3119 | is_scheme_bkpt, spec. | |
3120 | (bpscm_make_breakpoint_smob): Initialize new members. | |
3121 | (gdbscm_create_breakpoint_x): Split into two ... | |
3122 | (gdbscm_make_breakpoint, gdbscm_register_breakpoint_x): New functions. | |
3123 | (bpscm_breakpoint_deleted): Reset breakpoint number and stop function. | |
3124 | (scheme_function breakpoint_functions): Update. | |
3125 | * guile/lib/gdb.scm: Delete create-breakpoint!. Rename | |
3126 | breakpoint-delete! to delete-breakpoint!. Add make-breakpoint, | |
3127 | register-breakpoint!. | |
3128 | ||
ef7cab6b JB |
3129 | 2014-06-04 Joel Brobecker <brobecker@adacorer.com> |
3130 | ||
3131 | PR server/17023 | |
3132 | * mem-break.c (z_type_supported): Return zero if | |
3133 | THE_TARGET->SUPPORTS_Z_POINT_TYPE is NULL. | |
3134 | ||
012370f6 TT |
3135 | 2014-06-04 Tom Tromey <tromey@redhat.com> |
3136 | ||
3137 | * ada-lang.c (ada_template_to_fixed_record_type_1): Use | |
3138 | value_from_contents_and_address_unresolved. | |
3139 | (ada_template_to_fixed_record_type_1): Likewise. | |
3140 | (ada_which_variant_applies): Likewise. | |
3141 | * value.h (value_from_contents_and_address_unresolved): Declare. | |
3142 | * value.c (value_from_contents_and_address_unresolved): New | |
3143 | function. | |
3144 | * gdbtypes.c (is_dynamic_type, resolve_dynamic_type) | |
3145 | <TYPE_CODE_STRUCT, TYPE_CODE_UNION>: New cases. | |
3146 | (resolve_dynamic_struct, resolve_dynamic_union): New functions. | |
3147 | ||
92e2a17f TT |
3148 | 2014-06-04 Tom Tromey <tromey@redhat.com> |
3149 | ||
3150 | * gdbtypes.c (is_dynamic_type): Remove unneeded "break"s. | |
3151 | ||
c0939df1 TT |
3152 | 2014-06-04 Tom Tromey <tromey@redhat.com> |
3153 | ||
3154 | * procfs.c (procfs_attach): Make "args" const. | |
3155 | * windows-nat.c (windows_attach): Make "args" const. | |
3156 | * nto-procfs.c (procfs_attach): Make "args" const. | |
3157 | * inf-ttrace.c (inf_ttrace_attach): Make "args" const. | |
3158 | * go32-nat.c (go32_attach): Make "args" const. | |
3159 | * gnu-nat.c (gnu_attach): Make "args" const. | |
3160 | * darwin-nat.c (darwin_attach): Make "args" const. | |
3161 | * inf-ptrace.c (inf_ptrace_attach): Make "args" const. | |
3162 | * linux-nat.c (linux_nat_attach): Make "args" const. | |
3163 | * remote.c (extended_remote_attach_1, extended_remote_attach): | |
3164 | Make "args" const. | |
3165 | * target.h (struct target_ops) <to_attach>: Make "args" const. | |
3166 | (find_default_attach): Likewise. | |
3167 | * utils.c (parse_pid_to_attach): Make "args" const. | |
3168 | * utils.h (parse_pid_to_attach): Update. | |
3169 | ||
8eaff7cd TT |
3170 | 2014-06-04 Tom Tromey <tromey@redhat.com> |
3171 | ||
3172 | * target-delegates.c: Rebuild. | |
3173 | * target.c (default_thread_address_space): New function. | |
3174 | (target_thread_address_space): Simplify. | |
3175 | * target.h (struct target_ops) <to_thread_address_space>: Add | |
3176 | TARGET_DEFAULT_FUNC. | |
3177 | ||
1913f160 DE |
3178 | 2014-06-04 Doug Evans <xdje42@gmail.com> |
3179 | ||
3180 | * guile/scm-type.c (type_smob): Remove duplicate typedef. | |
3181 | ||
70ad5bff MM |
3182 | 2014-06-04 Markus Metzger <markus.t.metzger@intel.com> |
3183 | ||
3184 | * record-btrace.c: Include event-loop.h and inf-loop.h. | |
3185 | (record_btrace_resume_exec_dir) | |
3186 | (record_btrace_async_inferior_event_handler) | |
3187 | (record_btrace_handle_async_inferior_event): New. | |
3188 | (record_btrace_open): Create async event handler. | |
3189 | (record_btrace_close): Delete async event handler. | |
3190 | (record_btrace_resume): Set record_btrace_resume_exec_dir, | |
3191 | Mark async event handler. | |
3192 | (record_btrace_execution_direction): New. | |
3193 | (init_record_btrace_ops): Initialize to_execution_direction. | |
3194 | ||
b6210538 DE |
3195 | 2014-06-03 Doug Evans <xdje42@gmail.com> |
3196 | ||
3197 | * guile/scm-param.c (pascm_make_param_smob): Add ARI comment. | |
3198 | (gdbscm_make_parameter): Ditto. | |
3199 | ||
a5b1fd27 DE |
3200 | 2014-06-03 Doug Evans <dje@google.com> |
3201 | ||
3202 | * exec.c (exec_close_1): Call clear_section_table instead of | |
3203 | resize_section_table. | |
3204 | (clear_section_table): New function. | |
3205 | (resize_section_table): Make static. Rename arg num_added to | |
3206 | adjustment. | |
3207 | * exec.h (clear_section_table): Declare. | |
3208 | (resize_section_table): Delete. | |
3209 | * progspace.c (release_program_space): Call clear_section_table | |
3210 | instead of resize_section_table. | |
3211 | ||
0c6e92a5 SC |
3212 | 2014-06-03 Siva Chandra Reddy <sivachandra@google.com> |
3213 | ||
3214 | * NEWS (Python Scripting): Add entry about the new xmethods | |
3215 | feature. | |
3216 | ||
883964a7 SC |
3217 | 2014-06-03 Siva Chandra Reddy <sivachandra@google.com> |
3218 | ||
3219 | * python/py-xmethods.c: New file. | |
3220 | * python/py-objfile.c (objfile_object): New field 'xmethods'. | |
3221 | (objfpy_dealloc): XDECREF on the new xmethods field. | |
3222 | (objfpy_new, objfile_to_objfile_object): Initialize xmethods | |
3223 | field. | |
3224 | (objfpy_get_xmethods): New function. | |
3225 | (objfile_getset): New entry 'xmethods'. | |
3226 | * python/py-progspace.c (pspace_object): New field 'xmethods'. | |
3227 | (pspy_dealloc): XDECREF on the new xmethods field. | |
3228 | (pspy_new, pspace_to_pspace_object): Initialize xmethods | |
3229 | field. | |
3230 | (pspy_get_xmethods): New function. | |
3231 | (pspace_getset): New entry 'xmethods'. | |
3232 | * python/python-internal.h: Add declarations for new functions. | |
3233 | * python/python.c (_initialize_python): Invoke | |
3234 | gdbpy_initialize_xmethods. | |
3235 | * python/lib/gdb/__init__.py (xmethods): New | |
3236 | attribute. | |
3237 | * python/lib/gdb/xmethod.py: New file. | |
3238 | * python/lib/gdb/command/xmethods.py: New file. | |
3239 | ||
58992dc5 SC |
3240 | 2014-06-03 Siva Chandra Reddy <sivachandra@google.com> |
3241 | ||
3242 | * eval.c (evaluate_subexp_standard): Call the xmethod if the | |
3243 | best match method returned by find_overload_match is an xmethod. | |
3244 | * valarith.c (value_x_binop, value_x_unop): Call the xmethod if | |
3245 | the best matching operator returned by find_overload_match is an | |
3246 | xmethod. | |
3247 | * valops.c: #include "extension.h". | |
3248 | (find_method_list): Add "fn_list" and "xm_worker_vec" arguments. | |
3249 | Return void. The list of matching source methods is returned in | |
3250 | "fn_list" and a vector of matching debug method workers is | |
3251 | returned in "xm_worker_vec". Update all callers. | |
3252 | (value_find_oload_method_list): Likewise. | |
3253 | (find_oload_champ): Add "xm_worker_vec" parameter. If it is | |
3254 | non-NULL, then the index of the best matching method in this | |
3255 | vector is returned. Update all callers. | |
3256 | (find_overload_match): Include xmethods while performing overload | |
3257 | resolution. | |
3258 | ||
e81e7f5e SC |
3259 | 2014-06-03 Siva Chandra Reddy <sivachandra@google.com> |
3260 | ||
3261 | * defs.h (enum lval_type): New enumerator "lval_xcallable". | |
3262 | * extension-priv.h (struct extension_language_ops): Add the | |
3263 | xmethod interface. | |
3264 | * extension.c (new_xmethod_worker, clone_xmethod_worker, | |
3265 | get_matching_xmethod_workers, get_xmethod_argtypes, | |
3266 | invoke_xmethod, free_xmethod_worker, | |
3267 | free_xmethod_worker_vec): New functions. | |
3268 | * extension.h: #include "common/vec.h". | |
3269 | New function declarations. | |
3270 | (struct xmethod_worker): New struct. | |
3271 | (VEC (xmethod_worker_ptr)): New vector type. | |
3272 | (xmethod_worker_ptr): New typedef. | |
3273 | (xmethod_worker_vec): Likewise. | |
3274 | * gdbtypes.c (gdbtypes_post_init): Initialize "xmethod" field of | |
3275 | builtin_type. | |
3276 | * gdbtypes.h (enum type_code): New enumerator TYPE_CODE_XMETHOD. | |
3277 | (struct builtin_type): New field "xmethod". | |
3278 | * valarith.c (value_ptradd): Assert that the value argument is not | |
3279 | lval_xcallable. | |
3280 | * valops.c (value_must_coerce_to_target): Return 0 for | |
3281 | lval_xcallable values. | |
3282 | * value.c (struct value): New field XM_WORKER in the field | |
3283 | LOCATION. | |
3284 | (value_address, value_raw_address): Return 0 for lval_xcallable | |
3285 | values. | |
3286 | (set_value_address): Assert that the value is not an | |
3287 | lval_xcallable. | |
3288 | (value_free): Free the associated xmethod worker when freeing | |
3289 | lval_xcallable values. | |
3290 | (set_value_component_location): Assert that the WHOLE value is not | |
3291 | lval_xcallable. | |
3292 | (value_of_xmethod, call_xmethod): New functions. | |
3293 | * value.h: Declare "struct xmethod_worker". | |
3294 | Declare new functions value_of_xmethod, call_xmethod. | |
3295 | ||
ef370185 JB |
3296 | 2014-06-03 Joel Brobecker <brobecker@adacore.com> |
3297 | Pedro Alves <palves@redhat.com> | |
3298 | ||
3299 | PR breakpoints/17000 | |
3300 | * breakpoint.c (find_non_raw_software_breakpoint_inserted_here): | |
3301 | New function, extracted from software_breakpoint_inserted_here_p. | |
3302 | (software_breakpoint_inserted_here_p): Replace factored out code | |
3303 | by call to find_non_raw_software_breakpoint_inserted_here. | |
3304 | (bp_target_info_copy_insertion_state): New function. | |
3305 | (bkpt_insert_location): Handle the case of a single-step | |
3306 | breakpoint already inserted at the same address. | |
3307 | (bkpt_remove_location): Handle the case of a single-step | |
3308 | breakpoint still inserted at the same address. | |
3309 | (deprecated_insert_raw_breakpoint): Handle the case of non-raw | |
3310 | breakpoint already inserted at the same address. | |
3311 | (deprecated_remove_raw_breakpoint): Handle the case of a | |
3312 | non-raw breakpoint still inserted at the same address. | |
3313 | (find_single_step_breakpoint): New function, extracted from | |
3314 | single_step_breakpoint_inserted_here_p. | |
3315 | (find_single_step_breakpoint): New function, | |
3316 | factored out from single_step_breakpoint_inserted_here_p. | |
3317 | (single_step_breakpoint_inserted_here_p): Reimplement. | |
3318 | ||
1e2ccb61 BM |
3319 | 2014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch) |
3320 | ||
3321 | Pushed by Joel Brobecker <brobecker@adacore.com> | |
3322 | * source.c (show_substitute_path_command): Fix display of matching | |
3323 | substitution rules. | |
3324 | ||
d3448d85 GB |
3325 | 2014-06-03 Gary Benson <gbenson@redhat.com> |
3326 | ||
3327 | * gnu-v2-abi.c (gnuv2_value_rtti_type): Use gdb_demangle. | |
3328 | ||
06eb1586 DE |
3329 | 2014-06-02 Doug Evans <xdje42@gmail.com> |
3330 | ||
3331 | Add parameter support for Guile. | |
3332 | * Makefile.in (SUBDIR_GUILE_OBS): Add scm-param.o. | |
3333 | (SUBDIR_GUILE_SRCS): Add scm-param.c. | |
3334 | (scm-param.o): New rule. | |
3335 | * guile/guile-internal.h (gdbscm_gc_dup_argv): Declare. | |
3336 | (gdbscm_misc_error): Declare. | |
3337 | (gdbscm_canonicalize_command_name): Declare. | |
3338 | (gdbscm_scm_to_host_string): Declare. | |
3339 | (gdbscm_scm_from_host_string): Declare. | |
3340 | (gdbscm_initialize_parameters): Declare. | |
3341 | * guile/guile.c (initialize_gdb_module): Call | |
3342 | gdbscm_initialize_parameters. | |
3343 | * guile/lib/gdb.scm: Export parameter symbols. | |
3344 | * guile/scm-cmd.c (gdbscm_canonicalize_command_name): Renamed from | |
3345 | cmdscm_canonicalize_name and made public. All callers updated. | |
3346 | * guile/scm-exception.c (gdbscm_misc_error): New function. | |
3347 | * guile/scm-param.c: New file. | |
3348 | * guile/scm-string.c (gdbscm_scm_to_string): Add comments. | |
3349 | (gdbscm_scm_to_host_string): New function. | |
3350 | (gdbscm_scm_from_host_string): New function. | |
3351 | * scm-utils.c (gdbscm_gc_dup_argv): New function. | |
3352 | ||
e698b8c4 DE |
3353 | 2014-06-02 Doug Evans <xdje42@gmail.com> |
3354 | ||
3355 | Add command support for Guile. | |
3356 | * Makefile.in (SUBDIR_GUILE_OBS): Add scm-cmd.o. | |
3357 | (SUBDIR_GUILE_SRCS): Add scm-cmd.c. | |
3358 | (scm-cmd.o): New rule. | |
3359 | * guile/guile-internal.h (gdbscm_gc_xstrdup): Declare. | |
3360 | (gdbscm_user_error_p): Declare. | |
3361 | (gdbscm_parse_command_name): Declare. | |
3362 | (gdbscm_valid_command_class_p): Declare. | |
3363 | (gdbscm_initialize_commands): Declare. | |
3364 | * guile/guile.c (initialize_gdb_module): Call | |
3365 | gdbscm_initialize_commands. | |
3366 | * guile/lib/gdb.scm: Export command symbols. | |
3367 | * guile/lib/gdb/init.scm (%exception-keys): Add gdb:user-error. | |
3368 | (throw-user-error): New function. | |
3369 | * guile/scm-cmd.c: New file. | |
3370 | * guile/scm-exception.c (user_error_symbol): New static global. | |
3371 | (gdbscm_user_error_p): New function. | |
3372 | (gdbscm_initialize_exceptions): Set user_error_symbol. | |
3373 | * scm-utils.c (gdbscm_gc_xstrdup): New function. | |
3374 | ||
fb1f94b0 PM |
3375 | 2014-06-02 Phil Muldoon <pmuldoon@redhat.com> |
3376 | ||
3377 | * top.c (command_loop): Handle comments here... | |
3378 | (command_line_input): ... not here. | |
3379 | ||
ded03782 DE |
3380 | 2014-06-02 Doug Evans <xdje42@gmail.com> |
3381 | ||
3382 | Add progspace support for Guile. | |
3383 | * Makefile.in (SUBDIR_GUILE_OBS): Add scm-progspace.o. | |
3384 | (SUBDIR_GUILE_SRCS): Add scm-progspace.c. | |
3385 | (scm-progspace.o): New rule. | |
3386 | * guile/guile-internal.h (pspace_smob): New typedef. | |
3387 | (psscm_pspace_smob_pretty_printers): Declare. | |
3388 | (psscm_pspace_smob_from_pspace): Declare. | |
3389 | (psscm_scm_from_pspace): Declare. | |
3390 | * guile/guile.c (initialize_gdb_module): Call | |
3391 | gdbscm_initialize_pspaces. | |
3392 | * guile/lib/gdb.scm: Export progspace symbols. | |
3393 | * guile/lib/gdb/printing.scm (prepend-pretty-printer!): Add progspace | |
3394 | support. | |
3395 | (append-pretty-printer!): Ditto. | |
3396 | * guile/scm-pretty-print.c (ppscm_find_pretty_printer_from_progspace): | |
3397 | Implement. | |
3398 | * guile/scm-progspace.c: New file. | |
3399 | ||
397998fc AM |
3400 | 2014-06-03 Alan Modra <amodra@gmail.com> |
3401 | ||
3402 | * ppc64-tdep.c (ppc64_standard_linkage8): New. | |
3403 | (ppc64_skip_trampoline_code): Recognise ELFv2 stub supporting fusion. | |
3404 | ||
6aa5f3a6 DE |
3405 | 2014-06-02 Doug Evans <dje@google.com> |
3406 | ||
3407 | Add support for skeletonless type units. | |
3408 | * dwarf2read.c (struct dwarf2_per_objfile): New member | |
3409 | n_allocated_type_units. | |
3410 | (struct dwarf2_per_objfile) <tu_stats>: New member | |
3411 | nr_all_type_units_reallocs. | |
3412 | (create_signatured_type_table_from_index): Initialize | |
3413 | n_allocated_type_units | |
3414 | (create_all_type_units): Ditto. | |
3415 | (add_type_unit): Move up in file. New arg slot. | |
3416 | All callers updated. Increase space for all_type_units more | |
3417 | efficiently. | |
3418 | (fill_in_sig_entry_from_dwo_entry): Handle psymtabs. | |
3419 | (lookup_dwo_signatured_type): Handle skeletonless TUs. | |
3420 | (lookup_dwp_signatured_type): Ditto. | |
3421 | (init_tu_and_read_dwo_dies): New arg use_existing_cu. | |
3422 | All callers updated. | |
3423 | (build_type_psymtabs_1): Leave type_unit_groups as | |
3424 | NULL if no TUs present. | |
3425 | (print_tu_stats): New function. | |
3426 | (process_skeletonless_type_unit): New function. | |
3427 | (process_dwo_file_for_skeletonless_type_units): New | |
3428 | function. | |
3429 | (process_skeletonless_type_units): New function. | |
3430 | (dwarf2_build_psymtabs_hard): Handle skeletonless TUs. | |
3431 | Call print tu_stats if debugging enabled. | |
3432 | ||
41fac0cf PA |
3433 | 2014-06-02 Pedro Alves <palves@redhat.com> |
3434 | ||
3435 | * breakpoint.c (build_target_command_list): Don't build a command | |
3436 | list if we have any duplicate location that isn't a dprintf. | |
3437 | ||
cd1608cc PA |
3438 | 2014-06-02 Pedro Alves <palves@redhat.com> |
3439 | ||
3440 | * breakpoint.c (dprintf_breakpoint_hit): New function. | |
3441 | (initialize_breakpoint_ops): Install it as dprintf's | |
3442 | breakpoint_hit method. | |
3443 | ||
486ef3b9 JB |
3444 | 2014-06-02 Joel Brobecker <brobecker@adacore.com> |
3445 | ||
3446 | * source.c (substitute_path_rule_matches): Simplify using | |
3447 | filename_ncmp instead of FILENAME_CMP. | |
3448 | ||
230cd560 JB |
3449 | 2014-06-02 Joel Brobecker <brobecker@adacore.com> |
3450 | ||
3451 | * source.c (substitute_path_rule_matches): Remove trailing spaces. | |
3452 | ||
16954d5d LC |
3453 | 2014-06-01 Ludovic Courtès <ludo@gnu.org> |
3454 | ||
3455 | * configure.ac: When Guile is available, check for the | |
3456 | availability of 'scm_new_smob'. | |
3457 | * configure, config.h.in: Regenerate. | |
3458 | * guile/guile-internal.h (scm_new_smob) [!HAVE_SCM_NEW_SMOB]: New | |
3459 | function. | |
3460 | ||
53e8a631 AB |
3461 | 2014-05-30 Andrew Burgess <aburgess@broadcom.com> |
3462 | ||
3463 | * frame.c (struct frame_info): Add stop_string field. | |
3464 | (get_prev_frame_always_1): Renamed from get_prev_frame_always. | |
3465 | (get_prev_frame_always): Old content moved into | |
3466 | get_prev_frame_always_1. Call get_prev_frame_always_1 inside | |
3467 | TRY_CATCH, handle MEMORY_ERROR exceptions. | |
3468 | (frame_stop_reason_string): New function definition. | |
3469 | * frame.h (unwind_stop_reason_to_string): Extend comment to | |
3470 | mention frame_stop_reason_string. | |
3471 | (frame_stop_reason_string): New function declaration. | |
3472 | * stack.c (frame_info): Switch to frame_stop_reason_string. | |
3473 | (backtrace_command_1): Switch to frame_stop_reason_string. | |
3474 | * unwind_stop_reason.def: Add UNWIND_MEMORY_ERROR. | |
3475 | (LAST_ENTRY): Changed to UNWIND_MEMORY_ERROR. | |
3476 | * guile/lib/gdb.scm: Add FRAME_UNWIND_MEMORY_ERROR to export list. | |
3477 | ||
70e38b8e AB |
3478 | 2014-05-30 Andrew Burgess <aburgess@broadcom.com> |
3479 | ||
3480 | * frame.c (frame_stop_reason_string): Rename to ... | |
3481 | (unwind_stop_reason_to_string): this. | |
3482 | * frame.h (frame_stop_reason_string): Rename to ... | |
3483 | (unwind_stop_reason_to_string): this. | |
3484 | * stack.c (frame_info): Update call to frame_stop_reason_string. | |
3485 | (backtrace_command_1): Likewise. | |
3486 | * guile/scm-frame.c (gdbscm_unwind_stop_reason_string): Likewise. | |
3487 | * python/py-frame.c (gdbpy_frame_stop_reason_string): Likewise. | |
3488 | ||
938f0e2f AB |
3489 | 2014-05-30 Andrew Burgess <aburgess@broadcom.com> |
3490 | ||
3491 | * frame.c (remove_prev_frame): New function. | |
3492 | (get_prev_frame_if_no_cycle): Create / discard cleanup using | |
3493 | remove_prev_frame. | |
3494 | ||
a09dd441 PA |
3495 | 2014-05-29 Pedro Alves <palves@redhat.com> |
3496 | ||
3497 | * infrun.c (resume): Rename local 'hw_step' to 'entry_step' | |
3498 | and make it const. When a single-step decays to a continue, | |
3499 | clear 'step', not 'hw_step'. Pass whether the caller wanted | |
3500 | to step to user_visible_resume_ptid, not what we ask the | |
3501 | target to do. | |
3502 | ||
bdc36728 PA |
3503 | 2014-05-29 Pedro Alves <palves@redhat.com> |
3504 | ||
3505 | * infrun.c (process_event_stop_test, handle_step_into_function) | |
3506 | (handle_step_into_function_backward): Adjust. | |
3507 | Don't set the even thread's stop_step and call stop_waiting before | |
3508 | calling end_stepping_range. Instead do that ... | |
3509 | (end_stepping_range): ... here. Take an ecs pointer parameter. | |
3510 | ||
22bcd14b PA |
3511 | 2014-05-29 Pedro Alves <palves@redhat.com> |
3512 | ||
3513 | * infrun.c (stop_stepping): Rename to ... | |
3514 | (stop_waiting): ... this. | |
3515 | (proceed): Update comment. | |
3516 | (process_event_stop_test, handle_inferior_event) | |
3517 | (handle_signal_stop, handle_step_into_function) | |
3518 | (handle_step_into_function_backward): Update. | |
3519 | ||
4ae57c05 PA |
3520 | 2014-05-29 Pedro Alves <palves@redhat.com> |
3521 | ||
3522 | * infcall.c (run_inferior_call): Don't check whether the current | |
3523 | thread is running after the proceed call. | |
3524 | ||
329ea579 PA |
3525 | 2014-05-29 Pedro Alves <palves@redhat.com> |
3526 | Tom Tromey <tromey@redhat.com> | |
3527 | ||
3528 | * NEWS: Mention "maint set target-async", "set mi-async", and that | |
3529 | background execution commands are now always available. | |
3530 | * target.h (target_async_permitted): Update comment. | |
3531 | * target.c (target_async_permitted, target_async_permitted_1): | |
3532 | Default to 1. | |
3533 | (set_target_async_command): Rename to ... | |
3534 | (maint_set_target_async_command): ... this. | |
3535 | (show_target_async_command): Rename to ... | |
3536 | (maint_show_target_async_command): ... this. | |
3537 | (_initialize_target): Adjust. | |
3538 | * infcmd.c (prepare_execution_command): Make extern. | |
3539 | * inferior.h (prepare_execution_command): Declare. | |
3540 | * infrun.c (set_observer_mode): Leave target async alone. | |
3541 | * mi/mi-interp.c (mi_interpreter_init): Install | |
3542 | mi_on_sync_execution_done as sync_execution_done observer. | |
3543 | (mi_on_sync_execution_done): New function. | |
3544 | (mi_execute_command_input_handler): Don't print the prompt if we | |
3545 | just started a synchronous command with an async target. | |
3546 | (mi_on_resume): Check sync_execution before printing prompt. | |
3547 | * mi/mi-main.h (mi_async_p): Declare. | |
3548 | * mi/mi-main.c: Include gdbcmd.h. | |
3549 | (mi_async_p): New function. | |
3550 | (mi_async, mi_async_1): New globals. | |
3551 | (set_mi_async_command, show_mi_async_command, mi_async): New | |
3552 | functions. | |
3553 | (exec_continue): Call prepare_execution_command. | |
3554 | (run_one_inferior, mi_cmd_exec_run, mi_cmd_list_target_features) | |
3555 | (mi_execute_async_cli_command): Use mi_async_p. | |
3556 | (_initialize_mi_main): Install "set mi-async". Make | |
3557 | "target-async" a deprecated alias. | |
3558 | ||
92bcb5f9 PA |
3559 | 2014-05-29 Pedro Alves <palves@redhat.com> |
3560 | ||
3561 | * cli/cli-interp.c (cli_interpreter_display_prompt_p): Delete. | |
3562 | (_initialize_cli_interp): Adjust. | |
3563 | * event-loop.c: Include "observer.h". | |
3564 | (start_event_loop): Notify 'command_error' observers instead of | |
3565 | calling display_gdb_prompt. Remove FIXME comment. | |
3566 | * event-top.c (display_gdb_prompt): Remove call into the | |
3567 | interpreters. | |
3568 | * inf-loop.c: Include "observer.h". | |
3569 | (inferior_event_handler): Notify 'command_error' observers instead | |
3570 | of calling display_gdb_prompt. | |
3571 | * infrun.c (fetch_inferior_event): Notify 'sync_execution_done' | |
3572 | observers instead of calling display_gdb_prompt. | |
3573 | * interps.c (interp_set): Don't call display_gdb_prompt. | |
3574 | (current_interp_display_prompt_p): Delete. | |
3575 | * interps.h (interp_prompt_p): Delete declaration. | |
3576 | (interp_prompt_p_ftype): Delete. | |
3577 | (struct interp_procs) <prompt_proc_p>: Delete field. | |
3578 | (current_interp_display_prompt_p): Delete declaration. | |
3579 | * mi-interp.c (mi_interpreter_prompt_p): Delete. | |
3580 | (_initialize_mi_interp): Adjust. | |
3581 | * tui-interp.c (tui_init): Install 'sync_execution_done' and | |
3582 | 'command_error' observers. | |
3583 | (tui_on_sync_execution_done, tui_on_command_error): New | |
3584 | functions. | |
3585 | (tui_display_prompt_p): Delete. | |
3586 | (_initialize_tui_interp): Adjust. | |
3587 | ||
fd664c91 PA |
3588 | 2014-05-29 Pedro Alves <palves@redhat.com> |
3589 | ||
3590 | PR gdb/13860 | |
3591 | * cli/cli-interp.c: Include infrun.h and observer.h. | |
3592 | (cli_uiout, cli_interp): New globals. | |
3593 | (cli_on_signal_received, cli_on_end_stepping_range) | |
3594 | (cli_on_signal_exited, cli_on_exited, cli_on_no_history): New | |
3595 | functions. | |
3596 | (cli_interpreter_init): Install them as 'end_stepping_range', | |
3597 | 'signal_received' 'signal_exited', 'exited' and 'no_history' | |
3598 | observers. | |
3599 | (_initialize_cli_interp): Remove cli_interp local. | |
3600 | * infrun.c (handle_inferior_event): Call the several stop reason | |
3601 | observers instead of printing the stop reason directly. | |
3602 | (end_stepping_range): New function. | |
3603 | (print_end_stepping_range_reason, print_signal_exited_reason) | |
3604 | (print_exited_reason, print_signal_received_reason) | |
3605 | (print_no_history_reason): Make static, and add an uiout | |
3606 | parameter. Print to that instead of to CURRENT_UIOUT. | |
3607 | * infrun.h (print_end_stepping_range_reason) | |
3608 | (print_signal_exited_reason, print_exited_reason) | |
3609 | (print_signal_received_reason print_no_history_reason): New | |
3610 | declarations. | |
3611 | * mi/mi-common.h (struct mi_interp): Rename 'uiout' field to | |
3612 | 'mi_uiout'. | |
3613 | <cli_uiout>: New field. | |
3614 | * mi/mi-interp.c (mi_interpreter_init): Adjust. Create the new | |
3615 | uiout for CLI output. Install 'signal_received', | |
3616 | 'end_stepping_range', 'signal_exited', 'exited' and 'no_history' | |
3617 | observers. | |
3618 | (find_mi_interpreter, mi_interp_data, mi_on_signal_received) | |
3619 | (mi_on_end_stepping_range, mi_on_signal_exited, mi_on_exited) | |
3620 | (mi_on_no_history): New functions. | |
3621 | (ui_out_free_cleanup): Delete function. | |
3622 | (mi_on_normal_stop): Don't allocate a new uiout for CLI output, | |
3623 | instead use the one already stored in the MI interpreter data. | |
3624 | (mi_ui_out): Adjust. | |
3625 | * tui/tui-interp.c: Include infrun.h and observer.h. | |
3626 | (tui_interp): New global. | |
3627 | (tui_on_signal_received, tui_on_end_stepping_range) | |
3628 | (tui_on_signal_exited, tui_on_exited) | |
3629 | (tui_on_no_history): New functions. | |
3630 | (tui_init): Install them as 'end_stepping_range', | |
3631 | 'signal_received' 'signal_exited', 'exited' and 'no_history' | |
3632 | observers. | |
3633 | (_initialize_tui_interp): Delete tui_interp local. | |
3634 | ||
8817a6f2 PA |
3635 | 2014-05-29 Pedro Alves <palves@redhat.com> |
3636 | ||
3637 | PR gdb/15713 | |
3638 | * linux-nat.c (linux_nat_resume_callback): Rename the second | |
3639 | parameter to 'except'. Skip LP if it points to EXCEPT. | |
3640 | (linux_nat_resume): Don't mark the event lwp as not stopped | |
3641 | before resuming sibling lwps. Instead ask | |
3642 | linux_nat_resume_callback to skip the event lwp. Mark it as not | |
3643 | stopped after actually resuming it. | |
3644 | (linux_handle_syscall_trap): Mark the lwp as not stopped after | |
3645 | resuming it. | |
3646 | (wait_lwp): Mark the lwp as stopped here. | |
3647 | (stop_wait_callback): Mark the lwp as not stopped right after | |
3648 | resuming it. Don't mark lwps as stopped here. | |
3649 | (linux_nat_filter_event): Mark the lwp as stopped earlier. | |
3650 | (linux_nat_wait_1): Don't mark dead lwps as stopped here. | |
3651 | ||
251bde03 PA |
3652 | 2014-05-29 Pedro Alves <palves@redhat.com> |
3653 | ||
3654 | PR PR15693 | |
3655 | * infrun.c (resume): Determine how much to resume depending on | |
3656 | whether the caller wanted a step, not whether we can hardware step | |
3657 | the target. Mark all threads that we intend to run as running, | |
3658 | unless we're calling an inferior function. | |
3659 | (normal_stop): If the thread is running an infcall, don't finish | |
3660 | thread state. | |
3661 | * target.c (target_resume): Don't mark threads as running here. | |
3662 | ||
7f3c0343 JB |
3663 | 2014-05-28 Joel Brobecker <brobecker@adacore.com> |
3664 | ||
3665 | * serial.c (_initialize_serial): Remove support for | |
3666 | the "set remotebaud" and "show remotebaud" commands. | |
3667 | * NEWS: Add entry documenting the removal of that command. | |
3668 | ||
ee34b3f9 YQ |
3669 | 2014-05-28 Yao Qi <yao@codesourcery.com> |
3670 | ||
3671 | * charset.c: Fix typo in comments. | |
3672 | ||
add6c04d GB |
3673 | 2014-05-27 Gary Benson <gbenson@redhat.com> |
3674 | ||
3675 | * utils.c (internal_vproblem): Prompt for a bug report. | |
3676 | ||
92c48fc5 AW |
3677 | 2014-05-26 Andy Wingo <wingo@igalia.com> |
3678 | ||
3679 | * guile/scm-arch.c (arscm_mark_arch_smob): | |
3680 | * guile/scm-block.c (bkscm_mark_block_smob) | |
3681 | (bkscm_mark_block_syms_progress_smob): | |
3682 | * guile/scm-breakpoint.c (bpscm_mark_breakpoint_smob): | |
3683 | * guile/scm-exception.c (exscm_mark_exception_smob): | |
3684 | * guile/scm-frame.c (frscm_mark_frame_smob): | |
3685 | * guile/scm-iterator.c (itscm_mark_iterator_smob): | |
3686 | * guile/scm-lazy-string.c (lsscm_mark_lazy_string_smob): | |
3687 | * guile/scm-objfile.c (ofscm_mark_objfile_smob): | |
3688 | * guile/scm-pretty-print.c (ppscm_mark_pretty_printer_smob) | |
3689 | (ppscm_mark_pretty_printer_worker_smob): | |
3690 | * guile/scm-symbol.c (syscm_mark_symbol_smob): | |
3691 | * guile/scm-symtab.c (stscm_mark_symtab_smob, stscm_mark_sal_smob): | |
3692 | * guile/scm-type.c (tyscm_mark_type_smob, tyscm_mark_field_smob): | |
3693 | * guile/scm-value.c (vlscm_mark_value_smob): Remove unnecessary | |
3694 | mark functions. | |
3695 | * guile/scm-symtab.c (stscm_free_sal_smob): Remove unnecessary free | |
3696 | function. | |
3697 | ||
b2715b27 AW |
3698 | 2014-05-26 Andy Wingo <wingo@igalia.com> |
3699 | Doug Evans <xdje42@gmail.com> | |
3700 | ||
3701 | * guile/guile-internal.h (GDB_SMOB_HEAD): Replace properties with | |
3702 | empty_base_class. All uses updated. | |
3703 | (gdbscm_mark_gsmob, gdbscm_mark_chained_gsmob) | |
3704 | (gdbscm_mark_eqable_gsmob): Remove these now-unneeded functions. | |
3705 | Adapt all callers. | |
3706 | * guile/scm-gsmob.c (gdbscm_mark_gsmob) | |
3707 | (gdbscm_mark_chained_gsmob, gdbscm_mark_eqable_gsmob): Remove. | |
3708 | (gdbscm_gsmob_property, gdbscm_set_gsmob_property_x) | |
3709 | (gdbscm_gsmob_has_property_p, add_property_name) | |
3710 | (gdbscm_gsmob_properties): Remove, and remove them from gsmob_functions. | |
3711 | * guile/lib/gdb.scm (gdb-object-property, set-gdb-object-property) | |
3712 | (gdb-object-has-property?, gdb-object-properties): Remove. | |
3713 | (gdb-object-kind): Renamed from gsmob-kind. | |
3714 | ||
214ab2da AW |
3715 | 2014-05-26 Andy Wingo <wingo@igalia.com> |
3716 | ||
3717 | * configure.ac (try_guile_versions): Allow building with guile 2.2. | |
3718 | * configure: Regenerate. | |
3719 | ||
589fdceb MM |
3720 | 2014-05-23 Markus Metzger <markus.t.metzger@intel.com> |
3721 | ||
3722 | * symfile-mem.c (symbol_file_add_from_memory): Add BFD sections. | |
3723 | ||
67b5c0c1 MM |
3724 | 2014-05-23 Markus Metzger <markus.t.metzger@intel.com> |
3725 | ||
3726 | * record-btrace.c (record_btrace_allow_memory_access): Remove. | |
3727 | (replay_memory_access_read_only, replay_memory_access_read_write) | |
3728 | (replay_memory_access_types, replay_memory_access) | |
3729 | (set_record_btrace_cmdlist, show_record_btrace_cmdlist) | |
3730 | (cmd_set_record_btrace, cmd_show_record_btrace) | |
3731 | (cmd_show_replay_memory_access): New. | |
3732 | (record_btrace_xfer_partial, record_btrace_insert_breakpoint) | |
3733 | (record_btrace_remove_breakpoint): Replace | |
3734 | record_btrace_allow_memory_access with replay_memory_access. | |
3735 | (_initialize_record_btrace): Add commands. | |
3736 | * NEWS: Announce it. | |
3737 | ||
036cd381 RR |
3738 | 2014-05-22 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com> |
3739 | ||
3740 | * aarch64-linux-nat.c (asm/ptrace.h): Include. | |
3741 | ||
c77c1e42 RR |
3742 | 2014-05-22 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com> |
3743 | ||
3744 | * MAINTAINERS (Write After Approval): Move self back from | |
3745 | paper trail. | |
3746 | ||
45741a9c PA |
3747 | 2014-05-22 Pedro Alves <palves@redhat.com> |
3748 | ||
3749 | * inferior.h (debug_infrun, debug_displaced, stop_on_solib_events) | |
3750 | (sync_execution, sched_multi, step_stop_if_no_debug, non_stop) | |
3751 | (disable_randomization, enum exec_direction_kind) | |
3752 | (execution_direction, stop_registers, start_remote) | |
3753 | (clear_proceed_status, proceed, resume, user_visible_resume_ptid) | |
3754 | (wait_for_inferior, normal_stop, get_last_target_status) | |
3755 | (prepare_for_detach, fetch_inferior_event, init_wait_for_inferior) | |
3756 | (insert_step_resume_breakpoint_at_sal) | |
3757 | (follow_inferior_reset_breakpoints, stepping_past_instruction_at) | |
3758 | (set_step_info, print_stop_event, signal_stop_state) | |
3759 | (signal_print_state, signal_pass_state, signal_stop_update) | |
3760 | (signal_print_update, signal_pass_update) | |
3761 | (update_signals_program_target, clear_exit_convenience_vars) | |
3762 | (displaced_step_dump_bytes, update_observer_mode) | |
3763 | (signal_catch_update, gdb_signal_from_command): Move | |
3764 | declarations ... | |
3765 | * infrun.h: ... to this new file. | |
3766 | * amd64-tdep.c: Include infrun.h. | |
3767 | * annotate.c: Include infrun.h. | |
3768 | * arch-utils.c: Include infrun.h. | |
3769 | * arm-linux-tdep.c: Include infrun.h. | |
3770 | * arm-tdep.c: Include infrun.h. | |
3771 | * break-catch-sig.c: Include infrun.h. | |
3772 | * breakpoint.c: Include infrun.h. | |
3773 | * common/agent.c: Include infrun.h instead of inferior.h. | |
3774 | * corelow.c: Include infrun.h. | |
3775 | * event-top.c: Include infrun.h. | |
3776 | * go32-nat.c: Include infrun.h. | |
3777 | * i386-tdep.c: Include infrun.h. | |
3778 | * inf-loop.c: Include infrun.h. | |
3779 | * infcall.c: Include infrun.h. | |
3780 | * infcmd.c: Include infrun.h. | |
3781 | * infrun.c: Include infrun.h. | |
3782 | * linux-fork.c: Include infrun.h. | |
3783 | * linux-nat.c: Include infrun.h. | |
3784 | * linux-thread-db.c: Include infrun.h. | |
3785 | * monitor.c: Include infrun.h. | |
3786 | * nto-tdep.c: Include infrun.h. | |
3787 | * procfs.c: Include infrun.h. | |
3788 | * record-btrace.c: Include infrun.h. | |
3789 | * record-full.c: Include infrun.h. | |
3790 | * remote-m32r-sdi.c: Include infrun.h. | |
3791 | * remote-mips.c: Include infrun.h. | |
3792 | * remote-notif.c: Include infrun.h. | |
3793 | * remote-sim.c: Include infrun.h. | |
3794 | * remote.c: Include infrun.h. | |
3795 | * reverse.c: Include infrun.h. | |
3796 | * rs6000-tdep.c: Include infrun.h. | |
3797 | * s390-linux-tdep.c: Include infrun.h. | |
3798 | * solib-irix.c: Include infrun.h. | |
3799 | * solib-osf.c: Include infrun.h. | |
3800 | * solib-svr4.c: Include infrun.h. | |
3801 | * target.c: Include infrun.h. | |
3802 | * top.c: Include infrun.h. | |
3803 | * windows-nat.c: Include infrun.h. | |
3804 | * mi/mi-interp.c: Include infrun.h. | |
3805 | * mi/mi-main.c: Include infrun.h. | |
3806 | * python/py-threadevent.c: Include infrun.h. | |
3807 | ||
98eb56a4 PA |
3808 | 2014-05-22 Pedro Alves <palves@redhat.com> |
3809 | ||
3810 | * infrun.c (handle_inferior_event): Store the exit code for | |
3811 | --return-child-result here, instead of ... | |
3812 | (print_exited_reason): ... here. | |
3813 | ||
17b2616c PA |
3814 | 2014-05-21 Pedro Alves <palves@redhat.com> |
3815 | ||
3816 | PR gdb/13860 | |
3817 | * gdbthread.h (struct thread_control_state): New field | |
3818 | `command_interp'. | |
3819 | * infrun.c (follow_fork): Copy the new thread control field to the | |
3820 | child fork thread. | |
3821 | (clear_proceed_status_thread): Clear the new thread control field. | |
3822 | (proceed): Set the new thread control field. | |
3823 | * interps.h (command_interp): Declare. | |
3824 | * interps.c (command_interpreter): New global. | |
3825 | (command_interp): New function. | |
3826 | (interp_exec): Set `command_interpreter' while here. | |
3827 | * cli-out.c (cli_uiout_dtor): New function. | |
3828 | (cli_ui_out_impl): Install it. | |
3829 | * mi/mi-interp.c: Include cli-out.h. | |
3830 | (mi_cmd_interpreter_exec): Add comment. | |
3831 | (restore_current_uiout_cleanup): New function. | |
3832 | (ui_out_free_cleanup): New function. | |
3833 | (mi_on_normal_stop): If finishing an execution command started by | |
3834 | a CLI command, or any kind of breakpoint-like event triggered, | |
3835 | print the stop event to the output (CLI) stream. | |
3836 | * mi/mi-out.c (mi_ui_out_impl): Install NULL `dtor' handler. | |
3837 | ||
5166082f PA |
3838 | 2014-05-21 Pedro Alves <palves@redhat.com> |
3839 | ||
3840 | * cli/cli-cmds.c (list_command): Handle the first "list" after the | |
3841 | current source line having changed. | |
3842 | * frame.h (set_current_sal_from_frame): Remove 'center' parameter. | |
3843 | * infrun.c (normal_stop): Adjust call to | |
3844 | set_current_sal_from_frame. | |
3845 | * source.c (clear_lines_listed_range): New function. | |
3846 | (set_current_source_symtab_and_line, identify_source_line): Clear | |
3847 | the lines listed range. | |
3848 | (line_info): Handle the first "info line" after the current source | |
3849 | line having changed. | |
3850 | * stack.c (print_stack_frame): Remove center handling. | |
3851 | (set_current_sal_from_frame): Remove 'center' parameter. Don't | |
3852 | center sal.line. | |
3853 | ||
c1ee2fb3 PA |
3854 | 2014-05-21 Pedro Alves <palves@redhat.com> |
3855 | ||
3856 | * inf-child.c (inf_child_mourn_inferior): New function. | |
3857 | * inf-child.h (inf_child_mourn_inferior): New declaration. | |
3858 | * darwin-nat.c (darwin_mourn_inferior): Use | |
3859 | inf_child_mourn_inferior. | |
3860 | * gnu-nat.c (gnu_mourn_inferior): Likewise. | |
3861 | * inf-ptrace.c (inf_ptrace_mourn_inferior): Likewise. | |
3862 | * inf-ttrace.c (inf_ttrace_mourn_inferior): Likewise. | |
3863 | * nto-procfs.c (procfs_mourn_inferior): Likewise. | |
3864 | * windows-nat.c (windows_mourn_inferior): Likewise. | |
3865 | ||
5c6d4fb2 DE |
3866 | 2014-05-21 Doug Evans <xdje42@gmail.com> |
3867 | ||
250748cb | 3868 | * guile/scm-breakpoint.c (breakpoint_functions): Fix typo. |
5c6d4fb2 | 3869 | |
4a2722c5 DE |
3870 | 2014-05-21 Doug Evans <xdje42@gmail.com> |
3871 | ||
17292b30 | 3872 | * guile/scm-exception.c (gdbscm_invalid_object_error): Make result void. |
4a2722c5 DE |
3873 | (gdbscm_out_of_range_error): Ditto. |
3874 | (gdbscm_memory_error): Ditto. | |
250748cb DE |
3875 | * guile/scm-string.c (gdbscm_scm_to_target_string_unsafe): Delete. |
3876 | * guile/guile-internal.h (gdbscm_invalid_object_error): Update. | |
4a2722c5 DE |
3877 | (gdbscm_out_of_range_error): Update. |
3878 | (gdbscm_memory_error): Update. | |
3879 | (gdbscm_scm_to_target_string_unsafe): Delete. | |
3880 | ||
6a3cb8e8 PA |
3881 | 2014-05-21 Pedro Alves <palves@redhat.com> |
3882 | ||
3883 | * inf-child.c (inf_child_ops, inf_child_explicitly_opened): New | |
3884 | globals. | |
3885 | (inf_child_open_target): New function. | |
3886 | (inf_child_open): Use inf_child_open_target to push the target | |
3887 | instead of erroring out. | |
3888 | (inf_child_disconnect, inf_child_close) | |
3889 | (inf_child_maybe_unpush_target): New functions. | |
3890 | (inf_child_target): Install inf_child_disconnect and | |
3891 | inf_child_close. Store a pointer to the returned object. | |
3892 | * inf-child.h (inf_child_open_target, inf_child_maybe_unpush): New | |
3893 | declarations. | |
3894 | * target.c (auto_connect_native_target): New global. | |
3895 | (show_default_run_target): New function. | |
3896 | (find_default_run_target): Return NULL if automatically connecting | |
3897 | to the native target is disabled. | |
3898 | (_initialize_target): Install set/show auto-connect-native-target. | |
3899 | * NEWS: Mention "set auto-connect-native-target", and "target | |
3900 | native". | |
3901 | * linux-nat.c (super_close): New global. | |
3902 | (linux_nat_close): Call super_close. | |
3903 | (linux_nat_add_target): Store a pointer to the base class's | |
3904 | to_close method. | |
3905 | * inf-ptrace.c (inf_ptrace_mourn_inferior, inf_ptrace_detach): Use | |
3906 | inf_child_maybe_unpush. | |
3907 | * inf-ttrace.c (inf_ttrace_him): Don't push the target if it is | |
3908 | already pushed. | |
3909 | (inf_ttrace_mourn_inferior): Only unpush the target after mourning | |
3910 | the inferior. Use inf_child_maybe_unpush_target. | |
3911 | (inf_ttrace_attach): Don't push the target if it is already | |
3912 | pushed. | |
3913 | (inf_ttrace_detach): Use inf_child_maybe_unpush_target. | |
3914 | * darwin-nat.c (darwin_mourn_inferior): Only unpush the target | |
3915 | after mourning the inferior. Use inf_child_maybe_unpush_target. | |
3916 | (darwin_attach_pid): Don't push the target if it is already | |
3917 | pushed. | |
3918 | * gnu-nat.c (gnu_mourn_inferior): Only unpush the target after | |
3919 | mourning the inferior. Use inf_child_maybe_unpush_target. | |
3920 | (gnu_detach): Use inf_child_maybe_unpush_target. | |
3921 | * go32-nat.c (go32_create_inferior): Don't push the target if it | |
3922 | is already pushed. | |
3923 | (go32_mourn_inferior): Use inf_child_maybe_unpush_target. | |
3924 | * nto-procfs.c (procfs_is_nto_target): Adjust comment. | |
3925 | (procfs_open): Rename to ... | |
3926 | (procfs_open_1): ... this. Add target_ops parameter. Adjust | |
3927 | comments. Can target_preopen before changing node. Call | |
3928 | inf_child_open_target to push the target explicitly. | |
3929 | (procfs_attach): Don't push the target if it is already pushed. | |
3930 | (procfs_detach): Use inf_child_maybe_unpush_target. | |
3931 | (procfs_create_inferior): Don't push the target if it is already | |
3932 | pushed. | |
3933 | (nto_native_ops): New global. | |
3934 | (procfs_open): Reimplement. | |
3935 | (procfs_native_open): New function. | |
3936 | (init_procfs_targets): Install procfs_native_open as to_open of | |
3937 | "target native". Store a pointer to the "native" target in | |
3938 | nto_native_ops. | |
3939 | * procfs.c (procfs_attach): Don't push the target if it is already | |
3940 | pushed. | |
3941 | (procfs_detach): Use inf_child_maybe_unpush_target. | |
3942 | (procfs_mourn_inferior): Only unpush the target after mourning the | |
3943 | inferior. Use inf_child_maybe_unpush_target. | |
3944 | (procfs_init_inferior): Don't push the target if it is already | |
3945 | pushed. | |
3946 | * windows-nat.c (do_initial_windows_stuff): Don't push the target | |
3947 | if it is already pushed. | |
3948 | ||
930ee1b1 PA |
3949 | 2014-05-21 Pedro Alves <palves@redhat.com> |
3950 | ||
3951 | * NEWS: Mention that the "child", "GNU, "djgpp", "darwin-child" | |
3952 | and "procfs" targets are now called "native" instead. | |
3953 | ||
1f5d1b13 PA |
3954 | 2014-05-21 Pedro Alves <palves@redhat.com> |
3955 | ||
3956 | * go32-nat.c (go32_open): Delete. | |
3957 | (go32_target): Don't override the to_open method. | |
3958 | ||
132f8e03 PA |
3959 | 2014-05-21 Pedro Alves <palves@redhat.com> |
3960 | ||
3961 | * nto-procfs.c (procfs_can_run): New function. | |
3962 | (nto_procfs_ops): New global. | |
3963 | (init_procfs_targets): New, based on procfs_target. Install | |
3964 | "target native" in addition to "target procfs". | |
3965 | (_initialize_procfs): Call init_procfs_targets instead of adding | |
3966 | the target here. | |
3967 | ||
03c136c3 PA |
3968 | 2014-05-21 Pedro Alves <palves@redhat.com> |
3969 | ||
3970 | * windows-nat.c (windows_target): Don't override to_shortname, | |
3971 | to_longname or to_doc. | |
3972 | ||
a635d0f3 PA |
3973 | 2014-05-21 Pedro Alves <palves@redhat.com> |
3974 | ||
3975 | * gnu-nat.c (gnu): Don't override to_shortname, to_longname or | |
3976 | to_doc. | |
3977 | ||
4f9b5133 PA |
3978 | 2014-05-21 Pedro Alves <palves@redhat.com> |
3979 | ||
3980 | * darwin-nat.c (_initialize_darwin_inferior): Don't override | |
3981 | to_shortname, to_longname or to_doc. | |
3982 | ||
bc85afde PA |
3983 | 2014-05-21 Pedro Alves <palves@redhat.com> |
3984 | ||
3985 | * go32-nat.c (go32_target): Don't override to_shortname, | |
3986 | to_longname or to_doc. | |
3987 | ||
4ebfc96e PA |
3988 | 2014-05-21 Pedro Alves <palves@redhat.com> |
3989 | ||
3990 | * inf-child.c (inf_child_open): Remove mention of "child". | |
3991 | (inf_child_target): Rename target to "native" instead of "child". | |
3992 | ||
2648dfed AA |
3993 | 2014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com> |
3994 | ||
3995 | * Makefile.in (SFILES): Delete "regset.c". | |
3996 | (COMMON_OBS): Delete "regset.o". | |
3997 | * regset.c: Remove. | |
3998 | * regset.h (regset_alloc): Delete prototype. | |
3999 | ||
b13feb94 AA |
4000 | 2014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com> |
4001 | ||
4002 | * sparc-linux-tdep.c (sparc32_linux_gregset) | |
4003 | (sparc32_linux_fpregset): New static regset structures. | |
4004 | (sparc32_linux_init_abi): Drop dynamic regset allocations. | |
4005 | * sparc-tdep.h (struct gdbarch_tdep): Constify 'gregset' and | |
4006 | 'fpregset' fields. | |
4007 | * sparc64-linux-tdep.c: (sparc64_linux_gregset) | |
4008 | (sparc64_linux_fpregset): New static regset structures. | |
4009 | (sparc64_linux_init_abi): Drop dynamic regset allocations. | |
4010 | * sparc64fbsd-tdep.c (sparc64fbsd_gregset, sparc64fbsd_fpregset): | |
4011 | New static regset structures. | |
4012 | (sparc64fbsd_init_abi): Drop dynamic regset allocations. | |
4013 | * sparc64nbsd-tdep.c (sparc64nbsd_gregset, sparc64nbsd_fpregset): | |
4014 | New static regset structures. | |
4015 | (sparc64nbsd_init_abi): Drop dynamic regset allocations. | |
4016 | * sparc64obsd-tdep.c (sparc64obsd_gregset, sparc64obsd_fpregset): | |
4017 | New static regset structures. | |
4018 | (sparc64obsd_init_abi): Drop dynamic regset allocations. | |
4019 | * sparcnbsd-tdep.c (sparc32nbsd_gregset, sparc32nbsd_fpregset): | |
4020 | New static regset structures. | |
4021 | (sparc32nbsd_init_abi): Drop dynamic regset allocations. | |
4022 | ||
b4fd25c9 AA |
4023 | 2014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com> |
4024 | ||
4025 | * sparc-linux-nat.c (supply_gregset, supply_fpregset) | |
4026 | (fill_gregset, fill_fpregset, _initialize_sparc_linux_nat): Rename | |
4027 | register maps ("regmaps") from "*regset" to "*regmap". Do this | |
4028 | for all regmap types and variables. | |
4029 | * sparc-linux-tdep.c (sparc32_linux_step_trap) | |
4030 | (sparc32_linux_supply_core_gregset) | |
4031 | (sparc32_linux_collect_core_gregset) | |
4032 | (sparc32_linux_supply_core_fpregset) | |
4033 | (sparc32_linux_collect_core_fpregset): Likewise. | |
4034 | * sparc-nat.c (sparc_gregset, sparc_fpregset): Rename to... | |
4035 | (sparc_gregmap, sparc_fpregmap): ... these. | |
4036 | (sparc_supply_gregset, sparc_collect_gregset) | |
4037 | (sparc_supply_fpregset, sparc_collect_fpregset): Likewise. | |
4038 | (sparc_fetch_inferior_registers, sparc_store_inferior_registers) | |
4039 | (_initialize_sparc_nat): Rename regmaps. | |
4040 | * sparc-nat.h (sparc_gregset, sparc_fpregset): Rename to... | |
4041 | (sparc_gregmap, sparc_fpregmap): ... these. | |
4042 | (sparc_supply_gregset, sparc_collect_gregset) | |
4043 | (sparc_supply_fpregset, sparc_collect_fpregset): Likewise. | |
4044 | * sparc-sol2-nat.c (sparc_sol2_gregset, sparc_sol2_fpregset): | |
4045 | Rename macros to... | |
4046 | (sparc_sol2_gregmap, sparc_sol2_fpregmap): ... these. | |
4047 | (supply_gregset, supply_fpregset, fill_gregset, fill_fpregset): | |
4048 | Likewise. | |
4049 | * sparc-sol2-tdep.c (sparc32_sol2_gregset, sparc32_sol2_fpregset): | |
4050 | Rename to... | |
4051 | (sparc32_sol2_gregmap, sparc32_sol2_fpregmap): ... these. | |
4052 | * sparc-tdep.c (sparc32_supply_gregset, sparc32_collect_gregset) | |
4053 | (sparc32_supply_fpregset, sparc32_collect_fpregset): Rename | |
4054 | regmaps. | |
4055 | (sparc32_sunos4_gregset, sparc32_sunos4_fpregset) | |
4056 | (sparc32_bsd_fpregset): Rename to... | |
4057 | (sparc32_sunos4_gregmap, sparc32_sunos4_fpregmap) | |
4058 | (sparc32_bsd_fpregmap): ... these. | |
4059 | * sparc-tdep.h (struct sparc_gregset, struct sparc_fpregset) | |
4060 | (sparc32_sunos4_gregset, sparc32_sunos4_fpregset) | |
4061 | (sparc32_bsd_fpregset, sparc32_sol2_gregset) | |
4062 | (sparc32_sol2_fpregset, sparc32nbsd_gregset): Rename to... | |
4063 | (struct sparc_gregmap, struct sparc_fpregmap) | |
4064 | (sparc32_sunos4_gregmap, sparc32_sunos4_fpregmap) | |
4065 | (sparc32_bsd_fpregmap, sparc32_sol2_gregmap) | |
4066 | (sparc32_sol2_fpregmap, sparc32nbsd_gregmap): ... these. | |
4067 | (sparc32_supply_regset, sparc32_collect_gregset) | |
4068 | (sparc32_supply_fpregset, sparc32_collect_fpregset): Adjust | |
4069 | prototypes. | |
4070 | * sparc64-linux-nat.c (sparc64_linux_ptrace_gregset): Rename to... | |
4071 | (sparc64_linux_ptrace_gregmap): ... this. | |
4072 | (supply_gregset, supply_fpregset, fill_gregset, fill_fpregset) | |
4073 | (_initialize_sparc64_linux_nat): Rename regmaps. | |
4074 | * sparc64-linux-tdep.c (sparc64_linux_core_gregset): Rename to... | |
4075 | (sparc64_linux_core_gregmap): ... this. | |
4076 | (sparc64_linux_supply_core_gregset) | |
4077 | (sparc64_linux_collect_core_gregset) | |
4078 | (sparc64_linux_supply_core_fpregset) | |
4079 | (sparc64_linux_collect_core_fpregset): Rename regmaps. | |
4080 | * sparc64-sol2-tdep.c (sparc64_sol2_gregset) | |
4081 | (sparc64_sol2_fpregset): Rename to... | |
4082 | (sparc64_sol2_gregmap, sparc64_sol2_fpregmap): ... these. | |
4083 | * sparc64-tdep.c (sparc64_supply_gregset, sparc64_collect_gregset) | |
4084 | (sparc64_supply_fpregset, sparc64_collect_fpregset): Rename | |
4085 | regmaps. | |
4086 | * sparc64-tdep.h (struct sparc_gregset, sparc64_sol2_gregset) | |
4087 | (sparc64_sol2_fpregset, sparc64fbsd_gregset, sparc64nbsd_gregset) | |
4088 | (sparc64_bsd_fpregset): Rename to... | |
4089 | (struct sparc_gregmap, sparc64_sol2_gregmap) | |
4090 | (sparc64_sol2_fpregmap, sparc64fbsd_gregmap, sparc64nbsd_gregmap) | |
4091 | (sparc64_bsd_fpregmap): ... these. | |
4092 | (sparc64_supply_gregset, sparc64_collect_gregset) | |
4093 | (sparc64_supply_fpregset, sparc64_collect_fpregset): Adjust | |
4094 | prototypes. | |
4095 | * sparc64fbsd-nat.c (_initialize_sparc64fbsd_nat): Rename regmaps. | |
4096 | * sparc64fbsd-tdep.c (sparc64fbsd_gregset): Rename to... | |
4097 | (sparc64fbsd_gregmap): ... this. | |
4098 | (sparc64fbsd_supply_gregset, sparc64fbsd_collect_gregset) | |
4099 | (sparc64fbsd_supply_fpregset, sparc64fbsd_collect_fpregset): | |
4100 | Rename regmaps. | |
4101 | * sparc64nbsd-nat.c (sparc64nbsd_supply_gregset) | |
4102 | (sparc64nbsd_collect_gregset, sparc64nbsd_supply_fpregset) | |
4103 | (sparc64nbsd_collect_fpregset): Likewise. | |
4104 | * sparc64nbsd-tdep.c (sparc64nbsd_gregset): Rename to... | |
4105 | (sparc64nbsd_gregmap): ... this. | |
4106 | (sparc64nbsd_supply_gregset, sparc64nbsd_supply_fpregset): Rename | |
4107 | regmaps. | |
4108 | * sparc64obsd-nat.c (_initialize_sparc64obsd_nat): Likewise. | |
4109 | * sparc64obsd-tdep.c (sparc64obsd_gregset): Rename to... | |
4110 | (sparc64obsd_gregmap): ... this. | |
4111 | (sparc64obsd_supply_gregset, sparc64obsd_supply_fpregset): Rename | |
4112 | regmaps. | |
4113 | * sparcnbsd-nat.c (_initialize_sparcnbsd_nat): Likewise. | |
4114 | * sparcnbsd-tdep.c (sparc32nbsd_gregset): Rename to... | |
4115 | (sparc32nbsd_gregmap): ... this. | |
4116 | (sparc32nbsd_supply_gregset, sparc32nbsd_supply_fpregset): Rename | |
4117 | regmaps. | |
4118 | ||
8fea3224 AA |
4119 | 2014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com> |
4120 | ||
4121 | * score-tdep.c (score7_linux_gregset): New static regset | |
4122 | structure. | |
4123 | (score7_linux_regset_from_core_section): Remove dynamic regset | |
4124 | allocation. | |
4125 | (score_gdbarch_init): Drop allocation of tdep structure. | |
4126 | * score-tdep.h (struct gdbarch_tdep): Remove declaration. | |
4127 | ||
24534243 AA |
4128 | 2014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com> |
4129 | ||
4130 | * mn10300-linux-tdep.c (am33_gregset, am33_fpregset): New static | |
4131 | regset structures. | |
4132 | (am33_regset_from_core_section): Remove dynamic regset | |
4133 | allocations. | |
4134 | ||
b7195f27 AA |
4135 | 2014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com> |
4136 | ||
4137 | * mips-linux-tdep.c (mips_linux_gregset, mips64_linux_gregset) | |
4138 | (mips_linux_fpregset, mips64_linux_fpregset): New static regset | |
4139 | structures. | |
4140 | (mips_linux_regset_from_core_section): Remove dynamic regset | |
4141 | allocations. | |
4142 | * mips-tdep.h (struct gdbarch_tdep): Remove fields 'gregset', | |
4143 | 'gregset64', 'fpregset', and 'fpregset64'. | |
4144 | * mips-tdep.c (mips_gdbarch_init): Remove initialization of | |
4145 | deleted tdep fields. | |
4146 | ||
ecc37a5a AA |
4147 | 2014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com> |
4148 | ||
4149 | * amd64-tdep.c (amd64_fpregset, amd64_xstateregset): New static | |
4150 | regset structures. | |
4151 | (amd64_regset_from_core_section): Remove dynamic regset | |
4152 | allocations. | |
4153 | * amd64obsd-tdep.c (amd64obsd_combined_regset): New static regset | |
4154 | structure. | |
4155 | (amd64obsd_regset_from_core_section): Remove dynamic regset | |
4156 | allocation. | |
4157 | * i386-cygwin-tdep.c (i386_windows_regset_from_core_section): | |
4158 | Likewise. | |
4159 | * i386-nto-tdep.c (i386nto_supply_gregset): Adjust call to | |
4160 | x86-common regset supply function. | |
4161 | * i386-tdep.c (i386_collect_gregset): Make static. | |
4162 | (i386_gregset): New global regset structure. | |
4163 | (i386_fpregset, i386_xstateregset): New static regset structures. | |
4164 | (i386_regset_from_core_section): Remove dynamic regset | |
4165 | allocations. | |
4166 | (i386_gdbarch_init): Remove initialization of tdep fields | |
4167 | 'gregset', 'fpregset', and 'xstateregset'. | |
4168 | * i386-tdep.h (struct gdbarch_tdep): Remove fields 'gregset', | |
4169 | 'fpregset', and 'xstateregset'. | |
4170 | (i386_collect_gregset): Remove prototype. | |
4171 | (i386_gregset): New declaration. | |
4172 | * i386obsd-tdep.c (i386obsd_aout_gregset): New static regset | |
4173 | structure. | |
4174 | (i386obsd_aout_regset_from_core_section): Remove dynamic regset | |
4175 | allocation. | |
4176 | ||
b7611c43 AA |
4177 | 2014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com> |
4178 | ||
4179 | * arm-linux-tdep.c (arm_linux_gregset, arm_linux_fpregset) | |
4180 | (arm_linux_vfpregset): New static regset structures. | |
4181 | (arm_linux_regset_from_core_section): Remove dynamic allocation of | |
4182 | regset structures. | |
4183 | * arm-tdep.h (struct gdbarch_tdep): Remove 'gregset', 'fpregset', | |
4184 | and 'vfpregset' fields. | |
4185 | ||
a069a2bd AA |
4186 | 2014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com> |
4187 | ||
4188 | * aarch64-linux-tdep.c (aarch64_linux_gregset) | |
4189 | (aarch64_linux_fpregset): New static regset structures. | |
4190 | (aarch64_linux_regset_from_core_section): Drop dynamic allocation | |
4191 | of regset structures. | |
4192 | * aarch64-tdep.h (struct gdbarch_tdep): Remove 'gregset' and | |
4193 | 'fpregset' fields. | |
4194 | ||
09424cff AA |
4195 | 2014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com> |
4196 | ||
4197 | * regset.h (struct regset): Remove gdbarch field. | |
4198 | * regset.c (regset_alloc): Drop initialization of gdbarch field. | |
4199 | * nios2-linux-tdep.c (nios2_core_regset): Likewise. | |
4200 | * ppcfbsd-tdep.c (ppc32_fbsd_gregset, ppc64_fbsd_gregset): | |
4201 | Likewise. | |
4202 | * ppc-linux-tdep.c (ppc32_linux_gregset, ppc64_linux_gregset) | |
4203 | (ppc32_linux_fpregset, ppc32_linux_vrregset) | |
4204 | (ppc32_linux_vsxregset): Likewise. | |
4205 | * i386obsd-tdep.c (i386obsd_aout_supply_regset): Get the gdbarch | |
4206 | via the regcache instead of the regset. | |
4207 | * i386-tdep.c (i386_supply_gregset, i386_collect_gregset) | |
4208 | (i386_supply_fpregset, i386_collect_fpregset): Likewise. | |
4209 | * amd64obsd-tdep.c (amd64obsd_supply_regset): Likewise. | |
4210 | * amd64-tdep.c (amd64_supply_fpregset, amd64_collect_fpregset): | |
4211 | Likewise. | |
4212 | ||
3ca7dae4 AA |
4213 | 2014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com> |
4214 | ||
4215 | * alpha-linux-tdep.c (alpha_linux_gregset, alpha_linux_fpregset): | |
4216 | Constify structures. | |
4217 | * alphanbsd-tdep.c (alphanbsd_gregset, alphanbsd_fpregset) | |
4218 | (alphanbsd_aout_gregset): Likewise. | |
4219 | * armbsd-tdep.c (armbsd_gregset, armbsd_fpregset): Likewise. | |
4220 | * frv-linux-tdep.c (frv_linux_gregset, frv_linux_fpregset): | |
4221 | Likewise. | |
4222 | * hppa-hpux-tdep.c (hppa_hpux_regset): Likewise. | |
4223 | * hppa-linux-tdep.c (hppa_linux_regset, hppa_linux_fpregset): | |
4224 | Likewise. | |
4225 | * hppanbsd-tdep.c (hppanbsd_gregset): Likewise. | |
4226 | * hppaobsd-tdep.c (hppaobsd_gregset, hppaobsd_fpregset): Likewise. | |
4227 | * m32r-linux-tdep.c (m32r_linux_gregset): Likewise. | |
4228 | * m68kbsd-tdep.c (m68kbsd_gregset, m68kbsd_fpregset): Likewise. | |
4229 | * m88k-tdep.c (m88k_gregset): Likewise. | |
4230 | * mips64obsd-tdep.c (mips64obsd_gregset): Likewise. | |
4231 | * mipsnbsd-tdep.c (mipsnbsd_gregset, mipsnbsd_fpregset): Likewise. | |
4232 | * nios2-linux-tdep.c (nios2_core_regset): Likewise. | |
4233 | * ppcfbsd-tdep.c (ppc32_fbsd_fpregset): Likewise. | |
4234 | * ppcnbsd-tdep.c (ppcnbsd_gregset, ppcnbsd_fpregset): Likewise. | |
4235 | * ppcnbsd-tdep.h (ppcnbsd_gregset, ppcnbsd_fpregset): Likewise. | |
4236 | * ppcobsd-tdep.c (ppcobsd_gregset, ppcobsd_fpregset): Likewise. | |
4237 | * ppcobsd-tdep.h (ppcobsd_gregset, ppcobsd_fpregset): Likewise. | |
4238 | * rs6000-aix-tdep.c (rs6000_aix32_regset, rs6000_aix64_regset): | |
4239 | Likewise. | |
4240 | * sh-tdep.c (sh_corefile_gregset, sh_corefile_fpregset): Likewise. | |
4241 | * sh-tdep.h (sh_corefile_gregset): Likewise. | |
4242 | * tilegx-linux-tdep.c (tilegx_linux_regset): Likewise. | |
4243 | * vax-tdep.c (vax_gregset): Likewise. | |
4244 | ||
5876f503 JK |
4245 | 2014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com> |
4246 | ||
4247 | Fix TLS access for -static -pthread. | |
4248 | * linux-thread-db.c (struct thread_db_info): Add td_thr_tlsbase_p. | |
4249 | (try_thread_db_load_1): Initialize it. | |
4250 | (thread_db_get_thread_local_address): Call it if LM is zero. | |
4251 | * target.c (target_translate_tls_address): Remove LM_ADDR zero check. | |
4252 | * target.h (struct target_ops) (to_get_thread_local_address): Add | |
4253 | load_module_addr comment. | |
4254 | ||
0256a6ac PA |
4255 | 2014-05-21 Pedro Alves <palves@redhat.com> |
4256 | ||
4257 | * dcache.c (dcache_read_memory_partial): If reading the cache line | |
4258 | fails, fallback to reading just the memory the caller wanted. | |
4259 | ||
227533ac DE |
4260 | 2014-05-20 Doug Evans <dje@google.com> |
4261 | ||
4262 | * python/py-progspace.c (py_free_pspace): Call target_gdbarch | |
4263 | instead of get_current_arch. | |
4264 | ||
936d2992 PA |
4265 | 2014-05-20 Pedro Alves <palves@redhat.com> |
4266 | ||
4267 | * NEWS: Mention that compare-sections now works with all targets. | |
4268 | ||
4269 | * remote.c (PACKET_qCRC): New enum value. | |
4270 | (remote_verify_memory): Don't send qCRC if the target has no | |
4271 | execution. Use packet_support/packet_ok. If the target doesn't | |
4272 | support the qCRC packet, fallback to a deep memory copy. | |
4273 | (compare_sections_command): Say "target image" instead of "remote | |
4274 | executable". | |
4275 | (_initialize_remote): Add PACKET_qCRC to the list of config | |
4276 | packets that have no associated command. Extend comment. | |
4277 | * target.c (simple_verify_memory, default_verify_memory): New | |
4278 | function. | |
4279 | * target.h (struct target_ops) <to_verify_memory>: Default to | |
4280 | default_verify_memory. | |
4281 | (simple_verify_memory): New declaration. | |
4282 | * target-delegates.c: Regenerate. | |
4283 | ||
e59fa00f MM |
4284 | 2014-05-20 Markus Metzger <markus.t.metzger@intel.com> |
4285 | ||
4286 | * record-btrace.c (record_btrace_step_thread): Check for empty history. | |
4287 | ||
f2205de0 HZ |
4288 | 2014-05-20 Hui Zhu <hui@codesourcery.com> |
4289 | Yao Qi <yao@codesourcery.com> | |
4290 | ||
4291 | PR backtrace/16558 | |
4292 | * aarch64-linux-tdep.c (aarch64_linux_sigframe_init): Update comments | |
4293 | and change address of sp and pc. | |
4294 | ||
c4e54771 TT |
4295 | 2014-05-19 Tom Tromey <tromey@redhat.com> |
4296 | ||
4297 | * gdbtypes.c (rank_function): Use XNEWVEC. | |
4298 | * mi/mi-cmds.c (build_table): Use XCNEWVEC. | |
4299 | ||
73051182 DE |
4300 | 2014-05-19 Doug Evans <dje@google.com> |
4301 | ||
4302 | * dwarf2read.c (build_type_psymtabs_1): Renamed from | |
4303 | build_type_unit_groups and moved closer to only caller. Remove | |
4304 | arguments. All references updated. Remove outdated .gdb_index | |
4305 | comment. | |
4306 | (struct tu_abbrev_offset, sort_tu_by_abbrev_offset): Move with | |
4307 | build_type_psymtabs_1. | |
4308 | ||
8832e7e3 DE |
4309 | 2014-05-19 Doug Evans <dje@google.com> |
4310 | ||
4311 | * dwarf2read.c (struct dwarf2_per_objfile): Delete unused members | |
4312 | n_type_unit_groups, all_type_unit_groups. All uses removed. | |
4313 | (get_type_unit_group, build_type_unit_groups): Delete forward decls. | |
4314 | (dw2_get_cutu): Renamed from dw2_get_cu. All callers updated. | |
4315 | (dw2_get_cu): Renamed from dw2_get_primary_cu. All callers updated. | |
4316 | (add_type_unit_group_to_table): Delete. | |
4317 | ||
cd8ae15e DE |
4318 | 2014-05-19 Doug Evans <dje@google.com> |
4319 | ||
4320 | * eval.c (evaluate_subexp_standard): Add some comments. | |
4321 | ||
08f4850b DE |
4322 | 2014-05-17 Doug Evans <xdje42@gmail.com> |
4323 | ||
4324 | * progspace.c (remove_program_space): Delete, unused. | |
4325 | * progspace.h (remove_program_space): Ditto. | |
4326 | ||
bed8455c DE |
4327 | 2014-05-17 Doug Evans <xdje42@gmail.com> |
4328 | ||
4329 | * inferior.c (prune_inferiors): Fix comment. | |
4330 | (remove_inferior_command): Call prune_program_spaces. | |
4331 | ||
8d551b02 DE |
4332 | 2014-05-16 Doug Evans <dje@google.com> |
4333 | ||
4334 | New command line option -D. | |
4335 | * NEWS: Mention it. | |
4336 | * main.c (set_gdb_data_directory): New function. | |
4337 | (captured_main): Recognize -D. Flag error for --data-directory "". | |
4338 | Call set_gdb_data_directory. | |
4339 | (print_gdb_help): Print --data-directory, -D. | |
4340 | * main.h (set_gdb_data_directory): Declare. | |
4341 | * top.c (staged_gdb_datadir): New static global. | |
4342 | (set_gdb_datadir): Call set_gdb_data_directory | |
4343 | (show_gdb_datadir): New function. | |
4344 | (init_main): Update init of data-directory parameter. | |
4345 | ||
18848e28 GF |
4346 | 2014-05-16 Gregory Fong <gregory.0xf0@gmail.com> |
4347 | ||
4348 | Import the "dirfd" gnulib module. | |
4349 | * gnulib/update-gnulib.sh (IMPORTED_GNULIB_MODULES): Add dirfd. | |
4350 | * gnulib/aclocal.m4: Update. | |
4351 | * gnulib/config.in: Update. | |
4352 | * gnulib/configure: Update. | |
4353 | * gnulib/import/Makefile.am: Update. | |
4354 | * gnulib/import/Makefile.in: Update. | |
4355 | * gnulib/import/dirfd.c: New. | |
4356 | * gnulib/import/m4/dirfd.m4: New. | |
4357 | * gnulib/import/m4/gnulib-cache.m4: Update. | |
4358 | * gnulib/import/m4/gnulib-comp.m4: Update. | |
4359 | ||
95c64f92 YQ |
4360 | 2014-05-16 Pierre Muller <muller@sourceware.org> |
4361 | Yao Qi <yao@codesourcery.com> | |
4362 | ||
4363 | * valprint.c (print_wchar): Move the code on checking whether | |
4364 | W is a printable wide char to the default branch of switch | |
4365 | statement below. Call wchar_printable instead of gdb_iswprint. | |
4366 | ||
cac395ea TM |
4367 | 2014-05-16 Taimoor Mirza <tmirza@codesourcery.com> |
4368 | ||
19679eca | 4369 | * arm-tdep.c (thumb_analyze_prologue): Fix offset calculation for |
cac395ea TM |
4370 | ldr.w and ldrd instructions. |
4371 | ||
83655187 DE |
4372 | 2014-05-15 Doug Evans <dje@google.com> |
4373 | ||
4374 | * dwarf2read.c (read_structure_type): Delete outdated comments. | |
4375 | ||
dd756689 TT |
4376 | 2014-05-14 Tom Tromey <tromey@redhat.com> |
4377 | ||
4378 | * macrocmd.c (print_macro_definition): Reindent. | |
4379 | ||
75ddda77 DE |
4380 | 2014-05-13 Doug Evans <xdje42@gmail.com> |
4381 | ||
4382 | * python/py-cmd.c (cmdpy_completer): Add comment. | |
4383 | (completers): Make const. | |
4384 | ||
b0f16a3e SM |
4385 | 2014-05-13 Simon Marchi <simon.marchi@ericsson.com> |
4386 | ||
4387 | * infrun.c (resume): Remove should_resume (unused). Move up | |
4388 | declaration of resume_ptid. | |
4389 | ||
033c3379 TT |
4390 | 2014-05-13 Tom Tromey <tromey@redhat.com> |
4391 | ||
4392 | * language.h (unop_type_check): Remove. | |
4393 | (binop_type_check): Don't declare. | |
4394 | ||
9b44a3a5 AA |
4395 | 2014-05-13 Andreas Arnez <arnez@vnet.linux.ibm.com> |
4396 | ||
4397 | * s390-linux-nat.c (fill_gregset): Remove erroneous offset 4 in | |
4398 | call to regcache_raw_collect. | |
4399 | ||
303a33fa SM |
4400 | 2014-05-12 Simon Marchi <simon.marchi@ericsson.com> |
4401 | ||
4402 | * mi/mi-console.c (mi_console_raw_packet): Use the value from | |
4403 | mi_console->quote as the quoting character. | |
4404 | ||
196100a0 SM |
4405 | 2014-05-12 Simon Marchi <simon.marchi@ericsson.com> |
4406 | ||
4407 | * MAINTAINERS (Write After Approval): Add "Simon Marchi". | |
4408 | ||
f989a1c8 TT |
4409 | 2014-04-29 Tom Tromey <tromey@redhat.com> |
4410 | ||
4411 | * varobj.c (_initialize_varobj): Rename to "set debug varobj" and | |
4412 | "show debug varobj". | |
4413 | ||
9404b58f KM |
4414 | 2014-05-07 Kyle McMartin <kyle@redhat.com> |
4415 | ||
4416 | Pushed by Joel Brobecker <brobecker@adacore.com>. | |
4417 | * aarch64-tdep.c (aarch64_software_single_step): New function. | |
4418 | (aarch64_gdbarch_init): Handle single stepping of atomic sequences | |
4419 | with aarch64_software_single_step. | |
4420 | ||
5e49ba57 JB |
4421 | 2014-05-05 Joel Brobecker <brobecker@adacore.com> |
4422 | ||
4423 | GDB 7.7.1 released. | |
4424 | ||
c888a17d KS |
4425 | 2014-05-05 Keith Seitz <keiths@redhat.com> |
4426 | ||
4427 | * linespec.c (linespec_parse_basic): Run cleanups if a convenience | |
4428 | variable or history value is successfully parsed. | |
4429 | ||
290a839c YQ |
4430 | 2014-05-05 Yao Qi <yao@codesourcery.com> |
4431 | Pedro Alves <palves@redhat.com> | |
4432 | ||
4433 | * tracefile-tfile.c (tfile_xfer_partial): Record the lowest | |
4434 | address of blocks that intersects the requested range. Trim | |
4435 | LEN up to LOW_ADDR_AVAILABLE if read from executable read-only | |
4436 | sections. | |
4437 | * ctf.c (ctf_xfer_partial): Likewise. | |
4438 | ||
91256dc2 YQ |
4439 | 2014-05-05 Yao Qi <yao@codesourcery.com> |
4440 | ||
4441 | * printcmd.c (display_command): Remove the check to | |
4442 | target_has_execution. | |
4443 | ||
07284463 MK |
4444 | 2014-05-03 Mark Kettenis <kettenis@gnu.org> |
4445 | ||
4446 | * ppcobsd-nat.c: Include "obsd-nat.h". | |
4447 | (_initialize_ppcobsd_nat): Call obsd_add_target instead of | |
4448 | add_target. | |
4449 | * config/powerpc/obsd.mh (NATDEPFILES): Add obsd-nat.o. | |
4450 | ||
30a1e6cc SDJ |
4451 | 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com> |
4452 | ||
4453 | * stap-probe.c (enum stap_arg_bitness): New enums to represent 8 | |
4454 | and 16-bit signed and unsigned arguments. Update comment. | |
4455 | (stap_parse_probe_arguments): Extend code to handle such | |
4456 | arguments. Use warning instead of complaint to notify about | |
4457 | unrecognized bitness. | |
4458 | ||
f33da99a SDJ |
4459 | 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com> |
4460 | ||
4461 | PR breakpoints/16889 | |
4462 | * stap-probe.c (stap_parse_probe_arguments): Simplify | |
4463 | check for non-prefixed probes (i.e., probes whose | |
4464 | arguments do not start with "N@"). Always set the | |
4465 | argument type to a sane value. | |
4466 | ||
95cf3b38 DT |
4467 | 2014-05-01 David Taylor <dtaylor@emc.com> |
4468 | ||
4469 | * remote.c (compare_sections_command): Add -r option to compare | |
4470 | all loadable read-only sections. | |
4471 | ||
1cfdf534 SC |
4472 | 2014-04-30 Siva Chandra Reddy <sivachandra@google.com> |
4473 | ||
4474 | * dwarf2loc.c (dwarf2_locexpr_baton_eval, | |
4475 | dwarf2_evaluate_property): Remove unused CORE_ADDR argument. | |
4476 | Update all callers. | |
4477 | * dwarf2loc.h (dwarf2_evaluate_property): Update signature. | |
4478 | * gdbtypes.c (resolve_dynamic_range, resolve_dynamic_array): | |
4479 | Remove unused CORE_ADDR argument. Update all callers. | |
4480 | ||
ca4f7f8b PA |
4481 | 2014-04-29 Pedro Alves <palves@redhat.com> |
4482 | ||
4483 | * remote.c (struct packet_config) <detect>: Extend comment. | |
4484 | (add_packet_config_cmd): Don't set the config's detect or support | |
4485 | fields here. | |
4486 | (init_all_packet_configs): Also initialize the config's 'detect' | |
4487 | field. | |
4488 | (reset_all_packet_configs_support): New function. | |
4489 | (remote_open_1): Call reset_all_packet_configs_support instead of | |
4490 | init_all_packet_configs. | |
4491 | (_initialize_remote): Initialize all packet configs. Assert that | |
4492 | all packets have an associated command, except a few known | |
4493 | outliers. | |
4494 | ||
11c1ba78 JB |
4495 | 2014-04-28 Joel Brobecker <brobecker@adacore.com> |
4496 | ||
4497 | * dwarf2read.c (read_subrange_type): Handle dynamic | |
4498 | DW_AT_lower_bound attributes. | |
4499 | ||
8739bc53 JB |
4500 | 2014-04-28 Joel Brobecker <brobecker@adacore.com> |
4501 | ||
4502 | * ada-lang.c (ada_discrete_type_high_bound): Resolve the type's | |
4503 | dynamic bounds before computing its upper bound. | |
4504 | (ada_discrete_type_low_bound): Same as above with the lower bound. | |
4505 | ||
6f8a3220 JB |
4506 | 2014-04-28 Joel Brobecker <brobecker@adacore.com> |
4507 | ||
4508 | * dwarf2read.c (is_dynamic_type): Return true for dynamic | |
4509 | range types. Adjust the array handling implementation to | |
4510 | take advantage of this change. | |
4511 | (resolve_dynamic_range): New function, mostly extracted from | |
4512 | resolve_dynamic_bounds. | |
4513 | (resolve_dynamic_array): New function, mostly extracted from | |
4514 | resolve_dynamic_bounds. | |
4515 | (resolve_dynamic_bounds): Delete. | |
4516 | (resolve_dynamic_type): Reimplement. Add handling of | |
4517 | TYPE_CODE_RANGE types. | |
4518 | ||
4d072ce4 JB |
4519 | 2014-04-28 Joel Brobecker <brobecker@adacore.com> |
4520 | ||
4521 | * ada-varobj.c (ada_varobj_describe_simple_array_child): Remove | |
4522 | handling of parallel ___XA types. | |
4523 | ||
52865325 JB |
4524 | 2014-04-28 Joel Brobecker <brobecker@adacore.com> |
4525 | ||
4526 | * ada-lang.c (ada_evaluate_subexp) <OP_VAR_VALUE>: Remove | |
4527 | unnecessary second call to static_unwrap_type. | |
4528 | ||
433e77fa HZ |
4529 | 2014-04-27 Hui Zhu <hui@codesourcery.com> |
4530 | ||
4531 | * stack.c (print_frame_info): Call do_gdb_disassembly with | |
4532 | DUMMY_FRAME, SIGTRAMP_FRAME and ARCH_FRAME. | |
4533 | ||
b51a69ee DE |
4534 | 2014-04-26 Doug Evans <xdje42@gmail.com> |
4535 | ||
4536 | * guile/scm-safe-call.c (scscm_eval_scheme_string): Fix comment. | |
4537 | ||
7ae1a6a6 PA |
4538 | 2014-04-25 Pedro Alves <palves@redhat.com> |
4539 | ||
4540 | PR server/16255 | |
4541 | * common/linux-ptrace.c (linux_ptrace_attach_warnings): Rename to ... | |
4542 | (linux_ptrace_attach_fail_reason): ... this. Remove "warning: " | |
4543 | and newline from built string. | |
4544 | * common/linux-ptrace.h (linux_ptrace_attach_warnings): Rename to ... | |
4545 | (linux_ptrace_attach_fail_reason): ... this. | |
4546 | * linux-nat.c (linux_nat_attach): Adjust to use | |
4547 | linux_ptrace_attach_fail_reason. | |
4548 | ||
4082afcc PA |
4549 | 2014-04-25 Pedro Alves <palves@redhat.com> |
4550 | ||
4551 | * remote.c (struct remote_state): Remove multi_process_aware, | |
4552 | non_stop_aware, cond_tracepoints, cond_breakpoints, | |
4553 | breakpoint_commands, fast_tracepoints, static_tracepoints, | |
4554 | install_in_trace, disconnected_tracing, | |
4555 | enable_disable_tracepoints, string_tracing, and | |
4556 | augmented_libraries_svr4_read fields. | |
4557 | (remote_multi_process_p): Move further below in the file. | |
4558 | (struct packet_config): Add comments. | |
4559 | (update_packet_config): Delete function. | |
4560 | (show_packet_config_cmd): Use packet_config_support. | |
4561 | (add_packet_config_cmd): Use NULL as set callback. | |
4562 | (packet_ok): "set remote foo-packet"-style commands no longer | |
4563 | change config->supported -- adjust. | |
4564 | (PACKET_ConditionalTracepoints, PACKET_ConditionalBreakpoints) | |
4565 | (PACKET_BreakpointCommands, PACKET_FastTracepoints) | |
4566 | (PACKET_StaticTracepoints, PACKET_InstallInTrace): Add comments. | |
4567 | (PACKET_QNonStop, PACKET_multiprocess_feature) | |
4568 | (PACKET_EnableDisableTracepoints_feature, PACKET_tracenz_feature) | |
4569 | (PACKET_DisconnectedTracing_feature) | |
4570 | (PACKET_augmented_libraries_svr4_read_feature): New enum values. | |
4571 | (set_remote_protocol_packet_cmd): Delete function. | |
4572 | (packet_config_support, packet_support): New functions. | |
4573 | (set_remote_protocol_Z_packet_cmd): Don't call | |
4574 | update_packet_config. | |
4575 | (remote_query_attached, remote_pass_signals) | |
4576 | (remote_program_signals, remote_threads_info) | |
4577 | (remote_threads_extra_info, remote_start_remote): Use | |
4578 | packet_support. | |
4579 | (remote_start_remote): Use packet_config_support and | |
4580 | packet_support. | |
4581 | (init_all_packet_configs): Set all packets to unknown support, | |
4582 | instead of calling update_packet_config. | |
4583 | (remote_check_symbols): Use packet_support. | |
4584 | (remote_supported_packet): Unconditionally set the packet config's | |
4585 | support status. | |
4586 | (remote_multi_process_feature, remote_non_stop_feature) | |
4587 | (remote_cond_tracepoint_feature, remote_cond_breakpoint_feature) | |
4588 | (remote_breakpoint_commands_feature) | |
4589 | (remote_fast_tracepoint_feature, remote_static_tracepoint_feature) | |
4590 | (remote_install_in_trace_feature) | |
4591 | (remote_disconnected_tracing_feature) | |
4592 | (remote_enable_disable_tracepoint_feature) | |
4593 | (remote_string_tracing_feature) | |
4594 | (remote_augmented_libraries_svr4_read_feature): Delete functions. | |
4595 | (remote_protocol_features): Adjust to use remote_supported_packet | |
4596 | for "augmented-libraries-svr4-read", "multiprocess", "QNonStop", | |
4597 | "ConditionalTracepoints", "ConditionalBreakpoints", | |
4598 | "BreakpointCommands", "FastTracepoints", "StaticTracepoints", | |
4599 | "InstallInTrace", "DisconnectedTracing", "DisconnectedTracing", | |
4600 | "EnableDisableTracepoints", and "tracenz". | |
4601 | (remote_query_supported): Use packet_support. | |
4602 | (remote_open_1): Adjust. | |
4603 | (extended_remote_attach_1): Use packet_support. Switch on the | |
4604 | result of packet_ok instead of checking whether the packet ended | |
4605 | up disabled. | |
4606 | (remote_vcont_resume): Use packet_support. | |
4607 | (remote_resume, remote_stop_ns, fetch_register_using_p) | |
4608 | (remote_prepare_to_store, store_register_using_P) | |
4609 | (check_binary_download, remote_write_bytes): Use packet_support. | |
4610 | (remote_vkill): Use packet_support. Switch on the result of | |
4611 | packet_ok instead of checking whether the packet ended up | |
4612 | disabled. | |
4613 | (extended_remote_supports_disable_randomization): Use | |
4614 | packet_support. | |
4615 | (extended_remote_run): Switch on the result of packet_ok instead | |
4616 | of checking whether the packet ended up disabled. | |
4617 | (remote_insert_breakpoint, remote_remove_breakpoint) | |
4618 | (remote_insert_watchpoint, remote_remove_watchpoint) | |
4619 | (remote_insert_hw_breakpoint, remote_remove_hw_breakpoint): Use | |
4620 | packet_support. | |
4621 | (remote_search_memory): Use packet_config_support. | |
4622 | (remote_get_thread_local_address, remote_get_tib_address) | |
4623 | (remote_hostio_send_command, remote_can_execute_reverse): Use | |
4624 | packet_support. | |
4625 | (remote_supports_cond_tracepoints) | |
4626 | (remote_supports_cond_breakpoints) | |
4627 | (remote_supports_fast_tracepoints) | |
4628 | (remote_supports_static_tracepoints) | |
4629 | (remote_supports_install_in_trace) | |
4630 | (remote_supports_enable_disable_tracepoint) | |
4631 | (remote_supports_string_tracing) | |
4632 | (remote_can_run_breakpoint_commands): Rewrite, checking whether | |
4633 | the packet config says the feature is enabled or disabled. | |
4634 | (remote_download_tracepoint, remote_trace_set_readonly_regions) | |
4635 | (remote_get_trace_status): Use packet_support. | |
4636 | (remote_set_disconnected_tracing): Adjust to check whether the | |
4637 | feature is enabled with packet_support. | |
4638 | (remote_set_trace_buffer_size, remote_use_agent) | |
4639 | (remote_can_use_agent, remote_supports_btrace): Use | |
4640 | packet_support. | |
4641 | (remote_enable_btrace, remote_disable_btrace, remote_read_btrace): | |
4642 | Use packet_config_support. | |
4643 | (remote_augmented_libraries_svr4_read): Rewrite, checking whether | |
4644 | the packet config says the feature is enabled or disabled. | |
4645 | (set_range_stepping): Use packet_support. | |
4646 | ||
bdb52a22 TT |
4647 | 2014-04-25 Tom Tromey <tromey@redhat.com> |
4648 | ||
4649 | * cli/cli-cmds.c (_initialize_cli_cmds): Document "quit" command's | |
4650 | argument. | |
4651 | ||
e9475ead SA |
4652 | 2014-04-24 Sanimir Agovic <sanimir.agovic@intel.com> |
4653 | ||
4654 | * NEWS: Mention support for C99 variable length arrays. | |
4655 | ||
82eacd52 JB |
4656 | 2014-04-24 Joel Brobecker <brobecker@adacore.com> |
4657 | ||
4658 | * ada-lang.c (standard_exc): Expand introductory comment. | |
4659 | ||
01f9f808 MS |
4660 | 2014-04-24 Michael Sturm <michael.sturm@mintel.com> |
4661 | Walfred Tedeschi <walfred.tedeschi@intel.com> | |
4662 | ||
4663 | * amd64-linux-nat.c (amd64_linux_gregset32_reg_offset): Add | |
4664 | AVX512 registers. | |
4665 | (amd64_linux_read_description): Add code to handle AVX512 xstate | |
4666 | mask and return respective tdesc. | |
4667 | * amd64-linux-tdep.c: Include features/i386/amd64-avx512-linux.c | |
4668 | and features/i386/x32-avx512-linux.c. | |
4669 | (amd64_linux_gregset_reg_offset): Add AVX512 registers. | |
4670 | (amd64_linux_core_read_description): Add code to handle AVX512 | |
4671 | xstate mask and return respective tdesc. | |
4672 | (_initialize_amd64_linux_tdep): Initialize AVX512 tdesc. | |
4673 | * amd64-linux-tdep.h (AMD64_LINUX_ORIG_RAX_REGNUM): Adjust regnum | |
4674 | calculation. | |
4675 | (AMD64_LINUX_NUM_REGS): Adjust to new number of registers. | |
4676 | (tdesc_amd64_avx512_linux): New prototype. | |
4677 | (tdesc_x32_avx512_linux): Likewise. | |
4678 | * amd64-tdep.c: Include features/i386/amd64-avx512.c and | |
4679 | features/i386/x32-avx512.c. | |
4680 | (amd64_ymm_avx512_names): New register names for pseudo | |
4681 | registers YMM16-31. | |
4682 | (amd64_ymmh_avx512_names): New register names for raw registers | |
4683 | YMMH16-31. | |
4684 | (amd64_k_names): New register names for K registers. | |
4685 | (amd64_zmmh_names): New register names for ZMM raw registers. | |
4686 | (amd64_zmm_names): New registers names for ZMM pseudo registers. | |
4687 | (amd64_xmm_avx512_names): New register names for XMM16-31 | |
4688 | registers. | |
4689 | (amd64_pseudo_register_name): Add code to return AVX512 pseudo | |
4690 | registers. | |
4691 | (amd64_init_abi): Add code to intitialize AVX512 tdep variables | |
4692 | if feature is present. | |
4693 | (_initialize_amd64_tdep): Call AVX512 tdesc initializers. | |
4694 | * amd64-tdep.h (enum amd64_regnum): Add AVX512 registers. | |
4695 | (AMD64_NUM_REGS): Adjust to new number of registers. | |
4696 | * i386-linux-nat.c (GETXSTATEREGS_SUPPLIES): Extend range of | |
4697 | registers supplied via XSTATE by AVX512 registers. | |
4698 | (i386_linux_read_description): Add case for AVX512. | |
4699 | * i386-linux-tdep.c: Include i386-avx512-linux.c. | |
4700 | (i386_linux_gregset_reg_offset): Add AVX512 registers. | |
4701 | (i386_linux_core_read_description): Add case for AVX512. | |
4702 | (i386_linux_init_abi): Install supported register note section | |
4703 | for AVX512. | |
4704 | (_initialize_i386_linux_tdep): Add call to tdesc init function for | |
4705 | AVX512. | |
4706 | * i386-linux-tdep.h (I386_LINUX_NUM_REGS): Set number of | |
4707 | registers to be number of zmm7h + 1. | |
4708 | (tdesc_i386_avx512_linux): Add tdesc for AVX512 registers. | |
4709 | * i386-tdep.c: Include features/i386/i386-avx512.c. | |
4710 | (i386_zmm_names): Add ZMM pseudo register names array. | |
4711 | (i386_zmmh_names): Add ZMM raw register names array. | |
4712 | (i386_k_names): Add K raw register names array. | |
4713 | (num_lower_zmm_regs): Add constant for the number of lower ZMM | |
4714 | registers. AVX512 has 16 more ZMM registers than there are YMM | |
4715 | registers. | |
4716 | (i386_zmmh_regnum_p): Add function to look up register number of | |
4717 | ZMM raw registers. | |
4718 | (i386_zmm_regnum_p): Likewise for ZMM pseudo registers. | |
4719 | (i386_k_regnum_p): Likewise for K raw registers. | |
4720 | (i386_ymmh_avx512_regnum_p): Likewise for additional YMM raw | |
4721 | registers added by AVX512. | |
4722 | (i386_ymm_avx512_regnum_p): Likewise for additional YMM pseudo | |
4723 | registers added by AVX512. | |
4724 | (i386_xmm_avx512_regnum_p): Likewise for additional XMM registers | |
4725 | added by AVX512. | |
4726 | (i386_register_name): Add code to hide YMMH16-31 and ZMMH0-31. | |
4727 | (i386_pseudo_register_name): Add ZMM pseudo registers. | |
4728 | (i386_zmm_type): Construct and return vector registers type for ZMM | |
4729 | registers. | |
4730 | (i386_pseudo_register_type): Return appropriate type for YMM16-31, | |
4731 | ZMM0-31 pseudo registers and K registers. | |
4732 | (i386_pseudo_register_read_into_value): Add code to read K, ZMM | |
4733 | and YMM16-31 registers from register cache. | |
4734 | (i386_pseudo_register_write): Add code to write K, ZMM and | |
4735 | YMM16-31 registers. | |
4736 | (i386_register_reggroup_p): Add code to include/exclude AVX512 | |
4737 | registers in/from respective register groups. | |
4738 | (i386_validate_tdesc_p): Handle AVX512 feature, add AVX512 | |
4739 | registers if feature is present in xcr0. | |
4740 | (i386_gdbarch_init): Add code to initialize AVX512 feature | |
4741 | variables in tdep structure, wire in pseudo registers and call | |
4742 | initialize_tdesc_i386_avx512. | |
4743 | * i386-tdep.h (struct gdbarch_tdep): Add AVX512 related | |
4744 | variables. | |
4745 | (i386_regnum): Add AVX512 registers. | |
4746 | (I386_SSE_NUM_REGS): New define for number of SSE registers. | |
4747 | (I386_AVX_NUM_REGS): Likewise for AVX registers. | |
4748 | (I386_AVX512_NUM_REGS): Likewise for AVX512 registers. | |
4749 | (I386_MAX_REGISTER_SIZE): Change to 64 bytes, ZMM registers are | |
4750 | 512 bits wide. | |
4751 | (i386_xmm_avx512_regnum_p): New prototype for register look up. | |
4752 | (i386_ymm_avx512_regnum_p): Likewise. | |
4753 | (i386_k_regnum_p): Likewise. | |
4754 | (i386_zmm_regnum_p): Likewise. | |
4755 | (i386_zmmh_regnum_p): Likewise. | |
4756 | * i387-tdep.c : Update year in copyright notice. | |
4757 | (xsave_ymm_avx512_offset): New table for YMM16-31 offsets in | |
4758 | XSAVE buffer. | |
4759 | (XSAVE_YMM_AVX512_ADDR): New macro. | |
4760 | (xsave_xmm_avx512_offset): New table for XMM16-31 offsets in | |
4761 | XSAVE buffer. | |
4762 | (XSAVE_XMM_AVX512_ADDR): New macro. | |
4763 | (xsave_avx512_k_offset): New table for K register offsets in | |
4764 | XSAVE buffer. | |
4765 | (XSAVE_AVX512_K_ADDR): New macro. | |
4766 | (xsave_avx512_zmm_h_offset): New table for ZMM register offsets | |
4767 | in XSAVE buffer. | |
4768 | (XSAVE_AVX512_ZMM_H_ADDR): New macro. | |
4769 | (i387_supply_xsave): Add code to supply AVX512 registers to XSAVE | |
4770 | buffer. | |
4771 | (i387_collect_xsave): Add code to collect AVX512 registers from | |
4772 | XSAVE buffer. | |
4773 | * i387-tdep.h (I387_NUM_XMM_AVX512_REGS): New define for number | |
4774 | of XMM16-31 registers. | |
4775 | (I387_NUM_K_REGS): New define for number of K registers. | |
4776 | (I387_K0_REGNUM): New define for K0 register number. | |
4777 | (I387_NUM_ZMMH_REGS): New define for number of ZMMH registers. | |
4778 | (I387_ZMM0H_REGNUM): New define for ZMM0H register number. | |
4779 | (I387_NUM_YMM_AVX512_REGS): New define for number of YMM16-31 | |
4780 | registers. | |
4781 | (I387_YMM16H_REGNUM): New define for YMM16H register number. | |
4782 | (I387_XMM16_REGNUM): New define for XMM16 register number. | |
4783 | (I387_YMM0_REGNUM): New define for YMM0 register number. | |
4784 | (I387_KEND_REGNUM): New define for last K register number. | |
4785 | (I387_ZMMENDH_REGNUM): New define for last ZMMH register number. | |
4786 | (I387_YMMH_AVX512_END_REGNUM): New define for YMM31 register | |
4787 | number. | |
4788 | (I387_XMM_AVX512_END_REGNUM): New define for XMM31 register | |
4789 | number. | |
4790 | * common/i386-xstate.h: Add AVX 3.1 feature bits, mask and XSTATE | |
4791 | size. | |
4792 | * features/Makefile: Add AVX512 related files. | |
4793 | * features/i386/32bit-avx512.xml: New file. | |
4794 | * features/i386/64bit-avx512.xml: Likewise. | |
4795 | * features/i386/amd64-avx512-linux.c: Likewise. | |
4796 | * features/i386/amd64-avx512-linux.xml: Likewise. | |
4797 | * features/i386/amd64-avx512.c: Likewise. | |
4798 | * features/i386/amd64-avx512.xml: Likewise. | |
4799 | * features/i386/i386-avx512-linux.c: Likewise. | |
4800 | * features/i386/i386-avx512-linux.xml: Likewise. | |
4801 | * features/i386/i386-avx512.c: Likewise. | |
4802 | * features/i386/i386-avx512.xml: Likewise. | |
4803 | * features/i386/x32-avx512-linux.c: Likewise. | |
4804 | * features/i386/x32-avx512-linux.xml: Likewise. | |
4805 | * features/i386/x32-avx512.c: Likewise. | |
4806 | * features/i386/x32-avx512.xml: Likewise. | |
4807 | * regformats/i386/amd64-avx512-linux.dat: New file. | |
4808 | * regformats/i386/amd64-avx512.dat: Likewise. | |
4809 | * regformats/i386/i386-avx512-linux.dat: Likewise. | |
4810 | * regformats/i386/i386-avx512.dat: Likewise. | |
4811 | * regformats/i386/x32-avx512-linux.dat: Likewise. | |
4812 | * regformats/i386/x32-avx512.dat: Likewise. | |
4813 | * NEWS: Add note about new support for AVX512. | |
4814 | ||
4815 | ||
08351840 PA |
4816 | 2014-04-23 Pedro Alves <palves@redhat.com> |
4817 | ||
4818 | * breakpoint.c (insert_bp_location): Tolerate errors if the | |
4819 | breakpoint is set in a user-loaded objfile. | |
4820 | (remove_breakpoint_1): Likewise. Also tolerate errors if the | |
4821 | location is marked shlib_disabled. If the breakpoint is set in a | |
4822 | user-loaded objfile is a GDB-side memory breakpoint, validate it | |
4823 | before uninsertion. (disable_breakpoints_in_freed_objfile): Skip | |
4824 | non-OBJF_USERLOADED objfiles. Don't clear the location's inserted | |
4825 | flag. | |
4826 | * mem-break.c (memory_validate_breakpoint): New function. | |
4827 | * objfiles.c (userloaded_objfile_contains_address_p): New | |
4828 | function. | |
4829 | * objfiles.h (userloaded_objfile_contains_address_p): Declare. | |
4830 | * target.h (memory_validate_breakpoint): New declaration. | |
4831 | ||
076855f9 PA |
4832 | 2014-04-23 Pedro Alves <palves@redhat.com> |
4833 | ||
4834 | * breakpoint.c (insert_bp_location, remove_breakpoint_1): If | |
4835 | the breakpoint is set in a shared library, only suppress | |
4836 | errors for software breakpoints, not hardware breakpoints. | |
4837 | ||
483805cf PA |
4838 | 2014-04-22 Pedro Alves <palves@redhat.com> |
4839 | ||
4840 | * infrun.c (schedlock_applies): New function, factored out from | |
4841 | find_thread_needs_step_over. | |
4842 | (find_thread_needs_step_over): Use it. | |
4843 | (switch_back_to_stepped_thread): Always clear trap_expected if the | |
4844 | step over is finished. Return early if scheduler locking applies. | |
4845 | Look for the stepping thread and a potential step-over thread with | |
4846 | a single loop. | |
4847 | (currently_stepping_or_nexting_callback): Delete. | |
4848 | ||
a75fef0e NC |
4849 | 2014-04-22 Nick Clifton <nickc@redhat.com> |
4850 | ||
4851 | * NEWS: Mention that ARM sim now supports tracing. | |
4852 | ||
48b6e87e YQ |
4853 | 2014-04-22 Yao Qi <yao@codesourcery.com> |
4854 | ||
4855 | * tracefile-tfile.c (tfile_fetch_registers): Move the bottom | |
4856 | to ... | |
4857 | * tracefile.c (tracefile_fetch_registers): ... it. New | |
4858 | function. | |
4859 | * tracefile.h (tracefile_fetch_registers): Declare. | |
4860 | * ctf.c (ctf_fetch_registers): Remove the bottom. Call | |
4861 | tracefile_fetch_registers. | |
4862 | ||
17617f2d EZ |
4863 | 2014-04-19 Eli Zaretskii <eliz@gnu.org> |
4864 | ||
4865 | PR gdb/14018 | |
4866 | * windows-nat.c (thread_rec): Don't display a warning when | |
4867 | SuspendThread fails with ERROR_ACCESS_DENIED. If SuspendThread | |
4868 | fails for any reason, set th->suspended to -1, so that we don't | |
4869 | try to resume such a thread. Also, don't return NULL in these | |
4870 | cases, to avoid completely ruin the session due to "PC register is | |
4871 | not available" error. | |
4872 | (do_windows_fetch_inferior_registers): Check errors in | |
4873 | GetThreadContext call. | |
4874 | (windows_continue): Accept an additional argument KILLED; if not | |
4875 | zero, ignore errors in the SetThreadContext call, since the | |
4876 | inferior was killed and is shutting down. | |
4877 | (windows_resume, get_windows_debug_event) | |
4878 | (windows_create_inferior, windows_mourn_inferior) | |
4879 | (windows_kill_inferior): All callers of windows_continue changed | |
4880 | to adjust to its new calling sequence. | |
4881 | ||
5723a6fd YQ |
4882 | 2014-04-19 Yao Qi <yao@codesourcery.com> |
4883 | ||
4884 | * ctf.c (ctf_open): Call post_create_inferior. | |
4885 | ||
614d5099 YQ |
4886 | 2014-04-19 Yao Qi <yao@codesourcery.com> |
4887 | ||
4888 | * ctf.c (handle_id): New static variable. | |
4889 | (ctf_open_dir): Get handle_id from bt_context_add_trace return | |
4890 | value. Get the declaration of event "register" and get length | |
4891 | of field "contents". | |
4892 | ||
dac3e710 YQ |
4893 | 2014-04-19 Yao Qi <yao@codesourcery.com> |
4894 | ||
4895 | * ctf.c (ctf_xfer_partial): Check 'name' is NULL before strcmp. | |
4896 | ||
2bca57ba SC |
4897 | 2014-04-18 Siva Chandra Reddy <sivachandra@google.com> |
4898 | ||
4899 | * valops.c (oload_method_static): Remove unnecessary argument | |
4900 | METHOD. Update all callers. | |
4901 | ||
51d48146 PA |
4902 | 2014-04-18 Pedro alves <palves@redhat.com> |
4903 | Tom Tromey <tromey@redhat.com> | |
4904 | ||
4905 | PR backtrace/15558 | |
4906 | * frame.c (get_prev_frame_1): Rename to ... | |
4907 | (get_prev_frame_always): ... this, and make extern. Adjust. | |
4908 | (skip_artificial_frames): Use get_prev_frame_always. | |
4909 | (frame_unwind_caller_id, frame_pop, get_prev_frame) | |
4910 | (get_frame_unwind_stop_reason): Adjust to rename. | |
4911 | * frame.h (get_prev_frame_always): Declare. | |
4912 | * inline-frame.c: Include frame.h. | |
4913 | (inline_frame_this_id): Use get_prev_frame_always. | |
4914 | ||
1bdad2e0 TG |
4915 | 2014-04-18 Tristan Gingold <gingold@adacore.com> |
4916 | ||
4917 | * solib-darwin.c (darwin_solib_create_inferior_hook): Simplify | |
4918 | code by using bfd_mach_o_get_base_address. | |
4919 | ||
7ce16bd4 UW |
4920 | 2014-04-17 Ulrich Weigand <uweigand@de.ibm.com> |
4921 | ||
4922 | * spu-tdep.c: Include "dwarf2-frame.h" and "ax.h". | |
4923 | (spu_ax_pseudo_register_collect): New function. | |
4924 | (spu_ax_pseudo_register_push_stack): Likewise. | |
4925 | (spu_dwarf_reg_to_regnum): Likewise. | |
4926 | (spu_gdbarch_init): Install them. Append DWARF unwinders. | |
4927 | ||
2ed3c037 UW |
4928 | 2014-04-17 Ulrich Weigand <uweigand@de.ibm.com> |
4929 | ||
4930 | * gdbarch.sh (value_from_register): Make class "m" instead of "f". | |
4931 | Replace FRAME argument with FRAME_ID. | |
4932 | * gdbarch.c, gdbarch.h: Regenerate. | |
4933 | * findvar.c (default_value_from_register): Add GDBARCH argument; | |
4934 | replace FRAME by FRAME_ID. No longer call get_frame_id. | |
4935 | (value_from_register): Update call to gdbarch_value_from_register. | |
4936 | * value.h (default_value_from_register): Update prototype. | |
4937 | * s390-linux-tdep.c (s390_value_from_register): Update interface | |
4938 | and call to default_value_from_register. | |
4939 | * spu-tdep.c (spu_value_from_register): Likewise. | |
4940 | ||
4941 | * findvar.c (address_from_register): Remove TYPE argument. | |
4942 | Do not call value_from_register; use gdbarch_value_from_register | |
4943 | with null_frame_id instead. | |
4944 | * value.h (address_from_register): Update prototype. | |
4945 | * dwarf2-frame.c (read_addr_from_reg): Use address_from_register. | |
4946 | * dwarf2loc.c (dwarf_expr_read_addr_from_reg): Update for | |
4947 | address_from_register interface change. | |
4948 | ||
71e50e83 YQ |
4949 | 2014-04-17 Yao Qi <yao@codesourcery.com> |
4950 | ||
4951 | * gdbtypes.h: Update comments to link to types and macros' | |
4952 | definitions. | |
4953 | ||
7a23c549 SC |
4954 | 2014-04-16 Siva Chandra Reddy <sivachandra@google.com> |
4955 | ||
4956 | * gdbtypes.h: Remove definition of the macro TYPE_FN_FIELDS. | |
4957 | ||
22869d73 KS |
4958 | 2014-04-16 Keith Seitz <keiths@redhat.com> |
4959 | ||
4960 | PR gdb/15827 | |
4961 | * dwarf2read.c (skip_one_die): Check that all relative-offset | |
4962 | sibling DIEs fall within range of the current reader's buffer. | |
4963 | (read_partial_die): Likewise. | |
4964 | ||
c4f87ca6 KS |
4965 | 2014-04-16 Keith Seitz <keiths@redhat.com> |
4966 | ||
4967 | PR c++/16597 | |
4968 | * cp-namespace.c (lookup_symbol_file): If the type name of | |
4969 | `this' is NULL, return immediately. | |
4970 | ||
b50c8614 KS |
4971 | 2014-04-14 Keith Seitz <keiths@redhat.com> |
4972 | ||
4973 | PR c++/16253 | |
4974 | * ada-lang.c (ada_symbol_matches_domain): Moved here and renamed | |
4975 | from symbol_matches_domain in symtab.c. All local callers | |
4976 | of symbol_matches_domain updated. | |
4977 | (standard_lookup): If DOMAIN is VAR_DOMAIN and no symbol is found, | |
4978 | search STRUCT_DOMAIN. | |
4979 | (ada_find_any_type_symbol): Do not search STRUCT_DOMAIN | |
4980 | independently. standard_lookup will do that automatically. | |
4981 | * cp-namespace.c (cp_lookup_symbol_nonlocal): Explain when/why | |
4982 | VAR_DOMAIN searches may return a STRUCT_DOMAIN match. | |
4983 | (cp_lookup_symbol_in_namespace): Likewise. | |
4984 | If no VAR_DOMAIN symbol is found, search STRUCT_DOMAIN. | |
4985 | (cp_lookup_symbol_exports): Explain when/why VAR_DOMAIN searches | |
4986 | may return a STRUCT_DOMAIN match. | |
4987 | (lookup_symbol_file): Search for the class name in STRUCT_DOMAIN. | |
4988 | * cp-support.c: Include language.h. | |
4989 | (inspect_type): Explicitly search STRUCT_DOMAIN before searching | |
4990 | VAR_DOMAIN. | |
4991 | * psymtab.c (match_partial_symbol): Compare the requested | |
4992 | domain with the symbol's domain directly. | |
4993 | (lookup_partial_symbol): Likewise. | |
4994 | * symtab.c (lookup_symbol_in_language): Explain when/why | |
4995 | VAR_DOMAIN searches may return a STRUCT_DOMAIN match. | |
4996 | If no VAR_DOMAIN symbol is found, search STRUCT_DOMAIN for | |
4997 | appropriate languages. | |
4998 | (symbol_matches_domain): Renamed `ada_symbol_matches_domain' | |
4999 | and moved to ada-lang.c | |
5000 | (lookup_block_symbol): Explain that this function only returns | |
5001 | symbol matching the requested DOMAIN. | |
5002 | Compare the requested domain with the symbol's domain directly. | |
5003 | (iterate_over_symbols): Compare the requested domain with the | |
5004 | symbol's domain directly. | |
5005 | * symtab.h (symbol_matches_domain): Remove. | |
5006 | ||
3d567982 TT |
5007 | 2014-04-14 Tom Tromey <tromey@redhat.com> |
5008 | ||
5009 | PR c++/15246: | |
5010 | * c-exp.y (type_aggregate_p): New function. | |
5011 | (qualified_name, classify_inner_name): Use it. | |
5012 | * c-typeprint.c (c_type_print_base): Handle TYPE_DECLARED_CLASS | |
5013 | and TYPE_TARGET_TYPE of an enum type. | |
5014 | * dwarf2read.c (read_enumeration_type): Set TYPE_DECLARED_CLASS on | |
5015 | an enum type. | |
5016 | (determine_prefix) <case DW_TAG_enumeration_type>: New case; | |
5017 | handle TYPE_DECLARED_CLASS. | |
5018 | * gdbtypes.c (rank_one_type): Handle TYPE_DECLARED_CLASS on enum | |
5019 | types. | |
5020 | * gdbtypes.h (TYPE_DECLARED_CLASS): Update comment. | |
5021 | * valops.c (enum_constant_from_type): New function. | |
5022 | (value_aggregate_elt): Use it. | |
5023 | * cp-namespace.c (cp_lookup_nested_symbol): Handle | |
5024 | TYPE_CODE_ENUM. | |
5025 | ||
c848d642 TT |
5026 | 2014-04-14 Tom Tromey <tromey@redhat.com> |
5027 | ||
5028 | * valops.c (value_aggregate_elt, value_struct_elt_for_reference) | |
5029 | (value_namespace_elt, value_maybe_namespace_elt): Make "name" | |
5030 | const. | |
5031 | * value.h (value_aggregate_elt): Update. | |
5032 | ||
0626fc76 TT |
5033 | 2014-04-14 Tom Tromey <tromey@redhat.com> |
5034 | ||
5035 | * dwarf2read.c (read_enumeration_type): Handle DW_AT_type. | |
5036 | ||
5ecaaa66 SA |
5037 | 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com> |
5038 | ||
5039 | * eval.c (evaluate_subexp_for_sizeof): Add enum noside argument. | |
5040 | (evaluate_subexp_standard): Pass noside argument. | |
5041 | (evaluate_subexp_for_sizeof) <BINOP_SUBSCRIPT>: Handle subscript case | |
5042 | if noside equals EVAL_NORMAL. If the subscript yields a vla type | |
5043 | re-evaluate subscript operation with EVAL_NORMAL to enable sideffects. | |
5044 | * gdbtypes.c (resolve_dynamic_bounds): Mark bound as evaluated. | |
5045 | * gdbtypes.h (enum range_flags): Add RANGE_EVALUATED case. | |
5046 | ||
1612e0c0 SA |
5047 | 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com> |
5048 | ||
5049 | * findvar.c (default_read_var_value): Resolve dynamic bounds if location | |
5050 | points to a constant blob. | |
5051 | ||
c451ebe5 SA |
5052 | 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com> |
5053 | ||
5054 | * dwarf2read.c (read_subrange_type): Convert DW_AT_count to a dynamic | |
5055 | property and store it as the high bound and flag the range accordingly. | |
5056 | * gdbtypes.c (resolve_dynamic_bounds): If range is flagged as | |
5057 | RANGE_UPPER_BOUND_IS_COUNT assign low + high - 1 as the new high bound. | |
5058 | * gdbtypes.h (enum range_flags): New enum. | |
5059 | (struct range_bounds): Add flags member. | |
5060 | ||
1d42e4c4 SA |
5061 | 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com> |
5062 | ||
5063 | * c-typeprint.c (c_type_print_varspec_suffix): Added | |
5064 | check for not yet resolved high bound. If unresolved, print | |
5065 | "variable length" string to the console instead of random | |
5066 | length. | |
5067 | ||
9f1f738a SA |
5068 | 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com> |
5069 | ||
5070 | * ada-lang.c (ada_value_primitive_packed_val): Re-fetch type from | |
5071 | value. | |
5072 | (ada_template_to_fixed_record_type_1): Likewise. | |
5073 | (ada_to_fixed_type_1): Likewise. | |
5074 | * cp-valprint.c (cp_print_value_fields_rtti): Likewise. | |
5075 | (cp_print_value): Likewise. | |
5076 | * d-valprint.c (dynamic_array_type): Likewise. | |
5077 | * findvar.c (address_of_variable): Likewise. | |
5078 | * jv-valprint.c (java_value_print): Likewise. | |
5079 | * valops.c (value_ind): Likewise. | |
5080 | * value.c (coerce_ref): Likewise. | |
5081 | ||
3c8452d4 SA |
5082 | 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com> |
5083 | ||
5084 | * eval.c (evaluate_subexp_for_sizeof) <UNOP_IND>: Create an indirect | |
5085 | value and retrieve the dynamic type size. | |
5086 | ||
4ad88275 SA |
5087 | 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com> |
5088 | ||
5089 | * eval.c (evaluate_subexp_for_sizeof) <OP_VAR_VALUE>: If the type | |
5090 | passed to sizeof is dynamic evaluate the argument to compute the length. | |
5091 | ||
80180f79 SA |
5092 | 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com> |
5093 | Joel Brobecker <brobecker@adacore.com> | |
5094 | ||
5095 | * dwarf2loc.c (dwarf2_locexpr_baton_eval): New function. | |
5096 | (dwarf2_evaluate_property): New function. | |
5097 | * dwarf2loc.h (dwarf2_evaluate_property): New function prototype. | |
5098 | * dwarf2read.c (attr_to_dynamic_prop): New function. | |
5099 | (read_subrange_type): Use attr_to_dynamic_prop to read high bound | |
5100 | attribute. | |
5101 | * gdbtypes.c: Include dwarf2loc.h. | |
5102 | (is_dynamic_type): New function. | |
5103 | (resolve_dynamic_type): New function. | |
5104 | (resolve_dynamic_bounds): New function. | |
5105 | (get_type_length): New function. | |
5106 | (check_typedef): Use get_type_length to compute type length. | |
5107 | * gdbtypes.h (TYPE_HIGH_BOUND_KIND): New macro. | |
5108 | (TYPE_LOW_BOUND_KIND): New macro. | |
5109 | (is_dynamic_type): New function prototype. | |
5110 | * value.c (value_from_contents_and_address): Call resolve_dynamic_type | |
5111 | to resolve dynamic properties of the type. Update comment. | |
5112 | * valops.c (get_value_at, value_at, value_at_lazy): Update comment. | |
5113 | ||
a1556843 RH |
5114 | 2014-04-14 Richard Henderson <rth@redhat.com> |
5115 | ||
5116 | * alpha-linux-nat.c (_initialize_alpha_linux_nat): Fix prototype. | |
5117 | ||
0be03e84 DE |
5118 | 2014-04-12 Siva Chandra Reddy <sivachandra@google.com> |
5119 | Doug Evans <xdje42@gmail.com> | |
5120 | ||
5121 | * guile/scm-value.c (gdbscm_value_dynamic_type): Use coerce_ref to | |
5122 | dereference TYPE_CODE_REF values. | |
5123 | ||
6b662e19 JB |
5124 | 2014-04-11 Joel Brobecker <brobecker@adacore.com> |
5125 | ||
5126 | Revert the following changes due to regressions: | |
5127 | ||
5128 | * dwarf2loc.c (dwarf2_locexpr_baton_eval): New function. | |
5129 | (dwarf2_evaluate_property): New function. | |
5130 | * dwarf2loc.h (dwarf2_evaluate_property): New function prototype. | |
5131 | * dwarf2read.c (attr_to_dynamic_prop): New function. | |
5132 | (read_subrange_type): Use attr_to_dynamic_prop to read high bound | |
5133 | attribute. | |
5134 | * gdbtypes.c: Include dwarf2loc.h. | |
5135 | (is_dynamic_type): New function. | |
5136 | (resolve_dynamic_type): New function. | |
5137 | (resolve_dynamic_bounds): New function. | |
5138 | (get_type_length): New function. | |
5139 | (check_typedef): Use get_type_length to compute type length. | |
5140 | * gdbtypes.h (TYPE_HIGH_BOUND_KIND): New macro. | |
5141 | (TYPE_LOW_BOUND_KIND): New macro. | |
5142 | (is_dynamic_type): New function prototype. | |
5143 | * value.c (value_from_contents_and_address): Call resolve_dynamic_type | |
5144 | to resolve dynamic properties of the type. Update comment. | |
5145 | * valops.c (get_value_at, value_at, value_at_lazy): Update comment. | |
5146 | ||
5147 | * eval.c (evaluate_subexp_for_sizeof) <OP_VAR_VALUE>: If the type | |
5148 | passed to sizeof is dynamic evaluate the argument to compute the length. | |
5149 | ||
5150 | * eval.c (evaluate_subexp_for_sizeof) <UNOP_IND>: Create an indirect | |
5151 | value and retrieve the dynamic type size. | |
5152 | ||
5153 | * ada-lang.c (ada_value_primitive_packed_val): Re-fetch type from value. | |
5154 | (ada_template_to_fixed_record_type_1): Likewise. | |
5155 | (ada_to_fixed_type_1): Likewise. | |
5156 | * cp-valprint.c (cp_print_value_fields_rtti): Likewise. | |
5157 | (cp_print_value): Likewise. | |
5158 | * d-valprint.c (dynamic_array_type): Likewise. | |
5159 | * eval.c (evaluate_subexp_with_coercion): Likewise. | |
5160 | * findvar.c (address_of_variable): Likewise. | |
5161 | * jv-valprint.c (java_value_print): Likewise. | |
5162 | * valops.c (value_ind): Likewise. | |
5163 | * value.c (coerce_ref): Likewise. | |
5164 | ||
5165 | * c-typeprint.c (c_type_print_varspec_suffix): Added | |
5166 | check for not yet resolved high bound. If unresolved, print | |
5167 | "variable length" string to the console instead of random | |
5168 | length. | |
5169 | ||
5170 | * dwarf2read.c (read_subrange_type): Convert DW_AT_count to a dynamic | |
5171 | property and store it as the high bound and flag the range accordingly. | |
5172 | * gdbtypes.c (resolve_dynamic_bounds): If range is flagged as | |
5173 | RANGE_UPPER_BOUND_IS_COUNT assign low + high - 1 as the new high bound. | |
5174 | * gdbtypes.h (enum range_flags): New enum. | |
5175 | (struct range_bounds): Add flags member. | |
5176 | ||
5177 | * findvar.c (default_read_var_value): Resolve dynamic bounds if location | |
5178 | points to a constant blob. | |
5179 | ||
5180 | * eval.c (evaluate_subexp_for_sizeof): Add enum noside argument. | |
5181 | (evaluate_subexp_standard): Pass noside argument. | |
5182 | (evaluate_subexp_for_sizeof) <BINOP_SUBSCRIPT>: Handle subscript case | |
5183 | if noside equals EVAL_NORMAL. If the subscript yields a vla type | |
5184 | re-evaluate subscript operation with EVAL_NORMAL to enable sideffects. | |
5185 | * gdbtypes.c (resolve_dynamic_bounds): Mark bound as evaluated. | |
5186 | * gdbtypes.h (enum range_flags): Add RANGE_EVALUATED case. | |
5187 | ||
245a5f0b KS |
5188 | 2014-04-11 Keith Seitz <keiths@redhat.com> |
5189 | ||
5190 | PR c++/16675 | |
5191 | * c-exp.y (exp : SIZEOF '(' type ')'): Handle reference types. | |
5192 | * eval.c (evaluate_subexp_for_sizeof): Refactor and handle | |
5193 | reference types. | |
5194 | ||
3bce8237 SA |
5195 | 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com> |
5196 | ||
5197 | * eval.c (evaluate_subexp_for_sizeof): Add enum noside argument. | |
5198 | (evaluate_subexp_standard): Pass noside argument. | |
5199 | (evaluate_subexp_for_sizeof) <BINOP_SUBSCRIPT>: Handle subscript case | |
5200 | if noside equals EVAL_NORMAL. If the subscript yields a vla type | |
5201 | re-evaluate subscript operation with EVAL_NORMAL to enable sideffects. | |
5202 | * gdbtypes.c (resolve_dynamic_bounds): Mark bound as evaluated. | |
5203 | * gdbtypes.h (enum range_flags): Add RANGE_EVALUATED case. | |
5204 | ||
92b09522 SA |
5205 | 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com> |
5206 | ||
5207 | * findvar.c (default_read_var_value): Resolve dynamic bounds if location | |
5208 | points to a constant blob. | |
5209 | ||
e1969afb SA |
5210 | 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com> |
5211 | ||
5212 | * dwarf2read.c (read_subrange_type): Convert DW_AT_count to a dynamic | |
5213 | property and store it as the high bound and flag the range accordingly. | |
5214 | * gdbtypes.c (resolve_dynamic_bounds): If range is flagged as | |
5215 | RANGE_UPPER_BOUND_IS_COUNT assign low + high - 1 as the new high bound. | |
5216 | * gdbtypes.h (enum range_flags): New enum. | |
5217 | (struct range_bounds): Add flags member. | |
5218 | ||
b86138fb SA |
5219 | 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com> |
5220 | ||
5221 | * c-typeprint.c (c_type_print_varspec_suffix): Added | |
5222 | check for not yet resolved high bound. If unresolved, print | |
5223 | "variable length" string to the console instead of random | |
5224 | length. | |
5225 | ||
bcd629a4 SA |
5226 | 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com> |
5227 | ||
5228 | * ada-lang.c (ada_value_primitive_packed_val): Re-fetch type from value. | |
5229 | (ada_template_to_fixed_record_type_1): Likewise. | |
5230 | (ada_to_fixed_type_1): Likewise. | |
5231 | * cp-valprint.c (cp_print_value_fields_rtti): Likewise. | |
5232 | (cp_print_value): Likewise. | |
5233 | * d-valprint.c (dynamic_array_type): Likewise. | |
5234 | * eval.c (evaluate_subexp_with_coercion): Likewise. | |
5235 | * findvar.c (address_of_variable): Likewise. | |
5236 | * jv-valprint.c (java_value_print): Likewise. | |
5237 | * valops.c (value_ind): Likewise. | |
5238 | * value.c (coerce_ref): Likewise. | |
5239 | ||
04b19544 SA |
5240 | 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com> |
5241 | ||
5242 | * eval.c (evaluate_subexp_for_sizeof) <UNOP_IND>: Create an indirect | |
5243 | value and retrieve the dynamic type size. | |
5244 | ||
26cb189f SA |
5245 | 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com> |
5246 | ||
5247 | * eval.c (evaluate_subexp_for_sizeof) <OP_VAR_VALUE>: If the type | |
5248 | passed to sizeof is dynamic evaluate the argument to compute the length. | |
5249 | ||
37c1ab67 SA |
5250 | 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com> |
5251 | ||
5252 | * dwarf2loc.c (dwarf2_locexpr_baton_eval): New function. | |
5253 | (dwarf2_evaluate_property): New function. | |
5254 | * dwarf2loc.h (dwarf2_evaluate_property): New function prototype. | |
5255 | * dwarf2read.c (attr_to_dynamic_prop): New function. | |
5256 | (read_subrange_type): Use attr_to_dynamic_prop to read high bound | |
5257 | attribute. | |
5258 | * gdbtypes.c: Include dwarf2loc.h. | |
5259 | (is_dynamic_type): New function. | |
5260 | (resolve_dynamic_type): New function. | |
5261 | (resolve_dynamic_bounds): New function. | |
5262 | (get_type_length): New function. | |
5263 | (check_typedef): Use get_type_length to compute type length. | |
5264 | * gdbtypes.h (TYPE_HIGH_BOUND_KIND): New macro. | |
5265 | (TYPE_LOW_BOUND_KIND): New macro. | |
5266 | (is_dynamic_type): New function prototype. | |
5267 | * value.c (value_from_contents_and_address): Call resolve_dynamic_type | |
5268 | to resolve dynamic properties of the type. Update comment. | |
5269 | * valops.c (get_value_at, value_at, value_at_lazy): Update comment. | |
5270 | ||
729efb13 SA |
5271 | 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com> |
5272 | ||
5273 | * dwarf2read.c (read_subrange_type): Use struct bound_prop for | |
5274 | declaring high/low bounds and change uses accordingly. Call | |
5275 | create_range_type instead of create_static_range_type. | |
5276 | * gdbtypes.c (create_range_type): New function. | |
5277 | (create_range_type): Convert bounds into struct bound_prop and pass | |
5278 | them to create_range_type. | |
5279 | * gdbtypes.h (struct bound_prop): New struct. | |
5280 | (create_range_type): New function prototype. | |
5281 | (struct range_bounds): Use struct bound_prop instead of LONGEST for | |
5282 | high/low bounds. Remove low_undefined/high_undefined and adapt all uses. | |
5283 | (TYPE_LOW_BOUND,TYPE_HIGH_BOUND): Adapt macros to refer to the static | |
5284 | part of the bound. | |
5285 | * parse.c (follow_types): Set high bound kind to BOUND_UNDEFINED. | |
5286 | ||
0c9c3474 SA |
5287 | 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com> |
5288 | ||
5289 | * gdbtypes.c (create_static_range_type): Renamed from create_range_type. | |
5290 | * gdbtypes.h (create_static_range_type): Renamed from create_range_type. | |
5291 | * ada-lang.c: All uses of create_range_type updated. | |
5292 | * coffread.c: All uses of create_range_type updated. | |
5293 | * dwarf2read.c: All uses of create_range_type updated. | |
5294 | * f-exp.y: All uses of create_range_type updated. | |
5295 | * m2-valprint.c: All uses of create_range_type updated. | |
5296 | * mdebugread.c: All uses of create_range_type updated. | |
5297 | * stabsread.c: All uses of create_range_type updated. | |
5298 | * valops.c: All uses of create_range_type updated. | |
5299 | * valprint.c: All uses of create_range_type updated. | |
5300 | ||
9d497a19 PA |
5301 | 2014-04-10 Pedro Alves <palves@redhat.com> |
5302 | ||
5303 | * breakpoint.c (single_step_breakpoints) | |
5304 | (single_step_gdbarch): Move up in the file. | |
5305 | (one_breakpoint_xfer_memory): New function, factored out from ... | |
5306 | (breakpoint_xfer_memory): ... here. Also process single-step | |
5307 | breakpoints. | |
5308 | ||
15a9128a TG |
5309 | 2014-04-09 Tristan Gingold <gingold@adacore.com> |
5310 | ||
5311 | * darwin-nat.c (darwin_check_new_threads): Fix port leak, add | |
5312 | comments. | |
5313 | (darwin_decode_exception_message): Free port only after use. | |
5314 | ||
9c97a070 PL |
5315 | 2014-04-08 Pierre Langlois <pierre.langlois@embecosm.com> |
5316 | ||
5317 | * avr-tdep.c (struct gdbarch_tdep): Mention avrxmega in the comment. | |
5318 | (avr_gdbarch_init): Add xmega architectures given by bfd_architecture | |
5319 | when setting the size of call_length. | |
5320 | ||
7af389b8 SC |
5321 | 2014-04-07 Siva Chandra Reddy <sivachandra@google.com> |
5322 | ||
5323 | * python/py-value.c (valpy_get_dynamic_type): Use coerce_ref to | |
5324 | dereference TYPE_CODE_REF values. | |
5325 | ||
86ad98c3 JB |
5326 | 2014-04-07 Joel Brobecker <brobecker@adacore.com> |
5327 | ||
5328 | * darwin-nat.c (darwin_decode_message): Remove trailing '\n' at | |
5329 | end of warning message. | |
5330 | ||
b0aeadb3 DE |
5331 | 2014-04-03 Doug Evans <dje@google.com> |
5332 | ||
5333 | * dwarf2read.c (read_cutu_die_from_dwo): Fix assertion, at most one | |
5334 | of stub_comp_unit_die, stub_comp_dir is non-NULL. | |
5335 | ||
5979d6b6 AM |
5336 | 2014-04-02 Alan Modra <amodra@gmail.com> |
5337 | ||
5338 | * symfile-mem.c (symbol_file_add_from_memory): Add size parameter. | |
5339 | Pass to bfd_elf_bfd_from_remote_memory. Adjust all callers. | |
5340 | (struct symbol_file_add_from_memory_args): Add size field. | |
5341 | (find_vdso_size): New function. | |
5342 | (add_vsyscall_page): Attempt to find vdso size. | |
5343 | ||
0d60c288 DE |
5344 | 2014-04-01 Doug Evans <dje@google.com> |
5345 | ||
5346 | * dwarf2read.c (read_cutu_die_from_dwo): Improve comment. | |
5347 | ||
a41f2563 TG |
5348 | 2014-04-01 Tristan Gingold <gingold@adacore.com> |
5349 | ||
5350 | * darwin-nat.c (darwin_encode_reply): Add prototype. | |
5351 | (darwin_decode_exception_message): Reply to unknown inferiors. | |
5352 | (darwin_decode_message): Handle message by id. Ignore message | |
5353 | to unknown inferior. | |
5354 | (darwin_wait): Discard unknown messages, add debug trace. | |
5355 | ||
11a865c8 DE |
5356 | 2014-03-31 Doug Evans <dje@google.com> |
5357 | ||
5358 | * dwarf2read.c (read_cutu_die_from_dwo): Delete unused local | |
5359 | comp_dir_string. | |
5360 | ||
770e7fc7 DE |
5361 | 2014-03-31 Doug Evans <dje@google.com> |
5362 | ||
5363 | New option "set print symbol-loading". | |
5364 | * NEWS: Mention it. | |
5365 | * solib.c (solib_read_symbols): Only print symbol loading messages | |
5366 | if requested. | |
5367 | (solib_add): If symbol loading is in "brief" mode, notify user | |
5368 | symbols are being loaded. | |
5369 | (reload_shared_libraries_1): Ditto. | |
5370 | * symfile.c (print_symbol_loading_off): New static global. | |
5371 | (print_symbol_loading_brief): New static global. | |
5372 | (print_symbol_loading_full): New static global. | |
5373 | (print_symbol_loading_enums): New static global. | |
5374 | (print_symbol_loading): New static global. | |
5375 | (print_symbol_loading_p): New function. | |
5376 | (symbol_file_add_with_addrs): Only print symbol loading messages | |
5377 | if requested. | |
5378 | (_initialize_symfile): Register "print symbol-loading" set/show | |
5379 | command. | |
5380 | * symfile.h (print_symbol_loading_p): Declare. | |
5381 | ||
c32c64b7 DE |
5382 | 2014-03-30 Doug Evans <xdje42@gmail.com> |
5383 | ||
5384 | * infrun.c (set_last_target_status): New function. | |
5385 | (handle_inferior_event): Call it. | |
5386 | ||
7c0bc051 DE |
5387 | 2014-03-30 Doug Evans <xdje42@gmail.com> |
5388 | ||
5389 | * inferior.h (enum stop_kind): Improve comment. | |
5390 | ||
8776cfe9 JB |
5391 | 2014-03-28 Joel Brobecker <brobecker@adacore.com> |
5392 | ||
5393 | * varobj.c (varobj_value_has_mutated): If NEW_VALUE is | |
5394 | a reference, strip the reference layer before calling | |
5395 | the lang_ops value_has_mutated callback. | |
5396 | ||
410a0ff2 SDJ |
5397 | 2014-03-27 Sergio Durigan Junior <sergiodj@redhat.com> |
5398 | ||
5399 | Remove some globals from our parser. | |
5400 | * language.c (unk_lang_parser): Add "struct parser_state" | |
5401 | argument. | |
5402 | * language.h (struct language_defn) <la_parser>: Likewise. | |
5403 | * parse.c (expout, expout_size, expout_ptr): Remove variables. | |
5404 | (initialize_expout): Add "struct parser_state" argument. | |
5405 | Rewrite function to use the parser state. | |
5406 | (reallocate_expout, write_exp_elt, write_exp_elt_opcode, | |
5407 | write_exp_elt_sym, write_exp_elt_block, write_exp_elt_objfile, | |
5408 | write_exp_elt_longcst, write_exp_elt_dblcst, | |
5409 | write_exp_elt_decfloatcst, write_exp_elt_type, | |
5410 | write_exp_elt_intern, write_exp_string, write_exp_string_vector, | |
5411 | write_exp_bitstring, write_exp_msymbol, mark_struct_expression, | |
5412 | write_dollar_variable): Likewise. | |
5413 | (parse_exp_in_context_1): Use parser state. | |
5414 | (insert_type_address_space): Add "struct parser_state" argument. | |
5415 | Use parser state. | |
5416 | (increase_expout_size): New function. | |
5417 | * parser-defs.h: Forward declare "struct language_defn" and | |
5418 | "struct parser_state". | |
5419 | (expout, expout_size, expout_ptr): Remove extern declarations. | |
5420 | (parse_gdbarch, parse_language): Rewrite macro declarations to | |
5421 | accept the parser state. | |
5422 | (struct parser_state): New struct. | |
5423 | (initialize_expout, reallocate_expout, write_exp_elt_opcode, | |
5424 | write_exp_elt_sym, write_exp_elt_longcst, write_exp_elt_dblcst, | |
5425 | write_exp_elt_decfloatcst, write_exp_elt_type, | |
5426 | write_exp_elt_intern, write_exp_string, write_exp_string_vector, | |
5427 | write_exp_bitstring, write_exp_elt_block, write_exp_elt_objfile, | |
5428 | write_exp_msymbol, write_dollar_variable, | |
5429 | mark_struct_expression, insert_type_address_space): Add "struct | |
5430 | parser_state" argument. | |
5431 | (increase_expout_size): New function. | |
5432 | * utils.c (do_clear_parser_state): New function. | |
5433 | (make_cleanup_clear_parser_state): Likewise. | |
5434 | * utils.h (make_cleanup_clear_parser_state): New function | |
5435 | prototype. | |
5436 | * aarch64-linux-tdep.c (aarch64_stap_parse_special_token): | |
5437 | Update calls to write_exp* in order to pass the parser state. | |
5438 | * arm-linux-tdep.c (arm_stap_parse_special_token): Likewise. | |
5439 | * i386-tdep.c (i386_stap_parse_special_token_triplet): Likewise. | |
5440 | (i386_stap_parse_special_token_three_arg_disp): Likewise. | |
5441 | * ppc-linux-tdep.c (ppc_stap_parse_special_token): Likewise. | |
5442 | * stap-probe.c (stap_parse_register_operand): Likewise. | |
5443 | (stap_parse_single_operand): Likewise. | |
5444 | (stap_parse_argument_1): Likewise. | |
5445 | (stap_parse_argument): Use parser state. | |
5446 | * stap-probe.h: Include "parser-defs.h". | |
5447 | (struct stap_parse_info) <pstate>: New field. | |
5448 | * c-exp.y (parse_type): Rewrite to use parser state. | |
5449 | (yyparse): Redefine to c_parse_internal. | |
5450 | (pstate): New global variable. | |
5451 | (parse_number): Add "struct parser_state" argument. | |
5452 | (write_destructor_name): Likewise. | |
5453 | (type_exp): Update calls to write_exp* and similars in order to | |
5454 | use parser state. | |
5455 | (exp1, exp, variable, qualified_name, space_identifier, | |
5456 | typename, typebase): Likewise. | |
5457 | (write_destructor_name, parse_number, lex_one_token, | |
5458 | classify_name, classify_inner_name, c_parse): Add "struct | |
5459 | parser_state" argument. Update function to use parser state. | |
5460 | * c-lang.h: Forward declare "struct parser_state". | |
5461 | (c_parse): Add "struct parser_state" argument. | |
5462 | * ada-exp.y (parse_type): Rewrite macro to use parser state. | |
5463 | (yyparse): Redefine macro to ada_parse_internal. | |
5464 | (pstate): New variable. | |
5465 | (write_int, write_object_renaming, write_var_or_type, | |
5466 | write_name_assoc, write_exp_op_with_string, write_ambiguous_var, | |
5467 | type_int, type_long, type_long_long, type_float, type_double, | |
5468 | type_long_double, type_char, type_boolean, type_system_address): | |
5469 | Add "struct parser_state" argument. | |
5470 | (exp1, primary, simple_exp, relation, and_exp, and_then_exp, | |
5471 | or_exp, or_else_exp, xor_exp, type_prefix, opt_type_prefix, | |
5472 | var_or_type, aggregate, aggregate_component_list, | |
5473 | positional_list, others, component_group, | |
5474 | component_associations): Update calls to write_exp* and similar | |
5475 | functions in order to use parser state. | |
5476 | (ada_parse, write_var_from_sym, write_int, | |
5477 | write_exp_op_with_string, write_object_renaming, | |
5478 | find_primitive_type, write_selectors, write_ambiguous_var, | |
5479 | write_var_or_type, write_name_assoc, type_int, type_long, | |
5480 | type_long_long, type_float, type_double, type_long_double, | |
5481 | type_char, type_boolean, type_system_address): Add "struct | |
5482 | parser_state" argument. Adjust function to use parser state. | |
5483 | * ada-lang.c (parse): Likewise. | |
5484 | * ada-lang.h: Forward declare "struct parser_state". | |
5485 | (ada_parse): Add "struct parser_state" argument. | |
5486 | * ada-lex.l (processInt, processReal): Likewise. Adjust all | |
5487 | calls to both functions. | |
5488 | * f-exp.y (parse_type, parse_f_type): Rewrite macros to use | |
5489 | parser state. | |
5490 | (yyparse): Redefine macro to f_parse_internal. | |
5491 | (pstate): New variable. | |
5492 | (parse_number): Add "struct parser_state" argument. | |
5493 | (type_exp, exp, subrange, typebase): Update calls to write_exp* | |
5494 | and similars in order to use parser state. | |
5495 | (parse_number): Adjust code to use parser state. | |
5496 | (yylex): Likewise. | |
5497 | (f_parse): New function. | |
5498 | * f-lang.h: Forward declare "struct parser_state". | |
5499 | (f_parse): Add "struct parser_state" argument. | |
5500 | * jv-exp.y (parse_type, parse_java_type): Rewrite macros to use | |
5501 | parser state. | |
5502 | (yyparse): Redefine macro for java_parse_internal. | |
5503 | (pstate): New variable. | |
5504 | (push_expression_name, push_expression_name, insert_exp): Add | |
5505 | "struct parser_state" argument. | |
5506 | (type_exp, StringLiteral, Literal, PrimitiveType, IntegralType, | |
5507 | FloatingPointType, exp1, PrimaryNoNewArray, FieldAccess, | |
5508 | FuncStart, MethodInvocation, ArrayAccess, PostfixExpression, | |
5509 | PostIncrementExpression, PostDecrementExpression, | |
5510 | UnaryExpression, PreIncrementExpression, PreDecrementExpression, | |
5511 | UnaryExpressionNotPlusMinus, CastExpression, | |
5512 | MultiplicativeExpression, AdditiveExpression, ShiftExpression, | |
5513 | RelationalExpression, EqualityExpression, AndExpression, | |
5514 | ExclusiveOrExpression, InclusiveOrExpression, | |
5515 | ConditionalAndExpression, ConditionalOrExpression, | |
5516 | ConditionalExpression, Assignment, LeftHandSide): Update | |
5517 | calls to write_exp* and similars in order to use parser state. | |
5518 | (parse_number): Ajust code to use parser state. | |
5519 | (yylex): Likewise. | |
5520 | (java_parse): New function. | |
5521 | (push_variable): Add "struct parser_state" argument. Adjust | |
5522 | code to user parser state. | |
5523 | (push_fieldnames, push_qualified_expression_name, | |
5524 | push_expression_name, insert_exp): Likewise. | |
5525 | * jv-lang.h: Forward declare "struct parser_state". | |
5526 | (java_parse): Add "struct parser_state" argument. | |
5527 | * m2-exp.y (parse_type, parse_m2_type): Rewrite macros to use | |
5528 | parser state. | |
5529 | (yyparse): Redefine macro to m2_parse_internal. | |
5530 | (pstate): New variable. | |
5531 | (type_exp, exp, fblock, variable, type): Update calls to | |
5532 | write_exp* and similars to use parser state. | |
5533 | (yylex): Likewise. | |
5534 | (m2_parse): New function. | |
5535 | * m2-lang.h: Forward declare "struct parser_state". | |
5536 | (m2_parse): Add "struct parser_state" argument. | |
5537 | * objc-lang.c (end_msglist): Add "struct parser_state" argument. | |
5538 | * objc-lang.h: Forward declare "struct parser_state". | |
5539 | (end_msglist): Add "struct parser_state" argument. | |
5540 | * p-exp.y (parse_type): Rewrite macro to use parser state. | |
5541 | (yyparse): Redefine macro to pascal_parse_internal. | |
5542 | (pstate): New variable. | |
5543 | (parse_number): Add "struct parser_state" argument. | |
5544 | (type_exp, exp1, exp, qualified_name, variable): Update calls to | |
5545 | write_exp* and similars in order to use parser state. | |
5546 | (parse_number, yylex): Adjust code to use parser state. | |
5547 | (pascal_parse): New function. | |
5548 | * p-lang.h: Forward declare "struct parser_state". | |
5549 | (pascal_parse): Add "struct parser_state" argument. | |
5550 | * go-exp.y (parse_type): Rewrite macro to use parser state. | |
5551 | (yyparse): Redefine macro to go_parse_internal. | |
5552 | (pstate): New variable. | |
5553 | (parse_number): Add "struct parser_state" argument. | |
5554 | (type_exp, exp1, exp, variable, type): Update calls to | |
5555 | write_exp* and similars in order to use parser state. | |
5556 | (parse_number, lex_one_token, classify_name, yylex): Adjust code | |
5557 | to use parser state. | |
5558 | (go_parse): Likewise. | |
5559 | * go-lang.h: Forward declare "struct parser_state". | |
5560 | (go_parse): Add "struct parser_state" argument. | |
5561 | ||
342587c4 DE |
5562 | 2014-03-27 Doug Evans <dje@google.com> |
5563 | ||
5564 | * dwarf2read.c (read_str_index): Delete arg cu. All callers updated. | |
5565 | ||
33e80786 DE |
5566 | 2014-03-27 Doug Evans <dje@google.com> |
5567 | ||
5568 | * dwarf2read.c (init_cutu_and_read_dies_no_follow): Fix comments. | |
5569 | Remove argument abbrev_section. All callers updated. | |
5570 | ||
1dbab08b DE |
5571 | 2014-03-27 Doug Evans <dje@google.com> |
5572 | ||
5573 | * dwarf2read.c (struct dwarf2_cu): Improve comments for members | |
5574 | addr_base, ranges_base. | |
5575 | ||
318d3177 KS |
5576 | 2014-03-26 Keith Seitz <keiths@redhat.com> |
5577 | ||
5578 | * ada-tasks.c (get_tcb_types_info): Search STRUCT_DOMAIN for | |
5579 | types, not VAR_DOMAIN. | |
5580 | ||
1e54db15 SL |
5581 | 2014-03-25 Sandra Loosemore <sandra@codesourcery.com> |
5582 | ||
5583 | * features/nios2-cpu.xml: Correct types of "gp", "fp", "ea", and | |
5584 | "ra" registers. | |
5585 | * features/nios2-linux.c: Regenerated. | |
5586 | * features/nios2.c: Regenerated. | |
5587 | ||
d3839ede PA |
5588 | 2014-03-25 Pedro Alves <palves@redhat.com> |
5589 | ||
5590 | * cli/cli-script.c (script_from_file): Force the interpreter to | |
5591 | sync mode. | |
5592 | ||
7588d2ec PL |
5593 | 2014-03-24 Pierre Langlois <pierre.langlois@embecosm.com> |
5594 | ||
5595 | * avr-tdep.c (avr_scan_prologue): Accept push r1 instruction for | |
5596 | small stack allocation. | |
5597 | ||
a6290449 TG |
5598 | 2014-03-24 Tristan Gingold <gingold@adacore.com> |
5599 | ||
5600 | * darwin-nat.c (exc_server): Remove unused prototype. | |
5601 | (darwin_dump_message): Correctly display data on x86_64. | |
5602 | (darwin_encode_reply): Fix style. | |
5603 | Add comments and fix indentation. | |
5604 | ||
31ae9d24 | 5605 | 2014-03-24 Pierre Langlois <pierre.langlois@embecosm.com> |
69fa4030 PL |
5606 | |
5607 | * MAINTAINERS (Write After Approval): Add "Pierre Langlois". | |
5608 | ||
6339bfc4 DE |
5609 | 2014-03-22 Doug Evans <xdje42@gmail.com> |
5610 | ||
5611 | * infcmd.c: Whitespace fixes. | |
5612 | (interrupt_command): Merge two function comments into one. | |
5613 | ||
0a07590b DE |
5614 | 2014-03-22 Doug Evans <xdje42@gmail.com> |
5615 | ||
5616 | * infcmd.c (interrupt_command): Renamed from interrupt_target_command. | |
5617 | All uses updated. | |
5618 | ||
b55fbac4 YQ |
5619 | 2014-03-22 Yao Qi <yao@codesourcery.com> |
5620 | ||
5621 | * remote.c (target_read_live_memory): Remove. | |
5622 | (memory_xfer_live_readonly_partial): Rename it to | |
5623 | remote_xfer_live_readonly_partial. Remove argument 'object'. | |
5624 | All callers updated. Call remote_read_bytes_1 | |
5625 | instead of target_read_live_memory. | |
5626 | * tracepoint.c (set_traceframe_number): Remove. | |
5627 | (make_cleanup_restore_traceframe_number): Likewise . | |
5628 | * tracepoint.h (set_traceframe_number): Remove declaration. | |
5629 | (make_cleanup_restore_traceframe_number): Likewise. | |
5630 | ||
9217e74e YQ |
5631 | 2014-03-22 Yao Qi <yao@codesourcery.com> |
5632 | ||
5633 | * remote.c (remote_read_bytes): Move code on reading from the | |
5634 | remote stub to ... | |
5635 | (remote_read_bytes_1): ... here. New function. | |
5636 | ||
8acf9577 YQ |
5637 | 2014-03-22 Yao Qi <yao@codesourcery.com> |
5638 | ||
5639 | * ctf.c (ctf_xfer_partial): Check the return value of | |
5640 | exec_read_partial_read_only, if it is not TARGET_XFER_OK, | |
5641 | return TARGET_XFER_UNAVAILABLE. | |
5642 | * tracefile-tfile.c (tfile_xfer_partial): Likewise. | |
5643 | * target.c (target_read_live_memory): Move it to remote.c. | |
5644 | (memory_xfer_live_readonly_partial): Likewise. | |
5645 | (memory_xfer_partial_1): Move some code to remote_read_bytes. | |
5646 | * remote.c (target_read_live_memory): Moved from target.c. | |
5647 | (memory_xfer_live_readonly_partial): Likewise. | |
5648 | (remote_read_bytes): Factored out from | |
5649 | memory_xfer_partial_1. | |
5650 | ||
feef67ab DE |
5651 | 2014-03-21 Daniel Gutson <daniel.gutson@tallertechnologies.com> |
5652 | ||
5653 | * extension.c (eval_ext_lang_from_control_command): Avoid dereferencing | |
5654 | NULL pointer. | |
5655 | ||
b65dc60b PA |
5656 | 2014-03-21 Pedro Alves <palves@redhat.com> |
5657 | ||
5658 | * infrun.c (normal_stop): Extend comment. | |
5659 | ||
b4ab256d HZ |
5660 | 2014-03-21 Hui Zhu <hui@codesourcery.com> |
5661 | Pedro Alves <palves@redhat.com> | |
5662 | ||
5663 | * darwin-nat.c (darwin_pid_to_exec_file): Change xmalloc to | |
5664 | static buffer. | |
5665 | * fbsd-nat.c (fbsd_pid_to_exec_file): Ditto. | |
5666 | * linux-nat.c (linux_child_pid_to_exec_file): Ditto. | |
5667 | * nbsd-nat.c (nbsd_pid_to_exec_file): Ditto. | |
5668 | ||
deba7593 MR |
5669 | 2014-03-20 Maciej W. Rozycki <macro@codesourcery.com> |
5670 | ||
5671 | * mi/mi-interp.c (mi_memory_changed): Avoid using the ISO C99 | |
5672 | `z' formatted output modifier. | |
5673 | ||
1bff71c3 SDJ |
5674 | 2014-03-20 Tom Tromey <tromey@redhat.com> |
5675 | Sergio Durigan Junior <sergiodj@redhat.com> | |
5676 | ||
5677 | * probe.c (parse_probes): Turn assert into an ordinary error. | |
5678 | * break-catch-throw.c (re_set_exception_catchpoint): Ignore | |
5679 | exceptions when parsing probes. Rearrange the code for clarity. | |
5680 | ||
90e28950 TT |
5681 | 2014-03-20 Tom Tromey <tromey@redhat.com> |
5682 | ||
5683 | PR gdb/14135 | |
5684 | * top.c (execute_command): Only dispatch events if the command | |
5685 | started the target. | |
5686 | ||
beb460e8 PA |
5687 | 2014-03-20 Tom Tromey <tromey@redhat.com> |
5688 | ||
5689 | PR cli/15718 | |
5690 | * infcall.c: Include event-top.h. | |
5691 | (run_inferior_call): Call async_disable_stdin if needed. | |
5692 | ||
99619bea PA |
5693 | 2014-03-20 Pedro Alves <palves@redhat.com> |
5694 | ||
5695 | * infrun.c (prepare_to_proceed): Delete. | |
5696 | (thread_still_needs_step_over): New function. | |
5697 | (find_thread_needs_step_over): New function. | |
5698 | (proceed): If the current thread needs a step-over, set its | |
5699 | steping_over_breakpoint flag. Adjust to use | |
5700 | find_thread_needs_step_over instead of prepare_to_proceed. | |
5701 | (process_event_stop_test): For BPSTAT_WHAT_STOP_NOISY and | |
5702 | BPSTAT_WHAT_STOP_SILENT, assume the thread stopped for a | |
5703 | breakpoint. | |
5704 | (switch_back_to_stepped_thread): Step over breakpoints of all | |
5705 | threads not the stepping thread, before switching back to the | |
5706 | stepping thread. | |
5707 | ||
2adfaa28 PA |
5708 | 2014-03-20 Pedro Alves <palves@redhat.com> |
5709 | ||
5710 | * breakpoint.c (single_step_breakpoint_inserted_here_p): Make | |
5711 | extern. | |
5712 | * breakpoint.h (single_step_breakpoint_inserted_here_p): Declare. | |
5713 | * infrun.c (saved_singlestep_ptid) | |
5714 | (stepping_past_singlestep_breakpoint): Delete. | |
5715 | (resume): Remove stepping_past_singlestep_breakpoint handling. | |
5716 | (proceed): Store the prev_pc of the stepping thread too. | |
5717 | (init_wait_for_inferior): Adjust. Clear singlestep_ptid and | |
5718 | singlestep_pc. | |
5719 | (enum infwait_states): Delete infwait_thread_hop_state. | |
5720 | (struct execution_control_state) <hit_singlestep_breakpoint>: New | |
5721 | field. | |
5722 | (handle_inferior_event): Adjust. | |
5723 | (handle_signal_stop): Delete stepping_past_singlestep_breakpoint | |
5724 | handling and the thread-hop code. Before removing single-step | |
5725 | breakpoints, check whether the thread hit a single-step breakpoint | |
5726 | of another thread. If it did, the trap is not a random signal. | |
5727 | (switch_back_to_stepped_thread): If the event thread hit a | |
5728 | single-step breakpoint, unblock it before switching to the | |
5729 | stepping thread. Handle the case of the stepped thread having | |
5730 | advanced already. | |
5731 | (keep_going): Handle the case of the current thread moving past a | |
5732 | single-step breakpoint. | |
5733 | ||
31e77af2 PA |
5734 | 2014-03-20 Pedro Alves <palves@redhat.com> |
5735 | ||
5736 | PR breakpoints/7143 | |
5737 | * breakpoint.c (should_be_inserted): Don't insert breakpoints that | |
5738 | are being stepped over. | |
5739 | (breakpoint_address_match): Make extern. | |
5740 | * breakpoint.h (breakpoint_address_match): New declaration. | |
5741 | * inferior.h (stepping_past_instruction_at): New declaration. | |
5742 | * infrun.c (struct step_over_info): New type. | |
5743 | (step_over_info): New global. | |
5744 | (set_step_over_info, clear_step_over_info) | |
5745 | (stepping_past_instruction_at): New functions. | |
5746 | (handle_inferior_event): Clear the step-over info when | |
5747 | trap_expected is cleared. | |
5748 | (resume): Remove now stale comment. | |
5749 | (clear_proceed_status): Clear step-over info. | |
5750 | (proceed): Adjust step-over handling to set or clear the step-over | |
5751 | info instead of removing all breakpoints. | |
5752 | (handle_signal_stop): When setting up a thread-hop, don't remove | |
5753 | breakpoints here. | |
5754 | (stop_stepping): Clear step-over info. | |
5755 | (keep_going): Adjust step-over handling to set or clear step-over | |
5756 | info and then always inserting breakpoints, instead of removing | |
5757 | all breakpoints when stepping over one. | |
5758 | ||
b9f437de PA |
5759 | 2014-03-20 Pedro Alves <palves@redhat.com> |
5760 | ||
5761 | * infrun.c (previous_inferior_ptid): Adjust comment. | |
5762 | (deferred_step_ptid): Delete. | |
5763 | (infrun_thread_ptid_changed, prepare_to_proceed) | |
5764 | (init_wait_for_inferior): Adjust. | |
5765 | (handle_signal_stop): Delete deferred_step_ptid handling. | |
5766 | ||
06c868a8 JK |
5767 | 2014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com> |
5768 | ||
5769 | PR gdb/15358 | |
5770 | * defs.h (sync_quit_force_run): New declaration. | |
5771 | (QUIT): Check also SYNC_QUIT_FORCE_RUN. | |
5772 | * event-top.c (async_sigterm_handler): New declaration. | |
5773 | (async_sigterm_token): New variable. | |
5774 | (async_init_signals): Create also async_sigterm_token. | |
5775 | (async_sigterm_handler): New function. | |
5776 | (sync_quit_force_run): New variable. | |
5777 | (handle_sigterm): Replace quit_force call by other calls. | |
5778 | * utils.c (quit): Call quit_force if SYNC_QUIT_FORCE_RUN. | |
5779 | ||
dea80df0 MR |
5780 | 2014-03-18 Maciej W. Rozycki <macro@codesourcery.com> |
5781 | ||
5782 | * rs6000-tdep.c (rs6000_frame_cache): Correct little-endian GPR | |
5783 | offset into SPE pseudo registers. | |
5784 | ||
0c7e1a46 PA |
5785 | 2014-03-18 Pedro Alves <palves@redhat.com> |
5786 | ||
5787 | PR gdb/13860 | |
5788 | * inferior.h (print_stop_event): Declare. | |
5789 | * infrun.c (print_stop_event): New, factored out from ... | |
5790 | (normal_stop): ... this. | |
5791 | * mi/mi-interp.c (mi_on_normal_stop): Use print_stop_event instead | |
5792 | of bpstat_print/print_stack_frame. | |
5793 | ||
9c1fcd01 TT |
5794 | 2014-03-17 Tom Tromey <tromey@redhat.com> |
5795 | ||
5796 | * ui-out.c (clear_table, ui_out_new): Clear uiout->table.id. | |
5797 | ||
11aa919a PMR |
5798 | 2014-03-17 Pierre-Marie de Rodat <derodat@adacore.com> |
5799 | ||
5800 | * ada-lang.c (decode_constrained_packed_array): Perform a | |
5801 | minimal coercion for reference with coerce_ref instead of | |
5802 | ada_coerce_ref. | |
5803 | ||
d4ccb5e0 TG |
5804 | 2014-03-17 Tristan Gingold <gingold@adacore.com> |
5805 | ||
5806 | * solib-darwin.c (DYLD_VERSION_MAX): Increase value. | |
5807 | (darwin_solib_create_inferior_hook): Emit a warning if version | |
5808 | is unhandled. | |
5809 | ||
49840f2a UW |
5810 | 2014-03-16 Ulrich Weigand <uweigand@de.ibm.com> |
5811 | ||
5812 | * python/py-value.c (get_field_flag): Cast flag_name argument to | |
5813 | PyObject_GetAttrString to support Python 2.4. | |
5814 | ||
ed4123e5 JK |
5815 | 2014-03-14 Jan Kratochvil <jan.kratochvil@redhat.com> |
5816 | ||
5817 | * MAINTAINERS (The Official FSF-appointed GDB Maintainers) | |
5818 | (Global Maintainers): Remove Jan Kratochvil. | |
5819 | ||
d6b64346 PA |
5820 | 2014-03-14 Pedro Alves <palves@redhat.com> |
5821 | ||
5822 | * inferior.h (terminal_ours_for_output): Rename to ... | |
5823 | (child_terminal_ours_for_output): ... this. | |
5824 | (terminal_save_ours): Rename to ... | |
5825 | (child_terminal_save_ours): ... this. | |
5826 | (terminal_ours): Rename to ... | |
5827 | (child_terminal_ours): ... this. | |
5828 | (terminal_inferior): Rename to ... | |
5829 | (child_terminal_inferior): ... this. | |
5830 | (terminal_init_inferior): Rename to ... | |
5831 | (child_terminal_init_inferior): ... this. | |
5832 | (terminal_init_inferior_with_pgrp): Rename to ... | |
5833 | (child_terminal_init_inferior_with_pgrp): ... this. | |
5834 | * inflow.c (terminal_init_inferior_with_pgrp): Rename to ... | |
5835 | (child_terminal_init_with_pgrp): ... this. | |
5836 | (terminal_save_ours): Rename to ... | |
5837 | (child_terminal_save_ours): ... this. | |
5838 | (terminal_init_inferior): Rename to ... | |
5839 | (child_terminal_init): ... this. Adjust. | |
5840 | (terminal_inferior): Rename to ... | |
5841 | (child_terminal_inferior): ... this. | |
5842 | (terminal_ours_for_output): Rename to ... | |
5843 | (child_terminal_ours_for_output): ... this. Adjust. | |
5844 | (terminal_ours): Rename to ... | |
5845 | (child_terminal_ours): ... this. | |
5846 | (terminal_ours_1): Rename to ... | |
5847 | (child_terminal_ours_1): ... this. Adjust. | |
5848 | * linux-nat.c (linux_nat_terminal_inferior): Adjust. | |
5849 | * windows-nat.c (do_initial_windows_stuff): Adjust. | |
5850 | * gnu-nat.c (gnu_terminal_init_inferior): Rename to ... | |
5851 | (gnu_terminal_init): ... this. Adjust. | |
5852 | (gnu_target): Adjust. | |
5853 | * inf-child.c (inf_child_target): Adjust. | |
5854 | ||
5a1e8c7a DE |
5855 | 2014-03-13 Doug Evans <xdje42@gmail.com> |
5856 | ||
5857 | PR guile/16612 | |
5858 | * guile/scm-type.c (tyscm_copy_type_recursive): Move type to its | |
5859 | new eq?-hashtab. | |
5860 | ||
350e1a76 DE |
5861 | 2014-03-13 Doug Evans <xdje42@gmail.com> |
5862 | ||
5863 | * value.c (record_latest_value): Call release_value_or_incref | |
5864 | instead of release_value. | |
5865 | ||
a69900ae PA |
5866 | 2014-03-13 Pedro Alves <palves@redhat.com> |
5867 | ||
5868 | * procfs.c (procfs_target): Don't override to_shortname, | |
5869 | to_longname or to_doc. | |
5870 | ||
5db9f0bd PA |
5871 | 2014-03-13 Pedro Alves <palves@redhat.com> |
5872 | ||
5873 | * inf-child.c (inf_child_open, inf_child_target): Don't mention | |
5874 | Unix in user visible strings. | |
5875 | ||
5e3a2c38 SS |
5876 | 2014-03-12 Stan Shebs <stan@codesourcery.com> |
5877 | ||
5878 | * gdbtypes.h: Annotate comments for Doxygen, add a page | |
5879 | block comment with some general info. | |
5880 | ||
8bc2fe48 PA |
5881 | 2014-03-12 Pedro Alves <palves@redhat.com> |
5882 | ||
5883 | * infcmd.c (prepare_execution_command): New function, factored out | |
5884 | from several execution commands. | |
5885 | (run_command_1, continue_command, step_1, jump_command) | |
5886 | (signal_command, until_command, advance_command, finish_command) | |
5887 | (attach_command): Use prepare_execution_command. | |
5888 | ||
638c5f49 OJ |
5889 | 2014-03-12 Omair Javaid <omair.javaid@linaro.org> |
5890 | ||
5891 | * arm-linux-nat.c (arm_linux_get_hwbp_cap): Updated. | |
5892 | (MAX_BPTS): Define. | |
5893 | (MAX_WPTS): Define. | |
5894 | (struct arm_linux_thread_points): Removed. | |
5895 | (struct arm_linux_process_info): New. | |
5896 | (DEF_VEC_P (arm_linux_thread_points_p)): Removed. | |
5897 | (VEC(arm_linux_thread_points_p) *arm_threads): Removed. | |
5898 | (arm_linux_find_breakpoints_by_tid): Removed. | |
5899 | (struct arch_lwp_info): New. | |
5900 | (arm_linux_find_process_pid): New functions. | |
5901 | (arm_linux_add_process): New functions. | |
5902 | (arm_linux_process_info_get): New functions. | |
5903 | (arm_linux_forget_process): New function. | |
5904 | (arm_linux_get_debug_reg_state): New function. | |
5905 | (struct update_registers_data): New. | |
5906 | (update_registers_callback): New function. | |
5907 | (arm_linux_insert_hw_breakpoint1): Updated. | |
5908 | (arm_linux_remove_hw_breakpoint1): Updated. | |
5909 | (arm_linux_insert_hw_breakpoint): Updated. | |
5910 | (arm_linux_remove_hw_breakpoint): Updated. | |
5911 | (arm_linux_insert_watchpoint): Updated. | |
5912 | (arm_linux_remove_watchpoint): Updated. | |
5913 | (arm_linux_new_thread): Updated. | |
5914 | (arm_linux_prepare_to_resume): New function. | |
5915 | (arm_linux_new_fork): New function. | |
5916 | (_initialize_arm_linux_nat): Updated. | |
5917 | ||
6d03af93 PA |
5918 | 2014-03-12 Pedro Alves <palves@redhat.com> |
5919 | ||
5920 | * Makefile.in (TARGET_FLAGS_TO_PASS): Add TESTS. | |
5921 | ||
b3ccfe11 TT |
5922 | 2014-03-12 Tom Tromey <tromey@redhat.com> |
5923 | ||
5924 | * inf-child.c (return_zero): New function. | |
5925 | (inf_child_target): Set to_can_async_p, to_supports_non_stop. | |
5926 | * aix-thread.c (aix_thread_inferior_created): New function. | |
5927 | (aix_thread_attach): Remove. | |
5928 | (init_aix_thread_ops): Don't set to_attach. | |
5929 | (_initialize_aix_thread): Register inferior_created observer. | |
5930 | * corelow.c (init_core_ops): Don't set to_attach or | |
5931 | to_create_inferior. | |
5932 | * exec.c (init_exec_ops): Don't set to_attach or | |
5933 | to_create_inferior. | |
5934 | * infcmd.c (run_command_1): Use find_run_target. Make direct | |
5935 | target calls. | |
5936 | (attach_command): Use find_attach_target. Make direct target | |
5937 | calls. | |
5938 | * record-btrace.c (init_record_btrace_ops): Don't set | |
5939 | to_create_inferior. | |
5940 | * record-full.c (record_full_can_async_p, record_full_is_async_p): | |
5941 | Remove. | |
5942 | (init_record_full_ops, init_record_full_core_ops): Update. Don't | |
5943 | set to_create_inferior. | |
5944 | * target.c (complete_target_initialization): Add assertion. | |
5945 | (target_create_inferior): Remove. | |
5946 | (find_default_attach, find_default_create_inferior): Remove. | |
5947 | (find_attach_target, find_run_target): New functions. | |
5948 | (find_default_is_async_p, find_default_can_async_p) | |
5949 | (target_supports_non_stop, target_attach): Remove. | |
5950 | (init_dummy_target): Don't set to_create_inferior or | |
5951 | to_supports_non_stop. | |
5952 | * target.h (struct target_ops) <to_attach>: Add comment. Remove | |
5953 | TARGET_DEFAULT_FUNC. | |
5954 | <to_create_inferior>: Add comment. | |
5955 | <to_can_async_p, to_is_async_p, to_supports_non_stop>: Use | |
5956 | TARGET_DEFAULT_RETURN. | |
5957 | <to_can_async_p, to_supports_non_stop, to_can_run>: Add comments. | |
5958 | (find_attach_target, find_run_target): Declare. | |
5959 | (target_create_inferior): Remove. | |
5960 | (target_has_execution_1): Update comment. | |
5961 | (target_supports_non_stop): Remove. | |
5962 | * target-delegates.c: Rebuild. | |
5963 | ||
91f83b02 PA |
5964 | 2014-03-12 Pedro Alves <palves@redhat.com> |
5965 | ||
5966 | * inf-child.h: Update comment to not mention Unix. | |
5967 | ||
f1aea813 PA |
5968 | 2014-03-12 Pedro Alves <palves@redhat.com> |
5969 | ||
5970 | * inf-child.c: Update top comment to not mention Unix. Add | |
5971 | generic comment describing how this target is meant to be used. | |
5972 | (inf_child_post_attach, inf_child_post_startup_inferior) | |
5973 | (inf_child_follow_fork, inf_child_pid_to_exec_file): Don't mention | |
5974 | Unix in comment. | |
5975 | ||
ee8e9165 PA |
5976 | 2014-03-12 Pedro Alves <palves@redhat.com> |
5977 | ||
5978 | * nto-procfs.c: Include inf-child.h. | |
5979 | (procfs_ops): Delete global. | |
5980 | (procfs_can_run): Delete method. | |
5981 | (procfs_detach, procfs_mourn_inferior): Unpush the passed in | |
5982 | target pointer instead of referencing procfs_ops. | |
5983 | (procfs_prepare_to_store): Delete. | |
5984 | (init_procfs_ops): Delete function. | |
5985 | (procfs_target): New function, based on init_procfs_ops, but | |
5986 | inherit inf_child_target. | |
5987 | (_initialize_procfs): Use procfs_target. | |
5988 | ||
51a9c8c5 PA |
5989 | 2014-03-12 Pedro Alves <palves@redhat.com> |
5990 | ||
5991 | * windows-nat.c: Include inf-child.h. | |
5992 | (windows_ops): Delete global. | |
5993 | (windows_open, windows_prepare_to_store, windows_can_run): Delete | |
5994 | methods. | |
5995 | (init_windows_ops): Delete function. | |
5996 | (windows_target): New function, based on init_windows_ops, but | |
5997 | inherit inf_child_target. | |
5998 | (_initialize_windows_nat): Use windows_target. Install x86 | |
5999 | specific target methods here. | |
6000 | ||
c1966e26 DE |
6001 | 2014-03-10 Doug Evans <xdje42@gmail.com> |
6002 | ||
6003 | * guile/guile.c (call_initialize_gdb_module): New function. | |
6004 | (initialize_guile): Replace call to scm_init_guile with call to | |
6005 | scm_with_guile. | |
6006 | ||
023db19c JB |
6007 | 2014-03-10 Joel Brobecker <brobecker@adacore.com> |
6008 | ||
6009 | * ada-lang.c (ada_evaluate_subexp): Add missing space before '(' | |
6010 | in call to TYPE_CODE macro. | |
6011 | ||
5ec18f2b JG |
6012 | 2014-03-10 Jerome Guitton <guitton@adacore.com> |
6013 | ||
8668be63 JB |
6014 | * ada-lang.c (ada_evaluate_subexp) <UNOP_IND, STRUCTOP_STRUCT>: |
6015 | Resolve tagged types to full view. | |
5ec18f2b | 6016 | |
7d03f2eb HZ |
6017 | 2014-03-10 Hui Zhu <hui@codesourcery.com> |
6018 | ||
6019 | * target.h (target_insert_breakpoint): Remove "hardware" from its | |
6020 | comments. | |
6021 | ||
c5164cbc DE |
6022 | 2014-03-07 Doug Evans <dje@google.com> |
6023 | ||
6024 | * dwarf2read.c (read_str_index): Rename local dwo_name to objf_name. | |
6025 | ||
c4a3fee2 DE |
6026 | 2014-03-07 Doug Evans <dje@google.com> |
6027 | ||
6028 | * dwarf2read.c (read_cutu_die_from_dwo): Fix function comment. | |
6029 | Remove unused local comp_dir_attr. Assert exactly one of | |
6030 | stub_comp_unit_die, stub_comp_dir is non-NULL. | |
6031 | ||
3156469c JB |
6032 | 2014-03-07 Joel Brobecker <brobecker@adacore.com> |
6033 | ||
6034 | * target.h (complete_target_initialization, add_target): | |
6035 | Add comment. | |
6036 | ||
c1a7b7c6 PA |
6037 | 2014-03-07 Pedro Alves <palves@redhat.com> |
6038 | ||
6039 | * go32-nat.c: Include inf-child.h. | |
6040 | (go32_ops): Delete global. | |
6041 | (go32_close, go32_detach, go32_prepare_to_store, go32_can_run): | |
6042 | Delete methods. | |
6043 | (go32_create_inferior): Push the passed in target pointer instead | |
6044 | of referencing go32_ops. | |
6045 | (init_go32_ops): Delete function. Moved parts to _initialize_go32_nat. | |
6046 | (go32_target): New function, based on init_go32_ops, but inherit | |
6047 | inf_child_target. | |
6048 | (_initialize_go32_nat): Use go32_target. Move parts of | |
6049 | init_go32_ops here. | |
6050 | ||
d3c1a85f JB |
6051 | 2014-03-06 Joel Brobecker <brobecker@adacore.com> |
6052 | ||
6053 | * sol-thread.c: #include "symtab.h", "minsym.h" and "objfiles.h". | |
6054 | (ps_pglobal_lookup): Use BMSYMBOL_VALUE_ADDRESS instead of | |
6055 | SYMBOL_VALUE_ADDRESS. | |
6056 | (info_cb): MSYMBOL_PRINT_NAME instead of SYMBOL_PRINT_NAME. | |
6057 | ||
5fa1d40e YQ |
6058 | 2014-03-06 Yao Qi <yao@codesourcery.com> |
6059 | ||
6060 | * breakpoint.c (get_tracepoint_by_number): Remove argument | |
6061 | optional_p. All callers updated. Adjust comments. Update | |
6062 | output message. | |
6063 | * breakpoint.h (get_tracepoint_by_number): Update declaration. | |
6064 | ||
0c13193f YQ |
6065 | 2014-03-06 Yao Qi <yao@codesourcery.com> |
6066 | ||
6067 | * reverse.c (goto_bookmark_command): Add local 'p'. Emit error | |
6068 | early if get_number returns zero. Use 'p' instead of 'args'. | |
6069 | ||
2217da06 YQ |
6070 | 2014-03-06 Yao Qi <yao@codesourcery.com> |
6071 | ||
6072 | * cli/cli-utils.c (get_number_trailer): Add '\n' at the end of | |
6073 | message. | |
6074 | ||
cc3da688 YQ |
6075 | 2014-03-06 Yao Qi <yao@codesourcery.com> |
6076 | ||
6077 | PR breakpoints/16508 | |
6078 | * tracepoint.c (check_trace_running): New function. | |
6079 | (trace_find_command): Move code to check_trace_running and | |
6080 | call check_trace_running. | |
6081 | (trace_find_pc_command): Likewise. | |
6082 | (trace_find_tracepoint_command): Likewise. | |
6083 | (trace_find_line_command): Likewise. | |
6084 | (trace_find_range_command): Likewise. | |
6085 | * tracepoint.h (check_trace_running): Likewise. | |
6086 | * mi/mi-main.c (mi_cmd_trace_find): Call check_trace_running. | |
6087 | ||
6a5f844b YQ |
6088 | 2014-03-06 Yao Qi <yao@codesourcery.com> |
6089 | ||
6090 | * target.h (struct target_ops) <to_traceframe_info>: Use | |
6091 | TARGET_DEFAULT_NORETURN (tcomplain ()). | |
6092 | * target-delegates.c: Regenerated. | |
6093 | ||
0f26cec1 PA |
6094 | 2014-03-05 Pedro Alves <palves@redhat.com> |
6095 | ||
6096 | PR gdb/16575 | |
6097 | * dcache.c (dcache_poke_byte): Constify ptr parameter. Return | |
6098 | void. Update comment. | |
6099 | (dcache_xfer_memory): Delete. | |
6100 | (dcache_read_memory_partial): New, based on the read bits of | |
6101 | dcache_xfer_memory. | |
6102 | (dcache_update): Add status parameter. Use ULONGEST for len, and | |
6103 | adjust. Discard cache lines if the reason for the update was | |
6104 | error. | |
6105 | * dcache.h (dcache_xfer_memory): Delete declaration. | |
6106 | (dcache_read_memory_partial): New declaration. | |
6107 | (dcache_update): Update prototype. | |
6108 | * target.c (raw_memory_xfer_partial): Update the dcache here. | |
6109 | (memory_xfer_partial_1): Don't handle dcache writes here. | |
6110 | ||
b2b255bd MF |
6111 | 2014-03-05 Mike Frysinger <vapier@gentoo.org> |
6112 | ||
6113 | * remote-sim.c (gdbsim_load): Add const to prog. | |
6114 | ||
5d9cf8a4 TT |
6115 | 2014-03-03 Tom Tromey <tromey@redhat.com> |
6116 | ||
6117 | * elfread.c (probe_key): Change to bfd_data. | |
6118 | (elf_get_probes, probe_key_free, _initialize_elfread): Probes are | |
6119 | now per-BFD, not per-objfile. | |
6120 | * stap-probe.c (stap_probe_destroy): Update comment. | |
6121 | (handle_stap_probe): Allocate on the per-BFD obstack. | |
6122 | ||
729662a5 TT |
6123 | 2014-03-03 Tom Tromey <tromey@redhat.com> |
6124 | ||
6125 | * break-catch-throw.c (fetch_probe_arguments): Use bound probes. | |
6126 | * breakpoint.c (create_longjmp_master_breakpoint): Use | |
6127 | get_probe_address. | |
6128 | (add_location_to_breakpoint, bkpt_probe_insert_location) | |
6129 | (bkpt_probe_remove_location): Update. | |
6130 | * breakpoint.h (struct bp_location) <probe>: Now a bound_probe. | |
6131 | * elfread.c (elf_symfile_relocate_probe): Remove. | |
6132 | (elf_probe_fns): Update. | |
6133 | (insert_exception_resume_breakpoint): Change type of "probe" | |
6134 | parameter to bound_probe. | |
6135 | (check_exception_resume): Update. | |
6136 | * objfiles.c (objfile_relocate1): Don't relocate probes. | |
6137 | * probe.c (bound_probe_s): New typedef. | |
6138 | (parse_probes): Use get_probe_address. Set sal's objfile. | |
6139 | (find_probe_by_pc): Return a bound_probe. | |
6140 | (collect_probes): Return a VEC(bound_probe_s). | |
6141 | (compare_probes): Update. | |
6142 | (gen_ui_out_table_header_info): Change type of "probes" | |
6143 | parameter. Update. | |
6144 | (info_probes_for_ops): Update. | |
6145 | (get_probe_address): New function. | |
6146 | (probe_safe_evaluate_at_pc): Update. | |
6147 | * probe.h (struct probe_ops) <get_probe_address>: New field. | |
6148 | <set_semaphore, clear_semaphore>: Add objfile parameter. | |
6149 | (struct probe) <objfile>: Remove field. | |
6150 | <arch>: New field. | |
6151 | <address>: Update comment. | |
6152 | (struct bound_probe): New. | |
6153 | (find_probe_by_pc): Return a bound_probe. | |
6154 | (get_probe_address): Declare. | |
6155 | * solib-svr4.c (struct probe_and_action) <address>: New field. | |
6156 | (hash_probe_and_action, equal_probe_and_action): Update. | |
6157 | (register_solib_event_probe): Add address parameter. | |
6158 | (solib_event_probe_at): Update. | |
6159 | (svr4_create_probe_breakpoints): Add objfile parameter. Use | |
6160 | get_probe_address. | |
6161 | * stap-probe.c (struct stap_probe) <sem_addr>: Update comment. | |
6162 | (stap_get_probe_address): New function. | |
6163 | (stap_can_evaluate_probe_arguments, compute_probe_arg) | |
6164 | (compile_probe_arg): Update. | |
6165 | (stap_set_semaphore, stap_clear_semaphore): Compute semaphore's | |
6166 | address. | |
6167 | (handle_stap_probe): Don't relocate the probe. | |
6168 | (stap_relocate): Remove. | |
6169 | (stap_gen_info_probes_table_values): Update. | |
6170 | (stap_probe_ops): Remove stap_relocate. | |
6171 | * symfile-debug.c (debug_sym_relocate_probe): Remove. | |
6172 | (debug_sym_probe_fns): Update. | |
6173 | * symfile.h (struct sym_probe_fns) <sym_relocate_probe>: Remove. | |
6174 | * symtab.c (init_sal): Use memset. | |
6175 | * symtab.h (struct symtab_and_line) <objfile>: New field. | |
6176 | * tracepoint.c (start_tracing, stop_tracing): Update. | |
6177 | ||
ff887920 TT |
6178 | 2014-03-03 Tom Tromey <tromey@redhat.com> |
6179 | ||
6180 | * probe.h (parse_probes, find_probe_by_pc) | |
6181 | (find_probes_in_objfile): Fix comments. | |
6182 | ||
f0407826 DE |
6183 | 2014-03-02 Doug Evans <xdje42@gmail.com> |
6184 | ||
6185 | * infrun.c (handle_signal_stop): Replace test for | |
6186 | TARGET_WAITKIND_STOPPED with an assert. | |
6187 | ||
35e6a711 DE |
6188 | 2014-03-02 Doug Evans <xdje42@gmail.com> |
6189 | ||
6190 | * guile/scm-objfile.c (ofscm_mark_objfile_smob): Fix typo in comment. | |
6191 | ||
667f9d0b DE |
6192 | 2014-03-02 Doug Evans <xdje42@gmail.com> |
6193 | ||
6194 | * guile/lib/gdb/printing.scm (append-pretty-printer!): Fix thinko. | |
6195 | ||
dc92ace0 MK |
6196 | 2014-03-01 Mark Kettenis <kettenis@gnu.org> |
6197 | ||
6198 | * obsd-nat.c: Include "gdb_wait.h" instead of <sys/wait.h>. | |
6199 | ||
a900370f MK |
6200 | 2014-03-01 Mark Kettenis <kettenis@gnu.org> |
6201 | ||
6202 | * i386obsd-nat.c: Include "obsd-nat.h". | |
6203 | (_initialize_i386obsd_nat): Call obsd_add_target instead of | |
6204 | add_target. | |
6205 | * config/i386/obsd.mh (NATDEPFILES): Add obsd-nat.o. | |
6206 | ||
b72a7981 MK |
6207 | 2014-03-01 Mark Kettenis <kettenis@gnu.org> |
6208 | ||
6209 | * i386obsd-nat.c (i386obsd_supply_pcb): Cast 'sf' to 'gdb_byte *'. | |
6210 | ||
96c70aba MK |
6211 | 2014-03-01 Mark Kettenis <kettenis@gnu.org> |
6212 | ||
6213 | * mips64obsd-nat.c: Include "obsd-nath". | |
6214 | (_initialize_mips64obsd_nat): Call obsd_add_target instead of | |
6215 | add_target | |
6216 | * config/mips/obsd64.mh (NATDEPFILES): Add obsd-nat.o. | |
6217 | ||
874a80af MK |
6218 | 2014-03-01 Mark Kettenis <kettenis@gnu.org> |
6219 | ||
8fd408f1 MK |
6220 | * amd64obsd-nat.c: Include "obsd-nat,h. |
6221 | (_initialize_amd64obsd_nat): Call obsd_add_target instead of | |
6222 | add_target. | |
874a80af MK |
6223 | * config/i386/obsd64.mh (NATDEPFILES): Add obsd-nat.o. |
6224 | ||
9cf95373 SC |
6225 | 2014-02-28 Siva Chandra Reddy <sivachandra@google.com> |
6226 | ||
6227 | * valops.c (find_oload_champ): Remove unneccesary argument METHOD. | |
6228 | (find_overload_match): Update call to find_oload_champ. | |
6229 | (find_oload_champ_namespace_loop): Likewise | |
6230 | ||
863e4da4 MK |
6231 | 2014-02-28 Mark Kettenis <kettenis@gnu.org> |
6232 | ||
025cac40 MK |
6233 | * Makefile.in (ALLDEPFILES): Add sparc64obsd-nat.c. |
6234 | ||
1ed586ce MK |
6235 | * configure.host (sparc64-*-openbsd*): Set gdb_host to obsd64. |
6236 | * config/sparc/obsd64.mh: New file. | |
6237 | * sparc64obsd-nat.c: New file. | |
6238 | ||
863e4da4 MK |
6239 | * obsd-nat.h: New file. |
6240 | * obsd-nat.c: New file. | |
6241 | * Makefile.in (HFILES_NO_SRCDIR): Add obsd-nat.h. | |
6242 | (ALLDEPFILES): Add obsd-nat.c. | |
6243 | ||
89de4da4 TT |
6244 | 2014-02-28 Tom Tromey <tromey@redhat.com> |
6245 | ||
6246 | * cli-out.c (cli_ui_out_impl): Now const. Remove comment. | |
6247 | * cli-out.h (cli_ui_out_impl): Now const. | |
6248 | * mi/mi-out.c (mi_ui_out_impl): Now const. Remove comment. | |
6249 | * ui-out.c (struct ui_out) <impl>: Now const. | |
6250 | (default_ui_out_impl): Now const. | |
6251 | (ui_out_new): Make 'impl' parameter const. | |
6252 | * ui-out.h (ui_out_new): Update. | |
6253 | ||
c725e7b6 MK |
6254 | 2014-02-27 Mark Kettenis <kettenis@gnu.org> |
6255 | ||
6256 | * solib-svr4.c (svr4_read_so_list): Initialize first_l_name to 0. | |
6257 | ||
670b46b3 MK |
6258 | 2014-02-27 Mark Kettenis <kettenis@gnu.org> |
6259 | ||
6260 | * sparc-nat.c (sparc_xfer_wcookie): Always use process ID. | |
6261 | ||
c91550fc JK |
6262 | 2014-02-27 Jan Kratochvil <jan.kratochvil@redhat.com> |
6263 | ||
6264 | Additional PR 8882 fix. | |
6265 | * solib-svr4.c (svr4_read_so_list): Change first to first_l_name. | |
6266 | ||
2fa0369e PA |
6267 | 2014-02-27 Pedro Alves <palves@redhat.com> |
6268 | ||
6269 | * nat/linux-waitpid.c (my_waitpid): Only block signals if WNOHANG | |
6270 | isn't set. | |
6271 | ||
d632a097 PA |
6272 | 2014-02-27 Pedro Alves <palves@redhat.com> |
6273 | ||
6274 | PR 12702 | |
6275 | * linux-nat.c (status_to_str): Moved to nat/linux-waitpid.c. | |
6276 | * nat/linux-waitpid.c: Include string.h. | |
6277 | (status_to_str): Moved here and made extern. | |
6278 | * nat/linux-waitpid.h (status_to_str): New declaration. | |
6279 | ||
2ebd5a35 HZ |
6280 | 2014-02-27 Hui Zhu <hui@codesourcery.com> |
6281 | ||
6282 | PR 12702 | |
6283 | * infrun.c (ptid_match): Move ... | |
6284 | * common/ptid.c (ptid_match): ... here. | |
6285 | * inferior.h (ptid_match): Move ... | |
6286 | * common/ptid.h (ptid_match): ... here. | |
6287 | ||
3cdd631f MK |
6288 | 2014-02-27 Mark Kettenis <kettenis@gnu.org> |
6289 | ||
6290 | * mips64obsd-tdep.c (mips64obsd_init_abi): Call obsd_init_abi. | |
6291 | * configure.tgt (mips64*-*-openbsd*): Add obsd-tdep.c to | |
6292 | gdb_target_obs. | |
6293 | ||
bee30a64 MK |
6294 | 2014-02-27 Mark Kettenis <kettenis@gnu.org> |
6295 | ||
6296 | * obsd-tdep.c (obsd_auxv_parse): New function. | |
6297 | (obsd_init_abi): Set auxv_parse. | |
27a48a92 MK |
6298 | |
6299 | * gdbarch.sh (auxv_parse): New. | |
6300 | * gdbarch.h: Regenerated. | |
6301 | * gdbarch.c: Regenerated. | |
6302 | * auxv.c (target_auxv_parse): Call gdbarch_parse_auxv if provided. | |
6303 | ||
7a5a839f LC |
6304 | 2014-02-26 Ludovic Courtès <ludo@gnu.org> |
6305 | ||
6306 | * guile/scm-value.c (gdbscm_history_append_x): New function. | |
6307 | (value_functions): Add it. | |
6308 | ||
31aa7e4e JB |
6309 | 2014-02-27 Joel Brobecker <brobecker@adacore.com> |
6310 | ||
6311 | * dwarf2read.c (attr_value_as_address): New function. | |
6312 | (dwarf2_find_base_address, read_call_site_scope): Use | |
6313 | attr_value_as_address in place of DW_ADDR. | |
6314 | (dwarf2_get_pc_bounds): Use attr_value_as_address to get | |
6315 | the low and high addresses. Slight rework of the handling | |
6316 | of the high pc being a constant form, and limit it to | |
6317 | DWARF verson 4 or higher. | |
6318 | (dwarf2_record_block_ranges): Likewise. | |
6319 | (read_partial_die): Likewise. | |
6320 | (new_symbol_full): Use attr_value_as_address in place of DW_ADDR. | |
6321 | ||
9b333ba3 TT |
6322 | 2014-02-26 Tom Tromey <tromey@redhat.com> |
6323 | ||
6324 | * exec.c (exec_file_attach): Hold a reference to exec_bfd. | |
6325 | ||
5f6cac40 TT |
6326 | 2014-02-26 Tom Tromey <tromey@redhat.com> |
6327 | ||
6328 | * elfread.c (elf_read_minimal_symbols): Return early if | |
6329 | minimal symbols have already been read. Add "ei" parameter. | |
6330 | (elf_symfile_read): Call elf_read_minimal_symbols earlier. | |
6331 | * minsyms.c (prim_record_minimal_symbol_full): Update. | |
6332 | * objfiles.h (struct objstats) <n_minsyms>: Move... | |
6333 | (struct objfile_per_bfd_storage) <n_minsyms>: ... here. | |
6334 | * symmisc.c (print_objfile_statistics): Update. | |
6335 | ||
2750ef27 TT |
6336 | 2014-02-26 Tom Tromey <tromey@redhat.com> |
6337 | ||
6338 | * elfread.c (elf_read_minimal_symbols): New function, from | |
6339 | elf_symfile_read. | |
6340 | (elf_symfile_read): Call it. | |
6341 | ||
34643a32 TT |
6342 | 2014-02-26 Tom Tromey <tromey@redhat.com> |
6343 | ||
6344 | * minsyms.c (lookup_minimal_symbol, iterate_over_minimal_symbols) | |
6345 | (lookup_minimal_symbol_text, lookup_minimal_symbol_by_pc_name) | |
6346 | (lookup_minimal_symbol_solib_trampoline) | |
6347 | (lookup_minimal_symbol_by_pc_section_1) | |
6348 | (lookup_minimal_symbol_and_objfile): Update. | |
6349 | (prim_record_minimal_symbol_full): Use the per-BFD obstack. | |
6350 | Don't allocate a minimal symbol if minsyms have already been read. | |
6351 | (build_minimal_symbol_hash_tables): Update. | |
6352 | (install_minimal_symbols): Do nothing if minsyms already read. | |
6353 | Use the per-BFD obstack. | |
6354 | (terminate_minimal_symbol_table): Use the per-BFD obstack. | |
6355 | * objfiles.c (allocate_objfile): Call | |
6356 | terminate_minimal_symbol_table later. | |
6357 | (have_minimal_symbols): Update. | |
6358 | * objfiles.h (struct objfile_per_bfd_storage) <msymbols, | |
6359 | minimal_symbol_count, msymbol_hash, msymbol_demangled_hash>: | |
6360 | Move from struct objfile. | |
6361 | <minsyms_read>: New field. | |
6362 | (struct objfile) <msymbols, minimal_symbol_count, | |
6363 | msymbol_hash, msymbol_demangled_hash>: Move. | |
6364 | (ALL_OBJFILE_MSYMBOLS): Update. | |
6365 | * symfile.c (read_symbols): Set minsyms_read. | |
6366 | (reread_symbols): Update. | |
6367 | * symmisc.c (dump_objfile, dump_msymbols): Update. | |
6368 | ||
2273f0ac TT |
6369 | 2014-02-26 Tom Tromey <tromey@redhat.com> |
6370 | ||
6371 | * minsyms.c (msymbols_sort): Remove. | |
6372 | * minsyms.h (msymbols_sort): Remove. | |
6373 | * objfiles.c (objfile_relocate1): Don't relocate minsyms. | |
6374 | * symtab.h (MSYMBOL_VALUE_ADDRESS): Use objfile offsets. | |
6375 | * elfread.c (elf_symtab_read): Don't add section offsets. | |
6376 | * xcoffread.c (record_minimal_symbol): Don't add section offset | |
6377 | to minimal symbol address. | |
6378 | * somread.c (text_offset, data_offset): Remove. | |
6379 | (som_symtab_read): Don't add section offsets to minimal symbol | |
6380 | addresses. | |
6381 | * coff-pe-read.c (add_pe_forwarded_sym, read_pe_exported_syms): | |
6382 | Don't add section offsets to minimal symbols. | |
6383 | * coffread.c (coff_symtab_read): Don't add section offsets | |
6384 | to minimal symbol addresses. | |
6385 | * machoread.c (macho_symtab_add_minsym): Don't add section offset | |
6386 | to minimal symbol addresses. | |
6387 | * mipsread.c (read_alphacoff_dynamic_symtab): Don't add | |
6388 | section offset to minimal symbol addresses. | |
6389 | * mdebugread.c (parse_partial_symbols): Don't add section | |
6390 | offset to minimal symbol addresses. | |
6391 | * dbxread.c (read_dbx_dynamic_symtab): Don't add section | |
6392 | offset to minimal symbol addresses. | |
6393 | ||
77e371c0 TT |
6394 | 2014-02-26 Tom Tromey <tromey@redhat.com> |
6395 | ||
6396 | * ada-lang.c (ada_main_name): Update. | |
6397 | (ada_add_standard_exceptions): Update. | |
6398 | * ada-tasks.c (ada_tasks_inferior_data_sniffer): Update. | |
6399 | * aix-thread.c (pdc_symbol_addrs, pd_enable): Update. | |
6400 | * arm-tdep.c (skip_prologue_function, arm_skip_stub): Update. | |
6401 | * auxv.c (ld_so_xfer_auxv): Update. | |
6402 | * avr-tdep.c (avr_scan_prologue): Update. | |
6403 | * ax-gdb.c (gen_var_ref): Update. | |
6404 | * blockframe.c (get_pc_function_start) | |
6405 | (find_pc_partial_function_gnu_ifunc): Update. | |
6406 | * breakpoint.c (create_overlay_event_breakpoint) | |
6407 | (create_longjmp_master_breakpoint) | |
6408 | (create_std_terminate_master_breakpoint) | |
6409 | (create_exception_master_breakpoint): Update. | |
6410 | * bsd-uthread.c (bsd_uthread_lookup_address): Update. | |
6411 | * c-valprint.c (c_val_print): Update. | |
6412 | * coff-pe-read.c (add_pe_forwarded_sym): Update. | |
6413 | * common/agent.c (agent_look_up_symbols): Update. | |
6414 | * dbxread.c (find_stab_function_addr, end_psymtab): Update. | |
6415 | * dwarf2loc.c (call_site_to_target_addr): Update. | |
6416 | * dwarf2read.c (dw2_find_pc_sect_symtab): Update. | |
6417 | * elfread.c (elf_gnu_ifunc_record_cache) | |
6418 | (elf_gnu_ifunc_resolve_by_got): Update. | |
6419 | * findvar.c (default_read_var_value): Update. | |
6420 | * frame.c (inside_main_func): Update. | |
6421 | * frv-tdep.c (frv_frame_this_id): Update. | |
6422 | * glibc-tdep.c (glibc_skip_solib_resolver): Update. | |
6423 | * gnu-v3-abi.c (gnuv3_get_typeid, gnuv3_skip_trampoline): | |
6424 | Update. | |
6425 | * hppa-hpux-tdep.c (hppa64_hpux_search_dummy_call_sequence) | |
6426 | (hppa_hpux_find_dummy_bpaddr): Update. | |
6427 | * hppa-tdep.c (hppa_symbol_address): Update. | |
6428 | * infcmd.c (until_next_command): Update. | |
6429 | * jit.c (jit_read_descriptor, jit_breakpoint_re_set_internal): | |
6430 | Update. | |
6431 | * linespec.c (minsym_found, add_minsym): Update. | |
6432 | * linux-nat.c (get_signo): Update. | |
6433 | * linux-thread-db.c (inferior_has_bug): Update. | |
6434 | * m32c-tdep.c (m32c_return_value) | |
6435 | (m32c_m16c_address_to_pointer): Update. | |
6436 | * m32r-tdep.c (m32r_frame_this_id): Update. | |
6437 | * m68hc11-tdep.c (m68hc11_get_register_info): Update. | |
6438 | * machoread.c (macho_resolve_oso_sym_with_minsym): Update. | |
6439 | * maint.c (maintenance_translate_address): Update. | |
6440 | * minsyms.c (lookup_minimal_symbol_by_pc_name): Update. | |
6441 | (frob_address): New function. | |
6442 | (lookup_minimal_symbol_by_pc_section_1): Use raw addresses, | |
6443 | frob_address. Rename parameter to "pc_in". | |
6444 | (compare_minimal_symbols, compact_minimal_symbols): Use raw | |
6445 | addresses. | |
6446 | (find_solib_trampoline_target, minimal_symbol_upper_bound): | |
6447 | Update. | |
6448 | * mips-linux-tdep.c (mips_linux_skip_resolver): Update. | |
6449 | * mips-tdep.c (mips_skip_pic_trampoline_code): Update. | |
6450 | * objc-lang.c (find_objc_msgsend): Update. | |
6451 | * objfiles.c (objfile_relocate1): Update. | |
6452 | * obsd-tdep.c (obsd_skip_solib_resolver): Update. | |
6453 | * p-valprint.c (pascal_val_print): Update. | |
6454 | * parse.c (write_exp_msymbol): Update. | |
6455 | * ppc-linux-tdep.c (ppc_linux_spe_context_lookup) | |
6456 | (ppc_elfv2_skip_entrypoint): Update. | |
6457 | * ppc-sysv-tdep.c (convert_code_addr_to_desc_addr): Update. | |
6458 | * printcmd.c (build_address_symbolic, msym_info) | |
6459 | (address_info): Update. | |
6460 | * proc-service.c (ps_pglobal_lookup): Update. | |
6461 | * psymtab.c (find_pc_sect_psymtab_closer) | |
6462 | (find_pc_sect_psymtab, find_pc_sect_symtab_from_partial): | |
6463 | Change msymbol parameter to bound_minimal_symbol. | |
6464 | * ravenscar-thread.c (get_running_thread_id): Update. | |
6465 | * remote.c (remote_check_symbols): Update. | |
6466 | * sh64-tdep.c (sh64_elf_make_msymbol_special): Use raw | |
6467 | address. | |
6468 | * sol2-tdep.c (sol2_skip_solib_resolver): Update. | |
6469 | * solib-dsbt.c (lm_base): Update. | |
6470 | * solib-frv.c (lm_base, main_got): Update. | |
6471 | * solib-irix.c (locate_base): Update. | |
6472 | * solib-som.c (som_solib_create_inferior_hook) | |
6473 | (link_map_start): Update. | |
6474 | * solib-spu.c (spu_enable_break, ocl_enable_break): Update. | |
6475 | * solib-svr4.c (elf_locate_base, enable_break): Update. | |
6476 | * spu-tdep.c (spu_get_overlay_table, spu_catch_start) | |
6477 | (flush_ea_cache): Update. | |
6478 | * stabsread.c (define_symbol, scan_file_globals): Update. | |
6479 | * stack.c (find_frame_funname): Update. | |
6480 | * symfile-debug.c (debug_qf_expand_symtabs_matching) | |
6481 | (debug_qf_find_pc_sect_symtab): Update. | |
6482 | * symfile.c (simple_read_overlay_table) | |
6483 | (simple_overlay_update): Update. | |
6484 | * symfile.h (struct quick_symbol_functions) | |
6485 | <find_pc_sect_symtab>: Change type of msymbol to | |
6486 | bound_minimal_symbol. | |
6487 | * symmisc.c (dump_msymbols): Update. | |
6488 | * symtab.c (find_pc_sect_symtab_via_partial) | |
6489 | (find_pc_sect_psymtab, find_pc_sect_line, skip_prologue_sal) | |
6490 | (search_symbols, print_msymbol_info): Update. | |
6491 | * symtab.h (MSYMBOL_VALUE_RAW_ADDRESS): New macro. | |
6492 | (MSYMBOL_VALUE_ADDRESS): Redefine. | |
6493 | (BMSYMBOL_VALUE_ADDRESS): New macro. | |
6494 | * tracepoint.c (scope_info): Update. | |
6495 | * tui/tui-disasm.c (tui_find_disassembly_address) | |
6496 | (tui_get_begin_asm_address): Update. | |
6497 | * valops.c (find_function_in_inferior): Update. | |
6498 | * value.c (value_static_field, value_fn_field): Update. | |
6499 | ||
3b7344d5 TT |
6500 | 2014-02-26 Tom Tromey <tromey@redhat.com> |
6501 | ||
6502 | * ada-lang.c (ada_update_initial_language): Update. | |
6503 | (ada_main_name, ada_has_this_exception_support): Update. | |
6504 | * ada-tasks.c (ada_tasks_inferior_data_sniffer): Update. | |
6505 | * aix-thread.c (pdc_symbol_addrs, pd_enable): Update. | |
6506 | * arm-tdep.c (arm_skip_stub): Update. | |
6507 | * auxv.c (ld_so_xfer_auxv): Update. | |
6508 | * avr-tdep.c (avr_scan_prologue): Update. | |
6509 | * ax-gdb.c (gen_var_ref): Update. | |
6510 | * breakpoint.c (struct breakpoint_objfile_data) | |
6511 | <overlay_msym, longjmp_msym, terminate_msym, exception_msym>: Change | |
6512 | type to bound_minimal_symbol. | |
6513 | (create_overlay_event_breakpoint) | |
6514 | (create_longjmp_master_breakpoint) | |
6515 | (create_std_terminate_master_breakpoint) | |
6516 | (create_exception_master_breakpoint): Update. | |
6517 | * bsd-uthread.c (bsd_uthread_lookup_address): Update. | |
6518 | * c-exp.y (classify_name): Update. | |
6519 | * coffread.c (coff_symfile_read): Update. | |
6520 | * common/agent.c (agent_look_up_symbols): Update. | |
6521 | * d-lang.c (d_main_name): Update. | |
6522 | * dbxread.c (find_stab_function_addr, end_psymtab): Update. | |
6523 | * dec-thread.c (enable_dec_thread): Update. | |
6524 | * dwarf2loc.c (call_site_to_target_addr): Update. | |
6525 | * elfread.c (elf_gnu_ifunc_resolve_by_got): Update. | |
6526 | * eval.c (evaluate_subexp_standard): Update. | |
6527 | * findvar.c (struct minsym_lookup_data) <result>: Change type | |
6528 | to bound_minimal_symbol. | |
6529 | <objfile>: Remove. | |
6530 | (minsym_lookup_iterator_cb, default_read_var_value): Update. | |
6531 | * frame.c (inside_main_func): Update. | |
6532 | * frv-tdep.c (frv_frame_this_id): Update. | |
6533 | * gcore.c (call_target_sbrk): Update. | |
6534 | * glibc-tdep.c (glibc_skip_solib_resolver): Update. | |
6535 | * gnu-v3-abi.c (gnuv3_get_typeid, gnuv3_skip_trampoline): | |
6536 | Update. | |
6537 | * go-lang.c (go_main_name): Update. | |
6538 | * hppa-hpux-tdep.c (hppa_hpux_skip_trampoline_code) | |
6539 | (hppa_hpux_find_import_stub_for_addr): Update. | |
6540 | * hppa-tdep.c (hppa_extract_17, hppa_lookup_stub_minimal_symbol): | |
6541 | Update. Change return type. | |
6542 | * hppa-tdep.h (hppa_lookup_stub_minimal_symbol): Change return | |
6543 | type. | |
6544 | * jit.c (jit_breakpoint_re_set_internal): Update. | |
6545 | * linux-fork.c (inferior_call_waitpid, checkpoint_command): | |
6546 | Update. | |
6547 | * linux-nat.c (get_signo): Update. | |
6548 | * linux-thread-db.c (inferior_has_bug): Update | |
6549 | * m32c-tdep.c (m32c_return_value) | |
6550 | (m32c_m16c_address_to_pointer): Update. | |
6551 | * m32r-tdep.c (m32r_frame_this_id): Update. | |
6552 | * m68hc11-tdep.c (m68hc11_get_register_info): Update. | |
6553 | * machoread.c (macho_resolve_oso_sym_with_minsym): Update. | |
6554 | * minsyms.c (lookup_minimal_symbol_internal): Rename to | |
6555 | lookup_minimal_symbol. Change return type. | |
6556 | (lookup_minimal_symbol): Remove. | |
6557 | (lookup_bound_minimal_symbol): Update. | |
6558 | (lookup_minimal_symbol_text): Change return type. | |
6559 | (lookup_minimal_symbol_solib_trampoline): Change return type. | |
6560 | * minsyms.h (lookup_minimal_symbol, lookup_minimal_symbol_text) | |
6561 | (lookup_minimal_symbol_solib_trampoline): Change return type. | |
6562 | * mips-linux-tdep.c (mips_linux_skip_resolver): Update. | |
6563 | * objc-lang.c (lookup_objc_class, lookup_child_selector) | |
6564 | (value_nsstring, find_imps): Update. | |
6565 | * obsd-tdep.c (obsd_skip_solib_resolver): Update. | |
6566 | * p-lang.c (pascal_main_name): Update. | |
6567 | * ppc-linux-tdep.c (ppc_linux_spe_context_lookup): Update. | |
6568 | * ppc-sysv-tdep.c (convert_code_addr_to_desc_addr): Update. | |
6569 | * proc-service.c (ps_pglobal_lookup): Update. | |
6570 | * ravenscar-thread.c (get_running_thread_msymbol): Change | |
6571 | return type. | |
6572 | (has_ravenscar_runtime, get_running_thread_id): Update. | |
6573 | * remote.c (remote_check_symbols): Update. | |
6574 | * sol-thread.c (ps_pglobal_lookup): Update. | |
6575 | * sol2-tdep.c (sol2_skip_solib_resolver): Update. | |
6576 | * solib-dsbt.c (lm_base): Update. | |
6577 | * solib-frv.c (lm_base, frv_relocate_section_addresses): | |
6578 | Update. | |
6579 | * solib-irix.c (locate_base): Update. | |
6580 | * solib-som.c (som_solib_create_inferior_hook) | |
6581 | (som_solib_desire_dynamic_linker_symbols, link_map_start): | |
6582 | Update. | |
6583 | * solib-spu.c (spu_enable_break): Update. | |
6584 | * solib-svr4.c (elf_locate_base, enable_break): Update. | |
6585 | * spu-tdep.c (spu_get_overlay_table, spu_catch_start) | |
6586 | (flush_ea_cache): Update. | |
6587 | * stabsread.c (define_symbol): Update. | |
6588 | * symfile.c (simple_read_overlay_table): Update. | |
6589 | * symtab.c (find_pc_sect_line): Update. | |
6590 | * tracepoint.c (scope_info): Update. | |
6591 | * tui-disasm.c (tui_get_begin_asm_address): Update. | |
6592 | * value.c (value_static_field): Update. | |
6593 | ||
40c1a007 TT |
6594 | 2014-02-26 Tom Tromey <tromey@redhat.com> |
6595 | ||
6596 | * minsyms.c (prim_record_minimal_symbol_full): Use | |
6597 | SET_MSYMBOL_VALUE_ADDRESS. | |
6598 | * objfiles.c (objfile_relocate1): Use SET_MSYMBOL_VALUE_ADDRESS. | |
6599 | * sh64-tdep.c (sh64_elf_make_msymbol_special): Use | |
6600 | SET_MSYMBOL_VALUE_ADDRESS. | |
6601 | * symtab.h (MSYMBOL_VALUE_ADDRESS): Expand to an rvalue. | |
6602 | (SET_MSYMBOL_VALUE_ADDRESS): New macro. | |
6603 | ||
efd66ac6 TT |
6604 | 2014-02-26 Tom Tromey <tromey@redhat.com> |
6605 | ||
6606 | * symtab.h (struct minimal_symbol) <mginfo>: Rename from ginfo. | |
6607 | (MSYMBOL_VALUE, MSYMBOL_VALUE_ADDRESS, MSYMBOL_VALUE_BYTES) | |
6608 | (MSYMBOL_BLOCK_VALUE, MSYMBOL_VALUE_CHAIN, MSYMBOL_LANGUAGE) | |
6609 | (MSYMBOL_SECTION, MSYMBOL_OBJ_SECTION, MSYMBOL_NATURAL_NAME) | |
6610 | (MSYMBOL_LINKAGE_NAME, MSYMBOL_PRINT_NAME, MSYMBOL_DEMANGLED_NAME) | |
6611 | (MSYMBOL_SET_LANGUAGE, MSYMBOL_SEARCH_NAME) | |
6612 | (MSYMBOL_MATCHES_SEARCH_NAME, MSYMBOL_SET_NAMES): New macros. | |
6613 | * ada-lang.c (ada_main_name): Update. | |
6614 | (ada_lookup_simple_minsym): Update. | |
6615 | (ada_make_symbol_completion_list): Update. | |
6616 | (ada_add_standard_exceptions): Update. | |
6617 | * ada-tasks.c (read_atcb, ada_tasks_inferior_data_sniffer): Update. | |
6618 | * aix-thread.c (pdc_symbol_addrs, pd_enable): Update. | |
6619 | * amd64-windows-tdep.c (amd64_skip_main_prologue): Update. | |
6620 | * arm-tdep.c (skip_prologue_function): Update. | |
6621 | (arm_skip_stack_protector, arm_skip_stub): Update. | |
6622 | * arm-wince-tdep.c (arm_pe_skip_trampoline_code): Update. | |
6623 | (arm_wince_skip_main_prologue): Update. | |
6624 | * auxv.c (ld_so_xfer_auxv): Update. | |
6625 | * avr-tdep.c (avr_scan_prologue): Update. | |
6626 | * ax-gdb.c (gen_var_ref): Update. | |
6627 | * block.c (call_site_for_pc): Update. | |
6628 | * blockframe.c (get_pc_function_start): Update. | |
6629 | (find_pc_partial_function_gnu_ifunc): Update. | |
6630 | * breakpoint.c (create_overlay_event_breakpoint): Update. | |
6631 | (create_longjmp_master_breakpoint): Update. | |
6632 | (create_std_terminate_master_breakpoint): Update. | |
6633 | (create_exception_master_breakpoint): Update. | |
6634 | (resolve_sal_pc): Update. | |
6635 | * bsd-uthread.c (bsd_uthread_lookup_address): Update. | |
6636 | * btrace.c (ftrace_print_function_name, ftrace_function_switched): | |
6637 | Update. | |
6638 | * c-valprint.c (c_val_print): Update. | |
6639 | * coff-pe-read.c (add_pe_forwarded_sym): Update. | |
6640 | * coffread.c (coff_symfile_read): Update. | |
6641 | * common/agent.c (agent_look_up_symbols): Update. | |
6642 | * dbxread.c (find_stab_function_addr): Update. | |
6643 | (end_psymtab): Update. | |
6644 | * dwarf2loc.c (call_site_to_target_addr): Update. | |
6645 | (func_verify_no_selftailcall): Update. | |
6646 | (tailcall_dump): Update. | |
6647 | (call_site_find_chain_1): Update. | |
6648 | (dwarf_expr_reg_to_entry_parameter): Update. | |
6649 | * elfread.c (elf_gnu_ifunc_record_cache): Update. | |
6650 | (elf_gnu_ifunc_resolve_by_got): Update. | |
6651 | * f-valprint.c (info_common_command): Update. | |
6652 | * findvar.c (read_var_value): Update. | |
6653 | * frame.c (get_prev_frame_1): Update. | |
6654 | (inside_main_func): Update. | |
6655 | * frv-tdep.c (frv_skip_main_prologue): Update. | |
6656 | (frv_frame_this_id): Update. | |
6657 | * glibc-tdep.c (glibc_skip_solib_resolver): Update. | |
6658 | * gnu-v2-abi.c (gnuv2_value_rtti_type): Update. | |
6659 | * gnu-v3-abi.c (gnuv3_rtti_type): Update. | |
6660 | (gnuv3_skip_trampoline): Update. | |
6661 | * hppa-hpux-tdep.c (hppa32_hpux_in_solib_call_trampoline): Update. | |
6662 | (hppa64_hpux_in_solib_call_trampoline): Update. | |
6663 | (hppa_hpux_skip_trampoline_code): Update. | |
6664 | (hppa64_hpux_search_dummy_call_sequence): Update. | |
6665 | (hppa_hpux_find_import_stub_for_addr): Update. | |
6666 | (hppa_hpux_find_dummy_bpaddr): Update. | |
6667 | * hppa-tdep.c (hppa_symbol_address) | |
6668 | (hppa_lookup_stub_minimal_symbol): Update. | |
6669 | * i386-tdep.c (i386_skip_main_prologue): Update. | |
6670 | (i386_pe_skip_trampoline_code): Update. | |
6671 | * ia64-tdep.c (ia64_convert_from_func_ptr_addr): Update. | |
6672 | * infcall.c (get_function_name): Update. | |
6673 | * infcmd.c (until_next_command): Update. | |
6674 | * jit.c (jit_breakpoint_re_set_internal): Update. | |
6675 | (jit_inferior_init): Update. | |
6676 | * linespec.c (minsym_found): Update. | |
6677 | (add_minsym): Update. | |
6678 | * linux-fork.c (info_checkpoints_command): Update. | |
6679 | * linux-nat.c (get_signo): Update. | |
6680 | * linux-thread-db.c (inferior_has_bug): Update. | |
6681 | * m32c-tdep.c (m32c_return_value): Update. | |
6682 | (m32c_m16c_address_to_pointer): Update. | |
6683 | (m32c_m16c_pointer_to_address): Update. | |
6684 | * m32r-tdep.c (m32r_frame_this_id): Update. | |
6685 | * m68hc11-tdep.c (m68hc11_get_register_info): Update. | |
6686 | * machoread.c (macho_resolve_oso_sym_with_minsym): Update. | |
6687 | * maint.c (maintenance_translate_address): Update. | |
6688 | * minsyms.c (add_minsym_to_hash_table): Update. | |
6689 | (add_minsym_to_demangled_hash_table): Update. | |
6690 | (msymbol_objfile): Update. | |
6691 | (lookup_minimal_symbol): Update. | |
6692 | (iterate_over_minimal_symbols): Update. | |
6693 | (lookup_minimal_symbol_text): Update. | |
6694 | (lookup_minimal_symbol_by_pc_name): Update. | |
6695 | (lookup_minimal_symbol_solib_trampoline): Update. | |
6696 | (lookup_minimal_symbol_by_pc_section_1): Update. | |
6697 | (lookup_minimal_symbol_and_objfile): Update. | |
6698 | (prim_record_minimal_symbol_full): Update. | |
6699 | (compare_minimal_symbols): Update. | |
6700 | (compact_minimal_symbols): Update. | |
6701 | (build_minimal_symbol_hash_tables): Update. | |
6702 | (install_minimal_symbols): Update. | |
6703 | (terminate_minimal_symbol_table): Update. | |
6704 | (find_solib_trampoline_target): Update. | |
6705 | (minimal_symbol_upper_bound): Update. | |
6706 | * mips-linux-tdep.c (mips_linux_skip_resolver): Update. | |
6707 | * mips-tdep.c (mips_stub_frame_sniffer): Update. | |
6708 | (mips_skip_pic_trampoline_code): Update. | |
6709 | * msp430-tdep.c (msp430_skip_trampoline_code): Update. | |
6710 | * objc-lang.c (selectors_info): Update. | |
6711 | (classes_info): Update. | |
6712 | (find_methods): Update. | |
6713 | (find_imps): Update. | |
6714 | (find_objc_msgsend): Update. | |
6715 | * objfiles.c (objfile_relocate1): Update. | |
6716 | * objfiles.h (ALL_OBJFILE_MSYMBOLS): Update. | |
6717 | * obsd-tdep.c (obsd_skip_solib_resolver): Update. | |
6718 | * p-valprint.c (pascal_val_print): Update. | |
6719 | * parse.c (write_exp_msymbol): Update. | |
6720 | * ppc-linux-tdep.c (powerpc_linux_in_dynsym_resolve_code) | |
6721 | (ppc_linux_spe_context_lookup, ppc_elfv2_skip_entrypoint): Update. | |
6722 | * ppc-sysv-tdep.c (convert_code_addr_to_desc_addr): Update. | |
6723 | * printcmd.c (build_address_symbolic): Update. | |
6724 | (sym_info): Update. | |
6725 | (address_info): Update. | |
6726 | * proc-service.c (ps_pglobal_lookup): Update. | |
6727 | * psymtab.c (find_pc_sect_psymtab_closer): Update. | |
6728 | (find_pc_sect_psymtab): Update. | |
6729 | * python/py-framefilter.c (py_print_frame): Update. | |
6730 | * ravenscar-thread.c (get_running_thread_id): Update. | |
6731 | * record-btrace.c (btrace_call_history, btrace_get_bfun_name): | |
6732 | Update. | |
6733 | * remote.c (remote_check_symbols): Update. | |
6734 | * rs6000-tdep.c (rs6000_skip_main_prologue): Update. | |
6735 | (rs6000_skip_trampoline_code): Update. | |
6736 | * sh64-tdep.c (sh64_elf_make_msymbol_special): Update. | |
6737 | * sol2-tdep.c (sol2_skip_solib_resolver): Update. | |
6738 | * solib-dsbt.c (lm_base): Update. | |
6739 | * solib-frv.c (lm_base): Update. | |
6740 | (main_got): Update. | |
6741 | * solib-irix.c (locate_base): Update. | |
6742 | * solib-som.c (som_solib_create_inferior_hook): Update. | |
6743 | (som_solib_desire_dynamic_linker_symbols): Update. | |
6744 | (link_map_start): Update. | |
6745 | * solib-spu.c (spu_enable_break): Update. | |
6746 | (ocl_enable_break): Update. | |
6747 | * solib-svr4.c (elf_locate_base): Update. | |
6748 | (enable_break): Update. | |
6749 | * spu-tdep.c (spu_get_overlay_table): Update. | |
6750 | (spu_catch_start): Update. | |
6751 | (flush_ea_cache): Update. | |
6752 | * stabsread.c (define_symbol): Update. | |
6753 | (scan_file_globals): Update. | |
6754 | * stack.c (find_frame_funname): Update. | |
6755 | (frame_info): Update. | |
6756 | * symfile.c (simple_read_overlay_table): Update. | |
6757 | (simple_overlay_update): Update. | |
6758 | * symmisc.c (dump_msymbols): Update. | |
6759 | * symtab.c (fixup_section): Update. | |
6760 | (find_pc_sect_line): Update. | |
6761 | (skip_prologue_sal): Update. | |
6762 | (search_symbols): Update. | |
6763 | (print_msymbol_info): Update. | |
6764 | (rbreak_command): Update. | |
6765 | (MCOMPLETION_LIST_ADD_SYMBOL): New macro. | |
6766 | (completion_list_objc_symbol): Update. | |
6767 | (default_make_symbol_completion_list_break_on): Update. | |
6768 | * tracepoint.c (scope_info): Update. | |
6769 | * tui/tui-disasm.c (tui_find_disassembly_address): Update. | |
6770 | (tui_get_begin_asm_address): Update. | |
6771 | * valops.c (find_function_in_inferior): Update. | |
6772 | * value.c (value_static_field): Update. | |
6773 | (value_fn_field): Update. | |
6774 | ||
50e65b17 TT |
6775 | 2014-02-26 Tom Tromey <tromey@redhat.com> |
6776 | ||
6777 | * blockframe.c (find_pc_partial_function_gnu_ifunc): Use | |
6778 | bound minimal symbols. Move code that knows about minsym | |
6779 | table layout... | |
6780 | * minsyms.c (minimal_symbol_upper_bound): ... here. New | |
6781 | function. | |
6782 | * minsyms.h (minimal_symbol_upper_bound): Declare. | |
6783 | * objc-lang.c (find_objc_msgsend): Use bound minimal symbols, | |
6784 | minimal_symbol_upper_bound. | |
6785 | ||
1b588015 JB |
6786 | 2014-02-27 Joel Brobecker <brobecker@adacore.com> |
6787 | ||
6788 | * python/lib/gdb/printing.py (RegexpCollectionPrettyPrinter): | |
6789 | Use the type's name if its basic type does not have a tag. | |
6790 | ||
dbb9c2b1 JB |
6791 | 2014-02-27 Joel Brobecker <brobecker@adacore.com> |
6792 | ||
6793 | * dwarf2read.c (read_subrange_type): Add comment. | |
6794 | ||
55426c9d JB |
6795 | 2014-02-27 Joel Brobecker <brobecker@adacore.com> |
6796 | ||
6797 | * dwarf2read.c (update_enumeration_type_from_children): New | |
6798 | function, mostly extracted from process_structure_scope. | |
6799 | (read_enumeration_type): Call update_enumeration_type_from_children. | |
6800 | (process_enumeration_scope): Do not set THIS_TYPE's flag_unsigned | |
6801 | and flag_flag_enum fields. | |
6802 | ||
f2fce0ca PA |
6803 | 2014-02-26 Pedro Alves <palves@redhat.com> |
6804 | ||
6805 | * bsd-uthread.c (bsd_uthread_xfer_partial): Delete function. | |
6806 | (bsd_uthread_target): Don't install bsd_uthread_xfer_partial as | |
6807 | to_xfer_partial method. | |
6808 | ||
7a44e40e PA |
6809 | 2014-02-26 Pedro Alves <palves@redhat.com> |
6810 | ||
6811 | * target.c (complete_target_initialization): Don't install | |
6812 | default_xfer_partial as to_xfer_partial hook. | |
6813 | (nomemory): Delete. | |
6814 | (update_current_target): Don't INHERIT nor de_fault | |
6815 | deprecated_xfer_memory. Delete de_fault macro. | |
6816 | (default_xfer_partial, deprecated_debug_xfer_memory): Delete. | |
6817 | (setup_target_debug): Don't install a deprecated_xfer_memory hook. | |
6818 | * target.h (struct target_ops) <deprecated_xfer_memory>: Delete | |
6819 | field. | |
6820 | ||
bd265cd0 PA |
6821 | 2014-02-26 Pedro Alves <palves@redhat.com> |
6822 | ||
6823 | * go32-nat.c (my_write_child): New function. | |
6824 | (go32_xfer_memory): Rewrite as to_xfer_partial helper. | |
6825 | (go32_xfer_partial): New function. | |
6826 | (init_go32_ops): Don't install a deprecated_xfer_memory hook. | |
6827 | Instead install a to_xfer_partial hook. | |
6828 | ||
9d46c4e5 PA |
6829 | 2014-02-26 Pedro Alves <palves@redhat.com> |
6830 | ||
6831 | * nto-procfs.c (procfs_xfer_memory): Adjust interface as a | |
6832 | to_xfer_partial helper. Rewrite. | |
6833 | (procfs_xfer_partial): New function. | |
6834 | (init_procfs_ops): Don't install a deprecated_xfer_memory hook. | |
6835 | Install a to_xfer_partial hook. | |
6836 | ||
a1583b1f PA |
6837 | 2014-02-26 Pedro Alves <palves@redhat.com> |
6838 | ||
6839 | * remote-m32r-sdi.c (send_data): Constify 'buf' parameter. | |
6840 | (m32r_xfer_memory): Adjust as a to_xfer_partial helper. | |
6841 | (m32r_xfer_partial): New function. | |
6842 | (init_m32r_ops): Don't install a deprecated_xfer_memory hook. | |
6843 | Install a to_xfer_partial hook. | |
6844 | ||
6df1b29f PA |
6845 | 2014-02-26 Pedro Alves <palves@redhat.com> |
6846 | ||
6847 | * remote-mips.c (mips_xfer_memory): Adjust as to_xfer_partial | |
6848 | helper. | |
6849 | (mips_xfer_partial): New function. | |
6850 | (_initialize_remote_mips): Don't install a deprecated_xfer_memory | |
6851 | hook. Install a to_xfer_partial hook. | |
6852 | ||
dc53a7ad JB |
6853 | 2014-02-26 Joel Brobecker <brobecker@adacore.com> |
6854 | ||
6855 | * gdbtypes.h (create_array_type_with_stride): Add declaration. | |
6856 | * gdbtypes.c (create_array_type_with_stride): New function, | |
6857 | renaming create_array_type, but with an added parameter | |
6858 | called "bit_stride". | |
6859 | (create_array_type): Re-implement using | |
6860 | create_array_type_with_stride. | |
6861 | * dwarf2read.c (read_array_type): Add support for DW_AT_byte_stride | |
6862 | and DW_AT_bit_stride attributes. | |
6863 | ||
12ab52e9 PA |
6864 | 2014-02-26 Pedro Alves <palves@redhat.com> |
6865 | ||
6866 | * breakpoint.c (bpstat_check_breakpoint_conditions): Handle | |
6867 | task-specific breakpoints. | |
6868 | ||
d16461ae PA |
6869 | 2014-02-25 Pedro Alves <palves@redhat.com> |
6870 | ||
6871 | * ia64-linux-nat.c (ia64_linux_xfer_partial): Reimplement | |
6872 | handling of object == TARGET_OBJECT_UNWIND_TABLE. | |
6873 | ||
a8b16220 SS |
6874 | 2014-02-25 Stan Shebs <stan@codesourcery.com> |
6875 | ||
6876 | * defs.h: Annotate comments for Doxygen. | |
6877 | ||
b9e795ee TT |
6878 | 2014-02-25 Tom Tromey <tromey@redhat.com> |
6879 | ||
6880 | * target.h (target_ignore): Don't declare. | |
6881 | * target.c (target_ignore): Remove. | |
6882 | ||
849c862e JK |
6883 | 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com> |
6884 | ||
6885 | PR gdb/16626 | |
6886 | * auto-load.c (auto_load_objfile_script_1): Change filename to | |
6887 | debugfile. | |
6888 | ||
475109d8 JB |
6889 | 2014-02-25 Joel Brobecker <brobecker@adacore.com> |
6890 | ||
6891 | * ia64-linux-nat.c (ia64_linux_xfer_partial): Add function | |
6892 | documentation. Adjust prototype to match the target_ops | |
6893 | to_xfer_partial method. Adjust implementation accordingly. | |
6894 | ||
e186c3bd HZ |
6895 | 2014-02-25 Hui Zhu <hui@codesourcery.com> |
6896 | ||
6897 | * target.h (target_ops): Fix TARGET_DEFAULT_RETURN of | |
6898 | to_traceframe_info. | |
6899 | ||
6d451942 KB |
6900 | 2014-02-25 Kevin Buettner <kevinb@redhat.com> |
6901 | ||
041ab8b4 | 6902 | * rl78-tdep.c (RL78_BANK0_RP0_PTR_REGNUM, RL78_BANK0_RP1_PTR_REGNUM) |
6d451942 KB |
6903 | (RL78_BANK0_RP2_PTR_REGNUM, RL78_BANK0_RP3_PTR_REGNUM) |
6904 | (RL78_BANK1_RP0_PTR_REGNUM, RL78_BANK1_RP1_PTR_REGNUM) | |
6905 | (RL78_BANK1_RP2_PTR_REGNUM, RL78_BANK1_RP3_PTR_REGNUM) | |
6906 | (RL78_BANK2_RP0_PTR_REGNUM, RL78_BANK2_RP1_PTR_REGNUM) | |
6907 | (RL78_BANK2_RP2_PTR_REGNUM, RL78_BANK2_RP3_PTR_REGNUM) | |
6908 | (RL78_BANK3_RP0_PTR_REGNUM, RL78_BANK3_RP1_PTR_REGNUM) | |
6909 | (RL78_BANK3_RP2_PTR_REGNUM, RL78_BANK3_RP3_PTR_REGNUM): | |
6910 | New constants. | |
6911 | (rl78_register_type): Use a data pointer type for SP and | |
6912 | new pseudo registers mentioned above. Use a 16 bit integer | |
6913 | type for all other register pairs. | |
6914 | (rl78_register_name, rl78_g10_register_name): Update for | |
6915 | new pseudo registers. | |
6916 | (rl78_pseudo_register_read): Likewise. | |
6917 | (rl78_pseudo_register_write): Likewise. | |
6918 | (rl78_dwarf_reg_to_regnum): Return register numbers representing | |
6919 | to the newly added pseudo registers. | |
6920 | ||
eddf0bae DE |
6921 | 2014-02-24 Doug Evans <dje@google.com> |
6922 | ||
6923 | * value.c (record_latest_value): Fix comment. | |
6924 | * printcmd.c (print_command_1): Remove code to handle -1 return from | |
6925 | record_latest_value. | |
6926 | ||
e96027e0 PA |
6927 | 2014-02-24 Pedro Alves <palves@redhat.com> |
6928 | ||
6929 | * procfs.c (procfs_target): Don't install procfs_xfer_memory as | |
6930 | deprecated_xfer_memory hook. | |
6931 | (procfs_xfer_partial): Call procfs_xfer_memory instead | |
6932 | of the deprecated_xfer_memory target hook. | |
6933 | (procfs_xfer_memory): Adjust interface as a to_xfer_partial | |
6934 | helper. | |
6935 | ||
0837c976 YZ |
6936 | 2014-02-24 Yuanhui Zhang <asmwarrior@gmail.com> |
6937 | ||
6938 | * windows-nat.c (windows_xfer_shared_libraries): Return | |
6939 | TARGET_XFER_EOF if LEN is zero to fix an assert failure when | |
6940 | requested object is TARGET_OBJECT_LIBRARIES. | |
6941 | ||
bc113b4e YQ |
6942 | 2014-02-24 Yao Qi <yao@codesourcery.com> |
6943 | ||
6944 | * target.h (enum target_xfer_status) | |
6945 | <TARGET_XFER_E_UNAVAILABLE>: Rename it to ... | |
6946 | <TARGET_XFER_UNAVAILABLE>: ... it with setting value 2 | |
6947 | explicitly. New. | |
6948 | * corefile.c (memory_error_message): User updated. | |
6949 | * exec.c (section_table_read_available_memory): Likewise. | |
6950 | * record-btrace.c (record_btrace_xfer_partial): Likewise. | |
6951 | * target.c (target_xfer_status_to_string): Likewise. | |
6952 | (raw_memory_xfer_partial): Likewise. | |
6953 | (memory_xfer_partial_1, target_xfer_partial): Likewise. | |
6954 | * valops.c (read_value_memory): Likewise. | |
6955 | * exec.h: Update comments. | |
6956 | ||
01cb8804 YQ |
6957 | 2014-02-24 Yao Qi <yao@codesourcery.com> |
6958 | ||
6959 | * target.c (target_xfer_status_to_string): Rename argument err | |
6960 | to status. | |
6961 | * target.h (target_xfer_status_to_string): Update declaration. | |
6962 | Replace target_xfer_error_to_string with | |
6963 | target_xfer_status_to_string in comment. | |
6964 | ||
93063aa6 YQ |
6965 | 2014-02-24 Yao Qi <yao@codesourcery.com> |
6966 | ||
6967 | * mips-linux-nat.c (super_close): Update its type. | |
6968 | (mips_linux_close): Pass 'self' to super_close. | |
6969 | ||
5c328c05 YQ |
6970 | 2014-02-24 Yao Qi <yao@codesourcery.com> |
6971 | ||
6972 | * target.h (TARGET_XFER_STATUS_ERROR_P): Remove. | |
6973 | * corefile.c (read_memory): Adjusted. | |
6974 | * target.c (target_write_with_progress): Adjusted. | |
6975 | ||
f73023dd YQ |
6976 | 2014-02-23 Yao Qi <yao@codesourcery.com> |
6977 | ||
6978 | Revert two patches: | |
6979 | ||
6980 | 2013-10-25 Yao Qi <yao@codesourcery.com> | |
6981 | ||
6982 | * remote.c (remote_traceframe_info): Return early if | |
6983 | traceframe is not selected. | |
6984 | ||
6985 | 2013-07-19 Yao Qi <yao@codesourcery.com> | |
6986 | ||
6987 | * target.c (update_current_target): Change the default action | |
6988 | of 'to_traceframe_info' from tcomplain to return_zero. | |
6989 | * target.h (struct target_ops) <to_traceframe_info>: Add more | |
6990 | comments. | |
6991 | ||
5a2eb0ef YQ |
6992 | 2014-02-23 Yao Qi <yao@codesourcery.com> |
6993 | ||
6994 | * valops.c (read_value_memory): Rewrite it. Call | |
6995 | target_xfer_partial in a loop. | |
6996 | * exec.h (section_table_available_memory): Remove declaration. | |
6997 | Move comments to ... | |
6998 | * exec.c (section_table_available_memory): ... here. Make it | |
6999 | static. | |
7000 | ||
1ee79381 YQ |
7001 | 2014-02-23 Yao Qi <yao@codesourcery.com> |
7002 | ||
7003 | * exec.c (section_table_read_available_memory): New function. | |
7004 | * exec.h (section_table_read_available_memory): Declare. | |
7005 | * ctf.c (ctf_xfer_partial): Call | |
7006 | section_table_read_available_memory. | |
7007 | * tracefile-tfile.c (tfile_xfer_partial): Likewise. | |
7008 | ||
1ca49d37 YQ |
7009 | 2014-02-23 Yao Qi <yao@codesourcery.com> |
7010 | ||
7011 | * ctf.c (ctf_xfer_partial): Move code to ... | |
7012 | * exec.c (exec_read_partial_read_only): ... it. New function. | |
7013 | * tracefile-tfile.c (tfile_xfer_partial): Likewise. | |
7014 | * tracefile.c: Include "exec.h". | |
7015 | * exec.h (exec_read_partial_read_only): Declare. | |
7016 | ||
a283690e YQ |
7017 | 2014-02-23 Yao Qi <yao@codesourcery.com> |
7018 | ||
7019 | * tracefile-tfile.c (tfile_has_all_memory): Remove. | |
7020 | (tfile_has_memory): Remove. | |
7021 | (init_tfile_ops): Don't set fields to_has_all_memory and | |
7022 | to_has_memory of tfile_ops. | |
7023 | * tracefile.c (tracefile_has_all_memory): New function. | |
7024 | (tracefile_has_memory): New function. | |
7025 | (init_tracefile_ops): Initialize fields to_has_all_memory and | |
7026 | to_has_memory of 'ops'. | |
7027 | ||
12e03cd0 YQ |
7028 | 2014-02-23 Yao Qi <yao@codesourcery.com> |
7029 | ||
7030 | * ctf.c (ctf_has_stack, ctf_has_registers): Remove. | |
7031 | (ctf_thread_alive, ctf_get_trace_status): Remove. | |
7032 | (init_ctf_ops): Don't set some fields of ctf_ops. Call | |
7033 | init_tracefile_ops. | |
7034 | * tracefile-tfile.c (tfile_get_trace_status): Remove. | |
7035 | (tfile_has_stack, tfile_has_registers): Remove. | |
7036 | (tfile_thread_alive): Remove. | |
7037 | (init_tfile_ops): Don't set some fields of tfile_ops. Call | |
7038 | init_tracefile_ops. | |
7039 | * tracefile.c (tracefile_has_stack): New function. | |
7040 | (tracefile_has_registers): New function. | |
7041 | (tracefile_thread_alive): New function. | |
7042 | (tracefile_get_trace_status): New function. | |
7043 | (init_tracefile_ops): New function. | |
7044 | * tracefile.h (init_tracefile_ops): Declare. | |
7045 | ||
11395323 YQ |
7046 | 2014-02-23 Yao Qi <yao@codesourcery.com> |
7047 | ||
7048 | * tracepoint.c (TFILE_PID): Move it to tracefile-tfile.c. | |
7049 | (O_LARGEFILE): Likewise. | |
7050 | (tfile_ops): Likewise. | |
7051 | (TRACE_HEADER_SIZE): Likewise. | |
7052 | (trace_fd, trace_frames_offset, cur_offset): Likewise. | |
7053 | (cur_data_size): Likewise. | |
7054 | (tfile_read, tfile_open, tfile_interp_line): Likewise. | |
7055 | (tfile_close, tfile_files_info): Likewise. | |
7056 | (tfile_get_trace_status): Likewise. | |
7057 | (tfile_get_tracepoint_status): Likewise. | |
7058 | (tfile_get_traceframe_address): Likewise. | |
7059 | (tfile_trace_find, match_blocktype): Likewise. | |
7060 | (traceframe_walk_blocks, traceframe_find_block_type): Likewise. | |
7061 | (tfile_fetch_registers, tfile_xfer_partial): Likewise. | |
7062 | (tfile_get_trace_state_variable_value): Likewise. | |
7063 | (tfile_has_all_memory, tfile_has_memory): Likewise. | |
7064 | (tfile_has_stack, tfile_has_registers): Likewise. | |
7065 | (tfile_thread_alive, build_traceframe_info): Likewise. | |
7066 | (tfile_traceframe_info, init_tfile_ops): Likewise. | |
7067 | (_initialize_tracepoint): Don't call init_tfile_ops | |
7068 | and add_target_with_completer. | |
7069 | * tracefile-tfile.c: Include regcache.h, inferior.h, gdbthread.h, | |
7070 | exec.h, completer.h and filenames.h. | |
7071 | (_initialize_tracefile_tfile): New function. | |
7072 | ||
7951c4eb YQ |
7073 | 2014-02-23 Yao Qi <yao@codesourcery.com> |
7074 | ||
7075 | * Makefile.in (REMOTE_OBS): Append tracefile.o and | |
7076 | tracefile-tfile.o. | |
7077 | (HFILES_NO_SRCDIR): Add tracefile.h. | |
7078 | * ctf.c: Include "tracefile.h". | |
7079 | * tracefile.h: New file. | |
7080 | * tracefile.c: New file | |
7081 | * tracefile-tfile.c: New file. | |
7082 | * tracepoint.c: Include "tracefile.h". | |
7083 | (free_uploaded_tps, free_uploaded_tsvs): Remove declarations. | |
7084 | (stop_reason_names): Add const. | |
7085 | (trace_file_writer_xfree): Move it to tracefile.c. | |
7086 | (trace_save, trace_save_command, trace_save_tfile): Likewise. | |
7087 | (trace_save_ctf): Likewise. | |
7088 | (struct tfile_trace_file_writer): Move it to tracefile-tfile.c. | |
7089 | (tfile_target_save, tfile_dtor, tfile_start): Likewise. | |
7090 | (tfile_write_header, tfile_write_regblock_type): Likewise. | |
7091 | (tfile_write_status, tfile_write_uploaded_tsv): Likewise. | |
7092 | (tfile_write_uploaded_tp, tfile_write_definition_end): Likewise. | |
7093 | (tfile_write_raw_data, tfile_end): Likewise. | |
7094 | (tfile_trace_file_writer_new): Likewise. | |
7095 | (free_uploaded_tp): Make it extern. | |
7096 | (free_uploaded_tsv): Make it extern. | |
7097 | (_initialize_tracepoint): Move code to register command 'tsave' | |
7098 | to tracefile.c. | |
7099 | * tracepoint.h (stop_reason_names): Declare. | |
7100 | (struct trace_frame_write_ops): Move it to tracefile.h. | |
7101 | (struct trace_file_write_ops): Likewise. | |
7102 | (struct trace_file_writer): Likewise. | |
7103 | (free_uploaded_tsvs, free_uploaded_tps): Declare. | |
7104 | ||
184cd072 JK |
7105 | 2014-02-21 Jan Kratochvil <jan.kratochvil@redhat.com> |
7106 | ||
7107 | PR gdb/16594 | |
7108 | * common/linux-osdata.c (linux_common_core_of_thread): Find the end of | |
7109 | process name. | |
7110 | (get_cores_used_by_process): New parameter num_cores, use it. | |
7111 | (linux_xfer_osdata_processes): Pass num_cores to it. | |
7112 | * linux-tdep.c (linux_info_proc, linux_fill_prpsinfo): Find the end of | |
7113 | process name. | |
7114 | ||
c63528fc AK |
7115 | 2014-02-21 Andreas Arnez <arnez@vnet.linux.ibm.com> |
7116 | ||
7117 | * target.c (memory_xfer_partial): Fix length arg in call to | |
7118 | breakpoint_xfer_memory. | |
7119 | ||
d7b30f67 SDJ |
7120 | 2014-02-20 Sergio Durigan Junior <sergiodj@redhat.com> |
7121 | ||
7122 | PR tdep/16397 | |
7123 | * i386-tdep.c (i386_stap_parse_special_token_triplet): Check if a | |
7124 | number comes after the + or - signs. Adjust length of register | |
7125 | name to be extracted. | |
7126 | ||
8838afaf TT |
7127 | 2014-02-20 Tom Tromey <tromey@redhat.com> |
7128 | ||
7129 | * varobj.h (c_varobj_ops, cplus_varobj_ops, java_varobj_ops) | |
7130 | (ada_varobj_ops): Mark "extern". | |
7131 | ||
05227d14 TT |
7132 | 2014-02-20 Tom Tromey <tromey@redhat.com> |
7133 | ||
7134 | * dbxread.c (read_dbx_symtab): Remove last_o_file_start. | |
7135 | ||
1254eefc DE |
7136 | 2014-02-20 Doug Evans <xdje42@gmail.com> |
7137 | ||
7138 | * guile/scm-gsmob.c (gdbscm_init_eqable_gsmob): New arg containing_scm. | |
7139 | All callers updated. | |
7140 | (gdbscm_fill_eqable_gsmob_ptr_slot): Delete arg containing_scm. | |
7141 | All callers updated. | |
7142 | * guile/guile-internal.h (gdbscm_init_eqable_gsmob): Update. | |
7143 | (gdbscm_fill_eqable_gsmob_ptr_slot): Update. | |
7144 | ||
adde2bff DE |
7145 | 2014-02-20 lin zuojian <manjian2006@gmail.com> |
7146 | Joel Brobecker <brobecker@adacore.com> | |
7147 | Doug Evans <xdje42@gmail.com> | |
7148 | ||
7149 | PR symtab/16581 | |
7150 | * dwarf2read.c (struct die_info): New member in_process. | |
7151 | (reset_die_in_process): New function. | |
7152 | (process_die): Set it at the start, reset when returning. | |
7153 | (inherit_abstract_dies): Only call process_die if origin_child_die | |
7154 | not already being processed. | |
7155 | ||
3be75f87 JB |
7156 | 2014-02-20 Joel Brobecker <brobecker@adacore.com> |
7157 | ||
7158 | * windows-nat.c (handle_unload_dll): Add function documentation. | |
7159 | (do_initial_windows_stuff): Add comment explaining why we wait | |
7160 | until after inferior initialization has finished before | |
7161 | processing all DLLs. | |
7162 | ||
47f7ffdb JB |
7163 | 2014-02-20 Joel Brobecker <brobecker@adacore.com> |
7164 | ||
7165 | * windows-nat.c (get_module_name): Delete. | |
7166 | (windows_get_exec_module_filename): New function, mostly | |
7167 | inspired from get_module_name. | |
7168 | (windows_pid_to_exec_file): Replace call to get_module_name | |
7169 | by call to windows_get_exec_module_filename. | |
7170 | ||
1cd9feab JB |
7171 | 2014-02-20 Joel Brobecker <brobecker@adacore.com> |
7172 | ||
7173 | * windows-nat.c (handle_load_dll): Rewrite this function's | |
7174 | introductory comment. Remove code using get_module_name | |
7175 | to get the DLL's name. | |
7176 | ||
ea39ad35 JB |
7177 | 2014-02-20 Joel Brobecker <brobecker@adacore.com> |
7178 | ||
7179 | * windows-nat.c (get_windows_debug_event): Ignore | |
7180 | LOAD_DLL_DEBUG_EVENT and UNLOAD_DLL_DEBUG_EVENT | |
7181 | if windows_initialization_done == 0. | |
7182 | (windows_add_all_dlls): Renames windows_ensure_ntdll_loaded. | |
7183 | Adjust implementation to always load all DLLs. | |
7184 | (do_initial_windows_stuff): Replace call to | |
7185 | windows_ensure_ntdll_loaded by call to windows_add_all_dlls. | |
7186 | ||
95060284 JB |
7187 | 2014-02-20 Joel Brobecker <brobecker@adacore.com> |
7188 | ||
7189 | * windows-nat.c (_initialize_windows_nat): Deprecate the | |
7190 | "dll-symbols" command. Turn the "add-shared-symbol-files" | |
7191 | and "assf" aliases into commands, and deprecate them as well. | |
7192 | * NEWS: Add entry explaining that "dll-symbols" and its two | |
7193 | aliases are now deprecated. | |
7194 | ||
8d4fdb12 JB |
7195 | 2014-02-20 Joel Brobecker <brobecker@adacore.com> |
7196 | ||
7197 | * dec-thread.c (dec_thread_get_ada_task_ptid): Avoid unescaped | |
7198 | new-line in debug string. Remove trailing spaces. | |
7199 | ||
1b281443 SS |
7200 | 2014-02-19 Stan Shebs <stan@codesourcery.com> |
7201 | ||
7202 | * darwin-nat.c (darwin_xfer_partial): Fix return type. | |
7203 | ||
f7bd0f78 SC |
7204 | 2014-02-19 Siva Chandra Reddy <sivachandra@google.com> |
7205 | ||
7206 | * NEWS: Add entry for the new feature | |
7207 | * python/py-value.c (valpy_binop): Call value_x_binop for struct | |
7208 | and class values. | |
7209 | ||
399ebc3d SS |
7210 | 2014-02-19 Stan Shebs <stan@codesourcery.com> |
7211 | ||
7212 | * MAINTAINERS: List Yao Qi as nios2 maintainer. | |
7213 | ||
c658158d PA |
7214 | 2014-02-19 Pedro Alves <palves@redhat.com> |
7215 | ||
7216 | * common/ptid.h (struct ptid): Mention that process_stratum | |
7217 | targets should prefer ptid.lwp. | |
7218 | ||
ba348170 PA |
7219 | 2014-02-19 Pedro Alves <palves@redhat.com> |
7220 | ||
7221 | * remote.c (remote_thread_alive, write_ptid, read_ptid) | |
7222 | (read_ptid, remote_newthread_step, remote_threads_extra_info) | |
7223 | (remote_get_ada_task_ptid, append_resumption, remote_stop_ns) | |
7224 | (threadalive_test, remote_pid_to_str): Use the ptid.lwp field to | |
7225 | store remote thread ids rather than ptid.tid. | |
7226 | (_initialize_remote): Adjust. | |
7227 | ||
ac01945b TT |
7228 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
7229 | ||
7230 | * target.c (target_get_unwinder): Rewrite. | |
7231 | (target_get_tailcall_unwinder): Rewrite. | |
7232 | * record-btrace.c (record_btrace_to_get_unwinder): New function. | |
7233 | (record_btrace_to_get_tailcall_unwinder): New function. | |
7234 | (init_record_btrace_ops): Update. | |
7235 | * target.h (struct target_ops) <to_get_unwinder, | |
7236 | to_get_tailcall_unwinder>: Now function pointers. Use | |
7237 | TARGET_DEFAULT_RETURN. | |
7238 | ||
8476dc92 TT |
7239 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
7240 | ||
7241 | * nto-procfs.c (procfs_remove_hw_breakpoint): Add 'self' | |
7242 | argument. | |
7243 | (init_procfs_ops): Correctly set to_remove_hw_breakpoint. | |
7244 | ||
c0eca49f TT |
7245 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
7246 | ||
7247 | * record-btrace.c (record_btrace_decr_pc_after_break): Delegate | |
7248 | directly. | |
7249 | * target-delegates.c: Rebuild. | |
7250 | * target.h (struct target_ops) <to_decr_pc_after_break>: Use | |
7251 | TARGET_DEFAULT_FUNC. | |
7252 | * target.c (default_target_decr_pc_after_break): Rename from | |
7253 | forward_target_decr_pc_after_break. Simplify. | |
7254 | (target_decr_pc_after_break): Rely on delegation. | |
7255 | ||
596b6b39 TT |
7256 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
7257 | ||
7258 | * target.c (update_current_target): Do not INHERIT to_doc or | |
7259 | to_magic. Do not de_fault to_open or to_close. | |
7260 | ||
b427c1bc TT |
7261 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
7262 | ||
7263 | * gcore.h (objfile_find_memory_regions): Declare. | |
7264 | * gcore.c (objfile_find_memory_regions): No longer static. Add | |
7265 | "self" argument. | |
7266 | (_initialize_gcore): Don't call exec_set_find_memory_regions. | |
7267 | * exec.c: Include gcore.h. | |
7268 | (exec_set_find_memory_regions): Remove. | |
7269 | (exec_find_memory_regions): Remove. | |
7270 | (exec_do_find_memory_regions): Remove. | |
7271 | (init_exec_ops): Update. | |
7272 | * defs.h (exec_set_find_memory_regions): Remove. | |
7273 | ||
9b144037 TT |
7274 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
7275 | ||
7276 | * target-delegates.c: Rebuild. | |
7277 | * target.h (struct target_ops) <to_extra_thread_info, | |
7278 | to_thread_name, to_pid_to_exec_file, to_get_section_table, | |
7279 | to_memory_map, to_read_description, to_traceframe_info>: Use NULL, | |
7280 | not 0, in TARGET_DEFAULT_RETURN. | |
7281 | ||
555bbdeb TT |
7282 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
7283 | ||
7284 | * target.c (complete_target_initialization): Remove casts. Use | |
7285 | return_zero_has_execution. | |
7286 | (return_zero): Add "ignore" argument. | |
7287 | (return_zero_has_execution): New function. | |
7288 | (init_dummy_target): Remove casts. Use | |
7289 | return_zero_has_execution. | |
7290 | ||
be4ddd36 TT |
7291 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
7292 | ||
7293 | * target.c (update_current_target): Update comments. Do not | |
7294 | INHERIT to_stratum. | |
7295 | ||
2117c711 TT |
7296 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
7297 | ||
7298 | * arm-linux-nat.c (arm_linux_read_description): Delegate when | |
7299 | needed. | |
7300 | * corelow.c (core_read_description): Delegate when needed. | |
7301 | * remote.c (remote_read_description): Delegate when needed. | |
7302 | * target-delegates.c: Rebuild. | |
7303 | * target.c (target_read_description): Rewrite. | |
7304 | * target.h (struct target_ops) <to_read_description>: Update | |
7305 | comment. Use TARGET_DEFAULT_RETURN. | |
7306 | ||
e88ef65c TT |
7307 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
7308 | ||
7309 | * target-delegates.c: Rebuild. | |
7310 | * target.c (update_current_target): Don't inherit or default | |
7311 | to_can_run. | |
7312 | (find_default_run_target): Check against delegate_can_run. | |
7313 | * target.h (struct target_ops) <to_can_run>: Use | |
7314 | TARGET_DEFAULT_RETURN. | |
7315 | ||
86a0854a TT |
7316 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
7317 | ||
7318 | * target-delegates.c: Rebuild. | |
7319 | * target.c (target_disconnect): Unconditionally delegate. | |
7320 | * target.h (struct target_ops) <to_disconnect>: Use | |
7321 | TARGET_DEFAULT_NORETURN. | |
7322 | ||
ee97f592 TT |
7323 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
7324 | ||
7325 | * record.c (record_stop): Unconditionally delegate. | |
7326 | * target-delegates.c: Rebuild. | |
7327 | * target.c (target_stop_recording): Unconditionally delegate. | |
7328 | * target.h (struct target_ops) <to_stop_recording>: Use | |
7329 | TARGET_DEFAULT_IGNORE. | |
7330 | ||
6dc7fcf4 TT |
7331 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
7332 | ||
7333 | * target-delegates.c: Rebuild. | |
7334 | * target.c (target_enable_btrace): Unconditionally delegate. | |
7335 | * target.h (struct target_ops) <to_enable_btrace>: Use | |
7336 | TARGET_DEFAULT_NORETURN. | |
7337 | ||
eb5b20d4 TT |
7338 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
7339 | ||
7340 | * target-delegates.c: Rebuild. | |
7341 | * target.c (target_read_btrace): Unconditionally delegate. | |
7342 | * target.h (struct target_ops) <to_read_btrace>: Use | |
7343 | TARGET_DEFAULT_NORETURN. | |
7344 | ||
9ace480d TT |
7345 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
7346 | ||
7347 | * target-delegates.c: Rebuild. | |
7348 | * target.c (target_teardown_btrace): Unconditionally delegate. | |
7349 | * target.h (struct target_ops) <to_teardown_btrace>: Use | |
7350 | TARGET_DEFAULT_NORETURN. | |
7351 | ||
8dc292d3 TT |
7352 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
7353 | ||
7354 | * target-delegates.c: Rebuild. | |
7355 | * target.c (target_disable_btrace): Unconditionally delegate. | |
7356 | * target.h (struct target_ops) <to_disable_btrace>: Use | |
7357 | TARGET_DEFAULT_NORETURN. | |
7358 | ||
58a5184e TT |
7359 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
7360 | ||
7361 | * target-delegates.c: Rebuild. | |
7362 | * target.c (default_search_memory): New function. | |
7363 | (simple_search_memory): Update comment. | |
7364 | (target_search_memory): Unconditionally delegate. | |
7365 | * target.h (struct target_ops) <to_search_memory>: Use | |
7366 | TARGET_DEFAULT_FUNC. | |
7367 | ||
8de71aab TT |
7368 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
7369 | ||
7370 | * auxv.c (default_auxv_parse): No longer static. | |
7371 | (target_auxv_parse): Unconditionally delegate. | |
7372 | * auxv.h (default_auxv_parse): Declare. | |
7373 | * target-delegates.c: Rebuild. | |
7374 | * target.c: Include auxv.h. | |
7375 | * target.h (struct target_ops) <to_auxv_parse>: Use | |
7376 | TARGET_DEFAULT_FUNC. | |
7377 | ||
6b2c5a57 TT |
7378 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
7379 | ||
7380 | * target-delegates.c: Rebuild. | |
7381 | * target.c (target_memory_map): Unconditionally delegate. | |
7382 | * target.h (struct target_ops) <to_memory_map>: Use | |
7383 | TARGET_DEFAULT_RETURN. | |
7384 | ||
cbffc065 TT |
7385 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
7386 | ||
7387 | * target-delegates.c: Rebuild. | |
7388 | * target.c (target_thread_alive): Unconditionally delegate. | |
7389 | * target.h (struct target_ops) <to_thread_alive>: Use | |
7390 | TARGET_DEFAULT_RETURN. | |
7391 | ||
f09e2107 TT |
7392 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
7393 | ||
7394 | * target-delegates.c: Rebuild. | |
7395 | * target.c (target_save_record): Unconditionally delegate. | |
7396 | * target.h (struct target_ops) <to_save_record>: Use | |
7397 | TARGET_DEFAULT_NORETURN. | |
7398 | ||
07366925 TT |
7399 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
7400 | ||
7401 | * target-delegates.c: Rebuild. | |
7402 | * target.c (target_delete_record): Unconditionally delegate. | |
7403 | * target.h (struct target_ops) <to_delete_record>: Use | |
7404 | TARGET_DEFAULT_NORETURN. | |
7405 | ||
dd2e9d25 TT |
7406 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
7407 | ||
7408 | * target-delegates.c: Rebuild. | |
7409 | * target.c (target_record_is_replaying): Unconditionally | |
7410 | delegate. | |
7411 | * target.h (struct target_ops) <to_record_is_replaying>: Use | |
7412 | TARGET_DEFAULT_RETURN. | |
7413 | ||
671e76cc TT |
7414 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
7415 | ||
7416 | * target-delegates.c: Rebuild. | |
7417 | * target.c (target_goto_record_begin): Unconditionally delegate. | |
7418 | * target.h (struct target_ops) <to_goto_record_begin>: Use | |
7419 | TARGET_DEFAULT_NORETURN. | |
7420 | ||
e9179bb3 TT |
7421 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
7422 | ||
7423 | * target-delegates.c: Rebuild. | |
7424 | * target.c (target_goto_record_end): Unconditionally delegate. | |
7425 | * target.h (struct target_ops) <to_goto_record_end>: Use | |
7426 | TARGET_DEFAULT_NORETURN. | |
7427 | ||
05969c84 TT |
7428 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
7429 | ||
7430 | * target-delegates.c: Rebuild. | |
7431 | * target.c (target_goto_record): Unconditionally delegate. | |
7432 | * target.h (struct target_ops) <to_goto_record>: Use | |
7433 | TARGET_DEFAULT_NORETURN. | |
7434 | ||
3679abfa TT |
7435 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
7436 | ||
7437 | * target-delegates.c: Rebuild. | |
7438 | * target.c (target_insn_history): Unconditionally delegate. | |
7439 | * target.h (struct target_ops) <to_insn_history>: Use | |
7440 | TARGET_DEFAULT_NORETURN. | |
7441 | ||
8444ab58 TT |
7442 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
7443 | ||
7444 | * target-delegates.c: Rebuild. | |
7445 | * target.c (target_insn_history_from): Unconditionally delegate. | |
7446 | * target.h (struct target_ops) <to_insn_history_from>: Use | |
7447 | TARGET_DEFAULT_NORETURN. | |
7448 | ||
c29302cc TT |
7449 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
7450 | ||
7451 | * target-delegates.c: Rebuild. | |
7452 | * target.c (target_insn_history_range): Unconditionally delegate. | |
7453 | * target.h (struct target_ops) <to_insn_history_range>: Use | |
7454 | TARGET_DEFAULT_NORETURN. | |
7455 | ||
170049d4 TT |
7456 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
7457 | ||
7458 | * target-delegates.c: Rebuild. | |
7459 | * target.c (target_call_history): Unconditionally delegate. | |
7460 | * target.h (struct target_ops) <to_call_history>: Use | |
7461 | TARGET_DEFAULT_NORETURN. | |
7462 | ||
16fc27d6 TT |
7463 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
7464 | ||
7465 | * target-delegates.c: Rebuild. | |
7466 | * target.c (target_call_history_from): Unconditionally delegate. | |
7467 | * target.h (struct target_ops) <to_call_history_from>: Use | |
7468 | TARGET_DEFAULT_NORETURN. | |
7469 | ||
115d9817 TT |
7470 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
7471 | ||
7472 | * target-delegates.c: Rebuild. | |
7473 | * target.c (target_call_history_range): Unconditionally delegate. | |
7474 | * target.h (struct target_ops) <to_call_history_range>: Use | |
7475 | TARGET_DEFAULT_NORETURN. | |
7476 | ||
eb276a6b TT |
7477 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
7478 | ||
7479 | * target-delegates.c: Rebuild. | |
7480 | * target.c (target_verify_memory): Unconditionally delegate. | |
7481 | * target.h (struct target_ops) <to_verify_memory>: Use | |
7482 | TARGET_DEFAULT_NORETURN. | |
7483 | ||
9e538d0d TT |
7484 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
7485 | ||
7486 | * target-delegates.c: Rebuild. | |
7487 | * target.c (target_core_of_thread): Unconditionally delegate. | |
7488 | * target.h (struct target_ops) <to_core_of_thread>: Use | |
7489 | TARGET_DEFAULT_RETURN. | |
7490 | ||
f6fb2925 TT |
7491 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
7492 | ||
7493 | * target-delegates.c: Rebuild. | |
7494 | * target.c (target_flash_done): Unconditionally delegate. | |
7495 | * target.h (struct target_ops) <to_flash_done>: Use | |
7496 | TARGET_DEFAULT_NORETURN. | |
7497 | ||
e8a6c6ac TT |
7498 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
7499 | ||
7500 | * target-delegates.c: Rebuild. | |
7501 | * target.c (target_flash_erase): Unconditionally delegate. | |
7502 | * target.h (struct target_ops) <to_flash_erase>: Use | |
7503 | TARGET_DEFAULT_NORETURN. | |
7504 | ||
7e35c012 TT |
7505 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
7506 | ||
7507 | * target-delegates.c: Rebuild. | |
7508 | * target.c (target_get_section_table): Unconditionally delegate. | |
7509 | * target.h (struct target_ops) <to_get_section_table>: Use | |
7510 | TARGET_DEFAULT_RETURN. | |
7511 | ||
770234d3 TT |
7512 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
7513 | ||
7514 | * target-delegates.c: Rebuild. | |
7515 | * target.c (target_pid_to_str): Unconditionally delegate. | |
7516 | (init_dummy_target): Don't initialize to_pid_to_str. | |
7517 | (default_pid_to_str): Rename from dummy_pid_to_str. | |
7518 | * target.h (struct target_ops) <to_pid_to_str>: Use | |
7519 | TARGET_DEFAULT_FUNC. | |
7520 | ||
09b0dc2b TT |
7521 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
7522 | ||
7523 | * target-delegates.c: Rebuild. | |
7524 | * target.c (target_find_new_threads): Unconditionally delegate. | |
7525 | * target.h (struct target_ops) <to_find_new_threads>: Use | |
7526 | TARGET_DEFAULT_RETURN. | |
7527 | ||
7d4f8efa TT |
7528 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
7529 | ||
7530 | * target-delegates.c: Rebuild. | |
7531 | * target.c (target_program_signals): Unconditionally delegate. | |
7532 | * target.h (struct target_ops) <to_program_signals>: Use | |
7533 | TARGET_DEFAULT_IGNORE. | |
7534 | ||
035cad7f TT |
7535 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
7536 | ||
7537 | * target-delegates.c: Rebuild. | |
7538 | * target.c (target_pass_signals): Unconditionally delegate. | |
7539 | * target.h (struct target_ops) <to_pass_signals>: Use | |
7540 | TARGET_DEFAULT_IGNORE. | |
7541 | ||
8d657035 TT |
7542 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
7543 | ||
7544 | * target-delegates.c: Rebuild. | |
7545 | * target.c (default_mourn_inferior): New function. | |
7546 | (target_mourn_inferior): Unconditionally delegate. | |
7547 | * target.h (struct target_ops) <to_mourn_inferior>: Use | |
7548 | TARGET_DEFAULT_FUNC. | |
7549 | ||
098dba18 TT |
7550 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
7551 | ||
7552 | * target-delegates.c: Rebuild. | |
7553 | * target.c (default_follow_fork): New function. | |
7554 | (target_follow_fork): Unconditionally delegate. | |
7555 | * target.h (struct target_ops) <to_follow_fork>: Use | |
7556 | TARGET_DEFAULT_FUNC. | |
7557 | ||
423a4807 TT |
7558 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
7559 | ||
7560 | * target-delegates.c: Rebuild. | |
7561 | * target.c (target_kill): Unconditionally delegate. | |
7562 | * target.h (struct target_ops) <to_kill>: Use | |
7563 | TARGET_DEFAULT_NORETURN. | |
7564 | ||
6c7e5e5c TT |
7565 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
7566 | ||
7567 | * target-delegates.c: Rebuild. | |
7568 | * target.c (target_masked_watch_num_registers): Unconditionally | |
7569 | delegate. | |
7570 | * target.h (struct target_ops) <to_masked_watch_num_registers>: | |
7571 | Use TARGET_DEFAULT_RETURN. | |
7572 | ||
8b1c364c TT |
7573 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
7574 | ||
7575 | * target-delegates.c: Rebuild. | |
7576 | * target.c (target_remove_mask_watchpoint): Unconditionally | |
7577 | delegate. | |
7578 | * target.h (struct target_ops) <to_remove_mask_watchpoint>: Use | |
7579 | TARGET_DEFAULT_RETURN. | |
7580 | ||
cd4ae029 TT |
7581 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
7582 | ||
7583 | * target-delegates.c: Rebuild. | |
7584 | * target.c (target_insert_mask_watchpoint): Unconditionally | |
7585 | delegate. | |
7586 | * target.h (struct target_ops) <to_insert_mask_watchpoint>: Use | |
7587 | TARGET_DEFAULT_RETURN. | |
7588 | ||
a134316b TT |
7589 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
7590 | ||
7591 | * target-delegates.c: Rebuild. | |
7592 | * target.c (target_ranged_break_num_registers): Unconditionally | |
7593 | delegate. | |
7594 | * target.h (struct target_ops) <to_ranged_break_num_registers>: | |
7595 | Use TARGET_DEFAULT_RETURN. | |
7596 | ||
ad5989bd TT |
7597 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
7598 | ||
7599 | * target-delegates.c: Rebuild. | |
7600 | * target.c (target_fetch_registers): Unconditionally delegate. | |
7601 | * target.h (struct target_ops) <to_fetch_registers>: Use | |
7602 | TARGET_DEFAULT_NORETURN. | |
7603 | ||
46ee7e8d TT |
7604 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
7605 | ||
7606 | * target-delegates.c: Rebuild. | |
7607 | * target.c (update_current_target): Don't inherit or default | |
7608 | to_stop. | |
7609 | * target.h (struct target_ops) <to_stop>: Use | |
7610 | TARGET_DEFAULT_IGNORE. | |
7611 | ||
843f59ed TT |
7612 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
7613 | ||
7614 | * target-delegates.c: Rebuild. | |
7615 | * target.c (update_current_target): Don't inherit or default | |
7616 | to_can_run_breakpoint_commands. | |
7617 | * target.h (struct target_ops) <to_can_run_breakpoint_commands>: | |
7618 | Use TARGET_DEFAULT_RETURN. | |
7619 | ||
ccfde2a0 TT |
7620 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
7621 | ||
7622 | * target-delegates.c: Rebuild. | |
7623 | * target.c (update_current_target): Don't inherit or default | |
7624 | to_supports_evaluation_of_breakpoint_conditions. | |
7625 | * target.h (struct target_ops) | |
7626 | <to_supports_evaluation_of_breakpoint_conditions>: Use | |
7627 | TARGET_DEFAULT_RETURN. | |
7628 | ||
0de91722 TT |
7629 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
7630 | ||
7631 | * target-delegates.c: Rebuild. | |
7632 | * target.c (update_current_target): Don't inherit or default | |
7633 | to_augmented_libraries_svr4_read. | |
7634 | * target.h (struct target_ops) <to_augmented_libraries_svr4_read>: | |
7635 | Use TARGET_DEFAULT_RETURN. | |
7636 | ||
9a7d8b48 TT |
7637 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
7638 | ||
7639 | * target-delegates.c: Rebuild. | |
7640 | * target.c (update_current_target): Don't inherit or default | |
7641 | to_can_use_agent. | |
7642 | * target.h (struct target_ops) <to_can_use_agent>: Use | |
7643 | TARGET_DEFAULT_RETURN. | |
7644 | ||
d9db5b21 TT |
7645 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
7646 | ||
7647 | * target-delegates.c: Rebuild. | |
7648 | * target.c (update_current_target): Don't inherit or default | |
7649 | to_use_agent. | |
7650 | * target.h (struct target_ops) <to_use_agent>: Use | |
7651 | TARGET_DEFAULT_NORETURN. | |
7652 | ||
92155eeb TT |
7653 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
7654 | ||
7655 | * target-delegates.c: Rebuild. | |
7656 | * target.c (update_current_target): Don't inherit or default | |
7657 | to_traceframe_info. | |
7658 | (return_null): Remove. | |
7659 | * target.h (struct target_ops) <to_traceframe_info>: Use | |
7660 | TARGET_DEFAULT_RETURN. | |
7661 | ||
d6522a22 TT |
7662 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
7663 | ||
7664 | * target-delegates.c: Rebuild. | |
7665 | * target.c (update_current_target): Don't inherit or default | |
7666 | to_static_tracepoint_markers_by_strid. | |
7667 | * target.h (struct target_ops) | |
7668 | <to_static_tracepoint_markers_by_strid>: Use | |
7669 | TARGET_DEFAULT_NORETURN. | |
7670 | ||
4c3e4425 TT |
7671 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
7672 | ||
7673 | * target-delegates.c: Rebuild. | |
7674 | * target.c (update_current_target): Don't inherit or default | |
7675 | to_static_tracepoint_marker_at. | |
7676 | * target.h (struct target_ops) <to_static_tracepoint_marker_at>: | |
7677 | Use TARGET_DEFAULT_RETURN. | |
7678 | ||
dcd6917f TT |
7679 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
7680 | ||
7681 | * target-delegates.c: Rebuild. | |
7682 | * target.c (update_current_target): Don't inherit or default | |
7683 | to_set_permissions. | |
7684 | * target.h (struct target_ops) <to_set_permissions>: Use | |
7685 | TARGET_DEFAULT_IGNORE. | |
7686 | ||
22bcceee TT |
7687 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
7688 | ||
7689 | * target-delegates.c: Rebuild. | |
7690 | * target.c (update_current_target): Don't inherit or default | |
7691 | to_get_tib_address. | |
7692 | * target.h (struct target_ops) <to_get_tib_address>: Use | |
7693 | TARGET_DEFAULT_NORETURN. | |
7694 | ||
8586ccaa TT |
7695 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
7696 | ||
7697 | * target-delegates.c: Rebuild. | |
7698 | * target.c (update_current_target): Don't inherit or default | |
7699 | to_set_trace_notes. | |
7700 | * target.h (struct target_ops) <to_set_trace_notes>: Use | |
7701 | TARGET_DEFAULT_RETURN. | |
7702 | ||
91df8d1d TT |
7703 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
7704 | ||
7705 | * target-delegates.c: Rebuild. | |
7706 | * target.c (update_current_target): Don't initialize | |
7707 | to_set_trace_buffer_size. | |
7708 | * target.h (struct target_ops) <to_set_trace_buffer_size>: Use | |
7709 | TARGET_DEFAULT_IGNORE. | |
7710 | ||
8d526939 TT |
7711 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
7712 | ||
7713 | * target-delegates.c: Rebuild. | |
7714 | * target.c (update_current_target): Don't inherit or default | |
7715 | to_set_circular_trace_buffer. | |
7716 | * target.h (struct target_ops) <to_set_circular_trace_buffer>: Use | |
7717 | TARGET_DEFAULT_IGNORE. | |
7718 | ||
0bcfeddf TT |
7719 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
7720 | ||
7721 | * target-delegates.c: Rebuild. | |
7722 | * target.c (update_current_target): Don't inherit or default | |
7723 | to_set_disconnected_tracing. | |
7724 | * target.h (struct target_ops) <to_set_disconnected_tracing>: Use | |
7725 | TARGET_DEFAULT_IGNORE. | |
7726 | ||
9249843f TT |
7727 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
7728 | ||
7729 | * target-delegates.c: Rebuild. | |
7730 | * target.c (update_current_target): Don't inherit or default | |
7731 | to_get_min_fast_tracepoint_insn_len. | |
7732 | (return_minus_one): Remove. | |
7733 | * target.h (struct target_ops) | |
7734 | <to_get_min_fast_tracepoint_insn_len>: Use TARGET_DEFAULT_RETURN. | |
7735 | ||
ace92e7d TT |
7736 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
7737 | ||
7738 | * target-delegates.c: Rebuild. | |
7739 | * target.c (update_current_target): Don't inherit or default | |
7740 | to_get_raw_trace_data. | |
7741 | * target.h (struct target_ops) <to_get_raw_trace_data>: Use | |
7742 | TARGET_DEFAULT_NORETURN. | |
7743 | ||
08120467 TT |
7744 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
7745 | ||
7746 | * target-delegates.c: Rebuild. | |
7747 | * target.c (update_current_target): Don't inherit or default | |
7748 | to_upload_trace_state_variables. | |
7749 | * target.h (struct target_ops) <to_upload_trace_state_variables>: | |
7750 | Use TARGET_DEFAULT_RETURN. | |
7751 | ||
1e949b00 TT |
7752 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
7753 | ||
7754 | * target-delegates.c: Rebuild. | |
7755 | * target.c (update_current_target): Don't inherit or default | |
7756 | to_upload_tracepoints. | |
7757 | * target.h (struct target_ops) <to_upload_tracepoints>: Use | |
7758 | TARGET_DEFAULT_RETURN. | |
7759 | ||
a2e6c147 TT |
7760 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
7761 | ||
7762 | * target-delegates.c: Rebuild. | |
7763 | * target.c (update_current_target): Don't inherit or default | |
7764 | to_save_trace_data. | |
7765 | * target.h (struct target_ops) <to_save_trace_data>: Use | |
7766 | TARGET_DEFAULT_NORETURN. | |
7767 | ||
959bcd0b TT |
7768 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
7769 | ||
7770 | * target-delegates.c: Rebuild. | |
7771 | * target.c (update_current_target): Don't inherit or default | |
7772 | to_get_trace_state_variable_value. | |
7773 | * target.h (struct target_ops) | |
7774 | <to_get_trace_state_variable_value>: Use TARGET_DEFAULT_RETURN. | |
7775 | ||
afc94e66 TT |
7776 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
7777 | ||
7778 | * target-delegates.c: Rebuild. | |
7779 | * target.c (update_current_target): Don't inherit or default | |
7780 | to_trace_find. | |
7781 | * target.h (struct target_ops): Use TARGET_DEFAULT_RETURN. | |
7782 | ||
e51c07ea TT |
7783 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
7784 | ||
7785 | * target-delegates.c: Rebuild. | |
7786 | * target.c (update_current_target): Don't inherit or default | |
7787 | to_trace_stop. | |
7788 | * target.h (struct target_ops) <to_trace_stop>: Use | |
7789 | TARGET_DEFAULT_NORETURN. | |
7790 | ||
6fea14cd TT |
7791 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
7792 | ||
7793 | * target-delegates.c: Rebuild. | |
7794 | * target.c (update_current_target): Don't inherit or default | |
7795 | to_get_tracepoint_status. | |
7796 | * target.h (struct target_ops) <to_get_tracepoint_status>: Use | |
7797 | TARGET_DEFAULT_NORETURN. | |
7798 | ||
4072d4ff TT |
7799 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
7800 | ||
7801 | * target-delegates.c: Rebuild. | |
7802 | * target.c (update_current_target): Don't inherit or default | |
7803 | to_get_trace_status. | |
7804 | * target.h (struct target_ops) <to_get_trace_status>: Use | |
7805 | TARGET_DEFAULT_RETURN. | |
7806 | ||
25da2e80 TT |
7807 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
7808 | ||
7809 | * target-delegates.c: Rebuild. | |
7810 | * target.c (update_current_target): Don't inherit or default | |
7811 | to_trace_start. | |
7812 | * target.h (struct target_ops) <to_trace_start>: Use | |
7813 | TARGET_DEFAULT_NORETURN. | |
7814 | ||
86dd181d TT |
7815 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
7816 | ||
7817 | * target-delegates.c: Rebuild. | |
7818 | * target.c (update_current_target): Don't inherit or default | |
7819 | to_trace_set_readonly_regions. | |
7820 | * target.h (struct target_ops) <to_trace_set_readonly_regions>: | |
7821 | Use TARGET_DEFAULT_NORETURN. | |
7822 | ||
05c41993 TT |
7823 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
7824 | ||
7825 | * target-delegates.c: Rebuild. | |
7826 | * target.c (update_current_target): Don't inherit or default | |
7827 | to_disable_tracepoint. | |
7828 | * target.h (struct target_ops) <to_disable_tracepoint>: Use | |
7829 | TARGET_DEFAULT_NORETURN. | |
7830 | ||
151f70f1 TT |
7831 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
7832 | ||
7833 | * target-delegates.c: Rebuild. | |
7834 | * target.c (update_current_target): Don't inherit or default | |
7835 | to_enable_tracepoint. | |
7836 | * target.h (struct target_ops) <to_enable_tracepoint>: Use | |
7837 | TARGET_DEFAULT_NORETURN. | |
7838 | ||
94eb98b9 TT |
7839 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
7840 | ||
7841 | * target-delegates.c: Rebuild. | |
7842 | * target.c (update_current_target): Don't inherit or default | |
7843 | to_download_trace_state_variable. | |
7844 | * target.h (struct target_ops) <to_download_trace_state_variable>: | |
7845 | Use TARGET_DEFAULT_NORETURN. | |
7846 | ||
719acc4a TT |
7847 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
7848 | ||
7849 | * target-delegates.c: Rebuild. | |
7850 | * target.c (update_current_target): Don't inherit or default | |
7851 | to_can_download_tracepoint. | |
7852 | * target.h (struct target_ops) <to_can_download_tracepoint>: Use | |
7853 | TARGET_DEFAULT_RETURN. | |
7854 | ||
9a980a22 TT |
7855 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
7856 | ||
7857 | * target-delegates.c: Rebuild. | |
7858 | * target.c (update_current_target): Don't inherit or default | |
7859 | to_download_tracepoint. | |
7860 | * target.h (struct target_ops) <to_download_tracepoint>: Use | |
7861 | TARGET_DEFAULT_NORETURN. | |
7862 | ||
5536135b TT |
7863 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
7864 | ||
7865 | * target-delegates.c: Rebuild. | |
7866 | * target.c (update_current_target): Don't inherit or default | |
7867 | to_trace_init. | |
7868 | * target.h (struct target_ops) <to_trace_init>: Use | |
7869 | TARGET_DEFAULT_RETURN. | |
7870 | ||
9409d39e TT |
7871 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
7872 | ||
7873 | * target-delegates.c: Rebuild. | |
7874 | * target.c (update_current_target): Don't inherit or default | |
7875 | to_supports_string_tracing. | |
7876 | * target.h (struct target_ops) <to_supports_string_tracing>: Use | |
7877 | TARGET_DEFAULT_RETURN. | |
7878 | ||
aab1b22d TT |
7879 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
7880 | ||
7881 | * target-delegates.c: Rebuild. | |
7882 | * target.c (update_current_target): Don't inherit or default | |
7883 | to_supports_enable_disable_tracepoint. | |
7884 | * target.h (struct target_ops) | |
7885 | <to_supports_enable_disable_tracepoint>: Use | |
7886 | TARGET_DEFAULT_RETURN. | |
7887 | ||
a7304748 TT |
7888 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
7889 | ||
7890 | * target-delegates.c: Rebuild. | |
7891 | * target.c (update_current_target): Don't inherit or default | |
7892 | to_supports_multi_process. | |
7893 | * target.h (struct target_ops) <to_supports_multi_process>: Use | |
7894 | TARGET_DEFAULT_RETURN. | |
7895 | ||
4229b31d TT |
7896 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
7897 | ||
7898 | * target-delegates.c: Rebuild. | |
7899 | * target.c (update_current_target): Don't inherit or default | |
7900 | to_get_ada_task_ptid. | |
7901 | * target.h (struct target_ops) <to_get_ada_task_ptid>: Use | |
7902 | TARGET_DEFAULT_FUNC. | |
7903 | ||
43eba180 TT |
7904 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
7905 | ||
7906 | * target-delegates.c: Rebuild. | |
7907 | * target.c (update_current_target): Don't inherit or default | |
7908 | to_thread_architecture. | |
7909 | * target.h (struct target_ops) <to_thread_architecture>: Use | |
7910 | TARGET_DEFAULT_FUNC. | |
7911 | ||
fe31bf5b TT |
7912 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
7913 | ||
7914 | * target-delegates.c: Rebuild. | |
7915 | * target.c (update_current_target): Don't inherit or default | |
7916 | to_execution_direction. | |
7917 | * target.h (struct target_ops) <to_execution_direction>: Use | |
7918 | TARGET_DEFAULT_FUNC. | |
7919 | ||
53e1cfc7 TT |
7920 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
7921 | ||
7922 | * target-delegates.c: Rebuild. | |
7923 | * target.c (update_current_target): Don't inherit or default | |
7924 | to_can_execute_reverse. | |
7925 | * target.h (struct target_ops) <to_can_execute_reverse>: Use | |
7926 | TARGET_DEFAULT_RETURN. | |
7927 | (target_can_execute_reverse): Unconditionally delegate. | |
7928 | ||
9bb9d61d TT |
7929 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
7930 | ||
7931 | * target-delegates.c: Rebuild. | |
7932 | * target.c (update_current_target): Don't inherit or default | |
7933 | to_goto_bookmark. | |
7934 | (dummy_goto_bookmark): Remove. | |
7935 | (init_dummy_target): Don't inherit or default to_goto_bookmark. | |
7936 | * target.h (struct target_ops) <to_goto_bookmark>: Use | |
7937 | TARGET_DEFAULT_NORETURN. | |
7938 | ||
3dbafbbb TT |
7939 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
7940 | ||
7941 | * target-delegates.c: Rebuild. | |
7942 | * target.c (update_current_target): Don't inherit or default | |
7943 | to_get_bookmark. | |
7944 | (dummy_get_bookmark): Remove. | |
7945 | (init_dummy_target): Don't inherit or default to_get_bookmark. | |
7946 | * target.h (struct target_ops) <to_get_bookmark>: Use | |
7947 | TARGET_DEFAULT_NORETURN | |
7948 | ||
16f796b1 TT |
7949 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
7950 | ||
7951 | * target-delegates.c: Rebuild. | |
7952 | * target.c (update_current_target): Don't inherit or default | |
7953 | to_make_corefile_notes. | |
7954 | (init_dummy_target): Don't initialize to_make_corefile_notes. | |
7955 | * target.h (struct target_ops) <to_make_corefile_notes>: Use | |
7956 | TARGET_DEFAULT_FUNC. | |
7957 | ||
0b5a2719 TT |
7958 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
7959 | ||
7960 | * target-delegates.c: Rebuild. | |
7961 | * target.c (update_current_target): Don't inherit or default | |
7962 | to_find_memory_regions. | |
7963 | (init_dummy_target): Don't initialize to_find_memory_regions. | |
7964 | * target.h (struct target_ops) <to_find_memory_regions>: Use | |
7965 | TARGET_DEFAULT_FUNC. | |
7966 | ||
d9cb0195 TT |
7967 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
7968 | ||
7969 | * target-delegates.c: Rebuild. | |
7970 | * target.c (update_current_target): Don't inherit or default | |
7971 | to_log_command. | |
7972 | * target.h (struct target_ops) <to_log_command>: Use | |
7973 | TARGET_DEFAULT_IGNORE. | |
7974 | (target_log_command): Unconditionally delegate. | |
7975 | ||
830ca330 TT |
7976 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
7977 | ||
7978 | * target-delegates.c: Rebuild. | |
7979 | * target.c (update_current_target): Don't inherit or default | |
7980 | to_pid_to_exec_file. | |
7981 | * target.h (struct target_ops) <to_pid_to_exec_file>: Use | |
7982 | TARGET_DEFAULT_RETURN. | |
7983 | ||
825828fc TT |
7984 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
7985 | ||
7986 | * target-delegates.c: Rebuild. | |
7987 | * target.c (update_current_target): Don't inherit or default | |
7988 | to_thread_name. | |
7989 | (target_thread_name): Unconditionally delegate. | |
7990 | * target.h (struct target_ops) <to_thread_name>: Use | |
7991 | TARGET_DEFAULT_RETURN. | |
7992 | ||
4a7e6dda TT |
7993 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
7994 | ||
7995 | * target-delegates.c: Rebuild. | |
7996 | * target.c (update_current_target): Don't inherit or default | |
7997 | to_extra_thread_info. | |
7998 | * target.h (struct target_ops) <to_extra_thread_info>: Use | |
7999 | TARGET_DEFAULT_RETURN. | |
8000 | ||
0db88c1d TT |
8001 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
8002 | ||
8003 | * target-delegates.c: Rebuild. | |
8004 | * target.c (update_current_target): Don't inherit or default | |
8005 | to_has_exited. | |
8006 | * target.h (struct target_ops) <to_has_exited>: Use | |
8007 | TARGET_DEFAULT_RETURN.. | |
8008 | ||
6a9fa051 TT |
8009 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
8010 | ||
8011 | * target-delegates.c: Rebuild. | |
8012 | * target.c (update_current_target): Don't inherit or default | |
8013 | to_set_syscall_catchpoint. | |
8014 | (return_one): Remove. | |
8015 | * target.h (struct target_ops) <to_set_syscall_catchpoint>: Use | |
8016 | TARGET_DEFAULT_RETURN. | |
8017 | ||
62f64d7a TT |
8018 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
8019 | ||
8020 | * target-delegates.c: Rebuild. | |
8021 | * target.c (update_current_target): Don't inherit or default | |
8022 | to_insert_exec_catchpoint. | |
8023 | * target.h (struct target_ops) <to_insert_exec_catchpoint>: Use | |
8024 | TARGET_DEFAULT_RETURN. | |
8025 | ||
cda0f38c TT |
8026 | 2014-01-08 Tom Tromey <tromey@redhat.com> |
8027 | ||
8028 | * target-delegates.c: Rebuild. | |
8029 | * target.c (update_current_target): Don't inherit or default | |
8030 | to_insert_exec_catchpoint. | |
8031 | * target.h (struct target_ops) <to_insert_exec_catchpoint>: Use | |
8032 | TARGET_DEFAULT_RETURN. | |
8033 | ||
95c3375e TT |
8034 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
8035 | ||
8036 | * target-delegates.c: Rebuild. | |
8037 | * target.c (update_current_target): Don't inherit or default | |
8038 | to_remove_vfork_catchpoint. | |
8039 | * target.h (struct target_ops) <to_remove_vfork_catchpoint>: Use | |
8040 | TARGET_DEFAULT_RETURN. | |
8041 | ||
7e18a8dc TT |
8042 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
8043 | ||
8044 | * target-delegates.c: Rebuild. | |
8045 | * target.c (update_current_target): Don't inherit or default | |
8046 | to_insert_vfork_catchpoint. | |
8047 | * target.h (struct target_ops) <to_insert_vfork_catchpoint>: Use | |
8048 | TARGET_DEFAULT_RETURN. | |
8049 | ||
e1a21fb7 TT |
8050 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
8051 | ||
8052 | * target-delegates.c: Rebuild. | |
8053 | * target.c (update_current_target): Don't inherit or default | |
8054 | to_remove_fork_catchpoint. | |
8055 | * target.h (struct target_ops) <to_remove_fork_catchpoint>: Use | |
8056 | TARGET_DEFAULT_RETURN. | |
8057 | ||
5958ebeb TT |
8058 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
8059 | ||
8060 | * target-delegates.c: Rebuild. | |
8061 | * target.c (update_current_target): Don't inherit or default | |
8062 | to_insert_fork_catchpoint. | |
8063 | * target.h (struct target_ops) <to_insert_fork_catchpoint>: Use | |
8064 | TARGET_DEFAULT_RETURN. | |
8065 | ||
340ba4bf TT |
8066 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
8067 | ||
8068 | * target-delegates.c: Rebuild. | |
8069 | * target.c (update_current_target): Don't inherit or default | |
8070 | to_post_startup_inferior. | |
8071 | * target.h (struct target_ops) <to_post_startup_inferior>: Use | |
8072 | TARGET_DEFAULT_IGNORE. | |
8073 | ||
7634da87 TT |
8074 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
8075 | ||
8076 | * target-delegates.c: Rebuild. | |
8077 | * target.c (update_current_target): Don't inherit or default | |
8078 | to_load. | |
8079 | * target.h (struct target_ops) <to_load>: Use | |
8080 | TARGET_DEFAULT_NORETURN. | |
8081 | ||
e19e919f TT |
8082 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
8083 | ||
8084 | * target-delegates.c: Rebuild. | |
8085 | * target.c (update_current_target): Don't inherit or default | |
8086 | to_terminal_info. | |
8087 | * target.h (struct target_ops) <to_terminal_info>: Use | |
8088 | TARGET_DEFAULT_FUNC. | |
8089 | ||
c6ea8f79 TT |
8090 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
8091 | ||
8092 | * target-delegates.c: Rebuild. | |
8093 | * target.c (update_current_target): Don't inherit or default | |
8094 | to_terminal_save_ours. | |
8095 | * target.h (struct target_ops) <to_terminal_save_ours>: Use | |
8096 | TARGET_DEFAULT_IGNORE. | |
8097 | ||
e4a733f1 TT |
8098 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
8099 | ||
8100 | * target-delegates.c: Rebuild. | |
8101 | * target.c (update_current_target): Don't inherit or default | |
8102 | to_terminal_ours. | |
8103 | * target.h (struct target_ops) <to_terminal_ours>: Use | |
8104 | TARGET_DEFAULT_IGNORE. | |
8105 | ||
74fcbef9 TT |
8106 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
8107 | ||
8108 | * target-delegates.c: Rebuild. | |
8109 | * target.c (update_current_target): Don't inherit or default | |
8110 | to_terminal_ours_for_output. | |
8111 | * target.h (struct target_ops) <to_terminal_ours_for_output>: Use | |
8112 | TARGET_DEFAULT_IGNORE. | |
8113 | ||
ddeaacc9 TT |
8114 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
8115 | ||
8116 | * target-delegates.c: Rebuild. | |
8117 | * target.c (update_current_target): Don't inherit or default | |
8118 | to_terminal_inferior. | |
8119 | * target.h (struct target_ops) <to_terminal_inferior>: Use | |
8120 | TARGET_DEFAULT_IGNORE. | |
8121 | ||
0343661d TT |
8122 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
8123 | ||
8124 | * target-delegates.c: Rebuild. | |
8125 | * target.c (update_current_target): Don't inherit or default | |
8126 | to_terminal_init. | |
8127 | * target.h (struct target_ops) <to_terminal_init>: Use | |
8128 | TARGET_DEFAULT_IGNORE. | |
8129 | ||
77cdffe9 TT |
8130 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
8131 | ||
8132 | * target-delegates.c: Rebuild. | |
8133 | * target.c (update_current_target): Don't inherit or default | |
8134 | to_can_accel_watchpoint_condition. | |
8135 | * target.h (struct target_ops) | |
8136 | <to_can_accel_watchpoint_condition>: Use TARGET_DEFAULT_RETURN. | |
8137 | ||
d03655e4 TT |
8138 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
8139 | ||
8140 | * target-delegates.c: Rebuild. | |
8141 | * target.c (update_current_target): Don't inherit or default | |
8142 | to_region_ok_for_hw_watchpoint. | |
8143 | * target.h (struct target_ops) <to_region_ok_for_hw_watchpoint>: | |
8144 | Use TARGET_DEFAULT_FUNC. | |
8145 | ||
65f160a9 TT |
8146 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
8147 | ||
8148 | * target-delegates.c: Rebuild. | |
8149 | * target.c (update_current_target): Don't inherit or default | |
8150 | to_watchpoint_addr_within_range. | |
8151 | * target.h (struct target_ops) <to_watchpoint_addr_within_range>: | |
8152 | Use TARGET_DEFAULT_FUNC. | |
8153 | ||
61dd109f TT |
8154 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
8155 | ||
8156 | * target-delegates.c: Rebuild. | |
8157 | * target.c (update_current_target): Don't inherit or default | |
8158 | to_remove_watchpoint. | |
8159 | * target.h (struct target_ops) <to_remove_watchpoint>: Use | |
8160 | TARGET_DEFAULT_NORETURN. | |
8161 | ||
016facd4 TT |
8162 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
8163 | ||
8164 | * target-delegates.c: Rebuild. | |
8165 | * target.c (update_current_target): Don't inherit or default | |
8166 | to_insert_watchpoint. | |
8167 | * target.h (struct target_ops) <to_insert_watchpoint>: Use | |
8168 | TARGET_DEFAULT_RETURN. | |
8169 | ||
418dabac TT |
8170 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
8171 | ||
8172 | * target-delegates.c: Rebuild. | |
8173 | * target.c (update_current_target): Don't inherit or default | |
8174 | to_remove_hw_breakpoint. | |
8175 | * target.h (struct target_ops) <to_remove_hw_breakpoint>: Use | |
8176 | TARGET_DEFAULT_RETURN. | |
8177 | ||
61b371f9 TT |
8178 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
8179 | ||
8180 | * target-delegates.c: Rebuild. | |
8181 | * target.c (update_current_target): Don't inherit or default | |
8182 | to_insert_hw_breakpoint. | |
8183 | * target.h (struct target_ops) <to_insert_hw_breakpoint>: Use | |
8184 | TARGET_DEFAULT_RETURN. | |
8185 | ||
52b51d06 TT |
8186 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
8187 | ||
8188 | * target-delegates.c: Rebuild. | |
8189 | * target.c (update_current_target): Don't inherit or default | |
8190 | to_can_use_hw_breakpoint. | |
8191 | * target.h (struct target_ops) <to_can_use_hw_breakpoint>: Use | |
8192 | TARGET_DEFAULT_RETURN. | |
8193 | ||
f86e59b2 TT |
8194 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
8195 | ||
8196 | * target-delegates.c: Rebuild. | |
8197 | * target.c (update_current_target): Don't inherit or default | |
8198 | to_files_info. | |
8199 | * target.h (struct target_ops) <to_files_info>: Use | |
8200 | TARGET_DEFAULT_IGNORE. | |
8201 | ||
6c628163 TT |
8202 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
8203 | ||
8204 | * target-delegates.c: Rebuild. | |
8205 | * target.c (update_current_target): Don't inherit or default | |
8206 | to_store. | |
8207 | * target.h (struct target_ops) <to_store>: Use | |
8208 | TARGET_DEFAULT_NORETURN. | |
8209 | ||
bebd3233 TT |
8210 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
8211 | ||
8212 | * target-delegates.c: Rebuild. | |
8213 | * target.c (update_current_target): Don't inherit or default | |
8214 | to_post_attach. | |
8215 | * target.h (struct target_ops) <to_post_attach>: Use | |
8216 | TARGET_DEFAULT_IGNORE. | |
8217 | ||
a53f3625 TT |
8218 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
8219 | ||
8220 | * target-delegates.c: Rebuild. | |
8221 | * target.c (update_current_target): Don't inherit or default | |
8222 | to_rcmd. | |
8223 | (default_rcmd): New function. | |
8224 | (do_monitor_command): Unconditionally delegate. | |
8225 | * target.h (struct target_ops) <to_rmcd>: Use | |
8226 | TARGET_DEFAULT_FUNC. | |
8227 | ||
e9a29200 TT |
8228 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
8229 | ||
8230 | * target-delegates.c: Rebuild. | |
8231 | * target.c (init_dummy_target): Don't initialize to_attach. | |
8232 | (target_attach): Unconditionally delegate. | |
8233 | * target.h (struct target_ops) <to_attach>: Use | |
8234 | TARGET_DEFAULT_FUNC. | |
8235 | ||
09da0d0a TT |
8236 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
8237 | ||
8238 | * target-delegates.c: Rebuild. | |
8239 | * target.c (target_detach): Unconditionally delegate. | |
8240 | (init_dummy_target): Don't initialize to_detach. | |
8241 | * target.h (struct target_ops) <to_detach>: Use | |
8242 | TARGET_DEFAULT_IGNORE. | |
8243 | ||
5436ff03 TT |
8244 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
8245 | ||
8246 | * target.h (struct target_ops) <to_augmented_libraries_svr4_read>: | |
8247 | Add argument. | |
8248 | (target_augmented_libraries_svr4_read): Add argument. | |
8249 | * target.c (update_current_target): Update. | |
8250 | * remote.c (remote_augmented_libraries_svr4_read): Add 'self' | |
8251 | argument. | |
8252 | ||
f0d960ea TT |
8253 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
8254 | ||
8255 | * target.h (struct target_ops) <to_call_history_range>: Add | |
8256 | argument. | |
8257 | * target.c (target_call_history_range): Add argument. | |
8258 | * record-btrace.c (record_btrace_call_history_range): Add 'self' | |
8259 | argument. | |
8260 | (record_btrace_call_history_from): Update. | |
8261 | ||
ec0aea04 TT |
8262 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
8263 | ||
8264 | * target.h (struct target_ops) <to_call_history_from>: Add | |
8265 | argument. | |
8266 | * target.c (target_call_history_from): Add argument. | |
8267 | * record-btrace.c (record_btrace_call_history_from): Add 'self' | |
8268 | argument. | |
8269 | ||
5df2fcba TT |
8270 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
8271 | ||
8272 | * target.h (struct target_ops) <to_call_history>: Add argument. | |
8273 | * target.c (target_call_history): Add argument. | |
8274 | * record-btrace.c (record_btrace_call_history): Add 'self' | |
8275 | argument. | |
8276 | ||
4e99c6b7 TT |
8277 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
8278 | ||
8279 | * target.h (struct target_ops) <to_insn_history_range>: Add | |
8280 | argument. | |
8281 | * target.c (target_insn_history_range): Add argument. | |
8282 | * record-btrace.c (record_btrace_insn_history_range): Add 'self' | |
8283 | argument. | |
8284 | (record_btrace_insn_history_from): Update. | |
8285 | ||
9abc3ff3 TT |
8286 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
8287 | ||
8288 | * target.h (struct target_ops) <to_insn_history_from>: Add | |
8289 | argument. | |
8290 | * target.c (target_insn_history_from): Add argument. | |
8291 | * record-btrace.c (record_btrace_insn_history_from): Add 'self' | |
8292 | argument. | |
8293 | ||
7a6c5609 TT |
8294 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
8295 | ||
8296 | * target.h (struct target_ops) <to_insn_history>: Add argument. | |
8297 | * target.c (target_insn_history): Add argument. | |
8298 | * record-btrace.c (record_btrace_insn_history): Add 'self' | |
8299 | argument. | |
8300 | ||
606183ac TT |
8301 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
8302 | ||
8303 | * target.h (struct target_ops) <to_goto_record>: Add argument. | |
8304 | * target.c (target_goto_record): Add argument. | |
8305 | * record-full.c (record_full_goto): Add 'self' argument. | |
8306 | * record-btrace.c (record_btrace_goto): Add 'self' argument. | |
8307 | ||
307a1b91 TT |
8308 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
8309 | ||
8310 | * target.h (struct target_ops) <to_goto_record_end>: Add argument. | |
8311 | * target.c (target_goto_record_end): Add argument. | |
8312 | * record-full.c (record_full_goto_end): Add 'self' argument. | |
8313 | * record-btrace.c (record_btrace_goto_end): Add 'self' argument. | |
8314 | ||
08475817 TT |
8315 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
8316 | ||
8317 | * target.h (struct target_ops) <to_goto_record_begin>: Add | |
8318 | argument. | |
8319 | * target.c (target_goto_record_begin): Add argument. | |
8320 | * record-full.c (record_full_goto_begin): Add 'self' argument. | |
8321 | * record-btrace.c (record_btrace_goto_begin): Add 'self' | |
8322 | argument. | |
8323 | ||
1c63c994 TT |
8324 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
8325 | ||
8326 | * target.h (struct target_ops) <to_record_is_replaying>: Add | |
8327 | argument. | |
8328 | * target.c (target_record_is_replaying): Add argument. | |
8329 | * record-full.c (record_full_is_replaying): Add 'self' argument. | |
8330 | * record-btrace.c (record_btrace_is_replaying): Add 'self' | |
8331 | argument. | |
8332 | (record_btrace_xfer_partial, record_btrace_store_registers) | |
8333 | (record_btrace_prepare_to_store, record_btrace_resume) | |
8334 | (record_btrace_wait, record_btrace_decr_pc_after_break) | |
8335 | (record_btrace_find_new_threads, record_btrace_thread_alive): | |
8336 | Update. | |
8337 | ||
d1b55219 TT |
8338 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
8339 | ||
8340 | * target.h (struct target_ops) <to_delete_record>: Add argument. | |
8341 | * target.c (target_delete_record): Add argument. | |
8342 | * record-full.c (record_full_delete): Add 'self' argument. | |
8343 | ||
1390f529 TT |
8344 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
8345 | ||
8346 | * target.h (struct target_ops) <to_save_record>: Add argument. | |
8347 | * target.c (target_save_record): Add argument. | |
8348 | * record-full.c (record_full_save): Add 'self' argument. | |
8349 | (record_full_save): Add 'self' argument. | |
8350 | ||
630d6a4a TT |
8351 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
8352 | ||
8353 | * target.h (struct target_ops) <to_info_record>: Add argument. | |
8354 | * target.c (target_info_record): Add argument. | |
8355 | * record.c (info_record_command): Add argument. | |
8356 | * record-full.c (record_full_info): Add 'self' argument. | |
8357 | * record-btrace.c (record_btrace_info): Add 'self' argument. | |
8358 | ||
c6cd7c02 TT |
8359 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
8360 | ||
8361 | * target.h (struct target_ops) <to_stop_recording>: Add argument. | |
8362 | * target.c (target_stop_recording): Add argument. | |
8363 | * record.c (record_stop): Add argument. | |
8364 | * record-btrace.c (record_btrace_stop_recording): Add 'self' | |
8365 | argument. | |
8366 | ||
39c49f83 TT |
8367 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
8368 | ||
8369 | * target.h (struct target_ops) <to_read_btrace>: Add argument. | |
8370 | * target.c (struct target_ops) <to_read_btrace>: Add argument. | |
8371 | * remote.c (struct target_ops) <to_read_btrace>: Add 'self' | |
8372 | argument. | |
8373 | * amd64-linux-nat.c (amd64_linux_read_btrace): New function. | |
8374 | (_initialize_amd64_linux_nat): Use it. | |
8375 | * i386-linux-nat.c (i386_linux_read_btrace): New function. | |
8376 | (_initialize_i386_linux_nat): Use it. | |
8377 | ||
1777056d TT |
8378 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
8379 | ||
8380 | * target.h (struct target_ops) <to_teardown_btrace>: Add argument. | |
8381 | * target.c (target_teardown_btrace): Add argument. | |
8382 | * remote.c (remote_teardown_btrace): Add 'self' argument. | |
8383 | * i386-linux-nat.c (i386_linux_teardown_btrace): Add 'self' | |
8384 | argument. | |
8385 | * amd64-linux-nat.c (amd64_linux_teardown_btrace): Add 'self' | |
8386 | argument. | |
8387 | ||
25e95349 TT |
8388 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
8389 | ||
8390 | * target.h (struct target_ops) <to_disable_btrace>: Add argument. | |
8391 | * target.c (target_disable_btrace): Add argument. | |
8392 | * remote.c (remote_disable_btrace): Add 'self' argument. | |
8393 | * i386-linux-nat.c (i386_linux_disable_btrace): Add 'self' | |
8394 | argument. | |
8395 | * amd64-linux-nat.c (amd64_linux_disable_btrace): Add 'self' | |
8396 | argument. | |
8397 | ||
e3c49f88 TT |
8398 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
8399 | ||
8400 | * target.h (struct target_ops) <to_enable_btrace>: Add argument. | |
8401 | * target.c (target_enable_btrace): Add argument. | |
8402 | * remote.c (remote_enable_btrace): Add 'self' argument. | |
8403 | * i386-linux-nat.c (i386_linux_enable_btrace): Add 'self' | |
8404 | argument. | |
8405 | * amd64-linux-nat.c (amd64_linux_enable_btrace): Add 'self' | |
8406 | argument. | |
8407 | ||
fe38f897 TT |
8408 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
8409 | ||
8410 | * target.h (struct target_ops) <to_can_use_agent>: Add argument. | |
8411 | (target_can_use_agent): Add argument. | |
8412 | * target.c (update_current_target): Update. | |
8413 | * remote.c (remote_can_use_agent): Add 'self' argument. | |
8414 | * inf-child.c (inf_child_can_use_agent): Add 'self' argument. | |
8415 | ||
2c152180 TT |
8416 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
8417 | ||
8418 | * target.h (struct target_ops) <to_use_agent>: Add argument. | |
8419 | (target_use_agent): Add argument. | |
8420 | * target.c (update_current_target): Update. | |
8421 | * remote.c (remote_use_agent): Add 'self' argument. | |
8422 | * inf-child.c (inf_child_use_agent): Add 'self' argument. | |
8423 | ||
a893e81f TT |
8424 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
8425 | ||
8426 | * tracepoint.c (tfile_traceframe_info): Add 'self' argument. | |
8427 | * target.h (struct target_ops) <to_traceframe_info>: Add argument. | |
8428 | (target_traceframe_info): Add argument. | |
8429 | * target.c (update_current_target): Update. | |
8430 | * remote.c (remote_traceframe_info): Add 'self' argument. | |
8431 | * ctf.c (ctf_traceframe_info): Add 'self' argument. | |
8432 | ||
c686c57f TT |
8433 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
8434 | ||
8435 | * target.h (target_static_tracepoint_markers_by_strid): Add | |
8436 | argument. | |
8437 | (struct target_ops) <to_static_tracepoint_markers_by_strid>: Add | |
8438 | 'self' argument. | |
8439 | * target.c (update_current_target): Update. | |
8440 | * remote.c (struct target_ops) | |
8441 | <to_static_tracepoint_markers_by_strid>: Add 'self' argument. | |
8442 | * linux-nat.c (struct target_ops) | |
8443 | <to_static_tracepoint_markers_by_strid>: Add 'self' argument. | |
8444 | ||
61fc905d TT |
8445 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
8446 | ||
8447 | * target.h (struct target_ops) <to_static_tracepoint_marker_at>: | |
8448 | Add argument. | |
8449 | (target_static_tracepoint_marker_at): Add argument. | |
8450 | * target.c (update_current_target): Update. | |
8451 | * remote.c (remote_static_tracepoint_marker_at): Add 'self' | |
8452 | argument. | |
8453 | ||
c378d69d TT |
8454 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
8455 | ||
8456 | * target.h (struct target_ops) <to_set_permissions>: Add argument. | |
8457 | (target_set_permissions): Add argument. | |
8458 | * target.c (update_current_target): Update. | |
8459 | * remote.c (remote_set_permissions): Add 'self' argument. | |
8460 | (remote_start_remote): Update. | |
8461 | ||
bd7ae0f5 TT |
8462 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
8463 | ||
8464 | * windows-nat.c (windows_get_tib_address): Add 'self' argument. | |
8465 | * target.h (struct target_ops) <to_get_tib_address>: Add argument. | |
8466 | (target_get_tib_address): Add argument. | |
8467 | * target.c (update_current_target): Update. | |
8468 | * remote.c (remote_get_tib_address): Add 'self' argument. | |
8469 | ||
d9e68a2c TT |
8470 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
8471 | ||
8472 | * target.h (struct target_ops) <to_set_trace_notes>: Add argument. | |
8473 | (target_set_trace_notes): Add argument. | |
8474 | * target.c (update_current_target): Update. | |
8475 | * remote.c (remote_set_trace_notes): Add 'self' argument. | |
8476 | ||
4da384be TT |
8477 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
8478 | ||
8479 | * target.h (struct target_ops) <to_set_trace_buffer_size>: Add | |
8480 | argument. | |
8481 | (target_set_trace_buffer_size): Add argument. | |
8482 | * target.c (update_current_target): Update. | |
8483 | * remote.c (remote_set_trace_buffer_size): Add 'self' argument. | |
8484 | ||
736d5b1f TT |
8485 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
8486 | ||
8487 | * target.h (struct target_ops) <to_set_circular_trace_buffer>: Add | |
8488 | argument. | |
8489 | (target_set_circular_trace_buffer): Add argument. | |
8490 | * target.c (update_current_target): Update. | |
8491 | * remote.c (remote_set_circular_trace_buffer): Add 'self' | |
8492 | argument. | |
8493 | ||
37b25738 TT |
8494 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
8495 | ||
8496 | * target.h (struct target_ops) <to_set_disconnected_tracing>: Add | |
8497 | argument. | |
8498 | (target_set_disconnected_tracing): Add argument. | |
8499 | * target.c (update_current_target): Update. | |
8500 | * remote.c (remote_set_disconnected_tracing): Add 'self' argument. | |
8501 | ||
0e67620a TT |
8502 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
8503 | ||
8504 | * target.h (struct target_ops) | |
8505 | <to_get_min_fast_tracepoint_insn_len>: Add argument. | |
8506 | (target_get_min_fast_tracepoint_insn_len): Add argument. | |
8507 | * target.c (update_current_target): Update. | |
8508 | * remote.c (remote_get_min_fast_tracepoint_insn_len): Add 'self' | |
8509 | argument. | |
8510 | ||
88ee6f45 TT |
8511 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
8512 | ||
8513 | * target.h (struct target_ops) <to_get_raw_trace_data>: Add | |
8514 | argument. | |
8515 | (target_get_raw_trace_data): Add argument. | |
8516 | * target.c (update_current_target): Update. | |
8517 | * remote.c (remote_get_raw_trace_data): Add 'self' argument. | |
8518 | ||
181e3713 TT |
8519 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
8520 | ||
8521 | * target.h (struct target_ops) <to_upload_trace_state_variables>: | |
8522 | Add argument. | |
8523 | (target_upload_trace_state_variables): Add argument. | |
8524 | * target.c (update_current_target): Update. | |
8525 | * remote.c (remote_upload_trace_state_variables): Add 'self' | |
8526 | argument. | |
8527 | (remote_start_remote): Update. | |
8528 | ||
ab6617cc TT |
8529 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
8530 | ||
8531 | * target.h (struct target_ops) <to_upload_tracepoints>: Add | |
8532 | argument. | |
8533 | (target_upload_tracepoints): Add argument. | |
8534 | * target.c (update_current_target): Update. | |
8535 | * remote.c (remote_upload_tracepoints): Add 'self' argument. | |
8536 | (remote_start_remote): Update. | |
8537 | ||
dc3decaf TT |
8538 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
8539 | ||
8540 | * target.h (struct target_ops) <to_save_trace_data>: Add argument. | |
8541 | (target_save_trace_data): Add argument. | |
8542 | * target.c (update_current_target): Update. | |
8543 | * remote.c (remote_save_trace_data): Add 'self' argument. | |
8544 | ||
4011015b TT |
8545 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
8546 | ||
8547 | * tracepoint.c (tfile_get_trace_state_variable_value): Add 'self' | |
8548 | argument. | |
8549 | * target.h (struct target_ops) | |
8550 | <to_get_trace_state_variable_value>: Add argument. | |
8551 | (target_get_trace_state_variable_value): Add argument. | |
8552 | * target.c (update_current_target): Update. | |
8553 | * remote.c (remote_get_trace_state_variable_value): Add 'self' | |
8554 | argument. | |
8555 | * ctf.c (ctf_get_trace_state_variable_value): Add 'self' argument. | |
8556 | ||
bd4c6793 TT |
8557 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
8558 | ||
8559 | * tracepoint.c (tfile_trace_find): Add 'self' argument. | |
8560 | * target.h (struct target_ops) <to_trace_find>: Add argument. | |
8561 | (target_trace_find): Add argument. | |
8562 | * target.c (update_current_target): Update. | |
8563 | * remote.c (remote_trace_find): Add 'self' argument. | |
8564 | * ctf.c (ctf_trace_find): Add 'self' argument. | |
8565 | ||
74499f1b TT |
8566 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
8567 | ||
8568 | * target.h (struct target_ops) <to_trace_stop>: Add argument. | |
8569 | (target_trace_stop): Add argument. | |
8570 | * target.c (update_current_target): Update. | |
8571 | * remote.c (remote_trace_stop): Add 'self' argument. | |
8572 | ||
db90e85c TT |
8573 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
8574 | ||
8575 | * tracepoint.c (tfile_get_tracepoint_status): Add 'self' argument. | |
8576 | * target.h (struct target_ops) <to_get_tracepoint_status>: Add | |
8577 | argument. | |
8578 | (target_get_tracepoint_status): Add argument. | |
8579 | * target.c (update_current_target): Update. | |
8580 | * remote.c (remote_get_tracepoint_status): Add 'self' argument. | |
8581 | ||
8bd200f1 TT |
8582 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
8583 | ||
8584 | * tracepoint.c (tfile_get_trace_status): Add 'self' argument. | |
8585 | * target.h (struct target_ops) <to_get_trace_status>: Add | |
8586 | argument. | |
8587 | (target_get_trace_status): Add argument. | |
8588 | * target.c (update_current_target): Update. | |
8589 | * remote.c (remote_get_trace_status): Add 'self' argument. | |
8590 | (remote_start_remote, remote_can_download_tracepoint): Update. | |
8591 | * ctf.c (ctf_get_trace_status): Add 'self' argument. | |
8592 | ||
e2d1aae3 TT |
8593 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
8594 | ||
8595 | * target.h (struct target_ops) <to_trace_start>: Add argument. | |
8596 | (target_trace_start): Add argument. | |
8597 | * target.c (update_current_target): Update. | |
8598 | * remote.c (remote_trace_start): Add 'self' argument. | |
8599 | ||
583f9a86 TT |
8600 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
8601 | ||
8602 | * target.h (struct target_ops) <to_trace_set_readonly_regions>: | |
8603 | Add argument. | |
8604 | (target_trace_set_readonly_regions): Add argument. | |
8605 | * target.c (update_current_target): Update. | |
8606 | * remote.c (remote_trace_set_readonly_regions): Add 'self' | |
8607 | argument. | |
8608 | ||
780b049c TT |
8609 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
8610 | ||
8611 | * target.h (struct target_ops) <to_disable_tracepoint>: Add | |
8612 | argument. | |
8613 | (target_disable_tracepoint): Add argument. | |
8614 | * target.c (update_current_target): Update. | |
8615 | * remote.c (remote_disable_tracepoint): Add 'self' argument. | |
8616 | ||
46670d57 TT |
8617 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
8618 | ||
8619 | * target.h (struct target_ops) <to_enable_tracepoint>: Add | |
8620 | argument. | |
8621 | (target_enable_tracepoint): Add argument. | |
8622 | * target.c (update_current_target): Update. | |
8623 | * remote.c (remote_enable_tracepoint): Add 'self' argument. | |
8624 | ||
559d2b81 TT |
8625 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
8626 | ||
8627 | * target.h (struct target_ops) <to_download_trace_state_variable>: | |
8628 | Add argument. | |
8629 | (target_download_trace_state_variable): Add argument. | |
8630 | * target.c (update_current_target): Update. | |
8631 | * remote.c (remote_download_trace_state_variable): Add 'self' | |
8632 | argument. | |
8633 | ||
a52a8357 TT |
8634 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
8635 | ||
8636 | * target.h (struct target_ops) <to_can_download_tracepoint>: Add | |
8637 | argument. | |
8638 | (target_can_download_tracepoint): Add argument. | |
8639 | * target.c (update_current_target): Update. | |
8640 | * remote.c (remote_can_download_tracepoint): Add 'self' argument. | |
8641 | ||
548f7808 TT |
8642 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
8643 | ||
8644 | * target.h (struct target_ops) <to_download_tracepoint>: Add | |
8645 | argument. | |
8646 | (target_download_tracepoint): Add argument. | |
8647 | * target.c (update_current_target): Update. | |
8648 | * remote.c (remote_download_tracepoint): Add 'self' argument. | |
8649 | ||
ecae04e1 TT |
8650 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
8651 | ||
8652 | * target.h (struct target_ops) <to_trace_init>: Add argument. | |
8653 | (target_trace_init): Add argument. | |
8654 | * target.c (update_current_target): Update. | |
8655 | * remote.c (remote_trace_init): Add 'self' argument. | |
8656 | ||
fab5aa7c TT |
8657 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
8658 | ||
8659 | * target.h (struct target_ops) <to_fileio_readlink>: Add argument. | |
8660 | * target.c (target_fileio_readlink): Add argument. | |
8661 | * remote.c (remote_hostio_readlink): Add 'self' argument. | |
8662 | * inf-child.c (inf_child_fileio_readlink): Add 'self' argument. | |
8663 | ||
dbbca37d TT |
8664 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
8665 | ||
8666 | * target.h (struct target_ops) <to_fileio_unlink>: Add argument. | |
8667 | * target.c (target_fileio_unlink): Add argument. | |
8668 | * remote.c (remote_hostio_unlink): Add 'self' argument. | |
8669 | (remote_file_delete): Update. | |
8670 | * inf-child.c (inf_child_fileio_unlink): Add 'self' argument. | |
8671 | ||
df39ea25 TT |
8672 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
8673 | ||
8674 | * target.h (struct target_ops) <to_fileio_close>: Add argument. | |
8675 | * target.c (target_fileio_close): Add argument. | |
8676 | * remote.c (remote_hostio_close): Add 'self' argument. | |
8677 | (remote_hostio_close_cleanup): Update. | |
8678 | (remote_bfd_iovec_close, remote_file_put, remote_file_get): | |
8679 | Update. | |
8680 | * inf-child.c (inf_child_fileio_close): Add 'self' argument. | |
8681 | ||
a3be983c TT |
8682 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
8683 | ||
8684 | * target.h (struct target_ops) <to_fileio_pread>: Add argument. | |
8685 | * target.c (target_fileio_pread): Add argument. | |
8686 | * remote.c (remote_hostio_pread): Add 'self' argument. | |
8687 | (remote_bfd_iovec_pread, remote_file_get): Update. | |
8688 | * inf-child.c (inf_child_fileio_pread): Add 'self' argument. | |
8689 | ||
0d866f62 TT |
8690 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
8691 | ||
8692 | * target.h (struct target_ops) <to_fileio_pwrite>: Add argument. | |
8693 | * target.c (target_fileio_pwrite): Add argument. | |
8694 | * remote.c (remote_hostio_pwrite): Add 'self' argument. | |
8695 | (remote_file_put): Update. | |
8696 | * inf-child.c (inf_child_fileio_pwrite): Add 'self' argument. | |
8697 | ||
cd897586 TT |
8698 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
8699 | ||
8700 | * target.h (struct target_ops) <to_fileio_open>: Add argument. | |
8701 | * target.c (target_fileio_open): Add argument. | |
8702 | * remote.c (remote_hostio_open): Add 'self' argument. | |
8703 | (remote_bfd_iovec_open): Add 'self' argument. | |
8704 | (remote_file_put): Add 'self' argument. | |
8705 | (remote_file_get): Add 'self' argument. | |
8706 | * inf-child.c (inf_child_fileio_open): Add 'self' argument. | |
8707 | ||
78eff0ec TT |
8708 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
8709 | ||
8710 | * target.h (struct target_ops) <to_can_run_breakpoint_commands>: | |
8711 | Add argument. | |
8712 | (target_can_run_breakpoint_commands): Add argument. | |
8713 | * target.c (update_current_target): Update. | |
8714 | * remote.c (remote_can_run_breakpoint_commands): Add 'self' | |
8715 | argument. | |
8716 | (remote_insert_breakpoint): Add 'self' argument. | |
8717 | (remote_insert_hw_breakpoint): Add 'self' argument. | |
8718 | (remote_can_run_breakpoint_commands): Add 'self' argument. | |
8719 | ||
efcc2da7 TT |
8720 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
8721 | ||
8722 | * target.h (struct target_ops) | |
8723 | <to_supports_evaluation_of_breakpoint_conditions>: Add argument. | |
8724 | (target_supports_evaluation_of_breakpoint_conditions): Add | |
8725 | argument. | |
8726 | * target.c (update_current_target): Update. | |
8727 | * remote.c (remote_supports_cond_breakpoints): Add 'self' | |
8728 | argument. | |
8729 | (remote_insert_breakpoint): Add 'self' argument. | |
8730 | (remote_insert_hw_breakpoint): Add 'self' argument. | |
8731 | (remote_supports_cond_breakpoints): Add 'self' argument. | |
8732 | ||
6de37a3a TT |
8733 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
8734 | ||
8735 | * target.h (struct target_ops) <to_supports_string_tracing>: Add | |
8736 | argument. | |
8737 | (target_supports_string_tracing): Add argument. | |
8738 | * target.c (update_current_target): Update. | |
8739 | * remote.c (remote_supports_string_tracing): Add 'self' argument. | |
8740 | ||
2bfc0540 TT |
8741 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
8742 | ||
8743 | * target.h (struct target_ops) | |
8744 | <to_supports_disable_randomization>: Add argument. | |
8745 | * target.c (find_default_supports_disable_randomization): Add | |
8746 | argument. | |
8747 | (target_supports_disable_randomization): Add argument. | |
8748 | (find_default_supports_disable_randomization): Add 'self' | |
8749 | argument. | |
8750 | * remote.c (extended_remote_supports_disable_randomization): Add | |
8751 | 'self' argument. | |
8752 | (remote_supports_disable_randomization): Add 'self' argument. | |
8753 | (extended_remote_create_inferior): Update. | |
8754 | * linux-nat.c (linux_nat_supports_disable_randomization): Add | |
8755 | 'self' argument. | |
8756 | ||
7d178d6a TT |
8757 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
8758 | ||
8759 | * target.h (struct target_ops) | |
8760 | <to_supports_enable_disable_tracepoint>: Add argument. | |
8761 | (target_supports_enable_disable_tracepoint): Add argument. | |
8762 | * target.c (update_current_target): Update. | |
8763 | * remote.c (remote_supports_enable_disable_tracepoint): Add 'self' | |
8764 | argument. | |
8765 | ||
86ce2668 TT |
8766 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
8767 | ||
8768 | * target.h (struct target_ops) <to_supports_multi_process>: Add | |
8769 | argument. | |
8770 | (target_supports_multi_process): Add argument. | |
8771 | * target.c (update_current_target): Update. | |
8772 | * remote.c (remote_supports_multi_process): Add 'self' argument. | |
8773 | * linux-nat.c (linux_nat_supports_multi_process): Add 'self' | |
8774 | argument. | |
8775 | * darwin-nat.c (darwin_supports_multi_process): Add 'self' | |
8776 | argument. | |
8777 | ||
4c612759 TT |
8778 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
8779 | ||
8780 | * target.h (struct target_ops) <to_execution_direction>: Add | |
8781 | argument. | |
8782 | (target_execution_direction): Add argument. | |
8783 | * target.c (default_execution_direction): Add 'self' argument. | |
8784 | * record-full.c (record_full_execution_direction): Add 'self' | |
8785 | argument. | |
8786 | ||
19db3e69 TT |
8787 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
8788 | ||
8789 | * target.h (struct target_ops) <to_can_execute_reverse>: Add | |
8790 | argument. | |
8791 | (target_can_execute_reverse): Add argument. | |
8792 | * remote.c (remote_can_execute_reverse): Add 'self' argument. | |
8793 | * record-full.c (record_full_can_execute_reverse): Add 'self' | |
8794 | argument. | |
8795 | * record-btrace.c (record_btrace_can_execute_reverse): Add 'self' | |
8796 | argument. | |
8797 | ||
1e6b91a4 TT |
8798 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
8799 | ||
8800 | * windows-nat.c (windows_get_ada_task_ptid): Add 'self' argument. | |
8801 | * target.h (struct target_ops) <to_get_ada_task_ptid>: Add | |
8802 | argument. | |
8803 | (target_get_ada_task_ptid): Add argument. | |
8804 | * target.c (update_current_target): Update. | |
8805 | (default_get_ada_task_ptid): Add 'self' argument. | |
8806 | * sol-thread.c (sol_get_ada_task_ptid): Add 'self' argument. | |
8807 | * remote.c (remote_get_ada_task_ptid): Add 'self' argument. | |
8808 | * ravenscar-thread.c (ravenscar_get_ada_task_ptid): Add 'self' | |
8809 | argument. | |
8810 | * linux-thread-db.c (thread_db_get_ada_task_ptid): Add 'self' | |
8811 | argument. | |
8812 | * inf-ttrace.c (inf_ttrace_get_ada_task_ptid): Add 'self' | |
8813 | argument. | |
8814 | * dec-thread.c (dec_thread_get_ada_task_ptid): Add 'self' | |
8815 | argument. | |
8816 | * darwin-nat.c (darwin_get_ada_task_ptid): Add 'self' argument. | |
8817 | * aix-thread.c (aix_thread_get_ada_task_ptid): Add 'self' | |
8818 | argument. | |
8819 | ||
3c80fb48 TT |
8820 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
8821 | ||
8822 | * target.h (struct target_ops) <to_goto_bookmark>: Add argument. | |
8823 | (target_goto_bookmark): Add argument. | |
8824 | * target.c (dummy_goto_bookmark): Add 'self' argument. | |
8825 | * record-full.c (record_full_goto_bookmark): Add 'self' argument. | |
8826 | ||
dd0e2830 TT |
8827 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
8828 | ||
8829 | * target.h (struct target_ops) <to_get_bookmark>: Add argument. | |
8830 | (target_get_bookmark): Add argument. | |
8831 | * target.c (dummy_get_bookmark): Add 'self' argument. | |
8832 | * record-full.c (record_full_get_bookmark): Add 'self' argument. | |
8833 | ||
fc6691b2 TT |
8834 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
8835 | ||
8836 | * target.h (struct target_ops) <to_make_corefile_notes>: Add | |
8837 | argument. | |
8838 | (target_make_corefile_notes): Add argument. | |
8839 | * target.c (dummy_make_corefile_notes): Add 'self' argument. | |
8840 | * procfs.c (procfs_make_note_section): Add 'self' argument. | |
8841 | (procfs_make_note_section): Add 'self' argument. | |
8842 | (procfs_make_note_section): Add 'self' argument. | |
8843 | * linux-nat.c (linux_nat_make_corefile_notes): Add 'self' | |
8844 | argument. | |
8845 | * fbsd-nat.h (fbsd_make_corefile_notes): Add 'self' argument. | |
8846 | * fbsd-nat.c (fbsd_make_corefile_notes): Add 'self' argument. | |
8847 | * exec.c (exec_make_note_section): Add 'self' argument. | |
8848 | (exec_make_note_section): Add 'self' argument. | |
8849 | ||
2e73927c TT |
8850 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
8851 | ||
8852 | * target.h (struct target_ops) <to_find_memory_regions>: Add | |
8853 | argument. | |
8854 | (target_find_memory_regions): Add argument. | |
8855 | * target.c (dummy_find_memory_regions): Add 'self' argument. | |
8856 | * procfs.c (proc_find_memory_regions): Add 'self' argument. | |
8857 | * gnu-nat.c (gnu_find_memory_regions): Add 'self' argument. | |
8858 | * fbsd-nat.h (fbsd_find_memory_regions): Add 'self' argument. | |
8859 | * fbsd-nat.c (fbsd_find_memory_regions): Add 'self' argument. | |
8860 | * exec. (exec_do_find_memory_regions): New global. | |
8861 | (exec_set_find_memory_regions): Rewrite. | |
8862 | (exec_find_memory_regions): New function. | |
8863 | (init_exec_ops): Use exec_find_memory_regions. | |
8864 | ||
2a9a2795 TT |
8865 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
8866 | ||
8867 | * target.h (struct target_ops) <to_supports_non_stop>: Add | |
8868 | argument. | |
8869 | * target.c (find_default_supports_non_stop): Add argument. | |
8870 | (target_supports_non_stop): Add argument. | |
8871 | (find_default_supports_non_stop): Add 'self' argument. | |
8872 | * remote.c (remote_supports_non_stop): Add 'self' argument. | |
8873 | * linux-nat.c (linux_nat_supports_non_stop): Add 'self' argument. | |
8874 | ||
4ab76ea3 TT |
8875 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
8876 | ||
8877 | * target.h (struct target_ops) <to_log_command>: Add argument. | |
8878 | (target_log_command): Add argument. | |
8879 | * serial.h (serial_log_command): Add 'self' argument. | |
8880 | * serial.c (serial_log_command): Add 'self' argument. | |
8881 | ||
8dd27370 TT |
8882 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
8883 | ||
8884 | * windows-nat.c (windows_pid_to_exec_file): Add 'self' argument. | |
8885 | * target.h (struct target_ops) <to_pid_to_exec_file>: Add | |
8886 | argument. | |
8887 | (target_pid_to_exec_file): Add argument. | |
8888 | * target.c (debug_to_pid_to_exec_file): Add argument. | |
8889 | (update_current_target): Update. | |
8890 | * nbsd-nat.h (nbsd_pid_to_exec_file): Add 'self' argument. | |
8891 | * nbsd-nat.c (nbsd_pid_to_exec_file): Add 'self' argument. | |
8892 | * linux-nat.c (linux_child_pid_to_exec_file): Add 'self' argument. | |
8893 | (linux_handle_extended_wait): Update. | |
8894 | * inf-child.c (inf_child_pid_to_exec_file): Add 'self' argument. | |
8895 | * fbsd-nat.h (fbsd_pid_to_exec_file): Add 'self' argument. | |
8896 | * fbsd-nat.c (fbsd_pid_to_exec_file): Add 'self' argument. | |
8897 | * darwin-nat.c (darwin_pid_to_exec_file): Add 'self' argument. | |
8898 | ||
1aac633b TT |
8899 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
8900 | ||
8901 | * target.h (struct target_ops) <to_rcmd>: Add argument. | |
8902 | (target_rcmd): Add argument. | |
8903 | * target.c (debug_to_rcmd): Add argument. | |
8904 | (update_current_target, do_monitor_command): Update. | |
8905 | * remote.c (remote_rcmd): Add 'self' argument. | |
8906 | * monitor.c (monitor_rcmd): Add 'self' argument. | |
8907 | ||
1eab8a48 TT |
8908 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
8909 | ||
8910 | * windows-nat.c (windows_stop): Add 'self' argument. | |
8911 | * target.h (struct target_ops) <to_stop>: Add argument. | |
8912 | * target.c (target_stop): Add argument. | |
8913 | (debug_to_stop): Add argument. | |
8914 | (update_current_target): Update. | |
8915 | * remote.c (remote_stop): Add 'self' argument. | |
8916 | * remote-sim.c (gdbsim_stop): Add 'self' argument. | |
8917 | (gdbsim_cntrl_c): Update. | |
8918 | * remote-m32r-sdi.c (m32r_stop): Add 'self' argument. | |
8919 | * procfs.c (procfs_stop): Add 'self' argument. | |
8920 | * nto-procfs.c (procfs_stop): Add 'self' argument. | |
8921 | * monitor.c (monitor_stop): Add 'self' argument. | |
8922 | (monitor_open): Update. | |
8923 | * linux-nat.c (linux_nat_stop): Add argument. | |
8924 | * inf-ptrace.c (inf_ptrace_stop): Add 'self' argument. | |
8925 | * gnu-nat.c (gnu_stop): Add 'self' argument. | |
8926 | * darwin-nat.c (darwin_stop): Add 'self' argument. | |
8927 | ||
503a628d TT |
8928 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
8929 | ||
8930 | * target.h (struct target_ops) <to_thread_name>: Add argument. | |
8931 | * target.c (target_thread_name): Add argument. | |
8932 | (update_current_target): Update. | |
8933 | * linux-nat.c (linux_nat_thread_name): Add 'self' argument. | |
8934 | ||
c15906d8 TT |
8935 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
8936 | ||
8937 | * target.h (struct target_ops) <to_extra_thread_info>: Add | |
8938 | argument. | |
8939 | (target_extra_thread_info): Add argument. | |
8940 | * target.c (update_current_target): Update. | |
8941 | * remote.c (remote_threads_extra_info): Add 'self' argument. | |
8942 | * ravenscar-thread.c (ravenscar_extra_thread_info): Add 'self' | |
8943 | argument. | |
8944 | * nto-tdep.h (nto_extra_thread_info): Add 'self' argument. | |
8945 | * nto-tdep.c (nto_extra_thread_info): Add 'self' argument. | |
8946 | * linux-thread-db.c (thread_db_extra_thread_info): Add 'self' | |
8947 | argument. | |
8948 | * inf-ttrace.c (inf_ttrace_extra_thread_info): Add 'self' | |
8949 | argument. | |
8950 | * bsd-uthread.c (bsd_uthread_extra_thread_info): Add 'self' | |
8951 | argument. | |
8952 | * aix-thread.c (aix_thread_extra_thread_info): Add 'self' | |
8953 | argument. | |
8954 | ||
daf5e9b6 TT |
8955 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
8956 | ||
8957 | * target.h (struct target_ops) <to_program_signals>: Add argument. | |
8958 | * target.c (target_program_signals): Add argument. | |
8959 | * remote.c (remote_program_signals): Add 'self' argument. | |
8960 | ||
94bedb42 TT |
8961 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
8962 | ||
8963 | * target.h (struct target_ops) <to_pass_signals>: Add argument. | |
8964 | * target.c (target_pass_signals): Add argument. | |
8965 | * remote.c (remote_pass_signals): Add 'self' argument. | |
8966 | (remote_start_remote): Update. | |
8967 | * procfs.c (procfs_pass_signals): Add 'self' argument. | |
8968 | * nto-procfs.c (procfs_pass_signals): Add 'self' argument. | |
8969 | * linux-nat.c (linux_nat_pass_signals): Add 'self' argument. | |
8970 | (linux_nat_create_inferior, linux_nat_attach): Update. | |
8971 | ||
da82bd6b TT |
8972 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
8973 | ||
8974 | * windows-nat.c (windows_can_run): Add 'self' argument. | |
8975 | * target.h (struct target_ops) <to_can_run>: Add argument. | |
8976 | (target_can_run): Add argument. | |
8977 | * target.c (debug_to_can_run): Add argument. | |
8978 | (update_current_target): Update. | |
8979 | * nto-procfs.c (procfs_can_run): Add 'self' argument. | |
8980 | * inf-child.c (inf_child_can_run): Add 'self' argument. | |
8981 | * go32-nat.c (go32_can_run): Add 'self' argument. | |
8982 | ||
d796e1d6 TT |
8983 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
8984 | ||
8985 | * target.h (struct target_ops) <to_has_exited>: Add argument. | |
8986 | (target_has_exited): Add argument. | |
8987 | * target.c (debug_to_has_exited): Add argument. | |
8988 | (update_current_target): Update. | |
8989 | ||
ff214e67 TT |
8990 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
8991 | ||
8992 | * target.h (struct target_ops) <to_set_syscall_catchpoint>: Add | |
8993 | argument. | |
8994 | (target_set_syscall_catchpoint): Add argument. | |
8995 | * linux-nat.c (linux_child_set_syscall_catchpoint): Add 'self' | |
8996 | argument. | |
8997 | * target.c (update_current_target): Update. | |
8998 | ||
758e29d2 TT |
8999 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
9000 | ||
9001 | * target.h (struct target_ops) <to_remove_exec_catchpoint>: Add | |
9002 | argument. | |
9003 | (target_remove_exec_catchpoint): Add argument. | |
9004 | * target.c (debug_to_remove_exec_catchpoint): Add argument. | |
9005 | (update_current_target): Update. | |
9006 | * linux-nat.c (linux_child_remove_exec_catchpoint): Add 'self' | |
9007 | argument. | |
9008 | ||
ba025e51 TT |
9009 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
9010 | ||
9011 | * target.h (struct target_ops) <to_insert_exec_catchpoint>: Add | |
9012 | argument. | |
9013 | (target_insert_exec_catchpoint): Add argument. | |
9014 | * target.c (debug_to_insert_exec_catchpoint): Add argument. | |
9015 | (update_current_target): Update. | |
9016 | * linux-nat.c (linux_child_insert_exec_catchpoint): Add 'self' | |
9017 | argument. | |
9018 | ||
e98cf0cd TT |
9019 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
9020 | ||
9021 | * target.h (struct target_ops) <to_remove_vfork_catchpoint>: Add | |
9022 | argument. | |
9023 | (target_remove_vfork_catchpoint): Add argument. | |
9024 | * target.c (debug_to_remove_vfork_catchpoint): Add argument. | |
9025 | (update_current_target): Update. | |
9026 | * linux-nat.c (linux_child_remove_vfork_catchpoint): Add 'self' | |
9027 | argument. | |
9028 | ||
3ecc7da0 TT |
9029 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
9030 | ||
9031 | * target.h (struct target_ops) <to_insert_vfork_catchpoint>: Add | |
9032 | argument. | |
9033 | (target_insert_vfork_catchpoint): Add argument. | |
9034 | * target.c (debug_to_insert_vfork_catchpoint): Add argument. | |
9035 | (update_current_target): Update. | |
9036 | * linux-nat.c (linux_child_insert_vfork_catchpoint): Add 'self' | |
9037 | argument. | |
9038 | ||
973fc227 TT |
9039 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
9040 | ||
9041 | * target.h (struct target_ops) <to_remove_fork_catchpoint>: Add | |
9042 | argument. | |
9043 | (target_remove_fork_catchpoint): Add argument. | |
9044 | * target.c (debug_to_remove_fork_catchpoint): Add argument. | |
9045 | (update_current_target): Update. | |
9046 | * linux-nat.c (linux_child_remove_fork_catchpoint): Add 'self' | |
9047 | argument. | |
9048 | ||
a863b201 TT |
9049 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
9050 | ||
9051 | * target.h (struct target_ops) <to_insert_fork_catchpoint>: Add | |
9052 | argument. | |
9053 | (target_insert_fork_catchpoint): Add argument. | |
9054 | * target.c (debug_to_insert_fork_catchpoint): Add argument. | |
9055 | (update_current_target): Update. | |
9056 | * linux-nat.c (linux_child_insert_fork_catchpoint): Add 'self' | |
9057 | argument. | |
9058 | ||
2e97a79e TT |
9059 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
9060 | ||
9061 | * target.h (struct target_ops) <to_post_startup_inferior>: Add | |
9062 | argument. | |
9063 | (target_post_startup_inferior): Add argument. | |
9064 | * target.c (debug_to_post_startup_inferior): Add argument. | |
9065 | (update_current_target): Update. | |
9066 | * spu-linux-nat.c (spu_child_post_startup_inferior): Add 'self' | |
9067 | argument. | |
9068 | * linux-nat.c (linux_child_post_startup_inferior): Add 'self' | |
9069 | argument. | |
9070 | * inf-ptrace.c (inf_ptrace_post_startup_inferior): Add 'self' | |
9071 | argument. | |
9072 | * inf-child.c (inf_child_post_startup_inferior): Add 'self' | |
9073 | argument. | |
9074 | * i386-linux-nat.c (i386_linux_child_post_startup_inferior): Add | |
9075 | 'self' argument. | |
9076 | (super_post_startup_inferior): Likewise. | |
9077 | * amd64-linux-nat.c (amd64_linux_child_post_startup_inferior): Add | |
9078 | 'self' argument. | |
9079 | (super_post_startup_inferior): Likewise. | |
9080 | * aarch64-linux-nat.c (aarch64_linux_child_post_startup_inferior): | |
9081 | Add 'self' argument. | |
9082 | (super_post_startup_inferior): Likewise. | |
9083 | ||
71a9f134 TT |
9084 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
9085 | ||
9086 | * target.h (struct target_ops) <to_load>: Add argument. | |
9087 | * target.c (target_load): Add argument. | |
9088 | (debug_to_load): Add argument. | |
9089 | (update_current_target): Update. | |
9090 | * remote.c (remote_load): Add 'self' argument. | |
9091 | * remote-sim.c (gdbsim_load): Add 'self' argument. | |
9092 | * remote-mips.c (mips_load): Add 'self' argument. | |
9093 | * remote-m32r-sdi.c (m32r_load): Add 'self' argument. | |
9094 | * monitor.c (monitor_load): Add 'self' argument. | |
9095 | * m32r-rom.c (m32r_load_gen): Add 'self' argument. | |
9096 | ||
0a4f40a2 TT |
9097 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
9098 | ||
9099 | * target.h (struct target_ops) <to_terminal_info>: Add argument. | |
9100 | (target_terminal_info): Add argument. | |
9101 | * target.c (debug_to_terminal_info): Add argument. | |
9102 | (default_terminal_info): Likewise. | |
9103 | * inflow.c (child_terminal_info): Add 'self' argument. | |
9104 | * inferior.h (child_terminal_info): Add 'self' argument. | |
9105 | * go32-nat.c (go32_terminal_info): Add 'self' argument. | |
9106 | ||
ae3bd431 TT |
9107 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
9108 | ||
9109 | * target.h (struct target_ops) <to_terminal_save_ours>: Add | |
9110 | argument. | |
9111 | (target_terminal_save_ours): Add argument. | |
9112 | * target.c (debug_to_terminal_save_ours): Add argument. | |
9113 | (update_current_target): Update. | |
9114 | * inflow.c (terminal_save_ours): Add 'self' argument. | |
9115 | * inferior.h (terminal_save_ours): Add 'self' argument. | |
9116 | ||
e3594fd1 TT |
9117 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
9118 | ||
9119 | * target.h (struct target_ops) <to_terminal_ours>: Add argument. | |
9120 | (target_terminal_ours): Add argument. | |
9121 | * target.c (debug_to_terminal_ours): Add argument. | |
9122 | (update_current_target): Update. | |
9123 | * remote.c (remote_terminal_ours): Add 'self' argument. | |
9124 | (remote_close): Update. | |
9125 | * linux-nat.c (linux_nat_terminal_ours): Add 'self' argument. | |
9126 | * inflow.c (terminal_ours): Add 'self' argument. | |
9127 | * inferior.h (terminal_ours): Add 'self' argument. | |
9128 | * go32-nat.c (go32_terminal_ours): Add 'self' argument. | |
9129 | ||
2e1e1a19 TT |
9130 | 2014-02-19 Pedro Alves <palves@redhat.com> |
9131 | Tom Tromey <tromey@redhat.com> | |
9132 | ||
9133 | * target.h (struct target_ops) <to_terminal_ours_for_output>: Add | |
9134 | argument. | |
9135 | (target_terminal_ours_for_output): Add argument. | |
9136 | * target.c (debug_to_terminal_ours_for_output): Add argument. | |
9137 | (update_current_target): Update. | |
9138 | * inflow.c (terminal_ours_for_output): Add 'self' argument. | |
9139 | * inferior.h (terminal_ours_for_output): Add 'self' argument. | |
9140 | * go32-nat.c (go32_terminal_ours): Add 'self' argument. | |
9141 | ||
d2f640d4 TT |
9142 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
9143 | ||
9144 | * target.h (struct target_ops) <to_terminal_inferior>: Add | |
9145 | argument. | |
9146 | * target.c (target_terminal_inferior): Add argument. | |
9147 | (update_current_target): Update. | |
9148 | * remote.c (remote_terminal_inferior): Add 'self' argument. | |
9149 | * linux-nat.c (linux_nat_terminal_inferior): Add 'self' argument. | |
9150 | * inflow.c (terminal_inferior): Add 'self' argument. | |
9151 | * inferior.h (terminal_inferior): Add 'self' argument. | |
9152 | * go32-nat.c (go32_terminal_inferior): Add 'self' argument. | |
9153 | (go32_terminal_inferior): Add 'self' argument. | |
9154 | ||
c42bf286 TT |
9155 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
9156 | ||
9157 | * target.h (struct target_ops) <to_terminal_init>: Add argument. | |
9158 | (target_terminal_init): Add argument. | |
9159 | * target.c (debug_to_terminal_init): Add argument. | |
9160 | (update_current_target): Update. | |
9161 | * inflow.c (terminal_init_inferior): Add 'self' argument. | |
9162 | * inferior.h (terminal_init_inferior): Add 'self' argument. | |
9163 | * go32-nat.c (go32_terminal_init): Add 'self' argument. | |
9164 | * gnu-nat.c (gnu_terminal_init_inferior): Add 'self' argument. | |
9165 | ||
c3a5ff89 TT |
9166 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
9167 | ||
9168 | * target.h (struct target_ops) | |
9169 | <to_can_accel_watchpoint_condition>: Add argument. | |
9170 | (target_can_accel_watchpoint_condition): Add argument. | |
9171 | * target.c (debug_to_can_accel_watchpoint_condition): Add | |
9172 | argument. | |
9173 | (update_current_target): Update. | |
9174 | * ppc-linux-nat.c (ppc_linux_can_accel_watchpoint_condition): Add | |
9175 | 'self' argument. | |
9176 | ||
31568a15 TT |
9177 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
9178 | ||
9179 | * target.h (struct target_ops) <to_region_ok_for_hw_watchpoint>: | |
9180 | Add argument. | |
9181 | (target_region_ok_for_hw_watchpoint): Add argument. | |
9182 | * target.c (debug_to_region_ok_for_hw_watchpoint): Add argument. | |
9183 | (default_region_ok_for_hw_watchpoint): Add argument. | |
9184 | * spu-multiarch.c (spu_region_ok_for_hw_watchpoint): Add argument. | |
9185 | * s390-linux-nat.c (s390_region_ok_for_hw_watchpoint): Add 'self' | |
9186 | argument. | |
9187 | * remote.c (remote_region_ok_for_hw_watchpoint): Add 'self' | |
9188 | argument. | |
9189 | * procfs.c (procfs_region_ok_for_hw_watchpoint): Add 'self' | |
9190 | argument. | |
9191 | * ppc-linux-nat.c (ppc_linux_region_ok_for_hw_watchpoint): Add | |
9192 | 'self' argument. | |
9193 | * mips-linux-nat.c (mips_linux_region_ok_for_hw_watchpoint): Add | |
9194 | 'self' argument. | |
9195 | * inf-ttrace.c (inf_ttrace_region_ok_for_hw_watchpoint): Add | |
9196 | 'self' argument. | |
9197 | * i386-nat.c (i386_region_ok_for_watchpoint): Add 'self' argument. | |
9198 | * arm-linux-nat.c (arm_linux_region_ok_for_hw_watchpoint): Add | |
9199 | 'self' argument. | |
9200 | * aarch64-linux-nat.c (aarch64_linux_region_ok_for_hw_watchpoint): | |
9201 | Add 'self' argument. | |
9202 | ||
7bb99c53 TT |
9203 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
9204 | ||
9205 | * target.h (struct target_ops) <to_insert_watchpoint>: Add | |
9206 | argument. | |
9207 | (target_insert_watchpoint): Add argument. | |
9208 | * target.c (debug_to_insert_watchpoint): Add argument. | |
9209 | (update_current_target): Update. | |
9210 | * s390-linux-nat.c (s390_insert_watchpoint): Add 'self' argument. | |
9211 | * remote.c (remote_insert_watchpoint): Add 'self' argument. | |
9212 | * remote-mips.c (mips_insert_watchpoint): Add 'self' argument. | |
9213 | * remote-m32r-sdi.c (m32r_insert_watchpoint): Add 'self' argument. | |
9214 | * procfs.c (procfs_insert_watchpoint): Add 'self' argument. | |
9215 | * ppc-linux-nat.c (ppc_linux_insert_watchpoint): Add 'self' | |
9216 | argument. | |
9217 | * nto-procfs.c (procfs_insert_hw_watchpoint): Add 'self' argument. | |
9218 | (procfs_insert_hw_watchpoint): Add 'self' argument. | |
9219 | * mips-linux-nat.c (mips_linux_insert_watchpoint): Add 'self' | |
9220 | argument. | |
9221 | * inf-ttrace.c (inf_ttrace_insert_watchpoint): Add 'self' | |
9222 | argument. | |
9223 | * ia64-linux-nat.c (ia64_linux_insert_watchpoint): Add 'self' | |
9224 | argument. | |
9225 | * i386-nat.c (i386_insert_watchpoint): Add 'self' argument. | |
9226 | * arm-linux-nat.c (arm_linux_insert_watchpoint): Add 'self' | |
9227 | argument. | |
9228 | * aarch64-linux-nat.c (aarch64_linux_insert_watchpoint): Add | |
9229 | 'self' argument. | |
9230 | ||
11b5219a TT |
9231 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
9232 | ||
9233 | * target.h (struct target_ops) <to_remove_watchpoint>: Add | |
9234 | argument. | |
9235 | (target_remove_watchpoint): Add argument. | |
9236 | * target.c (debug_to_remove_watchpoint): Add argument. | |
9237 | (update_current_target): Update. | |
9238 | * s390-linux-nat.c (s390_remove_watchpoint): Add 'self' argument. | |
9239 | * remote.c (remote_remove_watchpoint): Add 'self' argument. | |
9240 | * remote-mips.c (mips_remove_watchpoint): Add 'self' argument. | |
9241 | * remote-m32r-sdi.c (m32r_remove_watchpoint): Add 'self' argument. | |
9242 | * procfs.c (procfs_remove_watchpoint): Add 'self' argument. | |
9243 | * ppc-linux-nat.c (ppc_linux_remove_watchpoint): Add 'self' | |
9244 | argument. | |
9245 | * nto-procfs.c (procfs_remove_hw_watchpoint): Add 'self' argument. | |
9246 | * mips-linux-nat.c (mips_linux_remove_watchpoint): Add 'self' | |
9247 | argument. | |
9248 | * inf-ttrace.c (inf_ttrace_remove_watchpoint): Add 'self' | |
9249 | argument. | |
9250 | * ia64-linux-nat.c (ia64_linux_remove_watchpoint): Add 'self' | |
9251 | argument. | |
9252 | * i386-nat.c (i386_remove_watchpoint): Add 'self' argument. | |
9253 | * arm-linux-nat.c (arm_linux_remove_watchpoint): Add 'self' | |
9254 | argument. | |
9255 | * aarch64-linux-nat.c (aarch64_linux_remove_watchpoint): Add | |
9256 | 'self' argument. | |
9257 | ||
a64dc96c TT |
9258 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
9259 | ||
9260 | * target.h (struct target_ops) <to_remove_hw_breakpoint>: Add | |
9261 | argument. | |
9262 | (target_remove_hw_breakpoint): Add argument. | |
9263 | * target.c (debug_to_remove_hw_breakpoint): Add argument. | |
9264 | (update_current_target): Update. | |
9265 | * remote.c (remote_remove_hw_breakpoint): Add 'self' argument. | |
9266 | * ppc-linux-nat.c (ppc_linux_remove_hw_breakpoint): Add 'self' | |
9267 | argument. | |
9268 | * i386-nat.c (i386_remove_hw_breakpoint): Add 'self' argument. | |
9269 | * arm-linux-nat.c (arm_linux_remove_hw_breakpoint): Add 'self' | |
9270 | argument. | |
9271 | * aarch64-linux-nat.c (aarch64_linux_remove_hw_breakpoint): Add | |
9272 | 'self' argument. | |
9273 | ||
23a26771 TT |
9274 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
9275 | ||
9276 | * target.h (struct target_ops) <to_insert_hw_breakpoint>: Add | |
9277 | argument. | |
9278 | (target_insert_hw_breakpoint): Add argument. | |
9279 | * target.c (debug_to_insert_hw_breakpoint): Add argument. | |
9280 | (update_current_target): Update. | |
9281 | * remote.c (remote_insert_hw_breakpoint): Add 'self' argument. | |
9282 | * ppc-linux-nat.c (ppc_linux_insert_hw_breakpoint): Add 'self' | |
9283 | argument. | |
9284 | * nto-procfs.c (procfs_insert_hw_breakpoint): Add 'self' argument. | |
9285 | * i386-nat.c (i386_insert_hw_breakpoint): Add 'self' argument. | |
9286 | * arm-linux-nat.c (arm_linux_insert_hw_breakpoint): Add 'self' | |
9287 | argument. | |
9288 | * aarch64-linux-nat.c (aarch64_linux_insert_hw_breakpoint): Add | |
9289 | 'self' argument. | |
9290 | ||
5461485a TT |
9291 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
9292 | ||
9293 | * target.h (struct target_ops) <to_can_use_hw_breakpoint>: Add | |
9294 | argument. | |
9295 | (target_can_use_hardware_watchpoint): Add argument. | |
9296 | * target.c (debug_to_can_use_hw_breakpoint): Add argument. | |
9297 | (update_current_target): Update. | |
9298 | * spu-linux-nat.c (spu_can_use_hw_breakpoint): Add 'self' | |
9299 | argument. | |
9300 | * s390-linux-nat.c (s390_can_use_hw_breakpoint): Add 'self' | |
9301 | argument. | |
9302 | * remote.c (remote_check_watch_resources): Add 'self' argument. | |
9303 | * remote-mips.c (mips_can_use_watchpoint): Add 'self' argument. | |
9304 | * remote-m32r-sdi.c (m32r_can_use_hw_watchpoint): Add 'self' | |
9305 | argument. | |
9306 | * procfs.c (procfs_can_use_hw_breakpoint): Add 'self' argument. | |
9307 | * ppc-linux-nat.c (ppc_linux_can_use_hw_breakpoint): Add 'self' | |
9308 | argument. | |
9309 | * nto-procfs.c (procfs_can_use_hw_breakpoint): Add 'self' | |
9310 | argument. | |
9311 | * mips-linux-nat.c (mips_linux_can_use_hw_breakpoint): Add 'self' | |
9312 | argument. | |
9313 | * inf-ttrace.c (inf_ttrace_can_use_hw_breakpoint): Add 'self' | |
9314 | argument. | |
9315 | * ia64-linux-nat.c (ia64_linux_can_use_hw_breakpoint): Add 'self' | |
9316 | argument. | |
9317 | * ia64-hpux-nat.c (ia64_hpux_can_use_hw_breakpoint): Add 'self' | |
9318 | argument. | |
9319 | * i386-nat.c (i386_can_use_hw_breakpoint): Add 'self' argument. | |
9320 | * arm-linux-nat.c (arm_linux_can_use_hw_breakpoint): Add 'self' | |
9321 | argument. | |
9322 | * aarch64-linux-nat.c (aarch64_linux_can_use_hw_breakpoint): Add | |
9323 | 'self' argument. | |
9324 | ||
f045800c TT |
9325 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
9326 | ||
9327 | * target.h (struct target_ops) <to_post_attach>: Add argument. | |
9328 | (target_post_attach): Add argument. | |
9329 | * target.c (debug_to_post_attach): Add argument. | |
9330 | (update_current_target): Update. | |
9331 | * spu-linux-nat.c (spu_child_post_attach): Add 'self' argument. | |
9332 | * nto-procfs.c (procfs_post_attach): Add 'self' argument. | |
9333 | * linux-nat.c (linux_child_post_attach): Add 'self' argument. | |
9334 | * inf-ptrace.c (inf_ptrace_post_attach): Add 'self' argument. | |
9335 | * inf-child.c (inf_child_post_attach): Add 'self' argument. | |
9336 | ||
de90e03d TT |
9337 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
9338 | ||
9339 | * windows-nat.c (windows_close): Add 'self' argument. | |
9340 | * tracepoint.c (tfile_close): Add 'self' argument. | |
9341 | * target.h (struct target_ops) <to_close>: Add argument. | |
9342 | * target.c (target_close): Add argument. | |
9343 | (update_current_target): Update. | |
9344 | * remote.c (remote_close): Add 'self' argument. | |
9345 | * remote-sim.c (gdbsim_close): Add 'self' argument. | |
9346 | * remote-mips.c (mips_close): Add 'self' argument. | |
9347 | * remote-m32r-sdi.c (m32r_close): Add 'self' argument. | |
9348 | * record-full.c (record_full_close): Add 'self' argument. | |
9349 | * record-btrace.c (record_btrace_close): Add 'self' argument. | |
9350 | * monitor.h (monitor_close): Add 'self' argument. | |
9351 | * monitor.c (monitor_close): Add 'self' argument. | |
9352 | * mips-linux-nat.c (mips_linux_close): Add 'self' argument. | |
9353 | * linux-nat.c (linux_nat_close): Add argument. | |
9354 | * go32-nat.c (go32_close): Add 'self' argument. | |
9355 | * exec.c (exec_close_1): Add 'self' argument. | |
9356 | * ctf.c (ctf_close): Add 'self' argument. | |
9357 | * corelow.c (core_close): Add 'self' argument. | |
9358 | (core_close_cleanup): Update. | |
9359 | * bsd-uthread.c (bsd_uthread_close): Add 'self' argument. | |
9360 | * bsd-kvm.c (bsd_kvm_close): Add 'self' argument. | |
9361 | ||
9dd130a0 TT |
9362 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
9363 | ||
9364 | * remote.c (remote_load): New function. | |
9365 | (init_remote_ops): Use it. | |
9366 | ||
46917d26 TT |
9367 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
9368 | ||
9369 | * common/linux-btrace.c (linux_supports_btrace): Add "ops" | |
9370 | argument. | |
9371 | * common/linux-btrace.h (linux_supports_btrace): Update. | |
9372 | * remote.c (remote_supports_btrace): Add "self" argument. | |
9373 | * target-delegates.c: Rebuild. | |
9374 | * target.c (target_supports_btrace): Remove. | |
9375 | * target.h (struct target_ops) <to_supports_btrace>: Add | |
9376 | target_ops argument. | |
9377 | (target_supports_btrace): New define. | |
9378 | ||
6b84065d TT |
9379 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
9380 | ||
9381 | * record-full.c (record_full_beneath_to_resume_ops) | |
9382 | (record_full_beneath_to_resume, record_full_beneath_to_wait_ops) | |
9383 | (record_full_beneath_to_wait) | |
9384 | (record_full_beneath_to_store_registers_ops) | |
9385 | (record_full_beneath_to_store_registers) | |
9386 | (record_full_beneath_to_xfer_partial_ops) | |
9387 | (record_full_beneath_to_xfer_partial) | |
9388 | (record_full_beneath_to_insert_breakpoint_ops) | |
9389 | (record_full_beneath_to_insert_breakpoint) | |
9390 | (record_full_beneath_to_remove_breakpoint_ops) | |
9391 | (record_full_beneath_to_remove_breakpoint) | |
9392 | (record_full_beneath_to_stopped_by_watchpoint) | |
9393 | (record_full_beneath_to_stopped_data_address) | |
9394 | (record_full_beneath_to_async, tmp_to_resume_ops, tmp_to_resume) | |
9395 | (tmp_to_wait_ops, tmp_to_wait, tmp_to_store_registers_ops) | |
9396 | (tmp_to_store_registers, tmp_to_xfer_partial_ops) | |
9397 | (tmp_to_xfer_partial, tmp_to_instmp_to_insert_breakpoint_ops) | |
9398 | (tmp_to_insert_breakpoint, tmp_to_remove_breakpoint_ops) | |
9399 | (tmp_to_remove_breakpoint, tmp_to_stopped_by_watchpoint) | |
9400 | (tmp_to_stopped_data_address, tmp_to_async): Remove. | |
9401 | (record_full_open_1, record_full_open): Update. Use RECORD_IS_USED. | |
9402 | (record_full_resume, record_full_wait_1) | |
9403 | (record_full_stopped_by_watchpoint, record_full_stopped_data_address) | |
9404 | (record_full_store_registers, record_full_xfer_partial) | |
9405 | (record_full_insert_breakpoint, record_full_remove_breakpoint) | |
9406 | (record_full_async, record_full_core_xfer_partial): Use target | |
9407 | delegation. | |
9408 | * target-delegates.c: Rebuild. | |
9409 | * target.c (current_xfer_partial): Remove. | |
9410 | (update_current_target): Do not INHERIT or de_fault | |
9411 | to_insert_breakpoint, to_remove_breakpoint, | |
9412 | to_stopped_data_address, to_stopped_by_watchpoint, to_can_async_p, | |
9413 | to_is_async_p, to_async. Do not set to_xfer_partial field. | |
9414 | (default_xfer_partial): Simplify. | |
9415 | (current_xfer_partial): Remove. | |
9416 | (target_wait, target_resume): Simplify. | |
9417 | (find_default_can_async_p, find_default_is_async_p): Update. | |
9418 | (init_dummy_target): Don't set to_can_async_p, to_is_async_p, | |
9419 | to_xfer_partial, to_stopped_by_watchpoint, | |
9420 | to_stopped_data_address. | |
9421 | (target_store_registers): Simplify. | |
9422 | (forward_target_remove_breakpoint) | |
9423 | (forward_target_insert_breakpoint): Remove. | |
9424 | (target_remove_breakpoint, target_insert_breakpoint) | |
9425 | (debug_to_insert_breakpoint, debug_to_remove_breakpoint): Update. | |
9426 | * target.h (struct target_ops) <to_resume, to_wait, | |
9427 | to_store_registers, to_insert_breakpoint, to_remove_breakpoint, | |
9428 | to_stopped_by_watchpoint, to_stopped_data_address, to_can_async_p, | |
9429 | to_is_async_p, to_async, to_xfer_partial>: Add TARGET_DEFAULT | |
9430 | markup. | |
9431 | (forward_target_remove_breakpoint) | |
9432 | (forward_target_insert_breakpoint): Remove. | |
9433 | * record-btrace.c (record_btrace_remove_breakpoint): Delegate | |
9434 | directly. | |
9435 | (record_btrace_insert_breakpoint): Delegate directly. | |
9436 | ||
1101cb7b TT |
9437 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
9438 | ||
9439 | PR build/7701: | |
9440 | * target-delegates.c: New file. | |
9441 | * target.c: Include target-delegates.c. | |
9442 | (init_dummy_target): Call install_dummy_methods. | |
9443 | (complete_target_initialization): Call install_delegators. | |
9444 | * target.h (TARGET_DEFAULT_IGNORE, TARGET_DEFAULT_NORETURN) | |
9445 | (TARGET_DEFAULT_RETURN, TARGET_DEFAULT_FUNC): New defines. | |
9446 | * make-target-delegates: New file. | |
9447 | ||
8b06beed TT |
9448 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
9449 | ||
9450 | * record.c (find_record_target): Use find_target_at. | |
9451 | * target.c (find_target_at): New function. | |
9452 | * target.h (find_target_at): Declare. | |
9453 | ||
6a109b6b TT |
9454 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
9455 | ||
9456 | * aarch64-linux-nat.c (aarch64_linux_stopped_by_watchpoint): | |
9457 | Add 'ops' argument. | |
9458 | * arm-linux-nat.c (arm_linux_stopped_by_watchpoint): Add | |
9459 | 'ops' argument. | |
9460 | * i386-nat.c (i386_stopped_by_watchpoint): Add 'ops' argument. | |
9461 | * ia64-linux-nat.c (ia64_linux_stopped_by_watchpoint): Add | |
9462 | 'ops' argument. | |
9463 | * inf-ttrace.c (inf_ttrace_stopped_by_watchpoint): Add 'ops' | |
9464 | argument. | |
9465 | * linux-nat.c (save_sigtrap): Update. | |
9466 | (linux_nat_stopped_by_watchpoint, linux_nat_is_async_p) | |
9467 | (linux_nat_can_async_p, linux_nat_async): Add 'ops' argument. | |
9468 | (linux_nat_close): Update. | |
9469 | * mips-linux-nat.c (mips_linux_stopped_by_watchpoint): Add 'ops' | |
9470 | argument. | |
9471 | * ppc-linux-nat.c (ppc_linux_stopped_by_watchpoint): Add 'ops' | |
9472 | argument. | |
9473 | * procfs.c (procfs_stopped_by_watchpoint): Add 'ops' argument. | |
9474 | * record-full.c (record_full_beneath_to_stopped_by_watchpoint) | |
9475 | (record_full_beneath_to_async, tmp_to_stopped_by_watchpoint) | |
9476 | (tmp_to_async): Add 'ops' argument. | |
9477 | (record_full_stopped_by_watchpoint, record_full_async) | |
9478 | (record_full_can_async_p, record_full_is_async_p): Add 'ops' | |
9479 | argument. | |
9480 | * remote-m32r-sdi.c (m32r_insert_breakpoint, m32r_remove_breakpoint) | |
9481 | (m32r_stopped_by_watchpoint): Add 'ops' argument. | |
9482 | * remote-mips.c (mips_stopped_by_watchpoint): Add 'ops' argument. | |
9483 | * remote.c (remote_stopped_by_watchpoint_p, remote_can_async_p) | |
9484 | (remote_is_async_p, remote_async): Add 'ops' argument. | |
9485 | (remote_stopped_data_address): Update. | |
9486 | * s390-nat.c (s390_stopped_by_watchpoint): Add 'ops' argument. | |
9487 | * target.c (update_current_target) | |
9488 | (find_default_can_async_p, find_default_is_async_p): Update. | |
9489 | (init_dummy_target): Update. | |
9490 | (debug_to_stopped_by_watchpoint): Add 'ops' argument. | |
9491 | * target.h (struct target_ops) <to_stopped_by_watchpoint, | |
9492 | to_can_async_p, to_is_async_p, to_async>: Add 'ops' argument. | |
9493 | (target_can_async_p, target_is_async_p, target_async) | |
9494 | (target_stopped_by_watchpoint): Update. | |
9495 | ||
e095146b YQ |
9496 | 2014-02-19 Yao Qi <yao@codesourcery.com> |
9497 | ||
9498 | PR gdb/16220 | |
9499 | * gdbarch.sh: Remove startup_gdbarch. | |
9500 | * gdbarch.c: Regenerated. | |
9501 | * gdbarch.h: Likewise. | |
9502 | ||
bc3c6b36 KB |
9503 | 2014-02-17 Kevin Buettner <kevinb@redhat.com> |
9504 | ||
9505 | * rl78-tdep.c (rl78_g10_register_name): New function. | |
9506 | (rl78_return_value): Add g10 support. | |
9507 | (rl78_gdbarch_init): Register rl78_g10_register_name for the | |
9508 | g10. | |
9509 | ||
98dc0167 | 9510 | 2014-02-17 Doug Evans <xdje42@gmail.com> |
f01c1940 DE |
9511 | |
9512 | * Makefile.in (SUBDIR_GUILE_OBS): Resort alphabetically. | |
9513 | (SUBDIR_GUILE_SRCS): Ditto. | |
9514 | (scm-gsmob.o): Ditto. | |
9515 | ||
842c05cd YQ |
9516 | 2014-02-17 Yao Qi <yao@codesourcery.com> |
9517 | ||
9518 | * gnu-nat.c (ILL_RPC): Declare defined function. | |
9519 | ||
25c0bd04 YQ |
9520 | 2014-02-17 Yao Qi <yao@codesourcery.com> |
9521 | ||
9522 | * gnu-nat.c (gnu_read_inferior): Change 'copy_count' type to | |
9523 | mach_msg_type_number_t. | |
9524 | (gnu_write_inferior): Likewise. | |
9525 | ||
a9a758e3 YQ |
9526 | 2014-02-17 Yao Qi <yao@codesourcery.com> |
9527 | ||
9528 | * gnu-nat.c (proc_get_exception_port): Use 'lu' insetad of 'd' | |
9529 | in format string. | |
9530 | (proc_steal_exc_port, make_proc, inf_set_pid): Likewise. | |
9531 | (inf_validate_procs, inf_signal): Likewise. | |
9532 | (S_exception_raise_request): Likewise. | |
9533 | (do_mach_notify_dead_name): Likewise. | |
9534 | (steal_exc_port): Likewise. | |
9535 | (gnu_read_inferior): Change 'copy_count''s type to | |
9536 | mach_msg_type_number_t. | |
9537 | (gnu_write_inferior): Likewise. Use 'lx' instead of 'x' in | |
9538 | format string. | |
9539 | ||
bae8023e TS |
9540 | 2014-02-16 Thomas Schwinge <thomas@codesourcery.com> |
9541 | ||
c82f56d9 TS |
9542 | * gnu-nat.c (struct inf): Change pending_execs member to a 1-bit |
9543 | flag. Adjust all users; in particular... | |
9544 | (gnu_wait): ..., don't decrement its value in here... | |
9545 | (gnu_create_inferior): ..., and instead set the flag in here, | |
9546 | around the startup_inferior call, and call that one with | |
9547 | START_INFERIOR_TRAPS_EXPECTED. | |
9548 | ||
3398af6a TS |
9549 | * gnu-nat.c (ill_rpc): Remove function; replaced with this... |
9550 | (ILL_RPC): ... new macro. | |
9551 | (do_mach_notify_no_senders, do_mach_notify_port_deleted) | |
9552 | (do_mach_notify_msg_accepted, do_mach_notify_port_destroyed) | |
9553 | (do_mach_notify_send_once, S_proc_setmsgport_reply) | |
9554 | (S_proc_getmsgport_reply, S_msg_sig_post_reply): Generate stub | |
9555 | functions with ILL_RPC macro. | |
9556 | (S_proc_pid2task_reply, S_proc_task2pid_reply) | |
9557 | (S_proc_task2proc_reply, S_proc_proc2task_reply) | |
9558 | (S_proc_pid2proc_reply, S_proc_getprocinfo_reply) | |
9559 | (S_proc_getprocargs_reply, S_proc_getprocenv_reply) | |
9560 | (S_proc_getloginid_reply, S_proc_getloginpids_reply) | |
9561 | (S_proc_getlogin_reply, S_proc_getsid_reply) | |
9562 | (S_proc_getsessionpgids_reply, S_proc_getsessionpids_reply) | |
9563 | (S_proc_getsidport_reply, S_proc_getpgrp_reply) | |
9564 | (S_proc_getpgrppids_reply, S_proc_get_tty_reply) | |
9565 | (S_proc_getnports_reply, S_proc_is_important_reply) | |
9566 | (S_proc_get_code_reply): New stub functions, generated with | |
9567 | ILL_RPC macro. | |
9568 | ||
d47642c9 TS |
9569 | * reply_mig_hack.awk: In phase 5, keep going if we have not yet |
9570 | collected the type check structures. | |
9571 | ||
bae8023e TS |
9572 | * reply_mig_hack.awk: Don't expect to see the auto keyword. |
9573 | ||
8a55ffb0 DE |
9574 | 2014-02-14 Doug Evans <dje@google.com> |
9575 | ||
9576 | * target.c (target_write_partial): Fix result type. | |
9577 | ||
c2853f3d JM |
9578 | 2014-02-14 Jose E. Marchesi <jose.marchesi@oracle.com> |
9579 | ||
9580 | * sparc64-linux-nat.c (_initialize_sparc64_linux_nat): Register | |
9581 | the proper offsets to access fpregset_t. | |
9582 | ||
ac61d2db SA |
9583 | 2014-02-13 Sanimir Agovic <sanimir.agovic@intel.com> |
9584 | ||
9585 | * cris-tdep.c (cris_supply_gregset): Remove zerobuf. | |
9586 | (_initialize_cris_tdep): Remove cris_set_cmdlist, cris_show_cmdlist. | |
9587 | * h8300-tdep.c (setmachinelist): Remove global. | |
9588 | * hppa-tdep.c (hppa_sigtramp): Remove global. | |
9589 | * mipsnbsd-tdep.c (sigtramp_retcode_mipsel, sigtramp_retcode_mipseb | |
9590 | RETCODE_NWORDS, RETCODE_SIZE): Wrap code with #if 0. | |
9591 | * ravenscar-thread.c (update_target_observer): Remove global. | |
9592 | * rs6000-tdep.c (rs6000_gdbarch_init): Remove segment_regs. | |
9593 | ||
9d2d0b8b TT |
9594 | 2014-02-12 Tom Tromey <tromey@redhat.com> |
9595 | ||
9596 | * common/rsp-low.c: Update comments. | |
9597 | * common/rsp-low.h: Update comments. | |
9598 | ||
a7191e8b TT |
9599 | 2014-02-12 Tom Tromey <tromey@redhat.com> |
9600 | ||
9601 | * common/rsp-low.c (convert_ascii_to_int): Remove. | |
9602 | * common/rsp-low.h (convert_ascii_to_int): Don't declare. | |
9603 | ||
ff0e980e TT |
9604 | 2014-02-12 Tom Tromey <tromey@redhat.com> |
9605 | ||
9606 | * common/rsp-low.h (unhexify): Don't declare. | |
9607 | * common/rsp-low.c (unhexify): Remove. | |
9608 | ||
e9371aff TT |
9609 | 2014-02-12 Tom Tromey <tromey@redhat.com> |
9610 | ||
9611 | * common/rsp-low.h (convert_int_to_ascii): Don't declare. | |
9612 | * common/rsp-low.c (convert_int_to_ascii): Remove. | |
9613 | ||
971dc0b8 TT |
9614 | 2014-02-12 Tom Tromey <tromey@redhat.com> |
9615 | ||
9616 | * common/rsp-low.h (hexify): Don't declare. | |
9617 | * common/rsp-low.c (hexify): Remove. | |
9618 | ||
0a822afb TT |
9619 | 2014-02-12 Tom Tromey <tromey@redhat.com> |
9620 | ||
9621 | * common/rsp-low.c (hexify): Never take strlen of argument. | |
9622 | ||
9f1b45b0 TT |
9623 | 2014-02-12 Tom Tromey <tromey@redhat.com> |
9624 | ||
9625 | * common/rsp-low.c (bin2hex): Never take strlen of argument. | |
9626 | * remote.c (extended_remote_run, remote_rcmd) | |
9627 | (remote_download_trace_state_variable, remote_save_trace_data) | |
9628 | (remote_set_trace_notes): Update. | |
9629 | * tracepoint.c (encode_source_string, tfile_write_status) | |
9630 | (tfile_write_uploaded_tsv): Update. | |
9631 | ||
9c3d6531 TT |
9632 | 2014-02-12 Tom Tromey <tromey@redhat.com> |
9633 | ||
9634 | * tracepoint.c: Include rsp-low.h. | |
9635 | * remote.h (hex2bin, bin2hex, unpack_varlen_hex): Don't declare. | |
9636 | * remote.c: Include rsp-low.h. | |
9637 | (hexchars, ishex, unpack_varlen_hex, pack_nibble, pack_hex_byte) | |
9638 | (fromhex, hex2bin, tohex, bin2hex, remote_escape_output) | |
9639 | (remote_unescape_input): Move to common/rsp-low.c. | |
9640 | * common/rsp-low.h: New file. | |
9641 | * common/rsp-low.c: New file. | |
9642 | * Makefile.in (SFILES): Add common/rsp-low.c. | |
9643 | (HFILES_NO_SRCDIR): Add common/rsp-low.h. | |
9644 | (COMMON_OBS): Add rsp-low.o. | |
9645 | (rsp-low.o): New target. | |
9646 | ||
01fd3ea5 TT |
9647 | 2014-02-12 Tom Tromey <tromey@redhat.com> |
9648 | ||
9649 | * utils.h: Include print-utils.h. | |
9650 | (host_address_to_string, plongest, pulongest, phex, phex_nz) | |
9651 | (int_string, core_addr_to_string, core_addr_to_string_nz) | |
9652 | (hex_string, hex_string_custom): Don't declare. | |
9653 | * utils.c (NUMCELLS, CELLSIZE, get_cell, decimal2str, pulongest) | |
9654 | (plongest, thirty_two, phex, phex_nz, octal2str, hex_string) | |
9655 | (hex_string_custom, int_string, core_addr_to_string) | |
9656 | (core_addr_to_string_nz, host_address_to_string): Move to | |
9657 | common/print-utils.c. | |
9658 | * common/print-utils.h: New file. | |
9659 | * common/print-utils.c: New file | |
9660 | * Makefile.in (SFILES): Add common/print-utils.c. | |
9661 | (HFILES_NO_SRCDIR): Add common/print-utils.h. | |
9662 | (COMMON_OBS): Add print-utils.o. | |
9663 | (print-utils.o): New target. | |
9664 | ||
9fb50108 TT |
9665 | 2014-02-12 Tom Tromey <tromey@redhat.com> |
9666 | ||
9667 | * nios2-tdep.c (nios2_stub_frame_base_address): Remove. | |
9668 | ||
0548b5db MK |
9669 | 2014-02-12 Mark Kettenis <kettenis@gnu.org> |
9670 | ||
9671 | * sparc64obsd-tdep.c (sparc64obsd_init_abi): Call obsd_init_abi. | |
9672 | ||
493443a4 MK |
9673 | 2014-02-12 Mark Kettenis <kettenis@gnu.org> |
9674 | ||
9675 | * inf-ptrace.c (inf_ptrace_xfer_partial): Return TARGET_XFER_EOF | |
9676 | if a PT_IO ptrace request returns sucessfully but indicates that 0 | |
9677 | bytes were transferred. | |
9678 | ||
706d0883 PA |
9679 | 2014-02-12 Pedro Alves <palves@redhat.com> |
9680 | Kevin Buettner <kevinb@redhat.com> | |
9681 | ||
9682 | * gnu-v3-abi.c (build_gdb_vtable_type): Return a type marked with | |
9683 | TYPE_INSTANCE_FLAG_CODE_SPACE. | |
9684 | ||
5caa2f0b PA |
9685 | 2014-02-12 Pedro Alves <palves@redhat.com> |
9686 | ||
9687 | * h8300-tdep.c (pseudo_from_raw_register) | |
9688 | (raw_from_pseudo_register): New functions. | |
9689 | (h8300_pseudo_register_read, h8300_pseudo_register_write): Use | |
9690 | them. | |
9691 | ||
76fd5f74 PA |
9692 | 2014-02-12 Pedro Alves <palves@redhat.com> |
9693 | ||
9694 | * h8300-tdep.c (h8300_register_sim_regno): New function. | |
9695 | (h8300_gdbarch_init): Install h8300_register_sim_regno as | |
9696 | gdbarch_register_sim_regno hook. | |
9697 | ||
8f008406 SA |
9698 | 2014-02-12 Sanimir Agovic <sanimir.agovic@intel.com> |
9699 | ||
9700 | * nios2-tdep.c (nios2_stub_frame_base): Remove global. | |
9701 | ||
195abc10 SA |
9702 | 2014-02-12 Sanimir Agovic <sanimir.agovic@intel.com> |
9703 | ||
9704 | * tic6x-tdep.c (tic6x_gdbarch_init): Call frame_base_set_default. | |
9705 | ||
93ffa5b9 MK |
9706 | 2014-02-12 Mark Kettenis <kettenis@gnu.org> |
9707 | ||
9708 | * obsd-tdep.h (obsd_init_abi): New prototype. | |
9709 | * obsd-tdep.c: Define enum with OpenBSD signal numbers. | |
9710 | (obsd_gdb_signal_from_target, obsd_gdb_signal_to_target) | |
9711 | (obsd_init_abi): New functions. | |
9712 | * i386obsd-tdep.c: Include "obsd-tdep.h". | |
9713 | (i386obsd_init_abi): Call obsd_init_abi. | |
9714 | * amd64obsd-tdep.c: Include "obsd-tdep.h". | |
9715 | (amd64obsd_init_abi): Call obsd_init_abi. | |
9716 | * configure.tgt (i[34567]86-*-openbsd*, x86_64-*-openbsd*): Add | |
9717 | obsd-tdep.c to gdb_target_obs. | |
9718 | ||
49caec94 JM |
9719 | 2014-02-11 Jose E. Marchesi <jose.marchesi@oracle.com> |
9720 | ||
9721 | * sparc64-tdep.c (sparc64_store_arguments): Do not align complex | |
9722 | double float arguments to 16-byte in the argument slots. | |
9723 | ||
e1402065 DE |
9724 | 2014-02-11 Doug Evans <xdje42@gmail.com> |
9725 | ||
9726 | * configure.ac: Don't crash if pkg-config is not found and guile | |
9727 | wasn't explicitly requested. Use AC_MSG_ERROR instead of AC_ERROR | |
9728 | in guile checks. | |
9729 | * configure: Regenerate. | |
9730 | ||
edcc890f YQ |
9731 | 2014-02-11 Yao Qi <yao@codesourcery.com> |
9732 | ||
9733 | * aix-thread.c (aix_thread_xfer_partial): Update comments. | |
9734 | * auxv.c (procfs_xfer_auxv, memory_xfer_auxv): Likewise. | |
9735 | * bsd-uthread.c (bsd_uthread_xfer_partial): Likewise. | |
9736 | * gnu-nat.c (gnu_xfer_memory): Likewise. | |
9737 | * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise. | |
9738 | * rs6000-nat.c (rs6000_xfer_partial): Likewise. | |
9739 | * sparc-nat.c (sparc_xfer_wcookie): Likewise. | |
9740 | * spu-linux-nat.c (spu_proc_xfer_spu): Likewise. | |
9741 | ||
9b409511 YQ |
9742 | 2014-02-11 Yao Qi <yao@codesourcery.com> |
9743 | ||
9744 | * target.h (enum target_xfer_error): Rename to ... | |
9745 | (enum target_xfer_status): ... it. New. All users updated. | |
9746 | (enum target_xfer_status) <TARGET_XFER_OK>, <TARGET_XFER_EOF>: | |
9747 | New. | |
9748 | (TARGET_XFER_STATUS_ERROR_P): New macro. | |
9749 | (target_xfer_error_to_string): Remove declaration. | |
9750 | (target_xfer_status_to_string): Declare. | |
9751 | (target_xfer_partial_ftype): Adjust it. | |
9752 | (struct target_ops) <to_xfer_partial>: Return | |
9753 | target_xfer_status. Add argument xfered_len. Update | |
9754 | comments. | |
9755 | * target.c (target_xfer_error_to_string): Rename to ... | |
9756 | (target_xfer_status_to_string): ... it. New. All callers | |
9757 | updated. | |
9758 | (target_read_live_memory): Likewise. Call target_xfer_partial | |
9759 | instead of target_read. | |
9760 | (memory_xfer_live_readonly_partial): Return | |
9761 | target_xfer_status. Add argument xfered_len. | |
9762 | (raw_memory_xfer_partial): Likewise. | |
9763 | (memory_xfer_partial_1): Likewise. | |
9764 | (memory_xfer_partial): Likewise. | |
9765 | (target_xfer_partial): Likewise. Check *XFERED_LEN is set | |
9766 | properly. Update debug message. | |
9767 | (default_xfer_partial, current_xfer_partial): Likewise. | |
9768 | (target_write_partial): Likewise. | |
9769 | (target_read_partial): Likewise. All callers updated. | |
9770 | (read_whatever_is_readable): Likewise. | |
9771 | (target_write_with_progress): Likewise. | |
9772 | (target_read_alloc_1): Likewise. | |
9773 | ||
9774 | * aix-thread.c (aix_thread_xfer_partial): Likewise. | |
9775 | * auxv.c (procfs_xfer_auxv): Likewise. | |
9776 | (ld_so_xfer_auxv, memory_xfer_auxv): Likewise. | |
9777 | * bfd-target.c (target_bfd_xfer_partial): Likewise. | |
9778 | * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise. | |
9779 | * bsd-uthread.c (bsd_uthread_xfer_partia): Likewise. | |
9780 | * corefile.c (read_memory): Adjust. | |
9781 | * corelow.c (core_xfer_partial): Likewise. | |
9782 | * ctf.c (ctf_xfer_partial): Likewise. | |
9783 | * darwin-nat.c (darwin_read_dyld_info): Likewise. All callers | |
9784 | updated. | |
9785 | (darwin_xfer_partial): Likewise. | |
9786 | * exec.c (section_table_xfer_memory_partial): Likewise. All | |
9787 | callers updated. | |
9788 | (exec_xfer_partial): Likewise. | |
9789 | * exec.h (section_table_xfer_memory_partial): Update | |
9790 | declaration. | |
9791 | * gnu-nat.c (gnu_xfer_memory): Likewise. Assert 'res' is not | |
9792 | negative. | |
9793 | (gnu_xfer_partial): Likewise. | |
9794 | * ia64-hpux-nat.c (ia64_hpux_xfer_memory_no_bs): Likewise. | |
9795 | (ia64_hpux_xfer_memory, ia64_hpux_xfer_uregs): Likewise. | |
9796 | (ia64_hpux_xfer_solib_got): Likewise. | |
9797 | * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise. Change | |
9798 | type of 'partial_len' to ULONGEST. | |
9799 | * inf-ttrace.c (inf_ttrace_xfer_partial): Likewise. | |
9800 | * linux-nat.c (linux_xfer_siginfo ): Likewise. | |
9801 | (linux_nat_xfer_partial): Likewise. | |
9802 | (linux_proc_xfer_partial, linux_xfer_partial): Likewise. | |
9803 | (linux_proc_xfer_spu, linux_nat_xfer_osdata): Likewise. | |
9804 | * monitor.c (monitor_xfer_memory): Likewise. | |
9805 | (monitor_xfer_partial): Likewise. | |
9806 | * procfs.c (procfs_xfer_partial): Likewise. | |
9807 | * record-btrace.c (record_btrace_xfer_partial): Likewise. | |
9808 | * record-full.c (record_full_xfer_partial): Likewise. | |
9809 | (record_full_core_xfer_partial): Likewise. | |
9810 | * remote-sim.c (gdbsim_xfer_memory): Likewise. | |
9811 | (gdbsim_xfer_partial): Likewise. | |
9812 | * remote.c (remote_write_bytes_aux): Likewise. All callers | |
9813 | updated. | |
9814 | (remote_write_bytes, remote_read_bytes): Likewise. All | |
9815 | callers updated. | |
9816 | (remote_flash_erase): Likewise. All callers updated. | |
9817 | (remote_write_qxfer): Likewise. All callers updated. | |
9818 | (remote_read_qxfer): Likewise. All callers updated. | |
9819 | (remote_xfer_partial): Likewise. | |
9820 | * rs6000-nat.c (rs6000_xfer_partial): Likewise. | |
9821 | (rs6000_xfer_shared_libraries): Likewise. | |
9822 | * sol-thread.c (sol_thread_xfer_partial): Likewise. | |
9823 | (sol_thread_xfer_partial): Likewise. | |
9824 | * sparc-nat.c (sparc_xfer_wcookie): Likewise. | |
9825 | (sparc_xfer_partial): Likewise. | |
9826 | * spu-linux-nat.c (spu_proc_xfer_spu): Likewise. All callers | |
9827 | updated. | |
9828 | (spu_xfer_partial): Likewise. | |
9829 | * spu-multiarch.c (spu_xfer_partial): Likewise. | |
9830 | * tracepoint.c (tfile_xfer_partial): Likewise. | |
9831 | * windows-nat.c (windows_xfer_memory): Likewise. | |
9832 | (windows_xfer_shared_libraries): Likewise. | |
9833 | (windows_xfer_partial): Likewise. | |
9834 | * valprint.c: Replace 'target_xfer_error' with | |
9835 | 'target_xfer_status' in comments. | |
9836 | ||
a8e63083 JB |
9837 | 2014-02-11 Simon Marchi <simon.marchi@ericsson.com> (tiny patch) |
9838 | ||
9839 | Checked in by Joel Brobecker <brobecker@adacore.com>. | |
9840 | * mi/mi-main.c (mi_cmd_data_write_memory_bytes): Fix comment. | |
9841 | ||
e86b67d3 JB |
9842 | 2014-02-11 Joel Brobecker <brobecker@adacore.com> |
9843 | ||
9844 | * symfile-debug.c (debug_qf_expand_symtabs_matching): Reformat | |
9845 | function parameters. | |
9846 | ||
4b7d1f7f WN |
9847 | 2014-02-10 Will Newton <will.newton@linaro.org> |
9848 | ||
9849 | * elfread.c (elf_rel_plt_read): Look for a .got section if | |
9850 | looking up .got.plt fails. | |
9851 | (elf_gnu_ifunc_resolve_by_got): Call gdbarch_addr_bits_remove | |
9852 | on address passed to elf_gnu_ifunc_record_cache. | |
9853 | (elf_gnu_ifunc_resolve_addr): Likewise. | |
9854 | (elf_gnu_ifunc_resolver_return_stop): Likewise. | |
9855 | ||
961842b2 JM |
9856 | 2014-02-10 Jose E. Marchesi <jose.marchesi@oracle.com> |
9857 | ||
9858 | * sparc-tdep.c (sparc_in_function_epilogue_p): New function. | |
9859 | (X_RETTURN): New macro. | |
9860 | * sparc-tdep.h: sparc_in_function_epilogue_p prototype. | |
9861 | ||
9862 | * sparc64-tdep.c (sparc64_init_abi): Hook | |
9863 | sparc_in_function_epilogue_p. | |
9864 | ||
3f03e7b1 GB |
9865 | 2014-02-10 Gary Benson <gbenson@redhat.com> |
9866 | ||
9867 | * symfile-debug.c (debug_qf_expand_symtabs_matching): | |
9868 | Rename name_matcher to symbol_matcher. | |
9869 | ||
96f861ef GB |
9870 | 2014-02-10 Gary Benson <gbenson@redhat.com> |
9871 | ||
9872 | * symfile-debug.c (debug_qf_expand_symtabs_matching): | |
9873 | Use expand_symtabs_file_matcher_ftype and | |
9874 | expand_symtabs_symbol_matcher_ftype. | |
9875 | ||
ee01b665 JB |
9876 | 2014-02-10 Joel Brobecker <brobecker@adacore.com> |
9877 | ||
9878 | * ada-lang.c (struct cache_entry, HASH_SIZE): Move definition up. | |
9879 | (struct ada_symbol_cache): New. | |
9880 | (ada_free_symbol_cache): Forward declare. | |
9881 | (struct ada_pspace_data): New. | |
9882 | (ada_pspace_data_handle): New static global. | |
9883 | (get_ada_pspace_data, ada_pspace_data_cleanup) | |
9884 | (ada_init_symbol_cache, ada_free_symbol_cache): New functions. | |
9885 | (cache_space, cache): Delete, now folded inside struct | |
9886 | ada_pspace_data. | |
9887 | (ada_get_symbol_cache): New function. | |
9888 | (ada_clear_symbol_cache, find_entry, cache_symbol): Adjust | |
9889 | implementation. | |
9890 | (_initialize_ada_language): Remove initialization of cache_space. | |
9891 | Move call to observer_attach_inferior_exit up, grouping it | |
9892 | with the other observer registrations inside this function. | |
9893 | Rename command to be more general. Add call to | |
9894 | register_program_space_data_with_cleanup. | |
9895 | ||
143adbbf JB |
9896 | 2014-02-10 Joel Brobecker <brobecker@adacore.com> |
9897 | ||
9898 | * ada-tasks.c (ada_tasks_new_objfile_observer): Renames | |
9899 | ada_new_objfile_observer. | |
9900 | (ada_tasks_normal_stop_observer): Renames ada_normal_stop_observer. | |
9901 | (_initialize_tasks): Update uses of ada_new_objfile_observer | |
9902 | and ada_tasks_normal_stop_observer. | |
9903 | ||
aa4fb036 JB |
9904 | 2014-02-10 Joel Brobecker <brobecker@adacore.com> |
9905 | ||
9906 | * ada-lang.c (ada_evaluate_subexp): Set the type of the value | |
9907 | returned by the 'Length attribute to integer. | |
9908 | ||
9dee8cc6 JB |
9909 | 2014-02-10 Joel Brobecker <brobecker@adacore.com> |
9910 | ||
9911 | * ada-lang.c (_initialize_ada_language): Initialize | |
9912 | cache_space obstack. | |
9913 | ||
3d9434b5 JB |
9914 | 2014-02-10 Joel Brobecker <brobecker@adacore.com> |
9915 | ||
9916 | * ada-lang.c (HASH_SIZE): New macro. | |
9917 | (struct cache_entry): New type. | |
9918 | (cache_space, cache): New static globals. | |
9919 | (ada_clear_symbol_cache, find_entry): New functions. | |
9920 | (lookup_cached_symbol, cache_symbol): Implement. | |
9921 | (ada_new_objfile_observer, ada_free_objfile_observer): New. | |
9922 | (_initialize_ada_language): Attach ada_new_objfile_observer | |
9923 | and ada_free_objfile_observer. | |
9924 | ||
f0c5f9b2 JB |
9925 | 2014-02-10 Joel Brobecker <brobecker@adacore.com> |
9926 | ||
9927 | * ada-lang.c (ada_add_block_symbols, add_defn_to_vec) | |
9928 | (lookup_cached_symbol, ada_add_local_symbols): Add "const" to | |
9929 | struct block * parameter. | |
9930 | (ada_lookup_symbol_list_worker): Constify local variable "block". | |
9931 | Remove cast which is no longer necessary. | |
9932 | ||
ed3ef339 DE |
9933 | 2014-02-10 Doug Evans <xdje42@gmail.com> |
9934 | ||
9935 | Add Guile as an extension language. | |
9936 | * NEWS: Mention Guile scripting. | |
9937 | * Makefile.in (SUBDIR_GUILE_OBS): New variable. | |
9938 | (SUBDIR_GUILE_SRCS, SUBDIR_GUILE_DEPS): New variables | |
9939 | (SUBDIR_GUILE_LDFLAGS, SUBDIR_GUILE_CFLAGS): New variables. | |
9940 | (INTERNAL_CPPFLAGS): Add GUILE_CPPFLAGS. | |
9941 | (CLIBS): Add GUILE_LIBS. | |
9942 | (install-guile): New rule. | |
9943 | (guile.o): New rule. | |
9944 | (scm-arch.o, scm-auto-load.o, scm-block.o): New rules. | |
9945 | (scm-breakpoint.o, scm-disasm.o, scm-exception.o): New rules. | |
9946 | (scm-frame.o, scm-iterator.o, scm-lazy-string.o): New rules. | |
9947 | (scm-math.o, scm-objfile.o, scm-ports.o): New rules. | |
9948 | (scm-pretty-print.o, scm-safe-call.o, scm-gsmob.o): New rules. | |
9949 | (scm-string.o, scm-symbol.o, scm-symtab.o): New rules. | |
9950 | (scm-type.o, scm-utils.o, scm-value.o): New rules. | |
9951 | * configure.ac: New option --with-guile. | |
9952 | * configure: Regenerate. | |
9953 | * config.in: Regenerate. | |
9954 | * auto-load.c: Remove #include "python/python.h". Add #include | |
9955 | "gdb/section-scripts.h". | |
9956 | (source_section_scripts): Handle Guile scripts. | |
9957 | (_initialize_auto_load): Add name of Guile objfile script to | |
9958 | scripts-directory help text. | |
9959 | * breakpoint.c (condition_command): Tweak comment to include Scheme. | |
9960 | * breakpoint.h (gdbscm_breakpoint_object): Add forward decl. | |
9961 | (struct breakpoint): New member scm_bp_object. | |
9962 | * defs.h (enum command_control_type): New value guile_control. | |
9963 | * cli/cli-cmds.c: Remove #include "python/python.h". Add #include | |
9964 | "extension.h". | |
9965 | (show_user): Update comment. | |
9966 | (_initialize_cli_cmds): Update help text for "show user". Update help | |
9967 | text for max-user-call-depth. | |
9968 | * cli/cli-script.c: Remove #include "python/python.h". Add #include | |
9969 | "extension.h". | |
9970 | (multi_line_command_p): Add guile_control. | |
9971 | (print_command_lines): Handle guile_control. | |
9972 | (execute_control_command, recurse_read_control_structure): Ditto. | |
9973 | (process_next_line): Recognize "guile" commands. | |
9974 | * disasm.c (gdb_disassemble_info): Make non-static. | |
9975 | * disasm.h: #include "dis-asm.h". | |
9976 | (struct gdbarch): Add forward decl. | |
9977 | (gdb_disassemble_info): Declare. | |
9978 | * extension.c: #include "guile/guile.h". | |
9979 | (extension_languages): Add guile. | |
9980 | (get_ext_lang_defn): Handle EXT_LANG_GDB. | |
9981 | * extension.h (enum extension_language): New value EXT_LANG_GUILE. | |
9982 | * gdbtypes.c (get_unsigned_type_max): New function. | |
9983 | (get_signed_type_minmax): New function. | |
9984 | * gdbtypes.h (get_unsigned_type_max): Declare. | |
9985 | (get_signed_type_minmax): Declare. | |
9986 | * guile/README: New file. | |
9987 | * guile/guile-internal.h: New file. | |
9988 | * guile/guile.c: New file. | |
9989 | * guile/guile.h: New file. | |
9990 | * guile/scm-arch.c: New file. | |
9991 | * guile/scm-auto-load.c: New file. | |
9992 | * guile/scm-block.c: New file. | |
9993 | * guile/scm-breakpoint.c: New file. | |
9994 | * guile/scm-disasm.c: New file. | |
9995 | * guile/scm-exception.c: New file. | |
9996 | * guile/scm-frame.c: New file. | |
9997 | * guile/scm-gsmob.c: New file. | |
9998 | * guile/scm-iterator.c: New file. | |
9999 | * guile/scm-lazy-string.c: New file. | |
10000 | * guile/scm-math.c: New file. | |
10001 | * guile/scm-objfile.c: New file. | |
10002 | * guile/scm-ports.c: New file. | |
10003 | * guile/scm-pretty-print.c: New file. | |
10004 | * guile/scm-safe-call.c: New file. | |
10005 | * guile/scm-string.c: New file. | |
10006 | * guile/scm-symbol.c: New file. | |
10007 | * guile/scm-symtab.c: New file. | |
10008 | * guile/scm-type.c: New file. | |
10009 | * guile/scm-utils.c: New file. | |
10010 | * guile/scm-value.c: New file. | |
10011 | * guile/lib/gdb.scm: New file. | |
10012 | * guile/lib/gdb/boot.scm: New file. | |
10013 | * guile/lib/gdb/experimental.scm: New file. | |
10014 | * guile/lib/gdb/init.scm: New file. | |
10015 | * guile/lib/gdb/iterator.scm: New file. | |
10016 | * guile/lib/gdb/printing.scm: New file. | |
10017 | * guile/lib/gdb/types.scm: New file. | |
10018 | * data-directory/Makefile.in (GUILE_SRCDIR): New variable. | |
10019 | (VPATH): Add $(GUILE_SRCDIR). | |
10020 | (GUILE_DIR): New variable. | |
10021 | (GUILE_INSTALL_DIR, GUILE_FILES): New variables. | |
10022 | (all): Add stamp-guile dependency. | |
10023 | (stamp-guile): New rule. | |
10024 | (clean-guile, install-guile, uninstall-guile): New rules. | |
10025 | (install-only): Add install-guile dependency. | |
10026 | (uninstall): Add uninstall-guile dependency. | |
10027 | (clean): Add clean-guile dependency. | |
10028 | ||
ac020ec5 DE |
10029 | 2014-02-09 Doug Evans <xdje42@gmail.com> |
10030 | ||
10031 | Revert this patch (which I approved, mea culpa). | |
10032 | ||
10033 | 2014-02-08 Mark Kettenis <kettenis@gnu.org> | |
10034 | ||
10035 | * Makefile.in (all-lib): Remove. | |
10036 | ($(LIBGNU) $(GNULIB_H)): Replace with gits of remove all-lib target. | |
10037 | ||
2a081c59 JK |
10038 | 2014-02-09 Jan Kratochvil <jan.kratochvil@redhat.com> |
10039 | ||
10040 | Fix Python stack corruption. | |
10041 | * python/py-linetable.c (ltpy_get_pcs_for_line, ltpy_has_line): Use | |
10042 | gdb_py_longest. | |
10043 | ||
0a6bd22d MK |
10044 | 2014-02-08 Mark Kettenis <kettenis@gnu.org> |
10045 | ||
10046 | * Makefile.in (all-lib): Remove. | |
10047 | ($(LIBGNU) $(GNULIB_H)): Replace with gits of remove all-lib target. | |
10048 | ||
1a860409 DE |
10049 | 2014-02-07 Doug Evans <dje@google.com> |
10050 | ||
10051 | * extension-priv.h (extension_language_script_ops): Add comment. | |
10052 | (extension_language_ops): Add comment. | |
caf5a491 | 10053 | (active_ext_lang_state): Fix typo in comment. |
1a860409 | 10054 | |
d137e6dc PA |
10055 | 2014-02-07 Pedro Alves <palves@redhat.com> |
10056 | ||
0dcb32c3 | 10057 | PR breakpoints/16292 |
d137e6dc PA |
10058 | * infrun.c (handle_signal_stop) <signal arrives while stepping |
10059 | over a breakpoint>: Switch back to the stepping thread. | |
10060 | ||
ce6d0892 YQ |
10061 | 2014-02-07 Yao Qi <yao@codesourcery.com> |
10062 | ||
10063 | * target.c (target_xfer_partial): Return zero if LEN is zero. | |
10064 | ||
2ed4b548 YQ |
10065 | 2014-02-07 Yao Qi <yao@codesourcery.com> |
10066 | ||
10067 | * auxv.c (procfs_xfer_auxv): Replace -1 with TARGET_XFER_E_IO. | |
10068 | (ld_so_xfer_auxv): Likewise. | |
10069 | * bfd-target.c (target_bfd_xfer_partial): Likewise. | |
10070 | * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise. | |
10071 | * corelow.c (core_xfer_partial): Likewise. | |
10072 | * ctf.c (ctf_xfer_partial): Likewise. | |
10073 | * darwin-nat.c (darwin_read_dyld_info): Likewise. | |
10074 | (darwin_xfer_partial): Likewise. | |
10075 | * exec.c (exec_xfer_partial): Likewise. | |
10076 | * gnu-nat.c (gnu_xfer_partial): Likewise. | |
10077 | * ia64-hpux-nat.c (ia64_hpux_xfer_uregs): Likewise. | |
10078 | * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise. | |
10079 | * inf-ttrace.c (inf_ttrace_xfer_partial): Likewise. | |
10080 | * linux-nat.c (linux_xfer_siginfo): Likewise. | |
10081 | (linux_proc_xfer_spu): Likewise. | |
10082 | * procfs.c (procfs_xfer_partial): Likewise. | |
10083 | * record-full.c (record_full_xfer_partial): Likewise. | |
10084 | (record_full_core_xfer_partial): Likewise. | |
10085 | * remote-sim.c (gdbsim_xfer_partial): Likewise. | |
10086 | * remote.c (remote_write_qxfer): Likewise. | |
10087 | (remote_write_qxfer, remote_read_qxfer): Likewise. | |
10088 | (remote_xfer_partial): Likewise. | |
10089 | * rs6000-nat.c (rs6000_xfer_partial): Likewise. | |
10090 | (rs6000_xfer_shared_libraries): Likewise. | |
10091 | * sparc-nat.c (sparc_xfer_wcookie): Likewise. | |
10092 | * spu-linux-nat.c (spu_proc_xfer_spu): Likewise. | |
10093 | (spu_xfer_partial): Likewise. | |
10094 | * target.c (memory_xfer_partial_1): Likewise. | |
10095 | * tracepoint.c (tfile_xfer_partial): Likewise. | |
10096 | * windows-nat.c (windows_xfer_shared_libraries): Likewise. | |
10097 | (windows_xfer_partial): Likewise. | |
10098 | ||
c09f20e4 YQ |
10099 | 2014-02-07 Yao Qi <yao@codesourcery.com> |
10100 | ||
10101 | * gdbarch.sh (core_xfer_shared_libraries): Returns ULONGEST. Add | |
10102 | comments. | |
10103 | (core_xfer_shared_libraries_aix): Likewise. | |
10104 | * gdbarch.c, gdbarch.h: Regenerated. | |
10105 | * i386-cygwin-tdep.c (windows_core_xfer_shared_libraries): Return | |
10106 | ULONGEST. Change 'len_avail' type to ULONGEST. | |
10107 | * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise. | |
10108 | * rs6000-aix-tdep.h (rs6000_aix_ld_info_to_xml): Update | |
10109 | declaration. | |
10110 | (rs6000_aix_core_xfer_shared_libraries_aix): Return ULONGEST. | |
10111 | ||
8635b3bf YQ |
10112 | 2014-02-07 Yao Qi <yao@codesourcery.com> |
10113 | ||
10114 | * corefile.c (memory_error): Get 'exception' from ERR and pass | |
10115 | 'exception' to throw_error. | |
10116 | ||
6dddc817 DE |
10117 | 2014-02-06 Doug Evans <xdje42@gmail.com> |
10118 | ||
10119 | * configure.ac (libpython checking): Remove all but python.o from | |
10120 | CONFIG_OBS. Remove all but python.c from CONFIG_SRCS. | |
10121 | * configure: Regenerate. | |
10122 | ||
10123 | * Makefile.in (SFILES): Add extension.c. | |
10124 | (HFILES_NO_SRCDIR): Add extension.h, extension-priv.h | |
10125 | (COMMON_OBS): Add extension.o. | |
10126 | * extension.h: New file. | |
10127 | * extension-priv.h: New file. | |
10128 | * extension.c: New file. | |
10129 | ||
10130 | * python/python-internal.h: #include "extension.h". | |
10131 | (gdbpy_auto_load_enabled): Declare. | |
10132 | (gdbpy_apply_val_pretty_printer): Declare. | |
10133 | (gdbpy_apply_frame_filter): Declare. | |
10134 | (gdbpy_preserve_values): Declare. | |
10135 | (gdbpy_breakpoint_cond_says_stop): Declare. | |
10136 | (gdbpy_breakpoint_has_cond): Declare. | |
10137 | (void source_python_script_for_objfile): Delete. | |
10138 | * python/python.c: #include "extension-priv.h". | |
10139 | Delete inclusion of "observer.h". | |
10140 | (extension_language_python): Moved here and renamed from | |
10141 | script_language_python in py-auto-load.c. | |
10142 | Redefined to be of type extension_language_defn. | |
10143 | (python_extension_script_ops): New global. | |
10144 | (python_extension_ops): New global. | |
10145 | (struct python_env): New member previous_active. | |
10146 | (restore_python_env): Call restore_active_ext_lang. | |
10147 | (ensure_python_env): Call set_active_ext_lang. | |
10148 | (gdbpy_clear_quit_flag): Renamed from clear_quit_flag, made static. | |
10149 | New arg extlang. | |
10150 | (gdbpy_set_quit_flag): Renamed from set_quit_flag, made static. | |
10151 | New arg extlang. | |
10152 | (gdbpy_check_quit_flag): Renamed from check_quit_flag, made static. | |
10153 | New arg extlang. | |
10154 | (gdbpy_eval_from_control_command): Renamed from | |
10155 | eval_python_from_control_command, made static. New arg extlang. | |
10156 | (gdbpy_source_script) Renamed from source_python_script, made static. | |
10157 | New arg extlang. | |
10158 | (gdbpy_before_prompt_hook): Renamed from before_prompt_hook. Change | |
10159 | result to int. New arg extlang. | |
10160 | (gdbpy_source_objfile_script): Renamed from | |
10161 | source_python_script_for_objfile, made static. New arg extlang. | |
10162 | (gdbpy_start_type_printers): Renamed from start_type_printers, made | |
10163 | static. New args extlang, extlang_printers. Change result type to | |
10164 | "void". | |
10165 | (gdbpy_apply_type_printers): Renamed from apply_type_printers, made | |
10166 | static. New arg extlang. Rename arg printers to extlang_printers | |
10167 | and change type to ext_lang_type_printers *. | |
10168 | (gdbpy_free_type_printers): Renamed from free_type_printers, made | |
10169 | static. Replace argument arg with extlang, extlang_printers. | |
10170 | (!HAVE_PYTHON, eval_python_from_control_command): Delete. | |
10171 | (!HAVE_PYTHON, source_python_script): Delete. | |
10172 | (!HAVE_PYTHON, gdbpy_should_stop): Delete. | |
10173 | (!HAVE_PYTHON, gdbpy_breakpoint_has_py_cond): Delete. | |
10174 | (!HAVE_PYTHON, start_type_printers): Delete. | |
10175 | (!HAVE_PYTHON, apply_type_printers): Delete. | |
10176 | (!HAVE_PYTHON, free_type_printers): Delete. | |
10177 | (_initialize_python): Delete call to observer_attach_before_prompt. | |
10178 | (finalize_python): Set/restore active extension language. | |
10179 | (gdbpy_finish_initialization) Renamed from | |
10180 | finish_python_initialization, made static. New arg extlang. | |
10181 | (gdbpy_initialized): New function. | |
10182 | * python/python.h: #include "extension.h". Delete #include | |
10183 | "value.h", "mi/mi-cmds.h". | |
10184 | (extension_language_python): Declare. | |
10185 | (GDBPY_AUTO_FILE_NAME): Delete. | |
10186 | (enum py_bt_status): Moved to extension.h and renamed to | |
10187 | ext_lang_bt_status. | |
10188 | (enum frame_filter_flags): Moved to extension.h. | |
10189 | (enum py_frame_args): Moved to extension.h and renamed to | |
10190 | ext_lang_frame_args. | |
10191 | (finish_python_initialization): Delete. | |
10192 | (eval_python_from_control_command): Delete. | |
10193 | (source_python_script): Delete. | |
10194 | (apply_val_pretty_printer): Delete. | |
10195 | (apply_frame_filter): Delete. | |
10196 | (preserve_python_values): Delete. | |
10197 | (gdbpy_script_language_defn): Delete. | |
10198 | (gdbpy_should_stop, gdbpy_breakpoint_has_py_cond): Delete. | |
10199 | (start_type_printers, apply_type_printers, free_type_printers): Delete. | |
10200 | ||
10201 | * auto-load.c: #include "extension.h". | |
10202 | (GDB_AUTO_FILE_NAME): Delete. | |
10203 | (auto_load_gdb_scripts_enabled): Make public. New arg extlang. | |
10204 | (script_language_gdb): Delete, moved to extension.c and renamed to | |
10205 | extension_language_gdb. | |
10206 | (source_gdb_script_for_objfile): Delete. | |
10207 | (auto_load_pspace_info): New member unsupported_script_warning_printed. | |
10208 | (loaded_script): Change type of language member to | |
10209 | struct extension_language_defn *. | |
10210 | (init_loaded_scripts_info): Initialize | |
10211 | unsupported_script_warning_printed. | |
10212 | (maybe_add_script): Make static. Change type of language arg to | |
10213 | struct extension_language_defn *. | |
10214 | (clear_section_scripts): Reset unsupported_script_warning_printed. | |
10215 | (auto_load_objfile_script_1): Rewrite to use extension language API. | |
10216 | (auto_load_objfile_script): Make public. Remove support-compiled-in | |
10217 | and auto-load-enabled checks, moved to auto_load_scripts_for_objfile. | |
10218 | (source_section_scripts): Rewrite to use extension language API. | |
10219 | (load_auto_scripts_for_objfile): Rewrite to use | |
10220 | auto_load_scripts_for_objfile. | |
10221 | (collect_matching_scripts_data): Change type of language member to | |
10222 | struct extension_language_defn *. | |
10223 | (auto_load_info_scripts): Change type of language arg to | |
10224 | struct extension_language_defn *. | |
10225 | (unsupported_script_warning_print): New function. | |
10226 | (script_not_found_warning_print): Make static. | |
10227 | (_initialize_auto_load): Rewrite construction of scripts-directory | |
10228 | help. | |
10229 | * auto-load.h (struct objfile): Add forward decl. | |
10230 | (struct script_language): Delete. | |
10231 | (struct auto_load_pspace_info): Add forward decl. | |
10232 | (struct extension_language_defn): Add forward decl. | |
10233 | (maybe_add_script): Delete. | |
10234 | (auto_load_objfile_script): Declare. | |
10235 | (script_not_found_warning_print): Delete. | |
10236 | (auto_load_info_scripts): Update prototype. | |
10237 | (auto_load_gdb_scripts_enabled): Declare. | |
10238 | * python/py-auto-load.c (gdbpy_auto_load_enabled): Renamed from | |
10239 | auto_load_python_scripts_enabled and made public. | |
10240 | (script_language_python): Delete, moved to python.c. | |
10241 | (gdbpy_script_language_defn): Delete. | |
10242 | (info_auto_load_python_scripts): Update to use | |
10243 | extension_language_python. | |
10244 | ||
10245 | * breakpoint.c (condition_command): Replace call to | |
10246 | gdbpy_breakpoint_has_py_cond with call to get_breakpoint_cond_ext_lang. | |
10247 | (bpstat_check_breakpoint_conditions): Replace call to gdbpy_should_stop | |
10248 | with call to breakpoint_ext_lang_cond_says_stop. | |
10249 | * python/py-breakpoint.c (gdbpy_breakpoint_cond_says_stop): Renamed | |
10250 | from gdbpy_should_stop. Change result type to enum scr_bp_stop. | |
10251 | New arg slang. Return SCR_BP_STOP_UNSET if py_bp_object is NULL. | |
10252 | (gdbpy_breakpoint_has_cond): Renamed from gdbpy_breakpoint_has_py_cond. | |
10253 | New arg slang. | |
10254 | (local_setattro): Print name of extension language with existing | |
10255 | stop condition. | |
10256 | ||
10257 | * valprint.c (val_print, value_print): Update to call | |
10258 | apply_ext_lang_val_pretty_printer. | |
10259 | * cp-valprint.c (cp_print_value): Update call to | |
10260 | apply_ext_lang_val_pretty_printer. | |
10261 | * python/py-prettyprint.c: Remove #ifdef HAVE_PYTHON. | |
10262 | (gdbpy_apply_val_pretty_printer): Renamed from | |
10263 | apply_val_pretty_printer. New arg extlang. | |
10264 | (!HAVE_PYTHON, apply_val_pretty_printer): Delete. | |
10265 | ||
10266 | * cli/cli-cmds.c (source_script_from_stream): Rewrite to use | |
10267 | extension language API. | |
10268 | * cli/cli-script.c (execute_control_command): Update to call | |
10269 | eval_ext_lang_from_control_command. | |
10270 | ||
10271 | * mi/mi-cmd-stack.c (mi_cmd_stack_list_frames): Update to use | |
10272 | enum ext_lang_bt_status values. Update call to | |
10273 | apply_ext_lang_frame_filter. | |
10274 | (mi_cmd_stack_list_locals): Ditto. | |
10275 | (mi_cmd_stack_list_args): Ditto. | |
10276 | (mi_cmd_stack_list_variables): Ditto. | |
10277 | * mi/mi-main.c: Delete #include "python/python-internal.h". | |
10278 | Add #include "extension.h". | |
10279 | (mi_cmd_list_features): Replace reference to python internal variable | |
10280 | gdb_python_initialized with call to ext_lang_initialized_p. | |
10281 | ||
10282 | * stack.c (backtrace_command_1): Update to use enum ext_lang_bt_status. | |
10283 | Update to use enum ext_lang_frame_args. Update to call | |
10284 | apply_ext_lang_frame_filter. | |
10285 | * python/py-framefilter.c (extract_sym): Update to use enum | |
10286 | ext_lang_bt_status. | |
10287 | (extract_value, py_print_type, py_print_value): Ditto. | |
10288 | (py_print_single_arg, enumerate_args, enumerate_locals): Ditto. | |
10289 | (py_mi_print_variables, py_print_locals, py_print_args): Ditto. | |
10290 | (py_print_frame): Ditto. | |
10291 | (gdbpy_apply_frame_filter): Renamed from apply_frame_filter. | |
10292 | New arg extlang. Update to use enum ext_lang_bt_status. | |
10293 | ||
10294 | * top.c (gdb_init): Delete #ifdef HAVE_PYTHON call to | |
10295 | finish_python_initialization. Replace with call to | |
10296 | finish_ext_lang_initialization. | |
10297 | ||
10298 | * typeprint.c (do_free_global_table): Update to call | |
10299 | free_ext_lang_type_printers. | |
10300 | (create_global_typedef_table): Update to call | |
10301 | start_ext_lang_type_printers. | |
10302 | (find_global_typedef): Update to call apply_ext_lang_type_printers. | |
10303 | * typeprint.h (struct ext_lang_type_printers): Add forward decl. | |
10304 | (type_print_options): Change type of global_printers from "void *" | |
10305 | to "struct ext_lang_type_printers *". | |
10306 | ||
10307 | * value.c (preserve_values): Update to call preserve_ext_lang_values. | |
10308 | * python/py-value.c: Remove #ifdef HAVE_PYTHON. | |
10309 | (gdbpy_preserve_values): Renamed from preserve_python_values. | |
10310 | New arg extlang. | |
10311 | (!HAVE_PYTHON, preserve_python_values): Delete. | |
10312 | ||
10313 | * utils.c (quit_flag): Delete, moved to extension.c. | |
10314 | (clear_quit_flag, set_quit_flag, check_quit_flag): Delete, moved to | |
10315 | extension.c. | |
10316 | ||
10317 | * eval.c: Delete #include "python/python.h". | |
10318 | * main.c: Delete #include "python/python.h". | |
10319 | ||
10320 | * defs.h: Update comment. | |
10321 | ||
6af79985 JB |
10322 | 2014-02-06 Joel Brobecker <brobecker@adacore.com> |
10323 | ||
10324 | GDB 7.7 released. | |
10325 | ||
12c5175d MK |
10326 | 2014-02-05 Mark Kettenis <kettenis@gnu.org> |
10327 | ||
10328 | * c-exp.y (YYPRINT, c_print_token): Only define if YYBISON is | |
10329 | defined. | |
10330 | ||
8dc5b319 YQ |
10331 | 2014-02-05 Yao Qi <yao@codesourcery.com> |
10332 | ||
10333 | * remote.c (remote_pass_signals): Remove local 'buf' and use | |
10334 | rs->buf. | |
10335 | (remote_program_signals): Likewise. | |
10336 | ||
de7b2893 YQ |
10337 | 2014-02-05 Yao Qi <yao@codesourcery.com> |
10338 | ||
10339 | * ctf.c: Include "inferior.h" and "gdbthread.h". | |
10340 | (CTF_PID): A new macro. | |
10341 | (ctf_open): Call inferior_appeared and add_thread_silent. | |
10342 | (ctf_close): Call exit_inferior_silent and set inferior_ptid. | |
10343 | (ctf_thread_alive): New function. | |
10344 | (init_ctf_ops): Install ctf_thread_alive to to_thread_alive. | |
10345 | ||
66d032ac YQ |
10346 | 2014-02-05 Yao Qi <yao@codesourcery.com> |
10347 | ||
10348 | Revert this patch: | |
10349 | ||
10350 | 2013-05-24 Yao Qi <yao@codesourcery.com> | |
10351 | ||
10352 | * tracepoint.c (TFILE_PID): Remove. | |
10353 | (tfile_open): Don't add thread and inferior. | |
10354 | (tfile_close): Don't set 'inferior_ptid'. Don't call | |
10355 | exit_inferior_silent. | |
10356 | (tfile_thread_alive): Remove. | |
10357 | (init_tfile_ops): Don't set field 'to_thread_alive' of | |
10358 | tfile_ops. | |
10359 | ||
f4ccffad CE |
10360 | 2014-02-04 Christian Eggers <ceggers@gmx.de> (tiny change) |
10361 | ||
10362 | * remote.c (remote_start_remote): Call remote_check_symbols even | |
10363 | if only symbol-file (not file) has been given. | |
10364 | ||
591a12a1 UW |
10365 | 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com> |
10366 | ||
10367 | * gdbarch.sh (skip_entrypoint): New callback. | |
10368 | * gdbarch.c, gdbarch.h: Regenerate. | |
10369 | * symtab.c (skip_prologue_sal): Call gdbarch_skip_entrypoint. | |
10370 | * infrun.c (fill_in_stop_func): Likewise. | |
10371 | * ppc-linux-tdep.c: Include "elf/ppc64.h". | |
10372 | (ppc_elfv2_elf_make_msymbol_special): New function. | |
10373 | (ppc_elfv2_skip_entrypoint): Likewise. | |
10374 | (ppc_linux_init_abi): Install them for ELFv2. | |
10375 | ||
cc0e89c5 UW |
10376 | 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com> |
10377 | ||
10378 | * ppc-sysv-tdep.c (ppc64_aggregate_candidate): New routine. | |
10379 | (ppc64_elfv2_abi_homogeneous_aggregate): Likewise. | |
10380 | (ppc64_sysv_abi_push_param): Handle ELFv2 homogeneous structs. | |
10381 | (ppc64_sysv_abi_return_value): Likewise. Also, handle small | |
10382 | structures returned in GPRs. | |
10383 | ||
52f548e4 UW |
10384 | 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com> |
10385 | ||
10386 | * ppc-sysv-tdep.c (ppc64_sysv_abi_push_dummy_call): Use correct | |
10387 | offset to the stack parameter list for the ELFv2 ABI. | |
10388 | ||
d4094b6a UW |
10389 | 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com> |
10390 | ||
10391 | * ppc-linux-tdep.c (ppc_linux_init_abi): Only call | |
10392 | set_gdbarch_convert_from_func_ptr_addr and | |
10393 | set_gdbarch_elf_make_msymbol_special for ELFv1. | |
10394 | * ppc-sysv-tdep.c (ppc64_sysv_abi_push_param): Only handle | |
10395 | function descriptors on ELFv1. | |
10396 | (ppc64_sysv_abi_push_dummy_call): Likewise. On ELFv2, | |
10397 | set up r12 at function entry. | |
10398 | ||
cd453cd0 UW |
10399 | 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com> |
10400 | ||
10401 | * ppc-tdep.h (enum powerpc_elf_abi): New data type. | |
10402 | (struct gdbarch_tdep): New member elf_abi. | |
10403 | ||
10404 | * rs6000-tdep.c: Include "elf/ppc64.h". | |
10405 | (rs6000_gdbarch_init): Detect ELF ABI version. | |
10406 | ||
0ff3e01f UW |
10407 | 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com> |
10408 | ||
10409 | * ppc-sysv-tdep.c (ppc64_sysv_abi_push_freg): Use correct order | |
10410 | within a register pair holding a DFP 128-bit value on little-endian. | |
10411 | (ppc64_sysv_abi_return_value_base): Likewise. | |
10412 | * rs6000-tdep.c (dfp_pseudo_register_read): Likewise. | |
10413 | (dfp_pseudo_register_write): Likewise. | |
10414 | ||
5b757e5d UW |
10415 | 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com> |
10416 | ||
10417 | * ppc-sysv-tdep.c (ppc64_sysv_abi_push_freg): Use correct | |
10418 | offset on little-endian when passing _Decimal32. | |
10419 | (ppc64_sysv_abi_return_value_base): Likewise for return values. | |
10420 | ||
084ee545 UW |
10421 | 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com> |
10422 | ||
10423 | * rs6000-tdep.c (efpr_pseudo_register_read): Use correct offset | |
10424 | of the overlapped FP register within the VSX register on little- | |
10425 | endian platforms. | |
10426 | (efpr_pseudo_register_write): Likewise. | |
10427 | ||
d63167af UW |
10428 | 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com> |
10429 | ||
10430 | * ppc-sysv-tdep.c (ppc64_sysv_abi_push_val): Use correct | |
10431 | offset on little-endian when passing small structures. | |
10432 | ||
e765b44c UW |
10433 | 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com> |
10434 | ||
10435 | * ppc-sysv-tdep.c (get_decimal_float_return_value): Update comment. | |
10436 | (struct ppc64_sysv_argpos): New data structure. | |
10437 | (ppc64_sysv_abi_push_float): Remove. | |
10438 | (ppc64_sysv_abi_push_val): New function. | |
10439 | (ppc64_sysv_abi_push_integer): Likewise. | |
10440 | (ppc64_sysv_abi_push_freg): Likewise. | |
10441 | (ppc64_sysv_abi_push_vreg): Likewise. | |
10442 | (ppc64_sysv_abi_push_param): Likewise. | |
10443 | (ppc64_sysv_abi_push_dummy_call): Refactor to use those new routines. | |
10444 | (ppc64_sysv_abi_return_value_base): New function. | |
10445 | (ppc64_sysv_abi_return_value): Refactor to use it. | |
10446 | ||
36c24d95 UW |
10447 | 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com> |
10448 | ||
10449 | * NEWS: Document new target powerpc64le-*-linux*. | |
10450 | ||
26fd9228 MK |
10451 | 2014-02-04 Mark Kettenis <kettenis@gnu.org> |
10452 | ||
10453 | * sparc64obsd-tdep.c (sparc64obsd_gregset): New variable. | |
10454 | (sparc64obsd_supply_gregset): Handle registers sets used in ELF | |
10455 | core dumps. | |
10456 | (sparc64obsd_init_abi): Adjust minimum size of the general purpose | |
10457 | register set used in ELF core dumps. Add floating-point register set. | |
10458 | ||
c5bb7362 KB |
10459 | 2014-02-03 Kevin Buettner <kevinb@redhat.com> |
10460 | ||
74228e77 | 10461 | * mn10300-tdep.c (mn10300_dwarf2_reg_to_regnum): Rewrite |
c5bb7362 KB |
10462 | dwarf2_to_gdb[] table using symbolic constants. Adjust |
10463 | penultimate entry from number representing the PC register | |
10464 | to symbolic constant representing the MDR register. Add | |
10465 | constant for the PC register to the end of the table. | |
10466 | ||
af09351e MK |
10467 | 2014-02-03 Mark Kettenis <kettenis@gnu.org> |
10468 | ||
10469 | * bsd-kvm.c: Include <sys/param.h> | |
10470 | ||
8507e05d MK |
10471 | 2014-02-03 Mark Kettenis <kettenis@gnu.org> |
10472 | ||
10473 | * sparc64nbsd-nat.c (sparc64nbsd_supply_fpregset): Fix prototype. | |
10474 | ||
ae56bfb8 JB |
10475 | 2014-01-31 Joel Brobecker <brobecker@adacore.com> |
10476 | ||
10477 | * ada-lang.h (clear_ada_sym_cache): Delete. | |
10478 | ||
718ee4dc UW |
10479 | 2014-01-30 Ulrich Weigand <uweigand@de.ibm.com> |
10480 | ||
10481 | * auxv.c (fprint_target_auxv): Handle AT_HWCAP2. | |
10482 | ||
401e27fd JM |
10483 | 2014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com> |
10484 | ||
10485 | * sparc64-linux-tdep.c (sparc64_linux_step_trap): Get PC from | |
10486 | the sigreturn register save area only if the syscall is | |
10487 | sigreturn. | |
10488 | ||
a7c88acd JB |
10489 | 2014-01-29 Joel Brobecker <brobecker@adacore.com> |
10490 | ||
10491 | * valops.c (value_slice): Minor reformatting. | |
10492 | ||
fa0079ea UW |
10493 | 2014-01-28 Ulrich Weigand <uweigand@de.ibm.com> |
10494 | ||
10495 | * ppc64-tdep.c (ppc64_standard_linkage7): Fix typo. | |
10496 | ||
c6044dd1 JB |
10497 | 2014-01-28 Joel Brobecker <brobecker@adacore.com> |
10498 | ||
10499 | * ada-lang.c (maint_set_ada_cmdlist, maint_show_ada_cmdlist): | |
10500 | New static globals. | |
10501 | (maint_set_ada_cmd, maint_show_ada_cmd): New functions. | |
10502 | (ada_ignore_descriptive_types_p): New static global. | |
10503 | (find_parallel_type_by_descriptive_type): Return immediately | |
10504 | if ada_ignore_descriptive_types_p is set. | |
10505 | (_initialize_ada_language): Register new commands "maintenance | |
10506 | set ada", "maintenance show ada", "maintenance set ada | |
10507 | ignore-descriptive-types" and "maintenance show ada | |
10508 | ignore-descriptive-types". | |
10509 | * NEWS: Add entry for new "maint ada set/show | |
10510 | ignore-descriptive-types" commands. | |
10511 | ||
568e808b MM |
10512 | 2014-01-27 Markus Metzger <markus.t.metzger@intel.com> |
10513 | ||
10514 | * record-btrace.c (record_btrace_close): Call btrace_teardown | |
10515 | for all threads. | |
10516 | ||
467d141b JB |
10517 | 2014-01-27 Joel Brobecker <brobecker@adacore.com> |
10518 | ||
10519 | * ada-lang.c: Remove "#ifdef UI_OUT" condition for including | |
10520 | "ui-out.h". | |
10521 | ||
fb151210 JB |
10522 | 2014-01-27 Joel Brobecker <brobecker@adacore.com> |
10523 | ||
10524 | * ada-typeprint (type_is_full_subrange_of_target_type): | |
10525 | New function. | |
10526 | (print_range): Add parameter bounds_prefered_p. If not set, | |
10527 | try printing range types using the name of their base type. | |
10528 | (print_range_type): Add parameter bounds_prefered_p. | |
10529 | Use it in call to print_range. | |
10530 | (print_array_type, ada_print_type): Update calls to print_range | |
10531 | and print_range_type. | |
10532 | ||
aba02109 JB |
10533 | 2014-01-27 Joel Brobecker <brobecker@adacore.com> |
10534 | ||
10535 | * ada-typeprint.c (print_array_type, print_choices, print_range) | |
10536 | (print_range_bound, print_dynamic_range_bound, print_range_type): | |
10537 | Remove declaration. | |
10538 | ||
e62e21fd JB |
10539 | 2014-01-27 Joel Brobecker <brobecker@adacore.com> |
10540 | ||
10541 | * ada-typeprint.c (print_range): Add missing empty line | |
10542 | after local declaration. | |
10543 | ||
859cf5d1 JB |
10544 | 2014-01-27 Joel Brobecker <brobecker@adacore.com> |
10545 | ||
10546 | * ada-valprint.c (print_optional_low_bound): Get index_type's | |
10547 | target type for as long as it is a TYPE_CODE_RANGE. | |
10548 | ||
25790f6f JB |
10549 | 2014-01-27 Joel Brobecker <brobecker@adacore.com> |
10550 | ||
10551 | * procfs.c (procfs_make_note_section): Remove assertion and | |
10552 | associated comment. | |
10553 | ||
6b6aa828 YQ |
10554 | 2014-01-24 Yao Qi <yao@codesourcery.com> |
10555 | ||
10556 | * remote.c (remote_read_bytes): Change type of len to ULONGEST. | |
10557 | * corelow.c (get_core_siginfo): Likewise. | |
10558 | ||
5d6df423 YQ |
10559 | 2014-01-24 Yao Qi <yao@codesourcery.com> |
10560 | ||
10561 | * remote.c (remote_write_bytes_aux): Change type of 'len' to | |
10562 | ULONGEST. Don't check 'len' is negative. | |
10563 | (remote_write_bytes): Change type of 'len' to ULONGEST. | |
10564 | ||
83b645b8 TT |
10565 | 2014-01-23 Tom Tromey <tromey@redhat.com> |
10566 | ||
10567 | PR python/16485: | |
10568 | * python/lib/gdb/FrameDecorator.py: (FrameVars.fetch_frame_args): | |
10569 | Handle exception from frame.block. | |
10570 | (FrameVars.fetch_frame_locals): Likewise. | |
10571 | ||
0740f8d8 TT |
10572 | 2014-01-23 Tom Tromey <tromey@redhat.com> |
10573 | ||
10574 | PR python/16487: | |
10575 | * python/py-framefilter.c (py_print_frame): Don't call Py_DECREF | |
10576 | on a NULL pointer. Move "goto error" to correct place. | |
10577 | ||
21909fa1 TT |
10578 | 2014-01-23 Tom Tromey <tromey@redhat.com> |
10579 | ||
10580 | PR python/16491: | |
10581 | * python/py-framefilter.c (apply_frame_filter): Call | |
10582 | ensure_python_env after computing gdbarch. | |
10583 | ||
17fde6d0 YQ |
10584 | 2014-01-23 Yao Qi <yao@codesourcery.com> |
10585 | ||
10586 | * target.c (raw_memory_xfer_partial): Change argument type | |
10587 | from void * to gdb_byte *. | |
10588 | (memory_xfer_partial_1, memory_xfer_partial): Likewise. | |
10589 | ||
87ce2a04 DE |
10590 | 2014-01-22 Doug Evans <dje@google.com> |
10591 | ||
10592 | New gdbserver option --debug-format=timestamp. | |
10593 | * NEWS: Mention it. | |
10594 | ||
237b092b AA |
10595 | 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com> |
10596 | ||
10597 | * syscalls/s390x-linux.xml: New file. | |
10598 | * syscalls/s390-linux.xml: New file. | |
10599 | * s390-linux-tdep.c (XML_SYSCALL_FILENAME_S390): New macro. | |
10600 | (XML_SYSCALL_FILENAME_S390X): Likewise. | |
10601 | (op_svc): New enum value for SVC opcode. | |
10602 | (s390_sigtramp_frame_sniffer): Replace literal by 'op_svc'. | |
10603 | (s390_linux_get_syscall_number): New function. | |
10604 | (s390_gdbarch_init): Register '*get_syscall_number' and the | |
10605 | syscall xml file name. | |
10606 | * data-directory/Makefile.in (SYSCALLS_FILES): Add | |
10607 | "s390-linux.xml" and "s390x-linux.xml". | |
10608 | * NEWS: Announce new feature. | |
10609 | ||
54bff650 BS |
10610 | 2014-01-22 Baruch Siach <baruch@tkos.co.il> |
10611 | ||
10612 | * xtensa-tdep.h (xtensa_elf_greg_t): Change type to uint32_t. | |
10613 | ||
14e361d7 PA |
10614 | 2014-01-22 Pedro Alves <palves@redhat.com> |
10615 | ||
10616 | * xtensa-config.c: Include defs.h. | |
10617 | ||
46bbb3ed JB |
10618 | 2014-01-22 Joel Brobecker <brobecker@adacore.com> |
10619 | ||
10620 | * common/common-utils.h: Add "ARI:" comment beside __func__ | |
10621 | reference. | |
10622 | ||
3a80edfc JB |
10623 | 2014-01-22 Joel Brobecker <brobecker@adacore.com> |
10624 | ||
10625 | * common/common-utils.h (FUNCTION_NAME): Expand the macro's | |
10626 | documentation a bit. | |
10627 | ||
4869db5e RM |
10628 | 2014-01-21 Roland McGrath <mcgrathr@google.com> |
10629 | ||
10630 | * configure.ac: Call AM_PROG_INSTALL_STRIP. | |
10631 | * configure: Regenerate. | |
10632 | * aclocal.m4: Regenerate. | |
10633 | * Makefile.in (install_sh, INSTALL_STRIP_PROGRAM, STRIP): | |
10634 | New substituted variables. | |
10635 | (install-strip): New target. | |
10636 | (INSTALL_SCRIPT): New substituted variable. | |
10637 | (FLAGS_TO_PASS): Add it. | |
10638 | (install-only): Use $(INSTALL_SCRIPT) rather than | |
10639 | $(INSTALL_PROGRAM) for gcore. | |
10640 | ||
9ea4267d TT |
10641 | 2014-01-20 Tom Tromey <tromey@redhat.com> |
10642 | ||
10643 | * cli/cli-decode.h (struct cmd_list_element): Move all bitfields | |
10644 | together. | |
10645 | ||
1f2bdf09 TT |
10646 | 2014-01-20 Tom Tromey <tromey@redhat.com> |
10647 | ||
10648 | * cli/cli-decode.c (add_cmd, deprecate_cmd, add_alias_cmd) | |
10649 | (add_setshow_cmd_full, delete_cmd, lookup_cmd_1) | |
10650 | (deprecated_cmd_warning, complete_on_cmdlist): Update. | |
10651 | * cli/cli-decode.h (CMD_DEPRECATED, DEPRECATED_WARN_USER) | |
10652 | (MALLOCED_REPLACEMENT, DOC_ALLOCATED): Remove. | |
10653 | (struct cmd_list_element) <flags>: Remove. | |
10654 | <cmd_deprecated, deprecated_warn_user, malloced_replacement, | |
10655 | doc_allocated>: New fields. | |
10656 | <hook_in, allow_unknown, abbrev_flag, type, var_type>: Now | |
10657 | bitfields. | |
10658 | * maint.c (maintenance_do_deprecate): Update. | |
10659 | * top.c (execute_command): Update. | |
10660 | ||
e671835b BS |
10661 | 2014-01-20 Baruch Siach <baruch@tkos.co.il> |
10662 | ||
10663 | * xtensa-linux-nat.c: Include asm/ptrace.h. | |
10664 | ||
50367cd2 IB |
10665 | 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org> |
10666 | ||
10667 | * Makefile.in (SFILES): Add d-support.c. | |
10668 | (COMMON_OBS): Add d-support.o. | |
10669 | * d-lang.h (d_parse_symbol): Add comment, now defined in | |
10670 | d-support.c. | |
10671 | * d-lang.c (parse_call_convention) | |
10672 | (parse_attributes, parse_function_types) | |
10673 | (parse_function_args, parse_type, parse_identifier) | |
10674 | (call_convention_p, d_parse_symbol): Move functions to ... | |
10675 | * d-support.c: ... New file. | |
10676 | ||
ec9f644a IB |
10677 | 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org> |
10678 | ||
10679 | * d-lang.h (d_parse_symbol): Add declaration. | |
10680 | * d-lang.c (extract_identifiers) | |
10681 | (extract_type_info): Remove functions. | |
10682 | (parse_call_convention, parse_attributes) | |
10683 | (parse_function_types, parse_function_args) | |
10684 | (parse_type, parse_identifier, call_convention_p) | |
10685 | (d_parse_symbol): New functions. | |
10686 | (d_demangle): Use d_parse_symbol to demangle D symbols. | |
10687 | ||
94b1b47e IB |
10688 | 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org> |
10689 | ||
10690 | * d-lang.h (struct builtin_d_type): New data type. | |
10691 | (builtin_d_type): Add declaration. | |
10692 | * d-lang.c (d_language_arch_info, build_d_types) | |
10693 | (builtin_d_type): New functions. | |
10694 | (enum d_primitive_types): New data type. | |
10695 | (d_language_defn): Change c_language_arch_info to | |
10696 | d_language_arch_info. | |
10697 | (d_type_data): New static variable. | |
10698 | (_initialize_d_language): Initialize d_type_data. | |
10699 | ||
63778547 IB |
10700 | 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org> |
10701 | ||
10702 | * d-lang.h (d_main_name): Add declaration. | |
10703 | * d-lang.c (d_main_name): New function. | |
10704 | * symtab.c (find_main_name): Add call to d_main_name. | |
10705 | ||
3271ba66 IB |
10706 | 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org> |
10707 | ||
10708 | * d-lang.c (d_language_defn): Change macro_expansion_c to | |
10709 | macro_expansion_no. | |
10710 | ||
d36b3012 IB |
10711 | 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org> |
10712 | ||
10713 | * MAINTAINERS: Add myself as a write-after-approval maintainer. | |
10714 | ||
c90a6fb7 SDJ |
10715 | 2014-01-17 Sergio Durigan Junior <sergiodj@redhat.com> |
10716 | ||
10717 | * breakpoint.c (insert_bp_location): Add "volatile" keyword to "struct | |
10718 | gdb_exception" declaration. | |
10719 | * remote.c (getpkt_or_notif_sane): Likewise. | |
10720 | ||
749234e5 DE |
10721 | 2014-01-17 Doug Evans <dje@google.com> |
10722 | ||
10723 | * common/gdb_vecs.c (delim_string_to_char_ptr_vec_append): New | |
10724 | function, contents of dirnames_to_char_ptr_vec_append moved here. | |
10725 | (delim_string_to_char_ptr_vec): New function. | |
10726 | (dirnames_to_char_ptr_vec_append): Rewrite. | |
10727 | * common/gdb_vecs.h (delim_string_to_char_ptr_vec): Declare. | |
10728 | ||
df049a58 DE |
10729 | 2014-01-17 Doug Evans <dje@google.com> |
10730 | ||
10731 | * common/common-utils.h (FUNCTION_NAME): Renamed from ASSERT_FUNCTION, | |
10732 | and moved here ... | |
10733 | * common/gdb_assert.h (ASSERT_FUNCTION): ... from here. | |
10734 | #include "common-utils.h". | |
10735 | (gdb_assert, gdb_assert_fail, gdb_assert_not_reached): Update. | |
10736 | * common/vec.h (VEC_ASSERT_PASS): Update. | |
10737 | * darwin-nat.h: Replace #include of gdb_assert.h with common-utils.h. | |
10738 | (MACH_CHECK_ERROR): Update. | |
10739 | ||
69f97648 SM |
10740 | 2014-01-17 Simon Marchi <simon.marchi@ericsson.com> |
10741 | ||
10742 | * gdbarch.sh (gdbarch_address_class_name_to_type_flags): Add | |
10743 | comments. | |
10744 | * gdbarch.h: Regenerate. | |
10745 | ||
98b1cfdc TT |
10746 | 2014-01-16 Tom Tromey <tromey@redhat.com> |
10747 | ||
10748 | * value.c (struct value) <regnum>: Move earlier. | |
10749 | ||
77a19445 TT |
10750 | 2014-01-16 Tom Tromey <tromey@redhat.com> |
10751 | ||
10752 | * remote.c (extended_remote_create_inferior): Rename from | |
10753 | extended_remote_create_inferior_1. Add "ops" argument. Remove | |
10754 | old implementation. | |
10755 | ||
62261490 PA |
10756 | 2014-01-16 Pedro Alves <palves@redhat.com> |
10757 | ||
10758 | * s390-linux-tdep.c (s390_frame_unwind_cache): Swallow | |
10759 | NOT_AVAILABLE_ERROR errors while parsing the prologue or reading | |
10760 | the backchain. | |
10761 | ||
4d65956b DE |
10762 | 2014-01-16 Doug Evans <dje@google.com> |
10763 | ||
10764 | * dwarf2read.c (open_and_init_dwp_file): Fix typo in comment. | |
10765 | ||
52834460 MM |
10766 | 2014-01-16 Markus Metzger <markus.t.metzger@intel.com> |
10767 | ||
10768 | * btrace.h (btrace_thread_flag): New. | |
10769 | (struct btrace_thread_info) <flags>: New. | |
10770 | * record-btrace.c (record_btrace_resume_thread) | |
10771 | (record_btrace_find_thread_to_move, btrace_step_no_history) | |
10772 | (btrace_step_stopped, record_btrace_start_replaying) | |
10773 | (record_btrace_step_thread, record_btrace_decr_pc_after_break) | |
10774 | (record_btrace_find_resume_thread): New. | |
10775 | (record_btrace_resume, record_btrace_wait): Extend. | |
10776 | (record_btrace_can_execute_reverse): New. | |
10777 | (record_btrace_open): Fail in non-stop mode. | |
10778 | (record_btrace_set_replay): Split into this, ... | |
10779 | (record_btrace_stop_replaying): ... this, ... | |
10780 | (record_btrace_clear_histories): ... and this. | |
10781 | (init_record_btrace_ops): Init to_can_execute_reverse. | |
10782 | * NEWS: Announce it. | |
10783 | ||
118e6252 MM |
10784 | 2014-01-16 Markus Metzger <markus.t.metzger@intel.com> |
10785 | ||
10786 | * target.h (struct target_ops) <to_decr_pc_after_break>: New. | |
10787 | (forward_target_decr_pc_after_break) | |
10788 | (target_decr_pc_after_break): New. | |
10789 | * target.c (forward_target_decr_pc_after_break) | |
10790 | (target_decr_pc_after_break): New. | |
10791 | * aix-thread.c (aix_thread_wait): Call target_decr_pc_after_break | |
10792 | instead of gdbarch_decr_pc_after_break. | |
10793 | * darwin-nat.c (cancel_breakpoint): Call target_decr_pc_after_break | |
10794 | instead of gdbarch_decr_pc_after_break. | |
10795 | * infrun.c (adjust_pc_after_break): Call target_decr_pc_after_break | |
10796 | instead of gdbarch_decr_pc_after_break. | |
10797 | * linux-nat.c (cancel_breakpoint): Call target_decr_pc_after_break | |
10798 | instead of gdbarch_decr_pc_after_break. | |
10799 | * linux-thread-db.c (check_event): Call target_decr_pc_after_break | |
10800 | instead of gdbarch_decr_pc_after_break. | |
10801 | * record-full.c (record_full_wait_1): Call target_decr_pc_after_break | |
10802 | instead of gdbarch_decr_pc_after_break. | |
10803 | ||
6e07b1d2 MM |
10804 | 2014-01-16 Markus Metzger <markus.t.metzger@intel.com> |
10805 | ||
10806 | * btrace.c: Include regcache.h. | |
10807 | (btrace_add_pc): New. | |
10808 | (btrace_enable): Call btrace_add_pc. | |
10809 | (btrace_is_empty): New. | |
10810 | * btrace.h (btrace_is_empty): New. | |
10811 | * record-btrace.c (require_btrace, record_btrace_info): Call | |
10812 | btrace_is_empty. | |
10813 | ||
969c39fb MM |
10814 | 2014-01-16 Markus Metzger <markus.t.metzger@intel.com> |
10815 | ||
10816 | * common/linux-btrace.c (perf_event_read_bts, linux_read_btrace): | |
10817 | Support delta reads. | |
10818 | (linux_disable_btrace): Change return type. | |
10819 | * common/linux-btrace.h (linux_read_btrace): Change parameters | |
10820 | and return type to allow error reporting. Update users. | |
10821 | (linux_disable_btrace): Change return type. Update users. | |
10822 | * common/btrace-common.h (btrace_read_type) <BTRACE_READ_DELTA>: | |
10823 | New. | |
10824 | (btrace_error): New. | |
10825 | (btrace_block) <begin>: Comment on BEGIN == 0. | |
10826 | * btrace.c (btrace_compute_ftrace): Start from the end of | |
10827 | the current trace. | |
10828 | (btrace_stitch_trace, btrace_clear_history): New. | |
10829 | (btrace_fetch): Read delta trace, return if replaying. | |
10830 | (btrace_clear): Move clear history code to btrace_clear_history. | |
10831 | (parse_xml_btrace): Throw an error if parsing failed. | |
10832 | * target.h (struct target_ops) <to_read_btrace>: Change parameters | |
10833 | and return type to allow error reporting. | |
10834 | (target_read_btrace): Change parameters and return type to allow | |
10835 | error reporting. | |
10836 | * target.c (target_read_btrace): Update. | |
10837 | * remote.c (remote_read_btrace): Support delta reads. Pass | |
10838 | errors on. | |
10839 | * NEWS: Announce it. | |
10840 | ||
0b722aec MM |
10841 | 2014-01-16 Markus Metzger <markus.t.metzger@intel.com> |
10842 | ||
10843 | * record.h (record_btrace_frame_unwind) | |
10844 | (record_btrace_tailcall_frame_unwind): New declarations. | |
10845 | * dwarf2-frame: Include record.h | |
10846 | (dwarf2_frame_cfa): Throw an error for btrace frames. | |
10847 | * record-btrace.c: Include hashtab.h. | |
10848 | (btrace_get_bfun_name): New. | |
10849 | (btrace_call_history): Call btrace_get_bfun_name. | |
10850 | (struct btrace_frame_cache): New. | |
10851 | (bfcache): New. | |
10852 | (bfcache_hash, bfcache_eq, bfcache_new): New. | |
10853 | (btrace_get_frame_function): New. | |
10854 | (record_btrace_frame_unwind_stop_reason): Allow unwinding. | |
10855 | (record_btrace_frame_this_id): Compute own id. | |
10856 | (record_btrace_frame_prev_register): Provide PC, throw_error | |
10857 | for all other registers. | |
10858 | (record_btrace_frame_sniffer): Detect btrace frames. | |
10859 | (record_btrace_tailcall_frame_sniffer): New. | |
10860 | (record_btrace_frame_dealloc_cache): New. | |
10861 | (record_btrace_frame_unwind): Add new functions. | |
10862 | (record_btrace_tailcall_frame_unwind): New. | |
10863 | (_initialize_record_btrace): Allocate cache. | |
10864 | * btrace.c (btrace_clear): Call reinit_frame_cache. | |
10865 | * NEWS: Announce it. | |
10866 | ||
066ce621 MM |
10867 | 2014-01-16 Markus Metzger <markus.t.metzger@intel.com> |
10868 | ||
10869 | * record-btrace.c (record_btrace_set_replay) | |
10870 | (record_btrace_goto_begin, record_btrace_goto_end) | |
10871 | (record_btrace_goto): New. | |
10872 | (init_record_btrace_ops): Initialize them. | |
10873 | * NEWS: Announce it. | |
10874 | ||
e2887aa3 MM |
10875 | 2014-01-16 Markus Metzger <markus.t.metzger@intel.com> |
10876 | ||
10877 | * record-btrace.c (record_btrace_find_new_threads) | |
10878 | (record_btrace_thread_alive): New. | |
10879 | (init_record_btrace_ops): Initialize to_find_new_threads and | |
10880 | to_thread_alive. | |
10881 | ||
b2f4cfde MM |
10882 | 2014-01-16 Markus Metzger <markus.t.metzger@intel.com> |
10883 | ||
10884 | * record-btrace.c (record_btrace_resume): New. | |
10885 | (record_btrace_wait): New. | |
10886 | (init_record_btrace_ops): Initialize to_wait and to_resume. | |
10887 | ||
633785ff MM |
10888 | 2014-01-16 Markus Metzger <markus.t.metzger@intel.com> |
10889 | ||
10890 | * record-btrace.c (record_btrace_xfer_partial) | |
10891 | (record_btrace_insert_breakpoint, record_btrace_remove_breakpoint) | |
10892 | (record_btrace_allow_memory_access): New. | |
10893 | (init_record_btrace_ops): Initialize new methods. | |
10894 | * target.c (raw_memory_xfer_partial): Bail out if target reports | |
10895 | that this memory is not available. | |
10896 | ||
3db08215 MM |
10897 | 2014-01-16 Markus Metzger <markus.t.metzger@intel.com> |
10898 | ||
10899 | * target.h (target_ops) <to_insert_breakpoint> | |
10900 | <to_remove_breakpoint>: Add target_ops parameter. | |
10901 | (forward_target_insert_breakpoint): New. | |
10902 | (forward_target_remove_breakpoint): New. | |
10903 | (memory_remove_breakpoint, memory_insert_breakpoint): | |
10904 | Add target_ops parameter. | |
10905 | * target.c (target_insert_breakpoint): Split into this and ... | |
10906 | (forward_target_insert_breakpoint): ... this. | |
10907 | (target_remove_breakpoint): Split into this and ... | |
10908 | (forward_target_remove_breakpoint): ... this. | |
10909 | (debug_to_insert_breakpoint): Add target_ops parameter. | |
10910 | Call forward_target_insert_breakpoint. | |
10911 | (debug_to_remove_breakpoint): Add target_ops parameter. | |
10912 | Call forward_target_remove_breakpoint. | |
10913 | (update_current_target): Do not inherit or default to_insert_breakpoint | |
10914 | and to_remove_breakpoint. | |
10915 | * corelow.c (ignore): Add target_ops parameter. | |
10916 | * exec.c (ignore): Add target_ops parameter. | |
10917 | * mem-break.c (memory_insert_breakpoint, memory_remove_breakpoint): | |
10918 | Add target_ops parameter. | |
10919 | * monitor.c (monitor_insert_breakpoint, monitor_remove_breakpoint): | |
10920 | Add target_ops parameter. | |
10921 | * nto-procfs.c (procfs_insert_breakpoint, procfs_remove_breakpoint): | |
10922 | Add target_ops parameter. | |
10923 | * record-full.c (record_full_beneath_to_insert_breakpoint) | |
10924 | (record_full_beneath_to_remove_breakpoint, tmp_to_insert_breakpoint) | |
10925 | (tmp_to_remove_breakpoint, record_full_insert_breakpoint) | |
10926 | (record_full_remove_breakpoint, record_full_core_insert_breakpoint) | |
10927 | (record_full_core_remove_breakpoint): Add target_ops parameter. | |
10928 | Update users. | |
10929 | (record_full_beneath_to_insert_breakpoint_ops) | |
10930 | (record_full_beneath_to_remove_breakpoint_ops) | |
10931 | (tmp_to_insert_breakpoint_ops, tmp_to_remove_breakpoint_ops): New. | |
10932 | (record_full_open): Initialize tmp_to_insert_breakpoint_ops, | |
10933 | tmp_to_remove_breakpoint_ops, | |
10934 | record_full_beneath_to_insert_breakpoint_ops, and | |
10935 | record_full_beneath_to_remove_breakpoint_ops. | |
10936 | * remote-m32r-sdi.c (m32r_insert_breakpoint) | |
10937 | (m32r_remove_breakpoint): Add target_ops parameter. | |
10938 | * remote-mips.c (mips_insert_breakpoint, mips_remove_breakpoint): | |
10939 | Add target_ops parameter. | |
10940 | * remote.c (remote_insert_breakpoint, remote_remove_breakpoint): | |
10941 | Add target_ops parameter. | |
10942 | ||
cecac1ab MM |
10943 | 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com> |
10944 | Markus Metzger <markus.t.metzger@intel.com> | |
10945 | ||
10946 | * record-btrace.c: Include frame-unwind.h. | |
10947 | (record_btrace_frame_unwind_stop_reason) | |
10948 | (record_btrace_frame_this_id, record_btrace_frame_prev_register) | |
10949 | (record_btrace_frame_sniffer, record_btrace_frame_unwind): | |
10950 | New. | |
10951 | (init_record_btrace_ops): Install it. | |
10952 | ||
824344ca MM |
10953 | 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com> |
10954 | ||
10955 | * frame.c (get_frame_unwind_stop_reason): Unconditionally call | |
10956 | get_prev_frame_1. | |
10957 | ||
32261e52 MM |
10958 | 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com> |
10959 | ||
10960 | * dwarf2-frame.c (dwarf2_frame_cfa): Move UNWIND_UNAVAILABLE check | |
10961 | earlier. | |
10962 | ||
ea001bdc MM |
10963 | 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com> |
10964 | ||
10965 | * frame-unwind.c: Include target.h. | |
10966 | (frame_unwind_try_unwinder): New function with code from ... | |
10967 | (frame_unwind_find_by_frame): ... here. New variable | |
10968 | unwinder_from_target, call also target_get_unwinder) | |
10969 | (target_get_tailcall_unwinder, and frame_unwind_try_unwinder for it. | |
10970 | * target.c (target_get_unwinder, target_get_tailcall_unwinder): New. | |
10971 | * target.h (struct target_ops): New fields to_get_unwinder and | |
10972 | to_get_tailcall_unwinder. | |
10973 | (target_get_unwinder, target_get_tailcall_unwinder): New declarations. | |
10974 | ||
1f3ef581 MM |
10975 | 2014-01-16 Markus Metzger <markus.t.metzger@intel.com> |
10976 | ||
10977 | * record-btrace.c (record_btrace_fetch_registers) | |
10978 | (record_btrace_store_registers) | |
10979 | (record_btrace_to_prepare_to_store): New. | |
10980 | (init_record_btrace_ops): Add the above. | |
10981 | ||
f32dbf8c MM |
10982 | 2014-01-16 Tom Tromey <tromey@redhat.com> |
10983 | ||
10984 | * windows-nat.c (windows_prepare_to_store): Add 'self' argument. | |
10985 | * target.h (struct target_ops) <to_prepare_to_store>: Add | |
10986 | argument. | |
10987 | (target_prepare_to_store): Add argument. | |
10988 | * target.c (debug_to_prepare_to_store): Add argument. | |
10989 | (update_current_target): Update. | |
10990 | * remote.c (remote_prepare_to_store): Add 'self' argument. | |
10991 | * remote-sim.c (gdbsim_prepare_to_store): Add 'self' argument. | |
10992 | * remote-mips.c (mips_prepare_to_store): Add 'self' argument. | |
10993 | * remote-m32r-sdi.c (m32r_prepare_to_store): Add 'self' argument. | |
10994 | * record-full.c (record_full_core_prepare_to_store): Add 'self' | |
10995 | argument. | |
10996 | * ravenscar-thread.c (ravenscar_prepare_to_store): Add argument. | |
10997 | * nto-procfs.c (procfs_prepare_to_store): Add 'self' argument. | |
10998 | * monitor.c (monitor_prepare_to_store): Add 'self' argument. | |
10999 | * inf-child.c (inf_child_prepare_to_store): Add 'self' argument. | |
11000 | * go32-nat.c (go32_prepare_to_store): Add 'self' argument. | |
11001 | ||
07bbe694 MM |
11002 | 2014-01-16 Markus Metzger <markus.t.metzger@intel.com> |
11003 | ||
11004 | * btrace.h (replay) <replay>: New. | |
11005 | (btrace_is_replaying): New. | |
11006 | * btrace.c (btrace_clear): Free replay iterator. | |
11007 | (btrace_is_replaying): New. | |
11008 | * record-btrace.c (record_btrace_is_replaying): New. | |
11009 | (record_btrace_info): Print insn number if replaying. | |
11010 | (record_btrace_insn_history): Start at replay position. | |
11011 | (record_btrace_call_history): Start at replay position. | |
11012 | (init_record_btrace_ops): Init to_record_is_replaying. | |
11013 | ||
0688d04e MM |
11014 | 2014-01-16 Markus Metzger <markus.t.metzger@intel.com> |
11015 | ||
11016 | * record-btrace.c (record_btrace_insn_history_range): Include | |
11017 | end. | |
11018 | (record_btrace_insn_history_from): Adjust range. | |
11019 | (record_btrace_call_history_range): Include | |
11020 | end. | |
11021 | (record_btrace_call_history_from): Adjust range. | |
11022 | * NEWS: Announce changes. | |
11023 | ||
8710b709 MM |
11024 | 2014-01-16 Markus Metzger <markus.t.metzger@intel.com> |
11025 | ||
11026 | * record.h (enum record_print_flag) | |
11027 | <record_print_indent_calls>: New. | |
11028 | * record.c (get_call_history_modifiers): Recognize /c modifier. | |
11029 | (_initialize_record): Document /c modifier. | |
11030 | * record-btrace.c (btrace_call_history): Add btinfo parameter. | |
11031 | Reorder fields. Optionally indent the function name. Update | |
11032 | all users. | |
11033 | * NEWS: Announce changes. | |
11034 | ||
d0fa7535 MM |
11035 | 2014-01-16 Markus Metzger <markus.t.metzger@intel.com> |
11036 | ||
11037 | * common/linux-btrace.c (linux_enable_btrace): Enlarge buffer. | |
11038 | ||
5de9129b MM |
11039 | 2014-01-16 Markus Metzger <markus.t.metzger@intel.com> |
11040 | ||
11041 | * btrace.c (ftrace_new_function): Start counting at one. | |
11042 | * record-btrace.c (record_btrace_info): Adjust number of calls | |
11043 | and insns. | |
11044 | * NEWS: Announce it. | |
11045 | ||
7acbe133 MM |
11046 | 2014-01-16 Markus Metzger <markus.t.metzger@intel.com> |
11047 | ||
11048 | * record-btrace.c (btrace_call_history_insn_range): Print | |
11049 | insn range as [begin, end]. | |
11050 | ||
23a7fe75 MM |
11051 | 2014-01-16 Markus Metzger <markus.t.metzger@intel.com> |
11052 | ||
11053 | * btrace.h (struct btrace_func_link): New. | |
11054 | (enum btrace_function_flag): New. | |
11055 | (struct btrace_inst): Rename to ... | |
11056 | (struct btrace_insn): ...this. Update all users. | |
11057 | (struct btrace_func) <ibegin, iend>: Remove. | |
11058 | (struct btrace_func_link): New. | |
11059 | (struct btrace_func): Rename to ... | |
11060 | (struct btrace_function): ...this. Update all users. | |
11061 | (struct btrace_function) <segment, flow, up, insn, insn_offset) | |
11062 | (number, level, flags>: New. | |
11063 | (struct btrace_insn_iterator): Rename to ... | |
11064 | (struct btrace_insn_history): ...this. | |
11065 | Update all users. | |
11066 | (struct btrace_insn_iterator, btrace_call_iterator): New. | |
11067 | (struct btrace_target_info) <btrace, itrace, ftrace>: Remove. | |
11068 | (struct btrace_target_info) <begin, end, level> | |
11069 | <insn_history, call_history>: New. | |
11070 | (btrace_insn_get, btrace_insn_number, btrace_insn_begin) | |
11071 | (btrace_insn_end, btrace_insn_prev, btrace_insn_next) | |
11072 | (btrace_insn_cmp, btrace_find_insn_by_number, btrace_call_get) | |
11073 | (btrace_call_number, btrace_call_begin, btrace_call_end) | |
11074 | (btrace_call_prev, btrace_call_next, btrace_call_cmp) | |
11075 | (btrace_find_function_by_number, btrace_set_insn_history) | |
11076 | (btrace_set_call_history): New. | |
11077 | * btrace.c (btrace_init_insn_iterator) | |
11078 | (btrace_init_func_iterator, compute_itrace): Remove. | |
11079 | (ftrace_print_function_name, ftrace_print_filename) | |
11080 | (ftrace_skip_file): Change | |
11081 | parameter to const. | |
11082 | (ftrace_init_func): Remove. | |
11083 | (ftrace_debug): Use new btrace_function fields. | |
11084 | (ftrace_function_switched): Also consider gaining and | |
11085 | losing symbol information). | |
11086 | (ftrace_print_insn_addr, ftrace_new_call, ftrace_new_return) | |
11087 | (ftrace_new_switch, ftrace_find_caller, ftrace_new_function) | |
11088 | (ftrace_update_caller, ftrace_fixup_caller, ftrace_new_tailcall): | |
11089 | New. | |
11090 | (ftrace_new_function): Move. Remove debug print. | |
11091 | (ftrace_update_lines, ftrace_update_insns): New. | |
11092 | (ftrace_update_function): Check for call, ret, and jump. | |
11093 | (compute_ftrace): Renamed to ... | |
11094 | (btrace_compute_ftrace): ...this. Rewritten to compute call | |
11095 | stack. | |
11096 | (btrace_fetch, btrace_clear): Updated. | |
11097 | (btrace_insn_get, btrace_insn_number, btrace_insn_begin) | |
11098 | (btrace_insn_end, btrace_insn_prev, btrace_insn_next) | |
11099 | (btrace_insn_cmp, btrace_find_insn_by_number, btrace_call_get) | |
11100 | (btrace_call_number, btrace_call_begin, btrace_call_end) | |
11101 | (btrace_call_prev, btrace_call_next, btrace_call_cmp) | |
11102 | (btrace_find_function_by_number, btrace_set_insn_history) | |
11103 | (btrace_set_call_history): New. | |
11104 | * record-btrace.c (require_btrace): Use new btrace thread | |
11105 | info fields. | |
11106 | (record_btrace_info, btrace_insn_history) | |
11107 | (record_btrace_insn_history, record_btrace_insn_history_range): | |
11108 | Use new btrace thread info fields and new iterator. | |
11109 | (btrace_func_history_src_line): Rename to ... | |
11110 | (btrace_call_history_src_line): ...this. Use new btrace | |
11111 | thread info fields. | |
11112 | (btrace_func_history): Rename to ... | |
11113 | (btrace_call_history): ...this. Use new btrace thread info | |
11114 | fields and new iterator. | |
11115 | (record_btrace_call_history, record_btrace_call_history_range): | |
11116 | Use new btrace thread info fields and new iterator. | |
11117 | ||
8372a7cb MM |
11118 | 2014-01-16 Markus Metzger <markus.t.metzger@intel.com> |
11119 | ||
11120 | * frame.h (frame_id_build_unavailable_stack_special): New. | |
11121 | * frame.c (frame_id_build_unavailable_stack_special): New. | |
11122 | ||
c2170eef MM |
11123 | 2014-01-16 Markus Metzger <markus.t.metzger@intel.com> |
11124 | ||
11125 | * amd64-tdep.c (amd64_classify_insn_at, amd64_insn_is_call) | |
11126 | (amd64_insn_is_ret, amd64_insn_is_jump, amd64_jmp_p): New. | |
11127 | (amd64_init_abi): Add insn_is_call, insn_is_ret, and insn_is_jump | |
11128 | to gdbarch. | |
11129 | * i386-tdep.c (i386_insn_is_call, i386_insn_is_ret) | |
11130 | (i386_insn_is_jump, i386_jmp_p): New. | |
11131 | (i386_gdbarch_init): Add insn_is_call, insn_is_ret, and | |
11132 | insn_is_jump to gdbarch. | |
11133 | * gdbarch.sh (insn_is_call, insn_is_ret, insn_is_jump): New. | |
11134 | * gdbarch.h: Regenerated. | |
11135 | * gdbarch.c: Regenerated. | |
11136 | * arch-utils.h (default_insn_is_call, default_insn_is_ret) | |
11137 | (default_insn_is_jump): New. | |
11138 | * arch-utils.c (default_insn_is_call, default_insn_is_ret) | |
11139 | (default_insn_is_jump): New. | |
11140 | ||
864089d2 MM |
11141 | 2014-01-16 Markus Metzger <markus.t.metzger@intel.com> |
11142 | ||
11143 | * common/btrace-common.h (btrace_read_type) <btrace_read_all>: | |
11144 | Change to ... | |
11145 | (btrace_read_type) <BTRACE_READ_ALL>: ... this. Update users. | |
11146 | (btrace_read_type) <btrace_read_new>: Change to ... | |
11147 | (btrace_read_type) <BTRACE_READ_NEW>: ... this. Update users. | |
11148 | ||
ed9edfb5 MM |
11149 | 2014-01-16 Markus Metzger <markus.t.metzger@intel.com> |
11150 | ||
11151 | * common/linux-btrace.c (linux_read_btrace): Free trace from | |
11152 | previous iteration. | |
11153 | ||
fbcbc3fd DE |
11154 | 2014-01-15 Doug Evans <dje@google.com> |
11155 | ||
11156 | * dwarf2read.c (open_and_init_dwp_file): Use pulongest to print | |
11157 | uint32_t. | |
11158 | ||
3d548a53 TT |
11159 | 2014-01-15 Tom Tromey <tromey@redhat.com> |
11160 | ||
11161 | * dbxread.c (process_one_symbol): Use set_objfile_main_name. | |
11162 | * dwarf2read.c (read_partial_die): Use set_objfile_main_name. | |
11163 | * objfiles.c (get_objfile_bfd_data): Initialize language_of_main. | |
11164 | (set_objfile_main_name): New function. | |
11165 | * objfiles.h (struct objfile_per_bfd_storage) <name_of_main, | |
11166 | language_of_main>: New fields. | |
11167 | (set_objfile_main_name): Declare. | |
11168 | * symtab.c (find_main_name): Loop over objfiles to find the main | |
11169 | name and language. | |
11170 | (set_main_name): Now static. | |
11171 | (get_main_info): Add comment. | |
11172 | * symtab.h (set_main_name): Don't declare. | |
11173 | ||
32ac0d11 TT |
11174 | 2014-01-15 Tom Tromey <tromey@redhat.com> |
11175 | ||
11176 | * symtab.c (main_progspace_key): New global. | |
11177 | (struct main_info): New. | |
11178 | (name_of_main, language_of_main): Remove. | |
11179 | (get_main_info, main_info_cleanup): New function. | |
11180 | (set_main_name, main_name, main_language): Use get_main_info. | |
11181 | (_initialize_symtab): Initialize main_progspace_key. | |
11182 | ||
9e6c82ad TT |
11183 | 2014-01-15 Tom Tromey <tromey@redhat.com> |
11184 | ||
11185 | * dbxread.c (process_one_symbol): Update. | |
11186 | * dwarf2read.c (read_partial_die): Update. | |
11187 | * symfile.c (set_initial_language): Call main_language. | |
11188 | * symtab.c (language_of_main): Now static. | |
11189 | (set_main_name): Add 'lang' parameter. | |
11190 | (find_main_name): Update. | |
11191 | (main_language): New function. | |
11192 | (symtab_observer_executable_changed): Update. | |
11193 | * symtab.h (set_main_name): Update. | |
11194 | (language_of_main): Remove. | |
11195 | (main_language): Declare. | |
11196 | ||
6ef55de7 TT |
11197 | 2014-01-15 Tom Tromey <tromey@redhat.com> |
11198 | ||
11199 | * symfile.c (init_entry_point_info): Use new "initialized" field. | |
11200 | Update. | |
11201 | * objfiles.h (struct entry_point) <initialized>: New field. | |
11202 | (struct objfile_per_bfd_storage) <ei>: New field, moved from... | |
11203 | (struct objfile) <ei>: ...here. Remove. | |
11204 | * objfiles.c (entry_point_address_query): Update. | |
11205 | ||
53eddfa6 TT |
11206 | 2014-01-15 Tom Tromey <tromey@redhat.com> |
11207 | ||
11208 | * objfiles.c (entry_point_address_query): Relocate entry point | |
11209 | address. | |
11210 | (objfile_relocate1): Do not relocate entry point address. | |
11211 | * objfiles.h (struct entry_info) <entry_point>: Update comment. | |
11212 | <the_bfd_section_index>: New field. | |
11213 | * symfile.c (init_entry_point_info): Find the entry point's | |
11214 | section. | |
11215 | ||
d56e56aa TT |
11216 | 2014-01-15 Tom Tromey <tromey@redhat.com> |
11217 | ||
11218 | * solib-frv.c (enable_break): Use entry_point_address_query. | |
11219 | ||
33a97bbe OJ |
11220 | 2014-01-15 Omair Javaid <omair.javaid@linaro.org> |
11221 | ||
11222 | * NEWS: Add note on improved process record-replay on | |
11223 | arm*-linux* targets. | |
11224 | ||
c6ec2b30 OJ |
11225 | 2014-01-15 Omair Javaid <omair.javaid@linaro.org> |
11226 | ||
11227 | * arm-tdep.c (enum arm_record_result): New enum. | |
11228 | (arm_record_unsupported_insn): New function. | |
11229 | (arm_record_coproc_data_proc): Removed. | |
11230 | (thumb2_record_ld_st_multiple): New function. | |
11231 | (thumb2_record_ld_st_dual_ex_tbb): New function. | |
11232 | (thumb2_record_data_proc_sreg_mimm): New function. | |
11233 | (thumb2_record_ps_dest_generic): New function. | |
11234 | (thumb2_record_branch_misc_cntrl): New function. | |
11235 | (thumb2_record_str_single_data): New function. | |
11236 | (thumb2_record_ld_mem_hints): New function. | |
11237 | (thumb2_record_ld_word): New function. | |
11238 | (thumb2_record_lmul_lmla_div): New function. | |
11239 | (thumb2_record_decode_insn_handler): New function. | |
11240 | (decode_insn): Add thumb32 instruction handlers. | |
11241 | ||
97dfe206 OJ |
11242 | 2014-01-15 Omair Javaid <omair.javaid@linaro.org> |
11243 | ||
11244 | * arm-linux-tdep.c: Include "record-full.h" and "linux-record.h". | |
11245 | (struct arm_linux_record_tdep): Declare. | |
11246 | (arm_canonicalize_syscall): New function. | |
11247 | (arm_all_but_pc_registers_record): New function. | |
11248 | (arm_linux_syscall_record): New function. | |
11249 | (arm_linux_init_abi): Add syscall recording constructs. | |
11250 | * arm-tdep.c (thumb_record_ldm_stm_swi): Update thumb syscall | |
11251 | decoding. (arm_record_coproc_data_proc): Update arm syscall | |
11252 | decoding. | |
11253 | * arm-tdep.h (struct gdbarch_tdep) <arm_swi_record>: Remove. | |
11254 | <arm_syscall_record>: New field. | |
11255 | * configure.tgt (arm*-*-linux*): Add linux-record.o to | |
11256 | gdb_target_obs. | |
11257 | ||
9904a494 OJ |
11258 | 2014-01-15 Omair Javaid <omair.javaid@linaro.org> |
11259 | ||
11260 | * arm-tdep.c (thumb_record_misc): Update to use sp as base | |
11261 | register for push instruction recording. | |
11262 | ||
f969241e OJ |
11263 | 2014-01-15 Omair Javaid <omair.javaid@linaro.org> |
11264 | ||
11265 | * arm-tdep.c (thumb_record_misc): Update to correct logical | |
11266 | error while recording ldm, ldmia and pop instructions. | |
11267 | ||
bfbbec00 OJ |
11268 | 2014-01-15 Omair Javaid <omair.javaid@linaro.org> |
11269 | ||
11270 | * arm-tdep.c (struct arm_mem_r) <addr>: Change type to uint32_t. | |
11271 | ||
e40adcc9 PA |
11272 | 2014-01-15 Pedro Alves <palves@redhat.com> |
11273 | ||
11274 | * go32-nat.c (go32_open, go32_close, go32_attach, go32_detach) | |
11275 | (go32_resume, go32_fetch_registers, store_register) | |
11276 | (go32_store_registers, go32_prepare_to_store) | |
11277 | (go32_xfer_memory, go32_files_info, go32_kill_inferior) | |
11278 | (go32_create_inferior, go32_can_run, go32_terminal_init) | |
11279 | (go32_terminal_inferior, go32_terminal_ours): Delete forward | |
11280 | declarations. | |
11281 | ||
b0a16e66 TT |
11282 | 2014-01-15 Tom Tromey <tromey@redhat.com> |
11283 | ||
11284 | * target.h (async_callback_ftype): New typedef. | |
11285 | (struct target_ops) <to_async>: Use it. | |
11286 | ||
bf7105a4 JB |
11287 | 2014-01-15 Joel Brobecker <brobecker@adacore.com> |
11288 | ||
11289 | * python/py-value.c (get_field_type): Remove unnecessary curly | |
11290 | braces for single-statement if block. | |
11291 | ||
a8f35c2e JB |
11292 | 2014-01-15 Joel Brobecker <brobecker@adacore.com> |
11293 | ||
11294 | * python/py-type.c (convert_field): Add missing empty line | |
11295 | after declarations. | |
11296 | ||
bb4142cf DE |
11297 | 2014-01-14 Doug Evans <dje@google.com> |
11298 | ||
11299 | * symfile.h (expand_symtabs_matching): Renamed from | |
11300 | expand_partial_symbol_names. Update prototype. | |
11301 | (map_symbol_filenames): Renamed from map_partial_symbol_filenames. | |
11302 | * symfile.c (expand_symtabs_matching): Renamed from | |
11303 | expand_partial_symbol_names. New args file_matcher, kind. | |
11304 | Rename arg fun to symbol_matcher. | |
11305 | (map_symbol_filenames): Renamed from map_partial_symbol_filenames. | |
11306 | * ada-lang.c (ada_complete_symbol_matcher): Renamed from | |
11307 | ada_expand_partial_symbol_name. | |
11308 | (ada_make_symbol_completion_list): Update to call | |
11309 | expand_symtabs_matching. | |
11310 | (ada_add_global_exceptions): Call expand_symtabs_matching. | |
11311 | * mi/mi-cmd-file.c (mi_cmd_file_list_exec_source_files): Update to | |
11312 | call map_symbol_filenames. | |
11313 | * symtab.c (sources_info): Update to call map_symbol_filenames. | |
11314 | (search_symbols): Call expand_symtabs_matching. | |
11315 | (symbol_completion_matcher): Renamed from expand_partial_symbol_name. | |
11316 | (default_make_symbol_completion_list_break_on): Update to call | |
11317 | expand_symtabs_matching. | |
11318 | (make_source_files_completion_list): Update to call | |
11319 | map_symbol_filenames. | |
11320 | ||
206f2a57 DE |
11321 | 2014-01-14 Doug Evans <dje@google.com> |
11322 | ||
11323 | * symfile.h (expand_symtabs_file_matcher_ftype): New typedef. | |
11324 | (expand_symtabs_symbol_matcher_ftype): New typedef. | |
11325 | (quick_symbol_functions.expand_symtabs_matching): Update to use. | |
11326 | expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype. | |
11327 | * symfile.c (expand_partial_symbol_names): Update to use | |
11328 | expand_symtabs_symbol_matcher_ftype. | |
11329 | * dwarf2read.c (dw2_expand_symtabs_matching): Update to use | |
11330 | expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype. | |
11331 | Arg name_matcher renamed to symbol_matcher. | |
11332 | * psymtab.c (recursively_search_psymtabs): Update to use | |
11333 | expand_symtabs_symbol_matcher_ftype. Arg name_matcher renamed to | |
11334 | sym_matcher. | |
11335 | (expand_symtabs_matching_via_partial): Update to use | |
11336 | expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype. | |
11337 | Arg name_matcher renamed to symbol_matcher. | |
11338 | ||
540c2971 DE |
11339 | 2014-01-14 Doug Evans <dje@google.com> |
11340 | ||
11341 | * psymtab.c (expand_partial_symbol_names): Delete, moved to symfile.c. | |
11342 | (map_partial_symbol_filenames): Ditto. | |
11343 | * psymtab.h (expand_partial_symbol_names): Delete, moved to symfile.h. | |
11344 | (map_partial_symbol_filenames): Ditto. | |
11345 | * symfile.c (expand_partial_symbol_names): Moved here from psymtab.c. | |
11346 | (map_partial_symbol_filenames): Ditto. | |
11347 | * symfile.h (expand_partial_symbol_names): Moved here from psymtab.h. | |
11348 | (map_partial_symbol_filenames): Ditto. | |
11349 | * symtab.c: Delete #include "psymtab.h". | |
11350 | ||
8213266a PA |
11351 | 2014-01-14 Pedro Alves <palves@redhat.com> |
11352 | Tom Tromey <tromey@redhat.com> | |
11353 | ||
11354 | * infrun.c (use_displaced_stepping): Use find_record_target | |
11355 | instead of RECORD_IS_USED. | |
11356 | (adjust_pc_after_break): Use record_full_is_used instead of | |
11357 | RECORD_IS_USED. | |
11358 | * record-btrace.c (record_btrace_open): Call record_preopen | |
11359 | instead of checking RECORD_IS_USED. | |
11360 | * record-full.c (record_full_shortname) | |
11361 | (record_full_core_shortname): New globals. | |
11362 | (record_full_is_used): New function. | |
11363 | (find_full_open): Call record_preopen instead of checking | |
11364 | RECORD_IS_USED. | |
11365 | (init_record_full_ops): Set the target's shortname to | |
11366 | record_full_shortname. | |
11367 | (init_record_full_core_ops): Set the target's shortname to | |
11368 | record_full_core_shortname. | |
11369 | * record-full.h (record_full_is_used): Declare. | |
11370 | * record.c (find_record_target): Make extern. | |
11371 | (record_preopen): New function. | |
11372 | * record.h (RECORD_IS_USED): Delete macro. | |
11373 | (find_record_target, record_preopen): Declare functions. | |
11374 | ||
7ec1862d YQ |
11375 | 2014-01-14 Yao Qi <yao@codesourcery.com> |
11376 | ||
11377 | * gdbarch.sh (core_xfer_shared_libraries): Change its argument | |
11378 | 'len''s type to ULONGEST. | |
11379 | (core_xfer_shared_libraries_aix): Likewise. | |
11380 | * gdbarch.c, gdbarch.h: Regenerated. | |
11381 | * i386-cygwin-tdep.c (windows_core_xfer_shared_libraries): | |
11382 | Change type of 'len' to ULONGEST. | |
11383 | * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise. | |
11384 | (rs6000_aix_core_xfer_shared_libraries_aix): Likewise. | |
11385 | ||
dea80a27 YQ |
11386 | 2014-01-14 Yao Qi <yao@codesourcery.com> |
11387 | ||
11388 | * common/linux-osdata.c (linux_xfer_osdata_processes): Change | |
11389 | type of 'len' to ULONGEST. | |
11390 | (linux_xfer_osdata_processgroups): Likewise. | |
11391 | (linux_xfer_osdata_threads): Likewise. | |
11392 | (linux_xfer_osdata_fds): Likewise. | |
11393 | (linux_xfer_osdata_isockets): Likewise. | |
11394 | (linux_xfer_osdata_shm): Likewise. | |
11395 | (linux_xfer_osdata_sem): Likewise. | |
11396 | (linux_xfer_osdata_msg): Likewise. | |
11397 | (linux_common_xfer_osdata): Likewise. | |
11398 | (struct osdata_type) <getter>: Likewise. | |
11399 | * common/linux-osdata.h (linux_common_xfer_osdata): Update | |
11400 | the declaration. | |
11401 | ||
b55e14c7 YQ |
11402 | 2014-01-14 Yao Qi <yao@codesourcery.com> |
11403 | ||
11404 | * target.h (target_xfer_partial_ftype): Update. | |
11405 | (struct target_ops) <to_xfer_partial>: Change 'len' type to | |
11406 | ULONGEST. | |
11407 | * aix-thread.c (aix_thread_xfer_partial): Change type of | |
11408 | argument 'len' to ULONGEST. | |
11409 | * auxv.c (procfs_xfer_auxv): Likewise. | |
11410 | (ld_so_xfer_auxv): Likewise. | |
11411 | (memory_xfer_auxv): Likewise. | |
11412 | * bfd-target.c (target_bfd_xfer_partial): Likewise. | |
11413 | * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise. | |
11414 | * bsd-uthread.c (bsd_uthread_xfer_partial): Likewise. | |
11415 | * corelow.c (core_xfer_partial): Likewise. | |
11416 | * ctf.c (ctf_xfer_partial): Likewise. | |
11417 | * darwin-nat.c (darwin_read_write_inferior): Likewise. Use | |
11418 | '%u'. | |
11419 | (darwin_read_dyld_info): Likewise. | |
11420 | (darwin_xfer_partial): Likewise. | |
11421 | * exec.c (section_table_xfer_memory_partial): Likewise. | |
11422 | (exec_xfer_partial): Likewise. | |
11423 | * exec.h (section_table_xfer_memory_partial): Update | |
11424 | declaration. | |
11425 | * gnu-nat.c (gnu_xfer_memory): Likewise. Call pulongest | |
11426 | instead of plongest. | |
11427 | (gnu_xfer_partial): Likewise. | |
11428 | * ia64-hpux-nat.c (ia64_hpux_xfer_memory): Likewise. | |
11429 | (ia64_hpux_xfer_solib_got): Likewise. | |
11430 | (ia64_hpux_xfer_partial): Likewise. | |
11431 | * ia64-linux-nat.c (ia64_linux_xfer_partial): | |
11432 | * inf-ptrace.c (inf_ptrace_xfer_partial): | |
11433 | * inf-ttrace.c (inf_ttrace_xfer_partial): | |
11434 | * linux-nat.c (linux_xfer_siginfo): Likewise. | |
11435 | (linux_nat_xfer_partial): Likewise. | |
11436 | (spu_enumerate_spu_ids, linux_proc_xfer_spu): Likewise. | |
11437 | (linux_nat_xfer_osdata, linux_xfer_partial): Likewise. | |
11438 | * monitor.c (monitor_xfer_memory): Likewise. | |
11439 | (monitor_xfer_partial): Likewise. | |
11440 | * procfs.c (procfs_xfer_partial): Likewise. | |
11441 | * record-full.c (record_full_xfer_partial): Likewise. | |
11442 | (record_full_core_xfer_partial): Likewise. | |
11443 | * remote-sim.c (gdbsim_xfer_memory): Likewise. Call pulongest | |
11444 | instead of plongest. | |
11445 | (gdbsim_xfer_partial): Likewise. | |
11446 | * remote.c (remote_xfer_partial): Likewise. | |
11447 | * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise. | |
11448 | * rs6000-aix-tdep.h (rs6000_aix_ld_info_to_xml): Update | |
11449 | declaration. | |
11450 | * rs6000-nat.c (rs6000_xfer_partial): Likewise. | |
11451 | (rs6000_xfer_shared_libraries): Likewise. | |
11452 | * sol-thread.c (sol_thread_xfer_partial): Likewise. | |
11453 | * sparc-nat.c (sparc_xfer_wcookie): Likewise. | |
11454 | (sparc_xfer_partial): Likewise. | |
11455 | * spu-linux-nat.c (spu_proc_xfer_spu): Likewise. | |
11456 | (spu_xfer_partial): Likewise. | |
11457 | * spu-multiarch.c (spu_xfer_partial): Likewise. | |
11458 | * target.c (target_read_live_memory): Likewise. | |
11459 | (memory_xfer_live_readonly_partial): Likewise. | |
11460 | (memory_xfer_partial, memory_xfer_partial_1): Likewise. | |
11461 | (target_xfer_partial, default_xfer_partial): Likewise. | |
11462 | (current_xfer_partial): Likewise. | |
11463 | * tracepoint.c (tfile_xfer_partial): Likewise. | |
11464 | * windows-nat.c (windows_xfer_memory): Likewise. Call | |
11465 | pulongest instead of plongest. | |
11466 | (windows_xfer_partial): Likewise. | |
11467 | (windows_xfer_shared_libraries): Likewise. | |
11468 | ||
05804640 YQ |
11469 | 2014-01-14 Yao Qi <yao@codesourcery.com> |
11470 | ||
11471 | * rs6000-nat.c (rs6000_xfer_shared_libraries): Use | |
11472 | target_xfer_partial_ftype. | |
11473 | ||
b5b08fb4 SC |
11474 | 2014-01-13 Siva Chandra Reddy <sivachandra@google.com> |
11475 | ||
11476 | PR python/15464 | |
11477 | PR python/16113 | |
11478 | * valops.c (value_struct_elt_bitpos): New function | |
11479 | * py-type.c (convert_field): Set 'name' attribute of a gdb.Field | |
11480 | object to 'None' if the field name is an empty string (""). | |
11481 | * python/py-value.c (valpy_getitem): Use 'bitpos' and 'type' | |
11482 | attribute to look for a field when 'name' is 'None'. | |
11483 | (get_field_type): New function | |
11484 | ||
13aaf454 DE |
11485 | 2014-01-13 Doug Evans <dje@google.com> |
11486 | ||
11487 | PR symtab/16426 | |
11488 | * dwarf2read.c (dwarf2_get_dwz_file): Call gdb_bfd_record_inclusion. | |
11489 | (try_open_dwop_file): Ditto. | |
11490 | * gdb_bfd.c: #include "vec.h". | |
11491 | (bfdp): New typedef. | |
11492 | (struct gdb_bfd_data): New member included_bfds. | |
11493 | (gdb_bfd_unref): Unref all included bfds. | |
11494 | (gdb_bfd_record_inclusion): New function. | |
11495 | * gdb_bfd.h (gdb_bfd_record_inclusion): Declare. | |
11496 | ||
c2cec97c TT |
11497 | 2014-01-13 Tom Tromey <tromey@redhat.com> |
11498 | ||
11499 | * gdbcore.h (deprecated_core_resize_section_table): Remove. | |
11500 | ||
78e5999d TT |
11501 | 2014-01-13 Tom Tromey <tromey@redhat.com> |
11502 | ||
11503 | * defs.h (use_windows): Remove. | |
11504 | * gdb.c (main): Update. | |
11505 | * main.c (captured_main, gdb_main): Update. | |
11506 | * main.h (struct captured_main_args) <use_windows>: Remove. | |
11507 | * top.c (use_windows): Remove. | |
11508 | ||
f2052bbe TT |
11509 | 2014-01-13 Tom Tromey <tromey@redhat.com> |
11510 | ||
11511 | * defs.h (deprecated_flush_hook): Remove. | |
11512 | ||
fde4f8ed JK |
11513 | 2014-01-13 Jan Kratochvil <jan.kratochvil@redhat.com> |
11514 | ||
11515 | PR threads/16216 | |
11516 | * linux-thread-db.c (try_thread_db_load): Add parameter | |
11517 | check_auto_load_safe. Move here the file_is_auto_load_safe call. | |
11518 | (try_thread_db_load_from_pdir_1): Move it there from here. | |
11519 | (try_thread_db_load_from_sdir): Update caller. | |
11520 | (try_thread_db_load_from_dir): Move it there from here. | |
11521 | ||
bdf61915 PP |
11522 | 2014-01-13 Patrick Palka <patrick@parcs.ath.cx> |
11523 | ||
11524 | * regformats/regdat.sh: Always rewrite the register file. | |
11525 | ||
f71e1a8d PA |
11526 | 2014-01-13 Pedro Alves <palves@redhat.com> |
11527 | ||
11528 | * Makefile.in (CHECK_HEADERS): New variable. | |
11529 | (check-headers:): New rule. | |
11530 | ||
42c85435 TT |
11531 | 2014-01-13 Tom Tromey <tromey@redhat.com> |
11532 | ||
11533 | * cli/cli-setshow.c (do_set_command): Update. | |
11534 | * defs.h (deprecated_set_hook): Remove. | |
11535 | * top.c (deprecated_set_hook): Remove. | |
11536 | ||
f8de5129 PA |
11537 | 2014-01-13 Pedro Alves <palves@redhat.com> |
11538 | ||
11539 | * tracepoint.c (tfile_fetch_registers): Don't infer the PC from | |
11540 | the tracepoint if the PC is a pseudo-register. | |
11541 | ||
fc270c35 TT |
11542 | 2014-01-13 Tom Tromey <tromey@redhat.com> |
11543 | ||
11544 | * defs.h (XCALLOC): Remove. | |
11545 | * bcache.c (bcache_xmalloc): Use XCNEW, not XCALLOC. | |
11546 | (print_bcache_statistics): Use XCNEWVEC, not XCALLOC. | |
11547 | * dwarf2loc.c (allocate_piece_closure): Likewise. | |
11548 | * elfread.c (elf_symfile_segments): Likewise. | |
11549 | (elf_symfile_segments): Likewise. | |
11550 | * gdbtypes.c (copy_type_recursive): Likewise. | |
11551 | * i386-tdep.c (i386_gdbarch_init): Use XCNEW, not XCALLOC. | |
11552 | * jit.c (jit_frame_sniffer): Use XCNEWVEC, not XCALLOC. | |
11553 | * minsyms.c (prim_record_minimal_symbol_full): Use XCNEW, not | |
11554 | XCALLOC. | |
11555 | * mt-tdep.c (mt_gdbarch_init): Likewise. | |
11556 | * opencl-lang.c (allocate_lval_closure): Use XCNEWVEC, not | |
11557 | XCALLOC. | |
11558 | * psymtab.c (psymbol_compare): Use XCNEW, not XCALLOC. | |
11559 | * regcache.c (regcache_xmalloc_1): Use XCNEWVEC, not XCALLOC. | |
11560 | * registry.c (registry_alloc_data): Likewise. | |
11561 | * rs6000-tdep.c (rs6000_gdbarch_init): Use XCNEW, not XCALLOC. | |
11562 | * s390-linux-tdep.c (s390_gdbarch_init): Likewise. | |
11563 | * serial.c (serial_fdopen_ops): Likewise. | |
11564 | * solib-aix.c (solib_aix_get_section_offsets): Use XCNEWVEC, not | |
11565 | XCALLOC. | |
11566 | * spu-tdep.c (spu_gdbarch_init): Use XCNEW, not XCALLOC. | |
11567 | * symfile.c (default_symfile_segments): Use XCNEW and XCNEWVEC, | |
11568 | not XCALLOC. | |
11569 | ||
70ba0933 TT |
11570 | 2014-01-13 Tom Tromey <tromey@redhat.com> |
11571 | ||
11572 | * defs.h (XMALLOC): Remove. | |
11573 | * avr-tdep.c (avr_gdbarch_init): Use XNEW, not XMALLOC. | |
11574 | * bfin-tdep.c (bfin_gdbarch_init): Likewise. | |
11575 | * cli-out.c (struct ui_out *): Likewise. | |
11576 | * cli/cli-dump.c (add_dump_command): Likewise. | |
11577 | (add_dump_command): Likewise. | |
11578 | * complaints.c (get_complaints): Likewise. | |
11579 | (find_complaint): Likewise. | |
11580 | * dwarf2-frame.c (execute_cfa_program): Likewise. | |
11581 | * dwarf2read.c (abbrev_table_read_table): Likewise. | |
11582 | * gdbarch.sh: Likewise. | |
11583 | * gdbarch.c: Rebuild. | |
11584 | * inf-ttrace.c (inf_ttrace_add_page): Likewise. | |
11585 | * interps.c (interp_new): Likewise. | |
11586 | * lm32-tdep.c (lm32_gdbarch_init): Likewise. | |
11587 | * m32r-tdep.c (m32r_gdbarch_init): Likewise. | |
11588 | * mi/mi-console.c (mi_console_file_new): Likewise. | |
11589 | * mi/mi-interp.c (mi_interpreter_init): Likewise. | |
11590 | * mi/mi-out.c (mi_out_new): Likewise. | |
11591 | * mi/mi-parse.c (mi_parse): Likewise. | |
11592 | * microblaze-tdep.c (microblaze_gdbarch_init): Likewise. | |
11593 | * moxie-tdep.c (moxie_gdbarch_init): Likewise. | |
11594 | * observer.c (xalloc_observer_list_node): Likewise. | |
11595 | * regcache.c (regcache_xmalloc_1): Likewise. | |
11596 | * reggroups.c (reggroup_new): Likewise. | |
11597 | (_initialize_reggroup): Likewise. | |
11598 | * registry.c (register_data_with_cleanup): Likewise. | |
11599 | * remote.c (remote_notif_stop_alloc_reply): Likewise. | |
11600 | * ser-base.c (serial_ttystate): Likewise. | |
11601 | * ser-mingw.c (make_pipe_state): Likewise. | |
11602 | * ser-pipe.c (pipe_open): Likewise. | |
11603 | * serial.c (serial_open): Likewise. | |
11604 | * sh64-tdep.c (sh64_gdbarch_init): Likewise. | |
11605 | * tui/tui-data.c (tui_alloc_generic_win_info): Likewise. | |
11606 | (tui_alloc_win_info): Likewise. | |
11607 | (tui_add_content_elements): Likewise. | |
11608 | * tui/tui-file.c (tui_file_new): Likewise. | |
11609 | * tui/tui-out.c (tui_out_new): Likewise. | |
11610 | * ui-file.c (mem_file_new): Likewise. | |
11611 | * ui-out.c (push_level): Likewise. | |
11612 | (make_cleanup_ui_out_end): Likewise. | |
11613 | (append_header_to_list): Likewise. | |
11614 | (ui_out_new): Likewise. | |
11615 | * user-regs.c (user_reg_add_builtin): Likewise. | |
11616 | ||
41bf6aca TT |
11617 | 2014-01-13 Tom Tromey <tromey@redhat.com> |
11618 | ||
11619 | * defs.h (XZALLOC): Remove. | |
11620 | * ada-lang.c (get_ada_inferior_data): Use XCNEW, not XZALLOC. | |
11621 | * ada-tasks.c (get_ada_tasks_pspace_data): Likewise. | |
11622 | (get_ada_tasks_inferior_data): Likewise. | |
11623 | * auto-load.c (get_auto_load_pspace_data): Likewise. | |
11624 | * auxv.c (get_auxv_inferior_data): Likewise. | |
11625 | * bfd-target.c (target_bfd_reopen): Likewise. | |
11626 | * breakpoint.c (get_catch_syscall_inferior_data): Likewise. | |
11627 | (deprecated_insert_raw_breakpoint): Likewise. | |
11628 | * bsd-uthread.c (bsd_uthread_pid_to_str): Likewise. | |
11629 | * corelow.c (core_open): Likewise. | |
11630 | * darwin-nat.c (darwin_check_new_threads): Likewise. | |
11631 | (darwin_attach_pid): Likewise. | |
11632 | * dummy-frame.c (dummy_frame_push): Likewise. | |
11633 | * dwarf2-frame.c (dwarf2_frame_cache): Likewise. | |
11634 | * dwarf2loc.c (allocate_piece_closure): Likewise. | |
11635 | * elfread.c (elf_symfile_segments): Likewise. | |
11636 | * eval.c (ptrmath_type_p): Likewise. | |
11637 | * exceptions.c (EXCEPTIONS_SIGJMP_BUF): Likewise. | |
11638 | * gdbtypes.c (alloc_type_arch): Likewise. | |
11639 | (alloc_type_instance): Likewise. | |
11640 | * hppa-tdep.c (hppa_gdbarch_init): Likewise. | |
11641 | * inf-child.c (inf_child_can_use_agent): Likewise. | |
11642 | * inflow.c (get_inflow_inferior_data): Likewise. | |
11643 | * infrun.c (save_infcall_suspend_state): Likewise. | |
11644 | * jit.c (jit_reader_load): Likewise. | |
11645 | (get_jit_objfile_data): Likewise. | |
11646 | (get_jit_program_space_data): Likewise. | |
11647 | (jit_object_open_impl): Likewise. | |
11648 | (jit_symtab_open_impl): Likewise. | |
11649 | (jit_block_open_impl): Likewise. | |
11650 | (jit_frame_sniffer): Likewise. | |
11651 | * linux-fork.c (add_fork): Likewise. | |
11652 | * maint.c (make_command_stats_cleanup): Likewise. | |
11653 | * objfiles.c (get_objfile_pspace_data): Likewise. | |
11654 | * opencl-lang.c (struct lval_closure): Likewise. | |
11655 | * osdata.c (osdata_start_osdata): Likewise. | |
11656 | * progspace.c (new_address_space): Likewise. | |
11657 | (add_program_space): Likewise. | |
11658 | * remote-sim.c (get_sim_inferior_data): Likewise. | |
11659 | * sh-tdep.c (sh_gdbarch_init): Likewise. | |
11660 | * skip.c (Ignore): Likewise. | |
11661 | (skip_delete_command): Likewise. | |
11662 | * solib-aix.c (get_solib_aix_inferior_data): Likewise. | |
11663 | (library_list_start_library): Likewise. | |
11664 | (solib_aix_current_sos): Likewise. | |
11665 | * solib-darwin.c (get_darwin_info): Likewise. | |
11666 | (darwin_current_sos): Likewise. | |
11667 | * solib-dsbt.c (get_dsbt_info): Likewise. | |
11668 | * solib-ia64-hpux.c (new_so_list): Likewise. | |
11669 | (ia64_hpux_get_solib_linkage_addr): Likewise. | |
11670 | * solib-spu.c (append_ocl_sos): Likewise. | |
11671 | (spu_current_sos): Likewise. | |
11672 | * solib-svr4.c (get_svr4_info): Likewise. | |
11673 | (svr4_keep_data_in_core): Likewise. | |
11674 | (library_list_start_library): Likewise. | |
11675 | (svr4_default_sos): Likewise. | |
11676 | (svr4_read_so_list): Likewise. | |
11677 | * solib-target.c (library_list_start_library): Likewise. | |
11678 | (solib_target_current_sos): Likewise. | |
11679 | * sparc-tdep.c (sparc32_gdbarch_init): Likewise. | |
11680 | * symfile-debug.c (install_symfile_debug_logging): Likewise. | |
11681 | * symfile.c (default_symfile_segments): Likewise. | |
11682 | * target-descriptions.c (tdesc_data_init): Likewise. | |
11683 | (tdesc_create_reg): Likewise. | |
11684 | (struct tdesc_type *): Likewise. | |
11685 | (tdesc_create_vector): Likewise. | |
11686 | (tdesc_set_struct_size): Likewise. | |
11687 | (struct tdesc_type *): Likewise. | |
11688 | (tdesc_free_feature): Likewise. | |
11689 | (tdesc_create_feature): Likewise. | |
11690 | * windows-nat.c (windows_add_thread): Likewise. | |
11691 | (windows_make_so): Likewise. | |
11692 | * xml-support.c (gdb_xml_body_text): Likewise. | |
11693 | (gdb_xml_create_parser_and_cleanup): Likewise. | |
11694 | (xml_process_xincludes): Likewise. | |
11695 | * xml-syscall.c (allocate_syscalls_info): Likewise. | |
11696 | (syscall_create_syscall_desc): Likewise. | |
11697 | ||
5acfdbae SDJ |
11698 | 2014-01-12 Sergio Durigan Junior <sergiodj@redhat.com> |
11699 | ||
11700 | * i386-tdep.c (i386_stap_parse_special_token_triplet): New | |
11701 | function, with code from i386_stap_parse_special_token. | |
11702 | (i386_stap_parse_special_token_three_arg_disp): Likewise. | |
11703 | (i386_stap_parse_special_token): Move code to the two functions | |
11704 | above; simplify it. | |
11705 | ||
0000e5cc PA |
11706 | 2014-01-09 Pedro Alves <palves@redhat.com> |
11707 | Hui Zhu <hui@codesourcery.com> | |
11708 | ||
11709 | PR gdb/16101 | |
11710 | * breakpoint.c (insert_bp_location): Rename hw_bp_err_string to | |
11711 | bp_err_string. Don't mark the location shlib_disabled if the | |
11712 | error thrown wasn't a generic or memory error. Catch errors | |
11713 | thrown while inserting breakpoints in overlayed code. Output | |
11714 | error message of software breakpoints. | |
11715 | * remote.c (remote_insert_breakpoint): If this breakpoint has | |
11716 | target-side commands but this stub doesn't support Z0 packets, | |
11717 | throw NOT_SUPPORTED_ERROR error. | |
11718 | * exceptions.h (enum errors) <NOT_SUPPORTED_ERROR>: New error. | |
11719 | * target.h (target_insert_breakpoint): Extend comment. | |
11720 | (target_insert_hw_breakpoint): Add comment. | |
11721 | ||
b7ea362b PA |
11722 | 2014-01-08 Pedro Alves <palves@redhat.com> |
11723 | ||
11724 | * remote.c (remote_add_thread): Add threads silently if starting | |
11725 | up. | |
11726 | (remote_notice_new_inferior): If in all-stop, and starting up, | |
11727 | don't call notice_new_inferior. | |
11728 | (get_current_thread): New function, factored out from ... | |
11729 | (add_current_inferior_and_thread): ... this. Adjust. | |
11730 | (remote_start_remote) <all-stop>: Fetch the thread list. If we | |
11731 | found any thread, then select the remote's current thread as GDB's | |
11732 | current thread too. | |
11733 | ||
b7bba001 JB |
11734 | 2014-01-08 Joel Brobecker <brobecker@adacore.com> |
11735 | ||
11736 | * NEWS: Create a new section for the next release branch. | |
11737 | Rename the section of the current branch, now that it has | |
11738 | been cut. | |
11739 | ||
16dfbded JB |
11740 | 2014-01-08 Joel Brobecker <brobecker@adacore.com> |
11741 | ||
11742 | GDB 7.7 branch created (79301218fa0f074c5656db0ec8972a5ddcf91fb5): | |
11743 | * version.in: Bump version to 7.7.50.DATE-cvs. | |
11744 | ||
22c90ac1 YQ |
11745 | 2014-01-08 Yao Qi <yao@codesourcery.com> |
11746 | ||
11747 | * spu-linux-nat.c (spu_symbol_file_add_from_memory): Change | |
11748 | type of 'id' to gdb_byte. Cast 'id' to 'const char *'. | |
11749 | (spu_xfer_partial): Cast 'buf' to 'const char *'. | |
11750 | ||
d64ad97c YQ |
11751 | 2014-01-08 Yao Qi <yao@codesourcery.com> |
11752 | ||
11753 | * spu-linux-nat.c (spu_symbol_file_add_from_memory): Pass | |
11754 | return value of bfd_get_filename to symbol_file_add_from_bfd. | |
11755 | ||
f93ba80c PM |
11756 | 2014-01-08 Pierre Muller <muller@sourceware.org> |
11757 | ||
11758 | Fix PR16201. | |
11759 | * coff-pe-read.c (struct read_pe_section_data): Add index field. | |
11760 | (add_pe_exported_sym): Use SECTION_DATA->INDEX for call | |
11761 | to prim_record_mininal_symbol_and_info. | |
11762 | (add_pe_forwarded_sym): Use known section number of forwarded symbol | |
11763 | in call to prim_record_minimal_symbol_and_info. | |
11764 | (read_pe_exported_syms): Set index field of section_data. | |
11765 | ||
a4d9ba85 AP |
11766 | 2014-01-07 Andrew Pinski <apinski@cavium.com> |
11767 | ||
11768 | * features/aarch64-core.xml (cpsr): Change to be 64bit. | |
11769 | * features/aarch64.c: Regenerate. | |
11770 | ||
1b67eb02 AS |
11771 | 2014-01-07 Andreas Schwab <schwab@linux-m68k.org> |
11772 | ||
11773 | * target.c (return_null): Define. | |
11774 | (update_current_target): Use it instead of return_zero for | |
11775 | functions that return a pointer. | |
11776 | ||
5e3f4fab EBM |
11777 | 2014-01-07 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com> |
11778 | ||
11779 | * source.c (add_path): Fix check for duplicated paths in the previously | |
11780 | included paths. | |
11781 | ||
e2616788 HK |
11782 | 2014-01-07 Honggyu Kim <hong.gyu.kim@lge.com> |
11783 | ||
11784 | * ada-lang.c: Remove duplicated include statements. | |
11785 | * alphabsd-nat.c: Ditto. | |
11786 | * amd64-darwin-tdep.c: Ditto. | |
11787 | * amd64fbsd-nat.c: Ditto. | |
11788 | * auto-load.c: Ditto. | |
11789 | * ax-gdb.c: Ditto. | |
11790 | * breakpoint.c: Ditto. | |
11791 | * dbxread.c: Ditto. | |
11792 | * fork-child.c: Ditto. | |
11793 | * gdb_usleep.c: Ditto. | |
11794 | * i386-darwin-tdep.c: Ditto. | |
11795 | * i386fbsd-nat.c: Ditto. | |
11796 | * infcmd.c: Ditto. | |
11797 | * inferior.c: Ditto. | |
11798 | * jv-lang.c: Ditto. | |
11799 | * linux-nat.c: Ditto. | |
11800 | * linux-tdep.c: Ditto. | |
11801 | * m68kbsd-nat.c: Ditto. | |
11802 | * m68klinux-nat.c: Ditto. | |
11803 | * microblaze-tdep.c: Ditto. | |
11804 | * mips-linux-tdep.c: Ditto. | |
11805 | * mn10300-tdep.c: Ditto. | |
11806 | * nto-tdep.c: Ditto. | |
11807 | * opencl-lang.c: Ditto. | |
11808 | * osdata.c: Ditto. | |
11809 | * printcmd.c: Ditto. | |
11810 | * regcache.c: Ditto. | |
11811 | * remote-m32r-sdi.c: Ditto. | |
11812 | * remote.c: Ditto. | |
11813 | * symfile.c: Ditto. | |
11814 | * symtab.c: Ditto. | |
11815 | * tilegx-linux-nat.c: Ditto. | |
11816 | * tilegx-tdep.c: Ditto. | |
11817 | * tracepoint.c: Ditto. | |
11818 | * valops.c: Ditto. | |
11819 | * vaxbsd-nat.c: Ditto. | |
11820 | * windows-nat.c: Ditto. | |
11821 | * xtensa-tdep.c: Ditto. | |
11822 | ||
bd1f7788 YQ |
11823 | 2014-01-07 Yao Qi <yao@codesourcery.com> |
11824 | ||
11825 | * spu-linux-nat.c (_initialize_spu_nat): Declare. | |
11826 | ||
79301218 JB |
11827 | 2014-01-07 Yao Qi <yao@codesourcery.com> |
11828 | Joel Brobecker <brobecker@adacore.com> | |
11829 | ||
11830 | * aix-thread.c (pdc_read_regs): Cast parameter to uintptr_t. | |
11831 | (pdc_write_regs): Likewise. | |
11832 | (fetch_regs_kernel_thread): Likewise. | |
11833 | (store_regs_kernel_thread): Likewise. | |
11834 | ||
11835 | 2014-01-07 Joel Brobecker <brobecker@adacore.com> | |
11836 | ||
11837 | * ada-varobj.c (ada_varobj_adjust_for_child_access): Convert | |
11838 | tagged type objects to their actual type. | |
11839 | ||
8e355c5d JB |
11840 | 2014-01-07 Joel Brobecker <brobecker@adacore.com> |
11841 | ||
11842 | * ada-valprint.c (print_field_values): Add "language" parameter. | |
11843 | Update calls to print_field_values and print_variant_part. | |
11844 | Pass new parameter "language" in call to val_print instead | |
11845 | of "current_language". Replace call to ada_val_print by call | |
11846 | to val_print. | |
11847 | (print_variant_part): Add "language" parameter. | |
11848 | (ada_val_print_struct_union): Update call to print_field_values. | |
11849 | ||
4fbf5aa5 JB |
11850 | 2014-01-07 Joel Brobecker <brobecker@adacore.com> |
11851 | ||
11852 | * ada-valprint.c (ui_memcpy): Delete. | |
11853 | (ada_print_floating): Update documentation. Add empty line | |
11854 | between between function documentation and implementation. | |
11855 | Delete variable "buffer". Use ui_file_xstrdup in place of | |
11856 | ui_file_put. Minor adjustments following this change. | |
11857 | ||
71855601 JB |
11858 | 2014-01-07 Joel Brobecker <brobecker@adacore.com> |
11859 | ||
11860 | * ada-valprint.c (ada_val_print_string): New function, | |
11861 | extracted from ada_val_print_array. | |
11862 | (ada_val_print_array): Replace extracted code by call | |
11863 | to ada_val_print_string followed by a return. Move | |
11864 | "else" branch to the function's top block. | |
11865 | ||
4eb27a30 JB |
11866 | 2014-01-07 Joel Brobecker <brobecker@adacore.com> |
11867 | ||
11868 | * ada-valprint.c (ada_val_print_array): Move implementation | |
11869 | down. Rename parameter "offset" and "val" into "offset_aligned" | |
11870 | and "original_value" respectively. Add parameter "offset". | |
11871 | ||
34b27950 JB |
11872 | 2014-01-07 Joel Brobecker <brobecker@adacore.com> |
11873 | ||
11874 | * ada-valprint.c (ada_val_print_ref): Rewrite by mostly | |
11875 | re-organizing the code. Change the "???" message printed | |
11876 | when target type is a TYPE_CODE_UNDEF into | |
11877 | "<ref to undefined type>". | |
11878 | ||
079e4591 JB |
11879 | 2014-01-07 Joel Brobecker <brobecker@adacore.com> |
11880 | ||
11881 | * ada-valprint.c (print_record): Delete, implementation inlined... | |
11882 | (ada_val_print_struct_union): ... here. Remove call to | |
11883 | ada_check_typedef in inlined implementation. | |
11884 | ||
8004dfd1 JB |
11885 | 2014-01-07 Joel Brobecker <brobecker@adacore.com> |
11886 | ||
11887 | * ada-valprint.c (ada_val_print_gnat_array): New function, | |
11888 | extracted from ada_val_print_1; | |
11889 | (ada_val_print_ptr, ada_val_print_num, ada_val_print_enum) | |
11890 | (ada_val_print_flt, ada_val_print_struct_union) | |
11891 | (ada_val_print_ref): Likewise. | |
11892 | (ada_val_print_1): Delete variables i and elttype. | |
11893 | Replace extracted-out code by call to corresponding | |
11894 | new functions. | |
11895 | ||
760a2db0 JB |
11896 | 2014-01-07 Joel Brobecker <brobecker@adacore.com> |
11897 | ||
11898 | * ada-valprint.c (ada_val_print_1): Remove call to gdb_flush. | |
11899 | ||
3a92c861 JB |
11900 | 2014-01-07 Joel Brobecker <brobecker@adacore.com> |
11901 | ||
11902 | * ada-valprint.c (ada_val_print_1): Replace calls to | |
11903 | ada_val_print_1 by calls to val_print. | |
11904 | ||
cd1630f9 JB |
11905 | 2014-01-07 Joel Brobecker <brobecker@adacore.com> |
11906 | ||
11907 | * ada-valprint.c (ada_val_print_1): Add parameter "language". | |
11908 | Update calls to self accordingly. Replace calls to c_val_print | |
11909 | by calls to val_print. | |
11910 | ||
bdf779a0 JB |
11911 | 2014-01-07 Joel Brobecker <brobecker@adacore.com> |
11912 | ||
11913 | * ada-valprint.c (print_record): Delete declaration. | |
11914 | (adjust_type_signedness, ada_val_print_1): Likewise. | |
11915 | (ada_val_print): Move function implementation down. | |
11916 | (print_variant_part, print_field_values, print_record): | |
11917 | Move function implementation up. | |
11918 | ||
c0d48811 JB |
11919 | 2014-01-07 Joel Brobecker <brobecker@adacore.com> |
11920 | ||
11921 | * python/py-type.c (typy_get_name): New function. | |
11922 | (type_object_getset): Add entry for attribute "name". | |
11923 | * NEWS: Add entry mentioning this new attribute. | |
11924 | ||
c26e9cbb YQ |
11925 | 2014-01-07 Yao Qi <yao@codesourcery.com> |
11926 | ||
11927 | * gnu-nat.c (set_exceptions_cmd): Remove an empty body 'if' | |
11928 | statement. | |
11929 | ||
0cc6f43d YQ |
11930 | 2014-01-07 Yao Qi <yao@codesourcery.com> |
11931 | ||
11932 | * gnu-nat.c (info_port_rights): Add qualifier const to | |
11933 | argument args. | |
11934 | ||
eec03155 YQ |
11935 | 2014-01-07 Yao Qi <yao@codesourcery.com> |
11936 | ||
11937 | * gnu-nat.c (trace_me): Use 'void' for empty argument list. | |
11938 | ||
f04a82ef YQ |
11939 | 2014-01-07 Yao Qi <yao@codesourcery.com> |
11940 | ||
11941 | * gnu-nat.c (make_inf) Update declaration. | |
11942 | (make_inf): Make it static. | |
11943 | (inf_set_traced): Likewise. | |
11944 | (inf_port_to_thread, inf_task_died_status): Likewise. | |
11945 | ||
d57dda0a YQ |
11946 | 2014-01-07 Yao Qi <yao@codesourcery.com> |
11947 | ||
11948 | * gnu-nat.c (inf_tid_to_proc): Remove declaration. | |
11949 | ||
3aa8c969 YQ |
11950 | 2014-01-07 Yao Qi <yao@codesourcery.com> |
11951 | ||
11952 | * gnu-nat.c (_initialize_gnu_nat): Declare. | |
11953 | ||
94123b4f YQ |
11954 | 2014-01-07 Yao Qi <yao@codesourcery.com> |
11955 | ||
11956 | * gdbarch.sh (byte_order, byte_order_for_code): Change type to | |
11957 | 'enum bfd_endian'. | |
11958 | (struct gdbarch_info) <byte_order>: Change type to | |
11959 | 'enum bfd_endian'. | |
11960 | <byte_order_for_code>: Likewise. | |
11961 | * gdbarch.c, gdbarch.h: Regenerated. | |
11962 | ||
dc81d70a TT |
11963 | 2014-01-06 Sasha Smundak <asmundak@google.com> |
11964 | ||
11965 | * jit.c: (jit_reader_load_command): Fix JIT reader path creation. | |
11966 | ||
cc2f3c35 TT |
11967 | 2014-01-06 Tom Tromey <tromey@redhat.com> |
11968 | ||
11969 | * doublest.c (convert_doublest_to_floatformat): Use const, not | |
11970 | CONST. | |
11971 | * somread.c (som_symtab_read): Likewise. | |
11972 | ||
adcf2eed HZ |
11973 | 2014-01-07 Hui Zhu <hui@codesourcery.com> |
11974 | ||
11975 | * gdb_bfd.c (gdb_bfd_stash_filename): Removed. | |
11976 | (gdb_bfd_open): Removed gdb_bfd_stash_filename. | |
11977 | (gdb_bfd_fopen): Ditto. | |
11978 | (gdb_bfd_openr): Ditto. | |
11979 | (gdb_bfd_openw): Ditto. | |
11980 | (gdb_bfd_openr_iovec): Ditto. | |
11981 | (gdb_bfd_fdopenr): Ditto. | |
11982 | * gdb_bfd.h (gdb_bfd_stash_filename): Removed. | |
11983 | * solib-aix.c (solib_aix_bfd_open): Alloc object_bfd->filename | |
11984 | with xstrdup. | |
11985 | * solib-darwin.c (darwin_bfd_open): Alloc res->filename | |
11986 | with xstrdup. | |
11987 | * symfile-mem.c (symbol_file_add_from_memory): Removed | |
11988 | gdb_bfd_stash_filename. | |
11989 | ||
50722198 DE |
11990 | 2014-01-03 Doug Evans <dje@google.com> |
11991 | ||
11992 | * nat/linux-waitpid.c (linux_debug): Remove extraneous \n from | |
11993 | output. | |
11994 | ||
2fa4b862 JB |
11995 | 2014-01-01 Joel Brobecker <brobecker@adacore.com> |
11996 | ||
11997 | Update year range in copyright notice of all files. | |
11998 | ||
28498c42 JB |
11999 | 2014-01-01 Joel Brobecker <brobecker@adacore.com> |
12000 | ||
12001 | * top.c (print_gdb_version): Set copyright year to 2014. | |
12002 | ||
7b6e1046 JB |
12003 | 2014-01-01 Joel Brobecker <brobecker@adacore.com> |
12004 | ||
12005 | * config/djgpp/fnchange.lst: Add entry for gdb/ChangeLog-2013. | |
12006 | ||
df96af55 | 12007 | For older changes see ChangeLog-2013. |
c906108c SS |
12008 | \f |
12009 | Local Variables: | |
12010 | mode: change-log | |
12011 | left-margin: 8 | |
12012 | fill-column: 74 | |
12013 | version-control: never | |
57da7796 | 12014 | coding: utf-8 |
c906108c | 12015 | End: |