Commit | Line | Data |
---|---|---|
6cc83d2a PA |
1 | 2014-10-15 Pedro Alves <palves@redhat.com> |
2 | ||
3 | * infrun.c (step_over_info_valid_p): New function. | |
4 | (resume): Use step_over_info_valid_p instead of checking the | |
5 | threads's trap_expected flag. | |
6 | ||
6979730b DE |
7 | 2014-10-15 Doug Evans <dje@google.com> |
8 | Walfred Tedeschi <walfred.tedeschi@intel.com> | |
9 | ||
10 | PR python/17364 | |
11 | * python/lib/gdb/__init__.py (packages): Add "printer". | |
12 | * python/lib/gdb/command/bound_registers.py: Moved to ... | |
13 | * python/lib/gdb/printer/bound_registers.py: ... here. | |
14 | Add printer to global set of builtin printers. Rename printer from | |
15 | "bound" to "mpx_bound128". | |
16 | * python/lib/gdb/printing.py (_builtin_pretty_printers): New global, | |
17 | registered as global "builtin" printer. | |
18 | (add_builtin_pretty_printer): New function. | |
19 | * data-directory/Makefile.in (PYTHON_FILE_LIST): Update, and add | |
20 | gdb/printer/__init__.py. | |
21 | ||
35a49624 IB |
22 | 2014-10-15 Iain Buclaw <ibuclaw@gdcproject.org> |
23 | ||
24 | * Makefile.in (SFILES): Remove d-support.c. | |
25 | (COMMON_OBS): Remove d-support.o. | |
26 | * d-lang.h (d_parse_symbol): Remove declaration. | |
27 | * d-lang.c (d_demangle): Use gdb_demangle to demangle D symbols. | |
28 | * d-support.c: Remove file. | |
29 | ||
8fa0c4f8 AA |
30 | 2014-10-15 Andreas Arnez <arnez@linux.vnet.ibm.com> |
31 | ||
32 | * gdb/infrun.c (process_event_stop_test): Apply | |
33 | gdbarch_addr_bits_remove to longjmp resume address. | |
34 | ||
3666da81 PA |
35 | 2014-10-15 Pedro Alves <palves@redhat.com> |
36 | ||
37 | * regformats/microblaze.dat: Delete file. | |
38 | ||
449aa9df AKA |
39 | 2014-10-15 Ajit Agarwal <ajitkum@xilinx.com> |
40 | ||
41 | * features/Makefile (microblaze-expedite): Replace pc with rpc. | |
42 | * regformats/microblaze-with-stack-protect.dat: Regenerate. | |
43 | ||
ebb8ece2 SC |
44 | 2014-10-15 Siva Chandra Reddy <sivachandra@google.com> |
45 | ||
46 | * gnu-v3-abi.c (gnuv3_pass_by_reference): Treat dynamic classes | |
47 | as non-trivial. | |
48 | ||
82c48ac7 SC |
49 | 2014-10-15 Siva Chandra Reddy <sivachandra@google.com> |
50 | ||
51 | PR c++/13403 | |
52 | PR c++/15154 | |
53 | * gnu-v3-abi.c (gnuv3_pass_by_reference): Lookup copy constructors | |
54 | with qualified args. | |
55 | ||
c40cc657 JB |
56 | 2014-10-14 Joel Brobecker <brobecker@adacore.com> |
57 | ||
58 | * ada-lang.c (ada_evaluate_subexp) <BINOP_ADD>: Add handling | |
59 | of the case where the second operand is a pointer. | |
60 | <BINOP_SUB>: Likewise. | |
61 | ||
0ea5cda8 SDJ |
62 | 2014-10-14 Sergio Durigan Junior <sergiodj@redhat.com> |
63 | ||
64 | * breakpoint.c (bkpt_probe_insert_location): Call set_semaphore | |
65 | only if it is not NULL. | |
66 | (bkpt_probe_remove_location): Likewise, for clear_semaphore. | |
67 | * probe.h (struct probe_ops) <set_semaphore>: Update comment. | |
68 | (struct probe_ops) <clear_semaphore>: Likewise. | |
69 | * tracepoint.c (start_tracing): Call set_semaphore only if it is | |
70 | not NULL. | |
71 | (stop_tracing): Likewise, for clear_semaphore. | |
72 | ||
f7088df3 SDJ |
73 | 2014-10-14 Sergio Durigan Junior <sergiodj@redhat.com> |
74 | ||
75 | * stap-probe.c (stap_parse_argument): Initialize expout explicitly | |
76 | using language_c, instead of current_language. | |
77 | ||
4e1bbde0 DE |
78 | 2014-10-13 Doug Evans <dje@google.com> |
79 | ||
6ff5a0f6 | 80 | * python/py-objfile.c (objfpy_initialize): New function. |
4e1bbde0 | 81 | (objfpy_new, objfile_to_objfile_object): Call it. |
6ff5a0f6 | 82 | * python/py-progspace.c (pspy_initialize): New function. |
4e1bbde0 DE |
83 | (pspy_new, pspace_to_pspace_object): Call it. |
84 | ||
c780cc2f JK |
85 | 2014-10-13 Miroslav Franc <mfranc@redhat.com> |
86 | Jan Kratochvil <jan.kratochvil@redhat.com> | |
87 | ||
88 | Fix "save breakpoints" for "catch" command. | |
89 | * break-catch-sig.c (signal_catchpoint_print_recreate): Add trailing | |
90 | newline. | |
91 | ||
99894e11 JK |
92 | 2014-10-12 Miroslav Franc <mfranc@redhat.com> |
93 | ||
94 | Fix "save breakpoints" for "disable $bpnum" command. | |
95 | * breakpoint.c (save_breakpoints): Add $bpnum for disable. | |
96 | ||
3831839c PA |
97 | 2014-10-10 Pedro Alves <palves@redhat.com> |
98 | ||
99 | * Makefile.in (ALL_TARGET_OBS): Remove mips-irix-tdep.o and solib-irix.o. | |
100 | (ALLDEPFILES): Remove mips-irix-tdep.c and solib-irix.c. | |
101 | (HFILES_NO_SRCDIR): Remove solib-irix.h. | |
102 | * NEWS: Mention that support for mips-sgi-irix5* mips-sgi-irix6* | |
103 | and been removed. | |
104 | * config/mips/irix5.mh, config/mips/irix6.mh: Delete files. | |
105 | * configure.ac: Remove references to IRIX. | |
106 | * configure.host: Add *-*-irix* to the obsolete hosts section. | |
107 | Remove all other references to irix. | |
108 | * irix5-nat.c, mips-irix-tdep.c, solib-irix.c, solib-irix.h: | |
109 | Delete files. | |
110 | ||
cc3afae2 AKA |
111 | 2014-10-10 Ajit Agarwal <ajitkum@xilinx.com> |
112 | ||
113 | * microblaze-tdep.c (microblaze_gdbarch_init): If the description | |
114 | isn't valid, release the tdesc arch data and return NULL. | |
115 | ||
cdfa0b0a PA |
116 | 2014-10-10 Pedro Alves <palves@redhat.com> |
117 | ||
118 | * linux-tdep.c: Include observer.h. | |
119 | (linux_inferior_data): New global. | |
120 | (struct linux_info): New structure. | |
121 | (invalidate_linux_cache_inf, linux_inferior_data_cleanup) | |
122 | (get_linux_inferior_data): New functions. | |
123 | (linux_vsyscall_range): Rename to ... | |
124 | (linux_vsyscall_range_raw): ... this. | |
125 | (linux_vsyscall_range): New function; handles caching. | |
126 | (_initialize_linux_tdep): Register linux_inferior_data. Install | |
127 | inferior_exit and inferior_appeared observers. | |
128 | ||
8b9a549d PA |
129 | 2014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com> |
130 | Pedro Alves <palves@redhat.com> | |
131 | ||
132 | PR symtab/14466 | |
133 | * solib-svr4.c (svr4_read_so_list): Rename to ... | |
134 | (svr4_current_sos_1): ... this and change the function comment. | |
135 | (svr4_current_sos): New function. | |
136 | ||
3437254d PA |
137 | 2014-10-10 Pedro Alves <palves@redhat.com> |
138 | ||
139 | * arch-utils.c (default_vsyscall_range): New function. | |
140 | * arch-utils.h (default_vsyscall_range): New declaration. | |
141 | * gdbarch.sh (vsyscall_range): New hook. | |
142 | * gdbarch.h, gdbarch.c: Regenerate. | |
143 | * linux-tdep.c (linux_vsyscall_range): New function. | |
144 | (linux_init_abi): Install linux_vsyscall_range as | |
145 | vsyscall_range gdbarch hook. | |
146 | * memrange.c (address_in_mem_range): New function. | |
147 | * memrange.h (address_in_mem_range): New declaration. | |
148 | * symfile-mem.c (find_vdso_size): Delete function. | |
149 | (add_vsyscall_page): Use gdbarch_vsyscall_range. | |
150 | ||
31cc0b80 PA |
151 | 2014-10-10 Pedro Alves <palves@redhat.com> |
152 | ||
153 | * infrun.c (normal_stop): Fix typo in comment. | |
154 | ||
3e3286a2 SDJ |
155 | 2014-10-09 Sergio Durigan Junior <sergiodj@redhat.com> |
156 | ||
157 | PR tdep/9390 | |
158 | * xstorxstormy16-tdep.c (xstormy16_analyze_prologue): Fix possible | |
159 | typo when using logical AND to determine instruction type. | |
160 | ||
fcbdedf8 YQ |
161 | 2014-10-09 Yao Qi <yao@codesourcery.com> |
162 | ||
163 | * infrun.c (handle_signal_stop): Remove local variable | |
164 | 'printed'. | |
165 | ||
db984616 SS |
166 | 2014-10-08 Stan Shebs <stan@codesourcery.com> |
167 | ||
168 | * MAINTAINERS (GLOBAL MAINTAINERS): Add Yao Qi. | |
169 | ||
3ba37e6c GB |
170 | 2014-10-08 Gary Benson <gbenson@redhat.com> |
171 | ||
172 | * fbsd-tdep.c: Do not include string.h or gdb_assert.h. | |
173 | ||
a442d071 GB |
174 | 2014-10-08 Gary Benson <gbenson@redhat.com> |
175 | ||
176 | * common/common-defs.h: Include common-exceptions.h. | |
177 | * exceptions.h: Do not include common-exceptions.h. | |
178 | ||
6f1947e8 GB |
179 | 2014-10-08 Gary Benson <gbenson@redhat.com> |
180 | ||
181 | * common/common-defs.h: Include cleanups.h. | |
182 | * common/common-exceptions.c: Do not include cleanups.h. | |
183 | * utils.h: Likewise. | |
184 | ||
c765fdb9 GB |
185 | 2014-10-08 Gary Benson <gbenson@redhat.com> |
186 | ||
187 | * ada-lang.c: Do not include exceptions.h. | |
188 | * ada-valprint.c: Likewise. | |
189 | * amd64-tdep.c: Likewise. | |
190 | * auto-load.c: Likewise. | |
191 | * block.c: Likewise. | |
192 | * break-catch-throw.c: Likewise. | |
193 | * breakpoint.c: Likewise. | |
194 | * btrace.c: Likewise. | |
195 | * c-lang.c: Likewise. | |
196 | * cli/cli-cmds.c: Likewise. | |
197 | * cli/cli-interp.c: Likewise. | |
198 | * cli/cli-script.c: Likewise. | |
199 | * completer.c: Likewise. | |
200 | * corefile.c: Likewise. | |
201 | * corelow.c: Likewise. | |
202 | * cp-abi.c: Likewise. | |
203 | * cp-support.c: Likewise. | |
204 | * cp-valprint.c: Likewise. | |
205 | * darwin-nat.c: Likewise. | |
206 | * dwarf2-frame-tailcall.c: Likewise. | |
207 | * dwarf2-frame.c: Likewise. | |
208 | * dwarf2loc.c: Likewise. | |
209 | * dwarf2read.c: Likewise. | |
210 | * eval.c: Likewise. | |
211 | * event-loop.c: Likewise. | |
212 | * event-top.c: Likewise. | |
213 | * f-valprint.c: Likewise. | |
214 | * frame-unwind.c: Likewise. | |
215 | * frame.c: Likewise. | |
216 | * gdbtypes.c: Likewise. | |
217 | * gnu-v2-abi.c: Likewise. | |
218 | * gnu-v3-abi.c: Likewise. | |
219 | * guile/scm-auto-load.c: Likewise. | |
220 | * guile/scm-breakpoint.c: Likewise. | |
221 | * guile/scm-cmd.c: Likewise. | |
222 | * guile/scm-frame.c: Likewise. | |
223 | * guile/scm-lazy-string.c: Likewise. | |
224 | * guile/scm-param.c: Likewise. | |
225 | * guile/scm-symbol.c: Likewise. | |
226 | * guile/scm-type.c: Likewise. | |
227 | * hppa-hpux-tdep.c: Likewise. | |
228 | * i386-tdep.c: Likewise. | |
229 | * inf-loop.c: Likewise. | |
230 | * infcall.c: Likewise. | |
231 | * infcmd.c: Likewise. | |
232 | * infrun.c: Likewise. | |
233 | * interps.c: Likewise. | |
234 | * interps.h: Likewise. | |
235 | * jit.c: Likewise. | |
236 | * linespec.c: Likewise. | |
237 | * linux-nat.c: Likewise. | |
238 | * linux-thread-db.c: Likewise. | |
239 | * m32r-rom.c: Likewise. | |
240 | * main.c: Likewise. | |
241 | * memory-map.c: Likewise. | |
242 | * mi/mi-cmd-break.c: Likewise. | |
243 | * mi/mi-cmd-stack.c: Likewise. | |
244 | * mi/mi-interp.c: Likewise. | |
245 | * mi/mi-main.c: Likewise. | |
246 | * monitor.c: Likewise. | |
247 | * nto-procfs.c: Likewise. | |
248 | * objc-lang.c: Likewise. | |
249 | * p-valprint.c: Likewise. | |
250 | * parse.c: Likewise. | |
251 | * ppc-linux-tdep.c: Likewise. | |
252 | * printcmd.c: Likewise. | |
253 | * probe.c: Likewise. | |
254 | * python/py-auto-load.c: Likewise. | |
255 | * python/py-breakpoint.c: Likewise. | |
256 | * python/py-cmd.c: Likewise. | |
257 | * python/py-finishbreakpoint.c: Likewise. | |
258 | * python/py-frame.c: Likewise. | |
259 | * python/py-framefilter.c: Likewise. | |
260 | * python/py-function.c: Likewise. | |
261 | * python/py-gdb-readline.c: Likewise. | |
262 | * python/py-inferior.c: Likewise. | |
263 | * python/py-infthread.c: Likewise. | |
264 | * python/py-lazy-string.c: Likewise. | |
265 | * python/py-linetable.c: Likewise. | |
266 | * python/py-param.c: Likewise. | |
267 | * python/py-prettyprint.c: Likewise. | |
268 | * python/py-symbol.c: Likewise. | |
269 | * python/py-type.c: Likewise. | |
270 | * python/py-value.c: Likewise. | |
271 | * python/python-internal.h: Likewise. | |
272 | * python/python.c: Likewise. | |
273 | * record-btrace.c: Likewise. | |
274 | * record-full.c: Likewise. | |
275 | * regcache.c: Likewise. | |
276 | * remote-fileio.c: Likewise. | |
277 | * remote-mips.c: Likewise. | |
278 | * remote.c: Likewise. | |
279 | * rs6000-aix-tdep.c: Likewise. | |
280 | * rs6000-nat.c: Likewise. | |
281 | * skip.c: Likewise. | |
282 | * solib-darwin.c: Likewise. | |
283 | * solib-dsbt.c: Likewise. | |
284 | * solib-frv.c: Likewise. | |
285 | * solib-ia64-hpux.c: Likewise. | |
286 | * solib-spu.c: Likewise. | |
287 | * solib-svr4.c: Likewise. | |
288 | * solib.c: Likewise. | |
289 | * spu-tdep.c: Likewise. | |
290 | * stack.c: Likewise. | |
291 | * stap-probe.c: Likewise. | |
292 | * symfile-mem.c: Likewise. | |
293 | * symmisc.c: Likewise. | |
294 | * target.c: Likewise. | |
295 | * thread.c: Likewise. | |
296 | * top.c: Likewise. | |
297 | * tracepoint.c: Likewise. | |
298 | * tui/tui-interp.c: Likewise. | |
299 | * typeprint.c: Likewise. | |
300 | * utils.c: Likewise. | |
301 | * valarith.c: Likewise. | |
302 | * valops.c: Likewise. | |
303 | * valprint.c: Likewise. | |
304 | * value.c: Likewise. | |
305 | * varobj.c: Likewise. | |
306 | * windows-nat.c: Likewise. | |
307 | * xml-support.c: Likewise. | |
308 | ||
484933d1 MR |
309 | 2014-10-05 Maciej W. Rozycki <macro@codesourcery.com> |
310 | ||
311 | * mips-tdep.c (add_offset_16): Rewrite to implement what the | |
312 | name implies. | |
313 | (extended_mips16_next_pc): Update accordingly. | |
314 | ||
ab50adb6 MR |
315 | 2014-10-05 Maciej W. Rozycki <macro@codesourcery.com> |
316 | ||
317 | * mips-tdep.c (mips16_instruction_is_compact_branch): New | |
318 | function. | |
319 | (micromips_instruction_is_compact_branch): Likewise. | |
320 | (mips16_scan_prologue): Terminate scanning upon seeing a branch | |
321 | or a compact jump, reaching a jump delay slot, or seeing a | |
322 | second non-prologue instruction. | |
323 | (micromips_scan_prologue): Also terminate scanning upon seeing a | |
324 | compact branch or jump, or reaching a branch or jump delay slot. | |
325 | (mips32_scan_prologue): Terminate scanning upon reaching a branch | |
326 | or jump delay slot, or seeing a second non-prologue instruction. | |
327 | (mips32_instruction_has_delay_slot): Retain instruction | |
328 | examination code only, update arguments accordingly and move | |
329 | instruction fetch pieces to... | |
330 | (mips32_insn_at_pc_has_delay_slot): ... this new function. | |
331 | (micromips_instruction_has_delay_slot): Likewise and to... | |
332 | (micromips_insn_at_pc_has_delay_slot): ... this new function. | |
333 | (mips16_instruction_has_delay_slot): Likewise and to... | |
334 | (mips16_insn_at_pc_has_delay_slot): ... this new function. | |
335 | (mips_single_step_through_delay): Update accordingly. | |
336 | (mips_adjust_breakpoint_address): Likewise. | |
337 | ||
ae790652 MR |
338 | 2014-10-05 Maciej W. Rozycki <macro@codesourcery.com> |
339 | ||
340 | * mips-tdep.c (micromips_instruction_has_delay_slot): When | |
341 | !mustbe32 also return 1 for 32-bit instructions. | |
342 | (mips16_instruction_has_delay_slot): Likewise. Add an | |
343 | explanatory comment. | |
344 | ||
9b807e7b MR |
345 | 2014-10-03 Maciej W. Rozycki <macro@codesourcery.com> |
346 | ||
347 | * elfread.c (elf_symtab_read): Also mark solib trampoline minimal | |
348 | symbols special. | |
349 | ||
0d5ed153 MR |
350 | 2014-10-03 Maciej W. Rozycki <macro@codesourcery.com> |
351 | ||
352 | * breakpoint.h (bp_target_info): Add `reqstd_address' member, | |
353 | update comments. | |
354 | * breakpoint.c (one_breakpoint_xfer_memory): Use `reqstd_address' | |
355 | for the breakpoint's address. Don't preinitialize `placed_size'. | |
356 | (insert_bp_location): Set `reqstd_address' rather than | |
357 | `placed_address'. | |
358 | (bp_target_info_copy_insertion_state): Also copy `placed_address'. | |
359 | (bkpt_insert_location): Use `reqstd_address' for the breakpoint's | |
360 | address. | |
361 | (bkpt_remove_location): Likewise. | |
362 | (deprecated_insert_raw_breakpoint): Likewise. | |
363 | (deprecated_remove_raw_breakpoint): Likewise. | |
364 | (find_single_step_breakpoint): Likewise. | |
365 | * mem-break.c (default_memory_insert_breakpoint): Use | |
366 | `reqstd_address' for the breakpoint's address. Don't set | |
367 | `placed_address' or `placed_size' if breakpoint contents couldn't | |
368 | have been determined. | |
369 | * remote.c (remote_insert_breakpoint): Use `reqstd_address' for | |
370 | the breakpoint's address. | |
371 | (remote_insert_hw_breakpoint): Likewise. Don't set | |
372 | `placed_address' or `placed_size' if breakpoint couldn't have been | |
373 | set. | |
374 | * aarch64-linux-nat.c (aarch64_linux_insert_hw_breakpoint): Use | |
375 | `reqstd_address' for the breakpoint's address. | |
376 | * arm-linux-nat.c (arm_linux_hw_breakpoint_initialize): Likewise. | |
377 | * ia64-tdep.c (ia64_memory_insert_breakpoint): Likewise. | |
378 | * m32r-tdep.c (m32r_memory_insert_breakpoint): Likewise. | |
379 | * microblaze-linux-tdep.c | |
380 | (microblaze_linux_memory_remove_breakpoint): Likewise. | |
381 | * monitor.c (monitor_insert_breakpoint): Likewise. | |
382 | * nto-procfs.c (procfs_insert_breakpoint): Likewise. | |
383 | (procfs_insert_hw_breakpoint): Likewise. | |
384 | * ppc-linux-nat.c (ppc_linux_insert_hw_breakpoint): Likewise. | |
385 | * ppc-linux-tdep.c (ppc_linux_memory_remove_breakpoint): Likewise. | |
386 | * remote-m32r-sdi.c (m32r_insert_breakpoint): Likewise. | |
387 | * remote-mips.c (mips_insert_breakpoint): Likewise. | |
388 | * x86-nat.c (x86_insert_hw_breakpoint): Likewise. | |
389 | ||
3e871532 LM |
390 | 2014-10-03 Luis Machado <lgustavo@codesourcery.com> |
391 | ||
392 | * valops.c (value_assign): Check for bit field assignments | |
393 | before calling architecture-specific register value | |
394 | conversion functions. | |
395 | ||
ec48dc8b PM |
396 | 2014-10-03 Pierre Muller <muller@sourceware.org> |
397 | ||
398 | * dbxread.c (read_dbx_symtab): Also ignore N_BNSYM/N_ENSYM. | |
399 | ||
b57bacec PA |
400 | 2014-10-02 Pedro Alves <palves@redhat.com> |
401 | ||
402 | * breakpoint.c (breakpoints_should_be_inserted_now): Use | |
403 | threads_are_executing. | |
404 | * breakpoint.h (breakpoints_should_be_inserted_now): Add | |
405 | describing comment. | |
406 | * gdbthread.h (threads_are_executing): Declare. | |
407 | (handle_signal_stop) <random signals>: Don't print about the | |
408 | signal here if stopping. | |
409 | (end_stepping_range): Don't notify observers here. | |
410 | (normal_stop): Update the thread list. If stopped by a random | |
411 | signal or a stepping range ended, notify observers. | |
412 | * thread.c (threads_executing): New global. | |
413 | (init_thread_list): Clear 'threads_executing'. | |
414 | (set_executing): Set or clear 'threads_executing'. | |
415 | (threads_are_executing): New function. | |
416 | (update_threads_executing): New function. | |
417 | (update_thread_list): Use it. | |
418 | ||
13fd3ff3 PA |
419 | 2014-10-02 Pedro Alves <palves@redhat.com> |
420 | ||
421 | PR breakpoints/17431 | |
422 | * breakpoint.c (update_breakpoints_after_exec): Don't create | |
423 | overlay, longjmp, std terminate nor exception breakpoints here. | |
424 | ||
32990ada PA |
425 | 2014-10-02 Pedro Alves <palves@redhat.com> |
426 | ||
427 | * gdbthread.h (any_thread_of_process, any_live_thread_of_process): | |
428 | Adjust comments. | |
429 | * inferior.c (find_inferior_for_program_space): Give preference to | |
430 | the current inferior. | |
431 | * inferior.h (find_inferior_for_program_space): Update comment. | |
432 | * progspace.c (switch_to_program_space_and_thread): Prefer the | |
433 | current inferior if it's bound to the program space requested. If | |
434 | the inferior found doesn't have a PID yet, don't bother looking up | |
435 | a thread. | |
436 | * progspace.h (switch_to_program_space_and_thread): Adjust | |
437 | comment. | |
438 | * thread.c (any_thread_of_process, any_live_thread_of_process): | |
439 | Give preference to the current thread. | |
440 | ||
0fec99e8 PA |
441 | 2014-10-01 Pedro Alves <palves@redhat.com> |
442 | ||
443 | * breakpoint.c (insert_bp_location): Error out if inserting a | |
444 | software breakpoint at a read-only address. | |
445 | * target.c (memory_xfer_check_region): New function, factored out | |
446 | from ... | |
447 | (memory_xfer_partial_1): ... this. Make the 'reg_len' local a | |
448 | ULONGEST. | |
449 | (target_xfer_partial) <TARGET_OBJECT_RAW_MEMORY>: Check the access | |
450 | against the memory region attributes. | |
451 | ||
2ddf4301 SM |
452 | 2014-10-01 Simon Marchi <simon.marchi@ericsson.com> |
453 | ||
454 | * NEWS: Announce new exit-code field in -list-thread-groups | |
455 | output. | |
456 | * inferior.c (exit_inferior_1): Don't clear exit code. | |
457 | (inferior_appeared): Clear exit code. | |
458 | * mi/mi-main.c (print_one_inferior): Add printing of the exit | |
459 | code. | |
460 | ||
5fdeec1d PA |
461 | 2014-10-01 Pedro Alves <palves@redhat.com> |
462 | ||
463 | * features/Makefile ($(outdir)/%.dat): Output "THIS FILE IS | |
464 | GENERATED" along with emacs/vi read-only markers. | |
465 | * regformats/aarch64.dat: Regenerate. | |
466 | * regformats/arm-with-iwmmxt.dat: Regenerate. | |
467 | * regformats/arm-with-neon.dat: Regenerate. | |
468 | * regformats/arm-with-vfpv2.dat: Regenerate. | |
469 | * regformats/arm-with-vfpv3.dat: Regenerate. | |
470 | * regformats/i386/amd64-avx-linux.dat: Regenerate. | |
471 | * regformats/i386/amd64-avx.dat: Regenerate. | |
472 | * regformats/i386/amd64-avx512-linux.dat: Regenerate. | |
473 | * regformats/i386/amd64-avx512.dat: Regenerate. | |
474 | * regformats/i386/amd64-linux.dat: Regenerate. | |
475 | * regformats/i386/amd64-mpx-linux.dat: Regenerate. | |
476 | * regformats/i386/amd64-mpx.dat: Regenerate. | |
477 | * regformats/i386/amd64.dat: Regenerate. | |
478 | * regformats/i386/i386-avx-linux.dat: Regenerate. | |
479 | * regformats/i386/i386-avx.dat: Regenerate. | |
480 | * regformats/i386/i386-avx512-linux.dat: Regenerate. | |
481 | * regformats/i386/i386-avx512.dat: Regenerate. | |
482 | * regformats/i386/i386-linux.dat: Regenerate. | |
483 | * regformats/i386/i386-mmx-linux.dat: Regenerate. | |
484 | * regformats/i386/i386-mmx.dat: Regenerate. | |
485 | * regformats/i386/i386-mpx-linux.dat: Regenerate. | |
486 | * regformats/i386/i386-mpx.dat: Regenerate. | |
487 | * regformats/i386/i386.dat: Regenerate. | |
488 | * regformats/i386/x32-avx-linux.dat: Regenerate. | |
489 | * regformats/i386/x32-avx.dat: Regenerate. | |
490 | * regformats/i386/x32-avx512-linux.dat: Regenerate. | |
491 | * regformats/i386/x32-avx512.dat: Regenerate. | |
492 | * regformats/i386/x32-linux.dat: Regenerate. | |
493 | * regformats/i386/x32.dat: Regenerate. | |
494 | * regformats/microblaze-with-stack-protect.dat: Regenerate. | |
495 | * regformats/mips-dsp-linux.dat: Regenerate. | |
496 | * regformats/mips-linux.dat: Regenerate. | |
497 | * regformats/mips64-dsp-linux.dat: Regenerate. | |
498 | * regformats/mips64-linux.dat: Regenerate. | |
499 | * regformats/nios2-linux.dat: Regenerate. | |
500 | * regformats/rs6000/powerpc-32.dat: Regenerate. | |
501 | * regformats/rs6000/powerpc-32l.dat: Regenerate. | |
502 | * regformats/rs6000/powerpc-64l.dat: Regenerate. | |
503 | * regformats/rs6000/powerpc-altivec32l.dat: Regenerate. | |
504 | * regformats/rs6000/powerpc-altivec64l.dat: Regenerate. | |
505 | * regformats/rs6000/powerpc-cell32l.dat: Regenerate. | |
506 | * regformats/rs6000/powerpc-cell64l.dat: Regenerate. | |
507 | * regformats/rs6000/powerpc-e500l.dat: Regenerate. | |
508 | * regformats/rs6000/powerpc-vsx32l.dat: Regenerate. | |
509 | * regformats/rs6000/powerpc-vsx64l.dat: Regenerate. | |
510 | * regformats/s390-linux32.dat: Regenerate. | |
511 | * regformats/s390-linux32v1.dat: Regenerate. | |
512 | * regformats/s390-linux32v2.dat: Regenerate. | |
513 | * regformats/s390-linux64.dat: Regenerate. | |
514 | * regformats/s390-linux64v1.dat: Regenerate. | |
515 | * regformats/s390-linux64v2.dat: Regenerate. | |
516 | * regformats/s390-te-linux64.dat: Regenerate. | |
517 | * regformats/s390x-linux64.dat: Regenerate. | |
518 | * regformats/s390x-linux64v1.dat: Regenerate. | |
519 | * regformats/s390x-linux64v2.dat: Regenerate. | |
520 | * regformats/s390x-te-linux64.dat: Regenerate. | |
521 | * regformats/tic6x-c62x-linux.dat: Regenerate. | |
522 | * regformats/tic6x-c62x.dat: Regenerate. | |
523 | * regformats/tic6x-c64x-linux.dat: Regenerate. | |
524 | * regformats/tic6x-c64x.dat: Regenerate. | |
525 | * regformats/tic6x-c64xp-linux.dat: Regenerate. | |
526 | * regformats/tic6x-c64xp.dat: Regenerate. | |
527 | ||
db74e4ba PA |
528 | 2014-10-01 Pedro Alves <palves@redhat.com> |
529 | ||
530 | * features/Makefile: Update comments. | |
531 | (XMLTOC): List all xml files we build C files from. | |
532 | (clean-cfiles): New rule. | |
533 | ||
d63f2f84 PA |
534 | 2014-10-01 Pedro Alves <palves@redhat.com> |
535 | ||
536 | * features/i386/amd64-avx512-linux.c: Regenerate. | |
537 | * features/i386/amd64-avx512.c: Regenerate. | |
538 | * features/i386/x32-avx512-linux.c: Regenerate. | |
539 | * features/i386/x32-avx512.c: Regenerate. | |
540 | ||
20ad026d PA |
541 | 2014-10-01 Pedro Alves <palves@redhat.com> |
542 | ||
543 | * features/Makefile (WHICH): Remove arm-with-m, | |
544 | arm-with-m-fpa-layout and arm-with-m-vfp-d16. | |
545 | ||
acc9fe45 PA |
546 | 2014-10-01 Pedro Alves <palves@redhat.com> |
547 | ||
548 | * features/Makefile (clean): New rule. | |
549 | ||
e001e535 PA |
550 | 2014-10-01 Pedro Alves <palves@redhat.com> |
551 | ||
552 | * features/i386/64bit-avx512.xml (zmm10h, zmm11h, zmm12h, zmm13h) | |
553 | (zmm14h): Add missing end quotes. | |
554 | ||
bdc14417 PA |
555 | 2014-10-01 Pedro Alves <palves@redhat.com> |
556 | ||
557 | * features/aarch64-core.xml (cpsr): Change back to 32-bit. | |
558 | * features/aarch64.c: Regenerate. | |
559 | ||
d83ad864 DB |
560 | 2014-09-30 Don Breazeal <donb@codesourcery.com> |
561 | ||
562 | * inf-ptrace.c (inf_ptrace_follow_fork): Remove target-independent | |
563 | code so as to work with follow_fork_inferior. | |
564 | * inf-ttrace.c (inf_ttrace_follow_fork): Ditto. | |
565 | (inf_ttrace_create_inferior): Remove reference to | |
566 | inf_ttrace_vfork_ppid. | |
567 | (inf_ttrace_attach): Ditto. | |
568 | (inf_ttrace_detach): Ditto. | |
569 | (inf_ttrace_kill): Use current_inferior instead of | |
570 | inf_ttrace_vfork_ppid. | |
571 | (inf_ttrace_wait): Eliminate use of inf_ttrace_vfork_ppid, report | |
572 | TARGET_WAITKIND_VFORK_DONE event, delete HACK that switched the | |
573 | inferior away from the parent. | |
574 | * infrun.c (follow_fork): Call follow_fork_inferior instead of | |
575 | target_follow_fork. | |
576 | (follow_fork_inferior): New function. | |
577 | (follow_inferior_reset_breakpoints): Make function static. | |
578 | * infrun.h (follow_inferior_reset_breakpoints): Remove declaration. | |
579 | * linux-nat.c (linux_child_follow_fork): Move target-independent | |
580 | code to infrun.c:follow_fork_inferior. | |
581 | ||
29082443 AA |
582 | 2014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com> |
583 | ||
584 | * gdbarch.sh (regset_from_core_section): Remove gdbarch method. | |
585 | * gdbarch.c: Regenerate. | |
586 | * gdbarch.h: Likewise. | |
587 | * corelow.c (sniff_core_bfd): Drop presence check for deleted | |
588 | gdbarch method 'regset_from_core_section'. | |
589 | (get_core_register_section): Remove handling for the case that | |
590 | regset == NULL and regset_from_core_section is defined. | |
591 | (get_core_registers): Drop check for deleted method. | |
592 | * procfs.c (procfs_do_thread_registers): Adjust comment. | |
593 | ||
f968fe80 AA |
594 | 2014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com> |
595 | ||
596 | * linux-nat.c (linux_nat_collect_thread_registers): Remove. | |
597 | (linux_nat_make_corefile_notes): Remove. | |
598 | (linux_target_install_ops): Do not set target method | |
599 | 'make_corefile_notes'. | |
600 | * linux-tdep.c (struct linux_corefile_thread_data)<collect>: | |
601 | Remove field. | |
602 | (linux_corefile_thread_callback): Instead of args->collect, call | |
603 | linux_collect_thread_registers. | |
604 | (linux_make_corefile_notes): Remove 'collect' parameter. Return | |
605 | NULL unless there is a regset iterator. | |
606 | (linux_make_corefile_notes_1): Remove. | |
607 | (linux_init_abi): Replace reference to linux_make_corefile_notes_1 | |
608 | by linux_make_corefile_notes. | |
609 | * linux-tdep.h (linux_make_corefile_notes): Remove prototype. | |
610 | ||
174ad59a AA |
611 | 2014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com> |
612 | ||
613 | * fbsd-nat.c (find_signalled_thread, find_stop_signal) | |
614 | (fbsd_collect_regset_section_cb, fbsd_make_corefile_notes): | |
615 | Remove. | |
616 | * fbsd-nat.h (fbsd_make_corefile_notes): Remove prototype. | |
617 | ||
97094034 AA |
618 | 2014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com> |
619 | ||
620 | * xtensa-tdep.c (xtensa_regset_from_core_section): Remove. | |
621 | (xtensa_iterate_over_regset_sections): New. | |
622 | (xtensa_gdbarch_init): Adjust gdbarch initialization. | |
623 | ||
f73d3ce7 AA |
624 | 2014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com> |
625 | ||
626 | * vax-tdep.c (vax_regset_from_core_section): Remove. | |
627 | (vax_iterate_over_regset_sections): New. | |
628 | (vax_gdbarch_init): Adjust gdbarch initialization. | |
629 | ||
cb24567a AA |
630 | 2014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com> |
631 | ||
632 | * tilegx-linux-tdep.c (TILEGX_LINUX_SIZEOF_GREGSET): New macro. | |
633 | (tilegx_regset_from_core_section): Remove. | |
634 | (tilegx_iterate_over_regset_sections): New. | |
635 | (tilegx_linux_init_abi): Adjust gdbarch initialization. | |
636 | ||
e5139de8 AA |
637 | 2014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com> |
638 | ||
639 | * sparc-tdep.c (sparc_regset_from_core_section): Remove. | |
640 | (sparc_iterate_over_regset_sections): New. | |
641 | (sparc32_gdbarch_init): Adjust gdbarch initialization. | |
642 | * configure.tgt (gdb_target_obs): Add fbsd-tdep.o for SPARC FreeBSD | |
643 | targets. | |
644 | * sparc64fbsd-tdep.c (fbsd-tdep.h): Include. | |
645 | (sparc64fbsd_init_abi): Call fbsd_init_abi. | |
646 | * sparc64fbsd-nat.c (_initialize_sparc64fbsd_nat): Do not set | |
647 | target method 'make_corefile_notes'. | |
648 | ||
c6d41a6f AA |
649 | 2014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com> |
650 | ||
651 | * sh-linux-tdep.c (sh_linux_init_abi): Set tdep fields | |
652 | 'sizeof_gregset' and 'sizeof_fpregset'. | |
653 | * sh-tdep.c (sh_regset_from_core_section): Remove. | |
654 | (sh_iterate_over_regset_sections): New. | |
655 | (sh_gdbarch_init): Adjust gdbarch initialization. | |
656 | * sh-tdep.h (struct gdbarch_tdep): New fields sizeof_gregset and | |
657 | sizeof_fpregset. | |
658 | * shnbsd-tdep.c (shnbsd_init_abi): Set tdep field | |
659 | 'sizeof_gregset'. | |
660 | ||
9845a0b5 AA |
661 | 2014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com> |
662 | ||
663 | * score-tdep.c (score7_linux_regset_from_core_section): Remove. | |
664 | (score7_linux_iterate_over_regset_sections): New. | |
665 | (score_gdbarch_init): Adjust gdbarch initialization. | |
666 | ||
23ea9aeb AA |
667 | 2014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com> |
668 | ||
669 | * configure.tgt (gdb_target_obs): Add fbsd-tdep.o for PowerPC | |
670 | FreeBSD targets. | |
671 | * ppcfbsd-nat.c (_initialize_ppcfbsd_nat): Do not set target | |
672 | method 'make_corefile_notes'. | |
673 | * ppcfbsd-tdep.c (fbsd-tdep.h): Include. | |
674 | (ppcfbsd_regset_from_core_section): Remove. | |
675 | (ppcfbsd_iterate_over_regset_sections): New. | |
676 | (ppcfbsd_init_abi): Call fbsd_init_abi. Adjust gdbarch | |
677 | initialization. | |
678 | * ppcnbsd-tdep.c (ppcnbsd_regset_from_core_section): Remove. | |
679 | (ppcnbsd_iterate_over_regset_sections): New. | |
680 | (ppcnbsd_init_abi): Adjust. | |
681 | * ppcobsd-tdep.c (ppcobsd_regset_from_core_section): Remove. | |
682 | (ppcobsd_iterate_over_regset_sections): New. | |
683 | (ppcobsd_init_abi): Adjust. | |
684 | * rs6000-aix-tdep.c (rs6000_aix_regset_from_core_section): Remove. | |
685 | (rs6000_aix_iterate_over_regset_sections): New. | |
686 | (rs6000_aix_init_osabi): Adjust. | |
687 | ||
c5b8d704 AA |
688 | 2014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com> |
689 | ||
690 | * nios2-linux-tdep.c (NIOS2_GREGS_SIZE): New macro. | |
691 | (nios2_regset_from_core_section): Remove. | |
692 | (nios2_iterate_over_regset_sections): New. | |
693 | (nios2_linux_init_abi): Adjust gdbarch initialization. | |
694 | ||
3636e608 AA |
695 | 2014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com> |
696 | ||
697 | * mn10300-linux-tdep.c (am33_regset_from_core_section): Remove. | |
698 | (am33_iterate_over_regset_sections): New. | |
699 | (am33_linux_init_osabi): Adjust gdbarch initialization. | |
700 | ||
d4036235 AA |
701 | 2014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com> |
702 | ||
703 | * mips-linux-tdep.c (mips_linux_regset_from_core_section): Remove. | |
704 | (mips_linux_iterate_over_regset_sections): New. | |
705 | (mips_linux_init_abi): Adjust gdbarch initialization. | |
706 | * mips64obsd-tdep.c (mips64obsd_regset_from_core_section): Remove. | |
707 | (mips64obsd_iterate_over_regset_sections): New. | |
708 | (mips64obsd_init_abi): Adjust. | |
709 | * mipsnbsd-tdep.c (mipsnbsd_regset_from_core_section): Remove. | |
710 | (mipsnbsd_iterate_over_regset_sections): New. | |
711 | (mipsnbsd_init_abi): Adjust. | |
712 | ||
b61ddd6e AA |
713 | 2014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com> |
714 | ||
715 | * m88k-tdep.c (m88k_regset_from_core_section): Remove. | |
716 | (m88k_iterate_over_regset_sections): New. | |
717 | (m88k_gdbarch_init): Adjust gdbarch initialization. | |
718 | ||
55a2906a AA |
719 | 2014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com> |
720 | ||
721 | * ia64-linux-tdep.c (ia64_linux_regset_from_core_section): Remove. | |
722 | (ia64_linux_iterate_over_regset_sections): New. | |
723 | (ia64_linux_init_abi): Adjust gdbarch initialization. | |
724 | ||
022c98ab AA |
725 | 2014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com> |
726 | ||
727 | * m68kbsd-tdep.c (m68kbsd_regset_from_core_section): Remove. | |
728 | (m68kbsd_iterate_over_regset_sections): New. | |
729 | (m68kbsd_init_abi): Adjust gdbarch initialization. | |
730 | * m68klinux-tdep.c (m68k_linux_regset_from_core_section): Remove. | |
731 | (m68k_linux_iterate_over_regset_sections): New. | |
732 | (m68k_linux_init_abi): Adjust gdbarch initialization. | |
733 | ||
5fac247f AA |
734 | 2014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com> |
735 | ||
736 | * m32r-linux-tdep.c (M32R_LINUX_GREGS_SIZE): New macro. | |
737 | (m32r_linux_regset_from_core_section): Remove. | |
738 | (m32r_linux_iterate_over_regset_sections): New. | |
739 | (m32r_linux_init_abi): Adjust gdbarch initialization. | |
740 | ||
490496c3 AA |
741 | 2014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com> |
742 | ||
743 | * amd64obsd-tdep.c (amd64obsd_regset_from_core_section): Remove. | |
744 | (amd64obsd_iterate_over_regset_sections): New. | |
745 | (amd64obsd_core_init_abi): Adjust gdbarch initialization. | |
746 | * i386-cygwin-tdep.c (i386_windows_regset_from_core_section): | |
747 | Remove. | |
748 | (i386_cygwin_init_abi): Clear tdep->sizeof_fpregset. Drop | |
749 | regset_from_core_section initialization. | |
750 | * i386-tdep.c (i386_regset_from_core_section): Remove. | |
751 | (i386_iterate_over_regset_sections): New. | |
752 | (i386_gdbarch_init): Adjust gdbarch initialization. | |
753 | * i386-tdep.h (i386_regset_from_core_section): Remove prototype. | |
754 | (i386_iterate_over_regset_sections): New prototype. | |
755 | * i386obsd-tdep.c (i386obsd_aout_regset_from_core_section): | |
756 | Remove. | |
757 | (i386obsd_aout_iterate_over_regset_sections): New. | |
758 | (i386obsd_aout_init_abi): Adjust gdbarch initialization. | |
759 | * configure.tgt (gdb_target_obs): Add fbsd-tdep.o for all x86 FreeBSD | |
760 | targets. | |
761 | * amd64fbsd-tdep.c (fbsd-tdep.h): Include. | |
762 | (amd64fbsd_init_abi): Call fbsd_init_abi. | |
763 | * i386fbsd-tdep.c (fbsd-tdep.h): Include. | |
764 | (i386fbsd4_init_abi): Call fbsd_init_abi. | |
765 | * amd64fbsd-nat.c (_initialize_amd64fbsd_nat): No longer set | |
766 | target method 'make_corefile_notes'. | |
767 | * i386fbsd-nat.c (_initialize_i386fbsd_nat): Likewise. | |
768 | ||
50c5eb53 AA |
769 | 2014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com> |
770 | ||
771 | * hppa-hpux-tdep.c (hppa_hpux_regset_from_core_section): Remove. | |
772 | (hppa_hpux_iterate_over_regset_sections): New. | |
773 | (hppa_hpux_init_abi): Adjust gdbarch initialization. | |
774 | * hppa-linux-tdep.c (hppa_linux_regset_from_core_section): Remove. | |
775 | (hppa_linux_iterate_over_regset_sections): New. | |
776 | (hppa_linux_init_abi): Adjust. | |
777 | * hppanbsd-tdep.c (hppaobsd_regset_from_core_section): Remove. | |
778 | (hppanbsd_iterate_over_regset_sections): New. | |
779 | (hppanbsd_init_abi): Adjust. | |
780 | * hppaobsd-tdep.c (hppaobsd_regset_from_core_section): Remove. | |
781 | (hppaobsd_iterate_over_regset_sections): New. | |
782 | (hppaobsd_init_abi): Adjust. | |
783 | ||
66afae4f AA |
784 | 2014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com> |
785 | ||
786 | * frv-linux-tdep.c (frv_linux_regset_from_core_section): Remove. | |
787 | (frv_linux_iterate_over_regset_sections): New. | |
788 | (frv_linux_init_abi): Adjust gdbarch initialization. | |
789 | ||
ed09174e AA |
790 | 2014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com> |
791 | ||
792 | * arm-tdep.h (armbsd_regset_from_core_section): Remove prototype. | |
793 | (armbsd_iterate_over_regset_sections): New prototype. | |
794 | * armbsd-tdep.c (armbsd_regset_from_core_section): Remove. | |
795 | (armbsd_iterate_over_regset_sections): New. | |
796 | * armobsd-tdep.c (armobsd_init_abi): Adjust gdbarch | |
797 | initialization. | |
798 | ||
dff2166e AA |
799 | 2014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com> |
800 | ||
801 | * alpha-linux-tdep.c (alpha_linux_regset_from_core_section): Remove. | |
802 | (alpha_linux_iterate_over_regset_sections): New. | |
803 | (alpha_linux_init_abi): Adjust gdbarch initialization. | |
804 | * alphabsd-tdep.h (alphanbsd_regset_from_core_section): Remove | |
805 | prototype. | |
806 | (alphanbsd_iterate_over_regset_sections): New prototype. | |
807 | ||
4108500a AA |
808 | 2014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com> |
809 | ||
810 | * aarch64-linux-tdep.c (aarch64_linux_regset_from_core_section): | |
811 | Remove. | |
812 | (aarch64_linux_iterate_over_regset_sections): New. | |
813 | (aarch64_linux_init_abi): Adjust gdbarch initialization. | |
814 | ||
a904c024 AA |
815 | 2014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com> |
816 | ||
817 | * fbsd-tdep.c: New file. | |
818 | * fbsd-tdep.h: New file. | |
819 | * Makefile.in (ALL_TARGET_OBS): Add fbsd-tdep.o. | |
820 | (HFILES_NO_SRCDIR): Add fbsd-tdep.h. | |
821 | (ALLDEPFILES): Add fbsd-tdep.c. | |
822 | ||
8f0435f7 AA |
823 | 2014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com> |
824 | ||
825 | * gdbarch.sh (iterate_over_regset_sections_cb): Add regset | |
826 | parameter. | |
827 | * gdbarch.h: Regenerate. | |
828 | * corelow.c (sniff_core_bfd): Don't sniff if gdbarch has a regset | |
829 | iterator. | |
830 | (get_core_register_section): Add parameter 'regset' and use it, if | |
831 | set. Add parameter 'min_size' and verify the bfd section size | |
832 | against it. | |
833 | (get_core_registers_cb): Add parameter 'regset' and pass it to | |
834 | get_core_register section. For the "standard" register sections | |
835 | ".reg" and ".reg2", set an appropriate default for human_name. | |
836 | (get_core_registers): Don't abort when the gdbarch has an iterator | |
837 | but no regset_from_core_section. Add NULL/0 for parameters | |
838 | 'regset'/'min_size' in calls to get_core_register_section. | |
839 | * linux-tdep.c (linux_collect_regset_section_cb): Add parameter | |
840 | 'regset' and use it instead of calling the | |
841 | regset_from_core_section gdbarch method. | |
842 | * i386-tdep.h (struct gdbarch_tdep): Add field 'fpregset'. | |
843 | * i386-tdep.c (i386_supply_xstateregset) | |
844 | (i386_collect_xstateregset, i386_xstateregset): Moved to | |
845 | i386-linux-tdep.c. | |
846 | (i386_regset_from_core_section): Drop handling for .reg-xfp and | |
847 | .reg-xstate. | |
848 | (i386_gdbarch_init): Set tdep field 'fpregset'. Enable generic | |
849 | core file support only if the regset iterator hasn't been set. | |
850 | * i386-linux-tdep.c (i386_linux_supply_xstateregset) | |
851 | (i386_linux_collect_xstateregset, i386_linux_xstateregset): New. | |
852 | Moved from i386-tdep.c and renamed to *_linux*. | |
853 | (i386_linux_iterate_over_regset_sections): Add regset parameter to | |
854 | each callback invocation. Allow any .reg-xstate size when reading | |
855 | from a core file. | |
856 | * amd64-tdep.c (amd64_supply_xstateregset) | |
857 | (amd64_collect_xstateregset, amd64_xstateregset): Moved to | |
858 | amd64-linux-tdep.c. | |
859 | (amd64_regset_from_core_section): Remove. | |
860 | (amd64_init_abi): Set new tdep field 'fpregset'. No longer | |
861 | install an amd64-specific regset_from_core_section gdbarch method. | |
862 | * amd64-linux-tdep.c (amd64_linux_supply_xstateregset) | |
863 | (amd64_linux_collect_xstateregset, amd64_linux_xstateregset): New. | |
864 | Moved from amd64-tdep.c and renamed to *_linux*. | |
865 | (amd64_linux_iterate_over_regset_sections): Add regset parameter | |
866 | to each callback invocation. Allow any .reg-xstate size when | |
867 | reading from a core file. | |
868 | * arm-linux-tdep.c (arm_linux_regset_from_core_section): Remove. | |
869 | (arm_linux_iterate_over_regset_sections): Add regset parameter to | |
870 | each callback invocation. | |
871 | (arm_linux_init_abi): No longer set the regset_from_core_section | |
872 | gdbarch method. | |
873 | * ppc-linux-tdep.c (ppc_linux_regset_from_core_section): Remove. | |
874 | (ppc_linux_iterate_over_regset_sections): Add regset parameter to | |
875 | each callback invocation. | |
876 | (ppc_linux_init_abi): No longer set the regset_from_core_section | |
877 | gdbarch method. | |
878 | * s390-linux-tdep.c (struct gdbarch_tdep): Remove the fields | |
879 | gregset, sizeof_gregset, fpregset, and sizeof_fpregset. | |
880 | (s390_regset_from_core_section): Remove. | |
881 | (s390_iterate_over_regset_sections): Add regset parameter to each | |
882 | callback invocation. | |
883 | (s390_gdbarch_init): No longer set the regset_from_core_section | |
884 | gdbarch method. Drop initialization of deleted tdep fields. | |
885 | ||
5aa82d05 AA |
886 | 2014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com> |
887 | ||
888 | * amd64-linux-tdep.c (amd64_linux_regset_sections): Remove. | |
889 | (amd64_linux_iterate_over_regset_sections): New. | |
890 | (amd64_linux_init_abi_common): Don't install the regset section | |
891 | list, but the new iterator in gdbarch. | |
892 | * arm-linux-tdep.c (arm_linux_fpa_regset_sections) | |
893 | (arm_linux_vfp_regset_sections): Remove. Move combined logic... | |
894 | (arm_linux_iterate_over_regset_sections): ...here. New function. | |
895 | (arm_linux_init_abi): Set iterator instead of section list. | |
896 | * corelow.c (get_core_registers_cb): New function, logic moved | |
897 | from... | |
898 | (get_core_registers): ...loop body here. Use new iterator method | |
899 | instead of walking through the regset section list. | |
900 | * gdbarch.sh: Remove 'core_regset_sections'. New method | |
901 | 'iterate_over_regset_sections'. New typedef | |
902 | 'iterate_over_regset_sections_cb'. | |
903 | * gdbarch.c: Regenerate. | |
904 | * gdbarch.h: Likewise. | |
905 | * i386-linux-tdep.c (i386_linux_regset_sections) | |
906 | (i386_linux_sse_regset_sections, i386_linux_avx_regset_sections): | |
907 | Remove. | |
908 | (i386_linux_iterate_over_regset_sections): New. | |
909 | (i386_linux_init_abi): Don't choose a regset section list, but | |
910 | install new iterator in gdbarch. | |
911 | * linux-tdep.c (struct linux_collect_regset_section_cb_data): New. | |
912 | (linux_collect_regset_section_cb): New function, logic moved | |
913 | from... | |
914 | (linux_collect_thread_registers): ...loop body here. Use iterator | |
915 | method instead of walking through list. | |
916 | (linux_make_corefile_notes_1): Check for presence of iterator | |
917 | method instead of regset section list. | |
918 | * ppc-linux-tdep.c (ppc_linux_vsx_regset_sections) | |
919 | (ppc_linux_vmx_regset_sections, ppc_linux_fp_regset_sections) | |
920 | (ppc64_linux_vsx_regset_sections, ppc64_linux_vmx_regset_sections) | |
921 | (ppc64_linux_fp_regset_sections): Remove. Move combined logic... | |
922 | (ppc_linux_iterate_over_regset_sections): ...here. New function. | |
923 | (ppc_linux_init_abi): Don't choose from above regset section | |
924 | lists, but install new iterator in gdbarch. | |
925 | * regset.h (struct core_regset_section): Remove. | |
926 | * s390-linux-tdep.c (struct gdbarch_tdep): Add new fields | |
927 | have_linux_v1, have_linux_v2, and have_tdb. | |
928 | (s390_linux32_regset_sections, s390_linux32v1_regset_sections) | |
929 | (s390_linux32v2_regset_sections, s390_linux64_regset_sections) | |
930 | (s390_linux64v1_regset_sections, s390_linux64v2_regset_sections) | |
931 | (s390x_linux64_regset_sections, s390x_linux64v1_regset_sections) | |
932 | (s390x_linux64v2_regset_sections): Remove. Move combined logic... | |
933 | (s390_iterate_over_regset_sections): ...here. New function. Use | |
934 | new tdep fields. | |
935 | (s390_gdbarch_init): Set new tdep fields. Don't choose from above | |
936 | regset section lists, but install new iterator. | |
937 | ||
2eca4a8d JK |
938 | 2014-09-29 Jan Kratochvil <jan.kratochvil@redhat.com> |
939 | ||
940 | * solib-svr4.c (svr4_parse_libraries): Use "library-list-svr4.dtd". | |
941 | ||
a73c2b56 SM |
942 | 2014-09-26 Simon Marchi <simon.marchi@ericsson.com> |
943 | ||
944 | * progspace.c (print_program_space): Don't prune program spaces | |
945 | before printing them. | |
946 | ||
03d46957 PA |
947 | 2014-09-25 Pedro Alves <palves@redhat.com> |
948 | ||
949 | * infrun.c (user_visible_resume_ptid): Don't check | |
950 | singlestep_breakpoints_inserted_p. | |
951 | ||
e558d7c1 PA |
952 | 2014-09-25 Pedro Alves <palves@redhat.com> |
953 | ||
954 | * breakpoint.c (should_be_inserted): Add debug output. | |
955 | ||
7f89fd65 PA |
956 | 2014-09-25 Pedro Alves <palves@redhat.com> |
957 | ||
958 | * infrun.c (stepping_past_instruction_at) | |
959 | (clear_exit_convenience_vars): Point at infrun.h instead of | |
960 | inferior.h. | |
961 | (handle_signal_stop): Fix typo. | |
962 | ||
b7576e5c YQ |
963 | 2014-09-24 Yao Qi <yao@codesourcery.com> |
964 | ||
965 | * arm-tdep.c (thumb_in_function_epilogue_p): Fix typo in the | |
966 | bitmask. | |
967 | ||
9a6cf368 GB |
968 | 2014-09-22 Gary Benson <gbenson@redhat.com> |
969 | ||
970 | * target.c (target_stop): Updated comment. | |
971 | ||
03f4463b GB |
972 | 2014-09-22 Gary Benson <gbenson@redhat.com> |
973 | ||
974 | * target/target.h (target_stop_ptid): Renamed as... | |
975 | (target_stop_and_wait): New function. Updated comment. | |
976 | All uses updated. | |
977 | (target_continue_ptid): Renamed as... | |
978 | (target_continue_no_signal): New function. Updated comment. | |
979 | All uses updated. | |
980 | ||
a25a5a45 PA |
981 | 2014-09-22 Pedro Alves <palves@redhat.com> |
982 | ||
983 | * NEWS: Mention merge of "breakpoint always-inserted" modes "off" | |
984 | and "auto" merged. | |
985 | * breakpoint.c (enum ugll_insert_mode): New enum. | |
986 | (always_inserted_mode): Now a plain boolean. | |
987 | (show_always_inserted_mode): No longer handle AUTO_BOOLEAN_AUTO. | |
988 | (breakpoints_always_inserted_mode): Delete. | |
989 | (breakpoints_should_be_inserted_now): New function. | |
990 | (insert_breakpoints): Pass UGLL_INSERT to | |
991 | update_global_location_list instead of calling | |
992 | insert_breakpoint_locations manually. | |
993 | (create_solib_event_breakpoint_1): New, factored out from ... | |
994 | (create_solib_event_breakpoint): ... this. | |
995 | (create_and_insert_solib_event_breakpoint): Use | |
996 | create_solib_event_breakpoint_1 instead of calling | |
997 | insert_breakpoint_locations manually. | |
998 | (update_global_location_list): Change parameter type from boolean | |
999 | to enum ugll_insert_mode. All callers adjusted. Adjust to use | |
1000 | breakpoints_should_be_inserted_now and handle UGLL_INSERT. | |
1001 | (update_global_location_list_nothrow): Change parameter type from | |
1002 | boolean to enum ugll_insert_mode. | |
1003 | (_initialize_breakpoint): "breakpoint always-inserted" option is | |
1004 | now a boolean command. Update help text. | |
1005 | * breakpoint.h (breakpoints_always_inserted_mode): Delete declaration. | |
1006 | (breakpoints_should_be_inserted_now): New declaration. | |
1007 | * infrun.c (handle_inferior_event) <TARGET_WAITKIND_LOADED>: | |
1008 | Remove breakpoints_always_inserted_mode check. | |
1009 | (normal_stop): Adjust to use breakpoints_should_be_inserted_now. | |
1010 | * remote.c (remote_start_remote): Likewise. | |
1011 | ||
04086b45 PA |
1012 | 2014-09-22 Pedro Alves <palves@redhat.com> |
1013 | ||
1014 | * breakpoint.c (enum ugll_insert_mode): Add UGLL_INSERT. | |
1015 | (insert_breakpoints): Don't call insert_breakpoint_locations here. | |
1016 | Instead, pass UGLL_INSERT to update_global_location_list. | |
1017 | (update_global_location_list): Change parameter type from boolean | |
1018 | to enum ugll_insert_mode. All callers adjusted. Adjust to use | |
1019 | breakpoints_should_be_inserted_now and handle UGLL_INSERT. | |
1020 | (create_solib_event_breakpoint_1): New, factored out from ... | |
1021 | (create_solib_event_breakpoint): ... this. | |
1022 | (create_and_insert_solib_event_breakpoint): Use | |
1023 | create_solib_event_breakpoint_1 instead of calling | |
1024 | insert_breakpoint_locations manually. | |
1025 | (update_global_location_list): Handle UGLL_INSERT. | |
1026 | ||
44702360 PA |
1027 | 2014-09-22 Pedro Alves <palves@redhat.com> |
1028 | ||
1029 | * breakpoint.c (enum ugll_insert_mode): New enum. | |
1030 | (update_global_location_list) | |
1031 | (update_global_location_list_nothrow): Change parameter type from | |
1032 | boolean to enum ugll_insert_mode. All callers adjusted. | |
1033 | ||
93c6145a JB |
1034 | 2014-09-19 Joel Brobecker <brobecker@adacore.com> |
1035 | ||
1036 | * MAINTAINERS: Add Sergio Durigan Junior as maintainer of | |
1037 | SystemTap support in GDB. | |
1038 | ||
89a5711c DB |
1039 | 2014-09-19 Don Breazeal <donb@codesourcery.com> |
1040 | ||
1041 | * linux-nat.c (linux_handle_extended_wait): Call | |
1042 | linux_ptrace_get_extended_event. | |
1043 | (wait_lwp): Call linux_is_extended_waitstatus. | |
1044 | (linux_nat_filter_event): Call linux_ptrace_get_extended_event | |
1045 | and linux_is_extended_waitstatus. | |
1046 | * nat/linux-ptrace.c (linux_test_for_tracefork): Call | |
1047 | linux_ptrace_get_extended_event. | |
1048 | (linux_ptrace_get_extended_event): New function. | |
1049 | (linux_is_extended_waitstatus): New function. | |
1050 | * nat/linux-ptrace.h (linux_ptrace_get_extended_event) | |
1051 | (linux_is_extended_waitstatus): New declarations. | |
1052 | ||
c3b7b696 YQ |
1053 | 2014-09-19 Yao Qi <yao@codesourcery.com> |
1054 | ||
1055 | * dwarf2read.c (dwarf_decode_lines): Update declaration. | |
1056 | (handle_DW_AT_stmt_list): Add argument 'lowpc'. Update | |
1057 | comments. Callers update. | |
1058 | (dwarf_decode_lines): Likewise. | |
1059 | (dwarf_decode_lines_1): Add argument 'lowpc'. Update | |
1060 | comments. Skip the line table if 'lowpc' is greater than | |
1061 | 'address'. Don't check | |
1062 | dwarf2_per_objfile->has_section_at_zero. | |
1063 | ||
2b4fd423 DE |
1064 | 2014-09-18 Doug Evans <dje@google.com> |
1065 | ||
1066 | * NEWS: Mention new "producer" attribute of gdb.Symtab. | |
1067 | * python/py-symtab.c (stpy_get_producer): New function. | |
1068 | (symtab_object_getset): Add "producer" attribute. | |
1069 | ||
5e43d467 UW |
1070 | 2014-09-17 Ulrich Weigand <uweigand@de.ibm.com> |
1071 | ||
1072 | PR gdb/17384 | |
1073 | * corefile.c (struct captured_read_memory_integer_arguments): Remove. | |
1074 | (do_captured_read_memory_integer): Remove. | |
1075 | (safe_read_memory_integer): Use target_read_memory directly instead | |
1076 | of catching errors in do_captured_read_memory_integer. | |
1077 | ||
04e79979 MR |
1078 | 2014-09-16 Maciej W. Rozycki <macro@codesourcery.com> |
1079 | ||
1080 | * CONTRIBUTE (Coding Standards): For internals refer to wiki, | |
1081 | not gdb/doc. | |
1082 | ||
76aeec5b SDJ |
1083 | 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com> |
1084 | ||
1085 | * objc-lang.c (find_implementation_from_class): Remove dead code. | |
1086 | ||
2f693f9d SDJ |
1087 | 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com> |
1088 | ||
1089 | PR cli/7233 | |
1090 | * linux-nat.c (linux_nat_wait_1): Replace "fprintf (stderr..." by | |
1091 | "fprintf_unfiltered (gdb_stdlog...)". | |
1092 | ||
bb9d5f81 PP |
1093 | 2014-09-16 Patrick Palka <patrick@parcs.ath.cx> |
1094 | ||
1095 | PR breakpoints/12526 | |
1096 | * breakpoint.h (struct watchpoint): New fields val_bitpos and | |
1097 | val_bitsize. | |
1098 | * breakpoint.c (watch_command_1): Use these fields to retain | |
1099 | bitfield information. | |
1100 | (extract_bitfield_from_watchpoint_value): New function. | |
1101 | (watchpoint_check): Use it. | |
1102 | (update_watchpoint): Use it. Optimize the address and length of a | |
1103 | HW watchpoint pointing to a bitfield. | |
1104 | * value.h (unpack_value_bitfield): New prototype. | |
1105 | * value.c (unpack_value_bitfield): Make extern. | |
1106 | ||
05db5edd ST |
1107 | 2014-09-16 Samuel Thibault <samuel.thibault@ens-lyon.org> |
1108 | ||
1109 | * config/i386/i386gnu.mh (NATDEPFILES): Add x86-nat.o and | |
1110 | x86-dregs.o. | |
1111 | * gnu-nat.c (inf_threads): New function. | |
1112 | * gnu-nat.h (inf_threads_ftype): New typedef. | |
1113 | (inf_threads): New declaration. | |
1114 | * i386gnu-nat.c: Include "x86-nat.h" and "inf-child.h". | |
1115 | [i386_DEBUG_STATE] (i386_gnu_dr_get, i386_gnu_dr_set) | |
1116 | (i386_gnu_dr_set_control_one, i386_gnu_dr_set_control) | |
1117 | (i386_gnu_dr_set_addr_one, i386_gnu_dr_set_addr) | |
1118 | (i386_gnu_dr_get_reg, i386_gnu_dr_get_addr, 386_gnu_dr_get_status) | |
1119 | (i386_gnu_dr_get_control): New functions. | |
1120 | (reg_addr): New structure. | |
1121 | (_initialize_i386gnu_nat) [i386_DEBUG_STATE]: Initialize hardware | |
1122 | i386 debugging register hooks. | |
1123 | * NEWS: Mention this. | |
1124 | ||
5a578da5 OJ |
1125 | 2014-08-13 Omair Javaid <omair.javaid@linaro.org> |
1126 | ||
1127 | * arm-tdep.c (arm_record_vdata_transfer_insn): Added record handler for | |
1128 | vector data transfer instructions. | |
1129 | (arm_record_coproc_data_proc): Updated. | |
1130 | ||
f20f80dd OJ |
1131 | 2014-08-13 Omair Javaid <omair.javaid@linaro.org> |
1132 | ||
1133 | * arm-tdep.c (arm_record_asimd_vfp_coproc): Replace stub handler with | |
1134 | arm_record_exreg_ld_st_insn. | |
1135 | (arm_record_exreg_ld_st_insn): Add record handler for ex-register | |
1136 | load/store insns. | |
1137 | ||
851f26ae OJ |
1138 | 2014-08-13 Omair Javaid <omair.javaid@linaro.org> |
1139 | ||
1140 | * arm-tdep.c (arm_record_coproc_data_proc): Updated. | |
1141 | (arm_record_vfp_data_proc_insn): Added record handler for VFP data | |
1142 | processing instructions. | |
1143 | ||
1e1b6563 OJ |
1144 | 2014-08-13 Omair Javaid <omair.javaid@linaro.org> |
1145 | ||
1146 | * arm-tdep.c (thumb2_record_asimd_struct_ld_st): Add record handler | |
1147 | for advance SIMD struct ld/st insn. | |
1148 | (thumb2_record_decode_insn_handler): Replace stub handler with | |
1149 | thumb2_record_asimd_struct_ld_st. | |
1150 | ||
60cc5e93 OJ |
1151 | 2014-08-13 Omair Javaid <omair.javaid@linaro.org> |
1152 | ||
1153 | * arm-tdep.c (arm_record_coproc_data_proc): Add record handler stubs | |
1154 | for asimd, vfp and coprocessor insns. | |
1155 | (arm_record_asimd_vfp_coproc): Add record handler for asimd, vfp | |
1156 | and coprocessor insns. | |
1157 | (thumb2_record_coproc_insn): New function. | |
1158 | (thumb2_record_decode_insn_handler): Update coprocessor insns record | |
1159 | handlers. | |
1160 | (decode_insn): Install arm_record_asimd_vfp_coproc as handler for | |
1161 | opcode 110 insns. | |
1162 | ||
81219e53 DE |
1163 | 2014-09-13 Doug Evans <xdje42@gmail.com> |
1164 | ||
1165 | * NEWS: Mention new "queue-signal" command. | |
1166 | * infcmd.c (queue_signal_command): New function. | |
1167 | (_initialize_infcmd): Add new queue-signal command. | |
1168 | ||
d36bf488 DE |
1169 | 2014-09-13 Doug Evans <xdje42@gmail.com> |
1170 | ||
1171 | * linux-nat.c (wait_lwp): Add debugging printf. | |
1172 | (linux_nat_wait_1): Ditto. | |
1173 | ||
f37f681c PA |
1174 | 2014-09-12 Pedro Alves <palves@redhat.com> |
1175 | ||
1176 | * breakpoint.c (remove_solib_event_breakpoints_at_next_stop) | |
1177 | (create_and_insert_solib_event_breakpoint): New functions. | |
1178 | * breakpoint.h (create_and_insert_solib_event_breakpoint) | |
1179 | (remove_solib_event_breakpoints_at_next_stop): New declarations. | |
1180 | * procfs.c (dbx_link_bpt_addr, dbx_link_bpt): Delete globals. | |
1181 | (remove_dbx_link_breakpoint): Delete function. | |
1182 | (insert_dbx_link_bpt_in_file): Use | |
1183 | create_and_insert_solib_event_breakpoint instead of | |
1184 | deprecated_insert_raw_breakpoint. | |
1185 | (procfs_wait): Don't check whether we hit __dbx_link here. | |
1186 | (procfs_mourn_inferior): Don't delete the __dbx_link breakpoint | |
1187 | here. | |
1188 | * solib-irix.c (base_breakpoint): Delete global. | |
1189 | (disable_break): Delete function. | |
1190 | (enable_break): Use create_solib_event_breakpoint | |
1191 | instead of deprecated_insert_raw_breakpoint. | |
1192 | (irix_solib_handle_event): New function. | |
1193 | (irix_solib_create_inferior_hook): Don't run the target or disable | |
1194 | the mapping-complete breakpoint here. | |
1195 | (_initialize_irix_solib): Install irix_solib_handle_event as | |
1196 | so_ops->handle_event hook. | |
1197 | ||
9d9bf2df EBM |
1198 | 2014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com> |
1199 | Ulrich Weigand <uweigand@de.ibm.com> | |
1200 | ||
1201 | PR tdep/17379 | |
1202 | * rs6000-tdep.c (rs6000_frame_cache): Use safe_read_memory_integer | |
1203 | instead of read_memory_unsigned_integer. | |
1204 | ||
b006a80e GB |
1205 | 2014-09-12 Gary Benson <gbenson@redhat.com> |
1206 | ||
1207 | * nat/linux-waitpid.c: Include common-defs.h. | |
1208 | [GDBSERVER]: Add FIXME comment. | |
1209 | [!GDBSERVER]: Don't include defs.h or signal.h. | |
1210 | (linux_debug) [!GDBSERVER]: Remove empty block. | |
1211 | ||
296b1496 GB |
1212 | 2014-09-12 Gary Benson <gbenson@redhat.com> |
1213 | ||
1214 | * nat/x86-dregs.c: Include common-defs.h and break-common.h. | |
1215 | Don't include defs.h or server.h. | |
1216 | ||
53f81362 GB |
1217 | 2014-09-12 Gary Benson <gbenson@redhat.com> |
1218 | ||
1219 | * nat/linux-btrace.c: Include common-defs.h. | |
1220 | Don't include defs.h, server.h or gdbthread.h. | |
1221 | * nat/linux-btrace.h (struct target_ops): New forward declaration. | |
1222 | ||
727605ca GB |
1223 | 2014-09-12 Gary Benson <gbenson@redhat.com> |
1224 | ||
1225 | * common/agent.c: Include common-defs.h. | |
1226 | Don't include defs.h or server.h. | |
1227 | * common/buffer.c: Likewise. | |
1228 | * common/common-debug.c: Likewise. | |
1229 | * common/common-utils.c: Likewise. | |
1230 | * common/errors.c: Likewise. | |
1231 | * common/filestuff.c: Likewise. | |
1232 | * common/format.c: Likewise. | |
1233 | * common/gdb_vecs.c: Likewise. | |
1234 | * common/print-utils.c: Likewise. | |
1235 | * common/ptid.c: Likewise. | |
1236 | * common/rsp-low.c: Likewise. | |
1237 | * common/signals.c: Likewise. | |
1238 | * common/vec.c: Likewise. | |
1239 | * common/xml-utils.c: Likewise. | |
1240 | * nat/linux-osdata.c: Likewise. | |
1241 | * nat/linux-procfs.c: Likewise. | |
1242 | * nat/linux-ptrace.c: Likewise. | |
1243 | * nat/mips-linux-watch.c: Likewise. | |
1244 | * target/waitstatus.c: Likewise. | |
1245 | ||
361c8ade GB |
1246 | 2014-09-12 Tom Tromey <tromey@redhat.com> |
1247 | Gary Benson <gbenson@redhat.com> | |
1248 | ||
1249 | * common/common-regcache.h: New file. | |
1250 | * Makefile.in (HFILES_NO_SRCDIR): Add common/common-regcache.h. | |
1251 | * regcache.h: Include common-regcache.h. | |
1252 | (regcache_read_pc): Don't declare. | |
1253 | * regcache.c (get_thread_regcache_for_ptid): New function. | |
1254 | * nat/linux-btrace.c: Don't include regcache.h. | |
1255 | Include common-regcache.h. | |
1256 | (perf_event_read_bts): Use get_thread_regcache_for_ptid. | |
1257 | ||
a01cbb49 TS |
1258 | 2014-09-11 Thomas Schwinge <thomas@codesourcery.com> |
1259 | ||
1260 | * regcache.h (struct regset): Declare. | |
1261 | ||
98880d46 PA |
1262 | 2014-09-11 Pedro Alves <palves@redhat.com> |
1263 | ||
1264 | PR gdb/17347 | |
1265 | * main.c: Include "infrun.h". | |
1266 | (catch_command_errors, catch_command_errors_const): Wait for the | |
1267 | foreground command to complete. | |
1268 | * top.c (maybe_wait_sync_command_done): New function, factored out | |
1269 | from ... | |
1270 | (maybe_wait_sync_command_done): ... here. | |
1271 | * top.h (maybe_wait_sync_command_done): New declaration. | |
1272 | ||
bd9269f7 GB |
1273 | 2014-09-11 Tom Tromey <tromey@redhat.com> |
1274 | Gary Benson <gbenson@redhat.com> | |
1275 | ||
1276 | * common/symbol.h: New file. | |
1277 | * Makefile.in (HFILES_NO_SRCDIR): Add common/symbol.h. | |
1278 | * minsyms.c (find_minimal_symbol_address): New function. | |
1279 | * common/agent.c: Include common/symbol.h. | |
1280 | [!GDBSERVER]: Don't include objfiles.h. | |
1281 | (agent_look_up_symbols): Use find_minimal_symbol_address. | |
1282 | ||
f8c1d06b GB |
1283 | 2014-09-11 Gary Benson <gbenson@redhat.com> |
1284 | ||
1285 | * target/target.h (target_stop_ptid, target_continue_ptid): | |
1286 | Declare. | |
1287 | * target.c (target_stop_ptid, target_continue_ptid): New | |
1288 | functions. | |
1289 | * common/agent.c [!GDBSERVER]: Don't include infrun.h. | |
1290 | (agent_run_command): Always use target_stop_ptid and | |
1291 | target_continue_ptid. | |
1292 | ||
721ec300 GB |
1293 | 2014-09-11 Tom Tromey <tromey@redhat.com> |
1294 | Gary Benson <gbenson@redhat.com> | |
1295 | ||
1296 | * target/target.h: New file. | |
1297 | * Makefile.in (HFILES_NO_SRCDIR): Add target/target.h. | |
1298 | * target.h: Include target/target.h. | |
1299 | (target_read_memory, target_write_memory): Don't declare. | |
1300 | * target.c (target_read_uint32): New function. | |
1301 | * common/agent.c: Include target/target.h. | |
1302 | [!GDBSERVER]: Don't include target.h. | |
1303 | (helper_thread_id): Type changed to uint32_t. | |
1304 | (agent_get_helper_thread_id): Use target_read_uint32. | |
1305 | (agent_run_command): Always use target_read_memory and | |
1306 | target_write_memory. | |
1307 | (agent_capability): Type changed to uint32_t. | |
1308 | (agent_capability_check): Use target_read_uint32. | |
1309 | ||
c5e92cca GB |
1310 | 2014-09-11 Gary Benson <gbenson@redhat.com> |
1311 | ||
1312 | * common/common-debug.h (show_debug_regs): Declare. | |
1313 | * common/common-debug.c (show_debug_regs): Define. | |
1314 | * aarch64-linux-nat.c (debug_hw_points): Don't define. Replace | |
1315 | all uses with show_debug_regs. Replace all uses that considered | |
1316 | debug_hw_points as a multi-value integer with straight boolean | |
1317 | uses. | |
1318 | * x86-nat.c (debug_hw_points): Don't define. Replace all uses | |
1319 | with show_debug_regs. | |
1320 | * nat/x86-dregs.c (debug_hw_points): Don't declare. Replace | |
1321 | all uses with show_debug_regs. | |
1322 | * mips-linux-nat.c (maint_show_dr): Don't define. Replace all | |
1323 | uses with show_debug_regs. | |
1324 | ||
eeef931a UW |
1325 | 2014-09-10 Ulrich Weigand <uweigand@de.ibm.com> |
1326 | ||
1327 | * findvar.c (address_from_register): Handle targets requiring | |
1328 | a special conversion routine even for plain pointer types. | |
1329 | ||
8efa9855 UW |
1330 | 2014-09-10 Ulrich Weigand <uweigand@de.ibm.com> |
1331 | ||
1332 | * rs6000-nat.c (exec_one_dummy_insn): Remove. | |
1333 | (store_register): Do not call exec_one_dummy_insn. | |
1334 | ||
eb479039 JB |
1335 | 2014-09-10 Joel Brobecker <brobecker@adacore.com> |
1336 | ||
1337 | * ada-lang.c (ada_array_bound): If ARR is a TYPE_CODE_PTR, | |
1338 | dereference it first. Use value_enclosing_type instead of | |
1339 | value_type. | |
1340 | (ada_array_length): Likewise. | |
1341 | ||
deede10c JB |
1342 | 2014-09-10 Joel Brobecker <brobecker@adacore.com> |
1343 | ||
1344 | * ada-lang.c (ada_value_ptr_subscript): Remove parameter "type". | |
1345 | Adjust function implementation and documentation accordingly. | |
1346 | (ada_evaluate_subexp) <OP_FUNCALL>: Only assign "type" if | |
1347 | NOSIDE is EVAL_AVOID_SIDE_EFFECTS. | |
1348 | Update call to ada_value_ptr_subscript. | |
1349 | ||
7828a5f5 JB |
1350 | 2014-09-10 Joel Brobecker <brobecker@adacore.com> |
1351 | ||
1352 | * ada-valprint.c (ada_value_print): Use VAL's enclosing type | |
1353 | instead of VAL's type. | |
1354 | ||
35782f14 JB |
1355 | 2014-09-10 Joel Brobecker <brobecker@adacore.com> |
1356 | ||
1357 | * amd64-linux-nat.c: Add <sys/uio.h> #include. | |
1358 | ||
d342a0da DE |
1359 | 2014-09-09 Doug Evans <xdje42@gmail.com> |
1360 | ||
1361 | PR guile/17367 | |
1362 | * acinclude.m4 (GDB_GUILE_PROGRAM_NAMES): Pass guile version as | |
1363 | last parameter to pkg-config, not first. | |
1364 | * configure.ac: Pass --with-guile provided pkg-config path to | |
1365 | GDB_GUILE_PROGRAM_NAMES. | |
1366 | * configure: Regenerate. | |
1367 | ||
b4a3d263 GKB |
1368 | 2014-09-09 Gabriel Krisman Bertazi <gabriel@krisman.be> |
1369 | ||
1370 | * MAINTAINERS (Write After Approval): Add "Gabriel Krisman | |
1371 | Bertazi". | |
1372 | ||
6e466374 MR |
1373 | 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com> |
1374 | ||
1375 | * mips-irix-tdep.c (mips_irix_elf_osabi_sniff_abi_tag_sections): | |
1376 | Exclude `.MIPS.abiflags', `.MIPS.options' and `.MIPS.stubs' from | |
1377 | the list of sections determining GDB_OSABI_IRIX. | |
1378 | ||
a1ada89a JH |
1379 | 2014-09-09 James Hogan <james.hogan@imgtec.com> |
1380 | ||
1381 | * MAINTAINERS (Write After Approval): Add "James Hogan". | |
1382 | ||
86db008d JH |
1383 | 2014-09-09 James Hogan <james.hogan@imgtec.com> |
1384 | ||
1385 | * trad-frame.h (trad_frame_set_reg_unknown): Remove declaration. | |
1386 | ||
72fde3df JB |
1387 | 2014-09-09 Joel Brobecker <brobecker@adacore.com> |
1388 | ||
1389 | * i386-linux-nat.c, x86-linux-nat.c: Add <sys/uio.h> #include. | |
1390 | ||
92d8d229 DE |
1391 | 2014-09-08 Doug Evans <xdje42@gmail.com> |
1392 | ||
1393 | PR 17247 | |
1394 | * guile.c: #include <signal.h>. | |
1395 | (_initialize_guile): Block SIGCHLD while initializing Guile. | |
1396 | ||
1397 | Replaces the following, which is reverted. | |
1398 | ||
1399 | 2014-07-26 Doug Evans <xdje42@gmail.com> | |
1400 | ||
1401 | PR 17185 | |
1402 | * configure.ac: Add check for header gc/gc.h. | |
1403 | Add check for function setenv. | |
1404 | * configure: Regenerate. | |
1405 | * config.in: Regenerate. | |
1406 | * guile/guile.c (_initialize_guile): Add workaround for libgc 7.4.0. | |
1407 | ||
d81412aa DE |
1408 | 2014-09-08 Doug Evans <xdje42@gmail.com> |
1409 | ||
1410 | * guile/scm-cmd.c (gdbscm_parse_command_name): Replace magic number | |
1411 | with named constant. Fix style of pointer comparison. | |
1412 | * python/py-cmd.c (gdbpy_parse_command_name): Ditto. | |
1413 | ||
a9f116cb GKB |
1414 | 2014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be> |
1415 | ||
1416 | PR gdb/17035 | |
1417 | * cli/cli-cmds.c (show_user): Use cli_user_command_p to | |
1418 | decide whether we display the command on "show user". | |
1419 | * cli/cli-script.c (show_user_1): Only verify cmdlines after | |
1420 | printing command name. | |
1421 | * cli/cli-decode.h (cli_user_command_p): Declare new function. | |
1422 | * cli/cli-decode.c (cli_user_command_p): Create helper function | |
1423 | to verify whether cmd_list_element is a user-defined command. | |
1424 | ||
c75bd3a2 JK |
1425 | 2014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com> |
1426 | ||
1427 | PR python/17355 | |
1428 | * python/py-framefilter.c (py_print_single_arg): Handle NULL FA->VAL. | |
1429 | Fix goto out of TRY_CATCH. | |
1430 | ||
faa42425 | 1431 | 2014-09-06 Doug Evans <xdje42@gmail.com> |
1a52a81c | 1432 | Tom Tromey <tromey@redhat.com> |
faa42425 DE |
1433 | |
1434 | PR 15276 | |
1435 | * NEWS: Mention $_caller_is, $_caller_matches, $_any_caller_is, | |
1436 | $_any_caller_matches. | |
1437 | * data-directory/Makefile.in (PYTHON_FILE_LIST): Add caller_is.py. | |
1438 | * python/lib/gdb/function/caller_is.py: New file. | |
1439 | ||
0d41ba00 DE |
1440 | 2014-09-06 Doug Evans <xdje42@gmail.com> |
1441 | ||
1442 | * infcmd.c (program_info): Fix typo. | |
1443 | ||
474ca4f6 SDJ |
1444 | 2014-09-05 Sergio Durigan Junior <sergiodj@redhat.com> |
1445 | ||
1446 | PR gdb/17235 | |
1447 | * stap-probe.c (stap_parse_single_operand): Delete unused variable | |
1448 | 'number'. New variable 'has_digit'. Rewrite code to deal with | |
1449 | subexpressions on SDT probes. | |
1450 | ||
ebf13736 PA |
1451 | 2014-09-04 Pedro Alves <palves@redhat.com> |
1452 | ||
1453 | * c-exp.y (parse_number): Skip handling base-switching prefixes if | |
1454 | the input is only one character long. | |
1455 | ||
eb0b0463 SDJ |
1456 | 2014-09-04 Sergio Durigan Junior <sergiodj@redhat.com> |
1457 | ||
1458 | PR fortran/17237 | |
1459 | * f-valprint.c (f_val_print): Specify the correct print option to | |
1460 | use when printing integer values. | |
1461 | ||
5ee44bfa GB |
1462 | 2014-09-04 Gary Benson <gbenson@redhat.com> |
1463 | ||
1464 | * x86-linux-nat.c (x86_linux_dr_get, x86_linux_dr_set): | |
1465 | Remove code to cope with LWPs wrapped as PIDs. | |
1466 | Add assertions to ensure no wrapped LWPs are passed. | |
1467 | ||
4875ffdb PA |
1468 | 2014-09-04 Pedro Alves <palves@redhat.com> |
1469 | ||
1470 | * value.c (value_ranges_copy_adjusted): New function, factored out | |
1471 | from ... | |
1472 | (value_contents_copy_raw): ... here. | |
1473 | (unpack_value_bits_as_long_1): Rename back to ... | |
1474 | (unpack_bits_as_long): ... this. Remove 'original_value' and | |
1475 | 'result' parameters. Change return type to LONGEST. | |
1476 | (unpack_value_bits_as_long): Delete. | |
1477 | (unpack_value_field_as_long_1): Delete. | |
1478 | (unpack_value_field_as_long, unpack_field_as_long): Reimplement. | |
1479 | (unpack_value_bitfield): New function. | |
1480 | (value_field_bitfield): Reimplement using unpack_value_bitfield. | |
1481 | (value_fetch_lazy): Use unpack_value_bitfield. | |
1482 | * value.h (unpack_value_bits_as_long): Delete declaration. | |
1483 | ||
5f3b99cf SS |
1484 | 2014-09-03 Sasha Smundak <asmundak@google.com> |
1485 | ||
1486 | * python/py-frame.c (frapy_read_register): New function. | |
1487 | ||
ac740bc7 JH |
1488 | 2014-09-03 James Hogan <james.hogan@imgtec.com> |
1489 | ||
1490 | * mips-linux-nat.c (mips_linux_read_description): Reset errno to 0 | |
1491 | prior to reading DSP_CONTROL with PTRACE_PEEKUSER ptrace call. | |
1492 | ||
7d793aa9 SDJ |
1493 | 2014-09-03 Sergio Durigan Junior <sergiodj@redhat.com> |
1494 | ||
1495 | PR python/16699 | |
1496 | * cli/cli-decode.c (set_cmd_completer_handle_brkchars): New | |
1497 | function. | |
1498 | (add_cmd): Set "completer_handle_brkchars" to NULL. | |
1499 | * cli/cli-decode.h (struct cmd_list_element) | |
1500 | <completer_handle_brkchars>: New field. | |
1501 | * command.h (completer_ftype_void): New typedef. | |
1502 | (set_cmd_completer_handle_brkchars): New prototype. | |
1503 | * completer.c (set_gdb_completion_word_break_characters): New | |
1504 | function. | |
1505 | (complete_line_internal): Call "completer_handle_brkchars" | |
1506 | callback from command. | |
1507 | * completer.h: Include "command.h". | |
1508 | (set_gdb_completion_word_break_characters): New prototype. | |
1509 | * python/py-cmd.c (cmdpy_completer_helper): New function. | |
1510 | (cmdpy_completer_handle_brkchars): New function. | |
1511 | (cmdpy_completer): Adjust to use cmdpy_completer_helper. | |
1512 | (cmdpy_init): Set completer_handle_brkchars to | |
1513 | cmdpy_completer_handle_brkchars. | |
1514 | ||
97ea6506 GB |
1515 | 2014-09-03 Gary Benson <gbenson@redhat.com> |
1516 | ||
1517 | * nat/x86-dregs.h (ALL_DEBUG_REGISTERS): Renamed as... | |
1518 | (ALL_DEBUG_ADDRESS_REGISTERS): New macro. All uses updated. | |
1519 | Loop conditions changed to equivalent form. | |
1520 | (struct x86_debug_reg_state): Updated dr_ref_count comment. | |
1521 | * x86-linux-nat.c (x86_linux_prepare_to_resume): Use | |
1522 | ALL_DEBUG_ADDRESS_REGISTERS. | |
1523 | ||
d1437815 JB |
1524 | 2014-09-03 Joel Brobecker <brobecker@adacore.com> |
1525 | ||
1526 | * dwarf2loc.h (dwarf2_evaluate_property): Minor function | |
1527 | description fix. | |
1528 | ||
9b94fcf1 DE |
1529 | 2014-09-02 Doug Evans <dje@google.com> |
1530 | ||
1531 | * typeprint.c (find_global_typedef): Fix comment. | |
1532 | ||
df7e5265 GB |
1533 | 2014-09-02 Gary Benson <gbenson@redhat.com> |
1534 | ||
1535 | * i386-nat.h: Renamed as... | |
1536 | * x86-nat.h: New file. All type, function and variable name | |
1537 | prefixes changed from "i386_" to "x86_". All references updated. | |
1538 | * i386-nat.c: Renamed as... | |
1539 | * x86-nat.c: New file. All type, function and variable name | |
1540 | prefixes changed from "i386_" to "x86_". All references updated. | |
1541 | * common/i386-xstate.h: Renamed as... | |
1542 | * common/x86-xstate.h: New file. All type, function and variable | |
1543 | name prefixes changed from "i386_" to "x86_". All references | |
1544 | updated. | |
1545 | * nat/i386-cpuid.h: Renamed as... | |
1546 | * nat/x86-cpuid.h: New file. All type, function and variable name | |
1547 | prefixes changed from "i386_" to "x86_". All references updated. | |
1548 | * nat/i386-gcc-cpuid.h: Renamed as... | |
1549 | * nat/x86-gcc-cpuid.h: New file. All type, function and variable | |
1550 | name prefixes changed from "i386_" to "x86_". All references | |
1551 | updated. | |
1552 | * nat/i386-dregs.h: Renamed as... | |
1553 | * nat/x86-dregs.h: New file. All type, function and variable name | |
1554 | prefixes changed from "i386_" to "x86_". All references updated. | |
1555 | * nat/i386-dregs.c: Renamed as... | |
1556 | * nat/x86-dregs.c: New file. All type, function and variable name | |
1557 | prefixes changed from "i386_" to "x86_". All references updated. | |
1558 | ||
1c3569d4 MR |
1559 | 2014-09-01 Maciej W. Rozycki <macro@codesourcery.com> |
1560 | ||
1561 | * varobj.c (_initialize_varobj): Move to the end of file. | |
1562 | ||
ff55e1b5 GB |
1563 | 2014-08-29 Gary Benson <gbenson@redhat.com> |
1564 | ||
1565 | * common/common-exceptions.h: New file. | |
1566 | * common/common-exceptions.c: Likewise. | |
1567 | * Makefile.in (SFILES): Add common/common-exceptions.c. | |
1568 | (HFILES_NO_SRCDIR): Add common/common-exceptions.h. | |
1569 | (COMMON_OBS): Add common-exceptions.o. | |
1570 | (common-exceptions.o): New rule. | |
1571 | * exceptions.h (common-exceptions.h): Include. | |
1572 | (gdb_setjmp.h): Do not include. | |
1573 | (return_reason): Moved to common-exceptions.h. | |
1574 | (enum return_reason): Likewise. | |
1575 | (RETURN_MASK): Likewise. | |
1576 | (typedef return_mask): Likewise. | |
1577 | (enum errors): Likewise. | |
1578 | (struct gdb_exception): Likewise. | |
1579 | (exceptions_state_mc_init): Likewise. | |
1580 | (exceptions_state_mc_action_iter): Likewise. | |
1581 | (exceptions_state_mc_action_iter_1): Likewise. | |
1582 | (TRY_CATCH): Likewise. | |
1583 | (throw_exception): Likewise. | |
1584 | (throw_verror): Likewise. | |
1585 | (throw_vquit): Likewise. | |
1586 | (throw_error): Likewise. | |
1587 | (throw_quit): Likewise. | |
1588 | * exceptions.c (enum catcher_state): Moved to common-exceptions.c. | |
1589 | (enum catcher_action): Likewise. | |
1590 | (struct catcher): Likewise. | |
1591 | (current_catcher): Likewise. | |
1592 | (catcher_list_size): Likewise. | |
1593 | (exceptions_state_mc_init): Likewise. | |
1594 | (catcher_pop): Likewise. | |
1595 | (exceptions_state_mc): Likewise. | |
1596 | (exceptions_state_mc_action_iter): Likewise. | |
1597 | (exceptions_state_mc_action_iter_1): Likewise. | |
1598 | (throw_exception): Likewise. | |
1599 | (exception_messages): Likewise. | |
1600 | (exception_messages_size): Likewise. | |
1601 | (throw_it): Likewise. | |
1602 | (throw_verror): Likewise. | |
1603 | (throw_vquit): Likewise. | |
1604 | (throw_error): Likewise. | |
1605 | (throw_quit): Likewise. | |
1606 | (prepare_to_throw_exception): New function. | |
1607 | ||
e9bcb658 GB |
1608 | 2014-08-29 Gary Benson <gbenson@redhat.com> |
1609 | ||
1610 | * common/gdb_setjmp.h: New file. | |
1611 | * Makefile.in (HFILES_NO_SRCDIR): Add common/gdb_setjmp.h. | |
1612 | * configure.ac: Move sigsetjmp check... | |
1613 | * common/common.m4: ...here. | |
1614 | * configure: Regenerate. | |
1615 | * cp-support.c (SIGJMP_BUF): Delete. | |
1616 | (SIGSETJMP): Likewise. | |
1617 | (SIGLONGJMP): Likewise. | |
1618 | * exceptions.h (gdb_setjmp.h): Include. | |
1619 | (setjmp.h): Do not include. | |
1620 | (EXCEPTIONS_SIGJMP_BUF): Delete. | |
1621 | (EXCEPTIONS_SIGSETJMP): Likewise. | |
1622 | (EXCEPTIONS_SIGLONGJMP): Likewise. | |
1623 | Replace all uses of EXCEPTIONS_SIG* macros with SIG* macros | |
1624 | from gdb_setjmp.h. | |
1625 | * exceptions.c: Likewise. | |
1626 | ||
e3180625 GB |
1627 | 2014-08-29 Gary Benson <gbenson@redhat.com> |
1628 | ||
1629 | * cleanups.h: Moved to... | |
1630 | * common/cleanups.h: New file. | |
1631 | * cleanups.c: Moved to... | |
1632 | * common/cleanups.c: New file. Include common-defs.h and | |
1633 | cleanups.h. Do not include defs.h. | |
1634 | * Makefile.in (SFILES): Replace cleanups.c with common/cleanups.c. | |
1635 | (HFILES_NO_SRCDIR): Replace cleanups.h with common/cleanups.h. | |
1636 | (cleanups.o): New rule. | |
1637 | ||
e3d6ba5d GB |
1638 | 2014-08-29 Gary Benson <gbenson@redhat.com> |
1639 | ||
1640 | * common/errors.h (internal_warning): New declaration. | |
1641 | (internal_vwarning): Likewise. | |
1642 | * common/errors.c (internal_warning): New function. | |
1643 | * utils.h (internal_warning): Don't declare. | |
1644 | (internal_vwarning): Likewise. | |
1645 | * utils.c (internal_warning): Removed. | |
1646 | ||
075c7033 GB |
1647 | 2014-08-29 Gary Benson <gbenson@redhat.com> |
1648 | ||
1649 | * main.c (captured_main): Use warning during startup. | |
1650 | Prefix startup warning messages with command name. | |
1651 | ||
91b35fd0 GB |
1652 | 2014-08-29 Gary Benson <gbenson@redhat.com> |
1653 | ||
1654 | * main.c (captured_main): Handle usage errors with error. | |
1655 | ||
b1ec390e GB |
1656 | 2014-08-29 Gary Benson <gbenson@redhat.com> |
1657 | ||
1658 | * go32-nat.c (go32_create_inferior): Replace a fprintf/ | |
1659 | exit pair with a call to error. Wrap the message with _(). | |
1660 | ||
fd0ef3dd GB |
1661 | 2014-08-29 Gary Benson <gbenson@redhat.com> |
1662 | ||
1663 | * main.c (captured_main): Replace a fprintf/exit | |
1664 | pair with a call to error. Wrap the message with _(). | |
1665 | ||
e0e6bcab GB |
1666 | 2014-08-29 Gary Benson <gbenson@redhat.com> |
1667 | ||
1668 | * tui/tui-io.c (tui_initialize_io): Replace two fprintf/exit | |
1669 | pairs with calls to error. Wrap the message with _(). | |
1670 | ||
0d2f5c07 GB |
1671 | 2014-08-29 Gary Benson <gbenson@redhat.com> |
1672 | ||
1673 | * utils.c (vwarning): Protect calls to target_terminal_ours | |
1674 | and wrap_here. | |
1675 | ||
5df43998 GB |
1676 | 2014-08-29 Gary Benson <gbenson@redhat.com> |
1677 | ||
1678 | * exceptions.c (print_flush): Protect calls to | |
1679 | target_terminal_ours and wrap_here. | |
1680 | ||
2437fd32 GB |
1681 | 2014-08-29 Gary Benson <gbenson@redhat.com> |
1682 | ||
1683 | * utils.h (filtered_printing_initialized): New declaration. | |
1684 | * utils.c (abort_with_message): New function. | |
1685 | (internal_vproblem): Use abort_with_message for first level | |
1686 | recursive internal problems, and if gdb_stderr is not set up. | |
1687 | Protect calls to target_terminal_ours, begin_line and query. | |
1688 | ||
f1f58506 DE |
1689 | 2014-08-28 Doug Evans <dje@google.com> |
1690 | ||
1691 | * symtab.c (in_prologue): Move definition to better spot. | |
1692 | (skip_prologue_using_sal): Ditto. | |
1693 | ||
aab2f208 DE |
1694 | 2014-08-28 Doug Evans <dje@google.com> |
1695 | ||
1696 | * symtab.c (find_function_start_sal): Move definition to better spot. | |
1697 | ||
6b65d1b6 YQ |
1698 | 2014-08-28 Yao Qi <yao@codesourcery.com> |
1699 | ||
1700 | * arm-tdep.c (thumb_in_function_epilogue_p): Don't set | |
1701 | found_stack_adjust in forward scan. Remove condition check | |
1702 | on found_stack_adjust which is always true. Indent the code. | |
1703 | ||
a1b34d15 YQ |
1704 | 2014-08-28 Yao Qi <yao@codesourcery.com> |
1705 | ||
1706 | * dwarf2read.c (dwarf_decode_lines): Update declaration. | |
1707 | (handle_DW_AT_stmt_list): Remove comment about WANT_LINE_INFO. | |
1708 | (dwarf_decode_lines): Remove argument | |
1709 | want_line_info. Remove condition check on want_line_info. | |
1710 | Callers update. | |
1711 | ||
d5962de5 DE |
1712 | 2014-08-27 Doug Evans <dje@google.com> |
1713 | ||
1714 | * dwarf2read.c (dwarf_record_line): Fix typo. | |
1715 | ||
9b139002 SDJ |
1716 | 2014-08-27 Patrick Palka <patrick@parcs.ath.cx> |
1717 | ||
1718 | * target.h (struct target_ops::to_terminal_save_ours): Remove | |
1719 | declaration. | |
1720 | (target_terminal_save_ours): Remove macro. | |
1721 | * target-delegates.c: Regenerate. | |
1722 | * inf-child.c (inf_child_target): Don't set the nonexistent | |
1723 | field to_terminal_save_ours. | |
1724 | * inferior.h (child_terminal_save_ours): Remove declaration. | |
1725 | * terminal.h (gdb_save_tty_state): New declaration. | |
1726 | * inflow.c (child_terminal_save_ours): Rename to ... | |
1727 | (gdb_save_tty_state): ... this. | |
1728 | * tui/tui.c: Include terminal.h. | |
1729 | (tui_enable): Use gdb_save_tty_state instead of | |
1730 | target_terminal_save_ours. | |
1731 | (tui_disable): Likewise. | |
1732 | ||
9debeba0 DE |
1733 | 2014-08-25 Doug Evans <dje@google.com> |
1734 | ||
1735 | * linux-nat.c (linux_nat_close): Don't pass NULL for "this". | |
1736 | Pass NULL instead of 0 for context pointer. | |
1737 | ||
428fc5fc YQ |
1738 | 2014-08-25 Yao Qi <yao@codesourcery.com> |
1739 | ||
1740 | * dwarf2read.c: Fix grammatical error. | |
1741 | ||
cdc07690 YQ |
1742 | 2014-08-24 Yao Qi <yao@codesourcery.com> |
1743 | ||
1744 | * dwarf2read.c (scan_partial_symbols): Update comments. | |
1745 | Rename argument 'need_pc' with 'set_addrmap'. | |
1746 | (add_partial_namespace): Rename argument 'need_pc' with | |
1747 | 'set_addrmap'. | |
1748 | (add_partial_module): Likewise. | |
1749 | (add_partial_subprogram): Likewise. Update comments. | |
1750 | (dwarf2_name): Fix typo. | |
1751 | ||
a05a36a5 DE |
1752 | 2014-08-22 Doug Evans <dje@google.com> |
1753 | ||
1754 | PR 17276 | |
1755 | * dwarf2read.c (dwarf_record_line_p): New function. | |
1756 | (dwarf_decode_lines_1): Ignore subsequent line number entries | |
1757 | for the same line if any entry had a non-zero discriminator. | |
1758 | ||
252a6764 DE |
1759 | 2014-08-22 Doug Evans <dje@google.com> |
1760 | ||
1761 | * buildsym.h (record_line_ftype): New typedef. | |
1762 | (record_line): Use it. | |
1763 | * dwarf2read.c (dwarf_record_line, dwarf_finish_line): New functions. | |
1764 | (dwarf_decode_lines_1): Call them. | |
1765 | ||
510db052 YQ |
1766 | 2014-08-22 Yao Qi <yao@codesourcery.com> |
1767 | ||
1768 | * ctf.c (CTF_FILE_MIN_SIZE): Remove. | |
1769 | (ctf_end): Remove code. | |
1770 | ||
22fd09ae JK |
1771 | 2014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com> |
1772 | ||
1773 | * linux-tdep.c (linux_corefile_thread_callback): Ignore THREAD_EXITED. | |
1774 | (linux_make_corefile_notes): call update_thread_list, protected against | |
1775 | exceptions. | |
1776 | ||
656e8868 PA |
1777 | 2014-08-21 Pedro Alves <palves@redhat.com> |
1778 | ||
1779 | * infcmd.c (attach_command): Remove comment. | |
1780 | ||
de589d04 WN |
1781 | 2014-08-21 Bin Cheng <bin.cheng@arm.com> |
1782 | ||
1783 | * aarch64-linux-nat.c (dr_changed_t): Change the type from | |
1784 | unsigned LONGEST to ULONGEST. | |
1785 | ||
2a31c623 PA |
1786 | 2014-08-20 Pedro Alves <palves@redhat.com> |
1787 | ||
1788 | * Makefile.in (check-read1): New rule. | |
1789 | ||
d36430db JB |
1790 | 2014-08-20 Joel Brobecker <brobecker@adacore.com> |
1791 | ||
1792 | * value.c (value_from_contents_and_address): Strip resolved_type's | |
1793 | typedef layers before checking its TYPE_DATA_LOCATION. | |
1794 | ||
000339af PA |
1795 | 2014-08-20 Pedro Alves <palves@redhat.com> |
1796 | ||
1797 | * value.c (value_contents_bits_eq): Initialize l,h for gcc -Wall. | |
1798 | ||
5f52445b YQ |
1799 | 2014-08-20 Yao Qi <yao@codesourcery.com> |
1800 | ||
1801 | * amd64-tdep.c (amd64_classify): Add a blank line after the | |
1802 | example. Move "*/" to a new line. | |
1803 | * arm-tdep.c (arm_vfp_cprc_sub_candidate): Likewise. | |
1804 | * arm-wince-tdep.c (arm_pe_skip_trampoline_code): Likewise. | |
1805 | * dwarf2read.c (psymtab_include_file_name): Likewise. | |
1806 | ||
9a0dc9e3 PA |
1807 | 2014-08-19 Andrew Burgess <aburgess@broadcom.com> |
1808 | Pedro Alves <palves@redhat.com> | |
1809 | ||
1810 | PR symtab/14604 | |
1811 | PR symtab/14605 | |
1812 | * ada-lang.c (coerce_unspec_val_to_type): Use | |
1813 | value_contents_copy_raw. | |
1814 | * ada-valprint.c (val_print_packed_array_elements): Adjust. | |
1815 | * c-valprint.c (c_val_print): Use value_bits_any_optimized_out. | |
1816 | * cp-valprint.c (cp_print_value_fields): Let the common printing | |
1817 | code handle optimized out values. | |
1818 | (cp_print_value_fields_rtti): Use value_bits_any_optimized_out. | |
1819 | * d-valprint.c (dynamic_array_type): Use | |
1820 | value_bits_any_optimized_out. | |
1821 | * dwarf2loc.c (entry_data_value_funcs): Remove check_validity and | |
1822 | check_any_valid fields. | |
1823 | (check_pieced_value_bits): Delete and inline ... | |
1824 | (check_pieced_synthetic_pointer): ... here. | |
1825 | (check_pieced_value_validity): Delete. | |
1826 | (check_pieced_value_invalid): Delete. | |
1827 | (pieced_value_funcs): Remove check_validity and check_any_valid | |
1828 | fields. | |
1829 | (read_pieced_value): Use mark_value_bits_optimized_out. | |
1830 | (write_pieced_value): Switch to use | |
1831 | mark_value_bytes_optimized_out. | |
1832 | (dwarf2_evaluate_loc_desc_full): Copy the value contents instead | |
1833 | of assuming the whole value is optimized out. | |
1834 | * findvar.c (read_frame_register_value): Remove special handling | |
1835 | of optimized out registers. | |
1836 | (value_from_register): Use mark_value_bytes_optimized_out. | |
1837 | * frame-unwind.c (frame_unwind_got_optimized): Use | |
1838 | mark_value_bytes_optimized_out. | |
1839 | * jv-valprint.c (java_value_print): Adjust. | |
1840 | (java_print_value_fields): Let the common printing code handle | |
1841 | optimized out values. | |
1842 | * mips-tdep.c (mips_print_register): Remove special handling of | |
1843 | optimized out registers. | |
1844 | * opencl-lang.c (lval_func_check_validity): Delete. | |
1845 | (lval_func_check_any_valid): Delete. | |
1846 | (opencl_value_funcs): Remove check_validity and check_any_valid | |
1847 | fields. | |
1848 | * p-valprint.c (pascal_object_print_value_fields): Let the common | |
1849 | printing code handle optimized out values. | |
1850 | * stack.c (read_frame_arg): Remove special handling of optimized | |
1851 | out values. Fetch both VAL and ENTRYVAL before comparing | |
1852 | contents. Adjust to value_available_contents_eq rename. | |
1853 | * valprint.c (valprint_check_validity) | |
1854 | (val_print_scalar_formatted): Use value_bits_any_optimized_out. | |
1855 | (val_print_array_elements): Adjust. | |
1856 | * value.c (struct value) <optimized_out>: Now a VEC(range_s). | |
1857 | (value_bits_any_optimized_out): New function. | |
1858 | (value_entirely_covered_by_range_vector): New function, factored | |
1859 | out from value_entirely_unavailable. | |
1860 | (value_entirely_unavailable): Reimplement. | |
1861 | (value_entirely_optimized_out): New function. | |
1862 | (insert_into_bit_range_vector): New function, factored out from | |
1863 | mark_value_bits_unavailable. | |
1864 | (mark_value_bits_unavailable): Reimplement. | |
1865 | (struct ranges_and_idx): New struct. | |
1866 | (find_first_range_overlap_and_match): New function, factored out | |
1867 | from value_available_contents_bits_eq. | |
1868 | (value_available_contents_bits_eq): Rename to ... | |
1869 | (value_contents_bits_eq): ... this. Check both unavailable | |
1870 | contents and optimized out contents. | |
1871 | (value_available_contents_eq): Rename to ... | |
1872 | (value_contents_eq): ... this. | |
1873 | (allocate_value_lazy): Remove reference to the old optimized_out | |
1874 | boolean. | |
1875 | (allocate_optimized_out_value): Use | |
1876 | mark_value_bytes_optimized_out. | |
1877 | (require_not_optimized_out): Adjust to check whether the | |
1878 | optimized_out vec is empty. | |
1879 | (ranges_copy_adjusted): New function, factored out from | |
1880 | value_contents_copy_raw. | |
1881 | (value_contents_copy_raw): Also copy the optimized out ranges. | |
1882 | Assert the destination ranges aren't optimized out. | |
1883 | (value_contents_copy): Update comment, remove call to | |
1884 | require_not_optimized_out. | |
1885 | (value_contents_equal): Adjust to check whether the optimized_out | |
1886 | vec is empty. | |
1887 | (set_value_optimized_out, value_optimized_out_const): Delete. | |
1888 | (mark_value_bytes_optimized_out, mark_value_bits_optimized_out): | |
1889 | New functions. | |
1890 | (value_entirely_optimized_out, value_bits_valid): Delete. | |
1891 | (value_copy): Take a VEC copy of the 'optimized_out' field. | |
1892 | (value_primitive_field): Remove special handling of optimized out. | |
1893 | (value_fetch_lazy): Assert that lazy values have no unavailable | |
1894 | regions. Use value_bits_any_optimized_out. Remove some special | |
1895 | handling for optimized out values. | |
1896 | * value.h: Add intro comment about <optimized out> and | |
1897 | <unavailable>. | |
1898 | (struct lval_funcs): Remove check_validity and check_any_valid | |
1899 | fields. | |
1900 | (set_value_optimized_out, value_optimized_out_const): Remove. | |
1901 | (mark_value_bytes_optimized_out, mark_value_bits_optimized_out): | |
1902 | New declarations. | |
1903 | (value_bits_any_optimized_out): New declaration. | |
1904 | (value_bits_valid): Delete declaration. | |
1905 | (value_available_contents_eq): Rename to ... | |
1906 | (value_contents_eq): ... this, and extend comments. | |
1907 | ||
6694c411 JK |
1908 | 2014-08-19 Jan Kratochvil <jan.kratochvil@redhat.com> |
1909 | ||
1910 | Fix -fsanitize=address on unreadable inferior strings. | |
1911 | * valprint.c (val_print_string): Fix access before BUFFER. | |
1912 | ||
89a1c21a SM |
1913 | 2014-08-19 Simon Marchi <simon.marchi@ericsson.com> |
1914 | ||
1915 | * target.c (target_struct_size): Remove. | |
1916 | (target_struct_allocsize): Remove. | |
1917 | (DEFAULT_ALLOCSIZE): Remove. | |
1918 | (target_ops_p): New typedef. | |
1919 | (DEF_VEC_P (target_ops_p)): New vector type. | |
1920 | (target_structs): Change type to VEC (target_ops_p). | |
1921 | (add_target_with_completer): Replace "push" code by VEC_safe_push. | |
1922 | (find_default_run_target): Rewrite for loop following changes to | |
1923 | target_structs. | |
1924 | ||
cb417230 JB |
1925 | 2014-08-19 Joel Brobecker <brobecker@adacore.com> |
1926 | ||
1927 | * value.c (value_from_pointer): Remove use of resolve_dynamic_type. | |
1928 | Adjust code accordingly. Adjust function description comment. | |
1929 | ||
817e0957 YQ |
1930 | 2014-08-19 Yao Qi <yao@codesourcery.com> |
1931 | ||
1932 | * arm-tdep.c (arm_vfp_cprc_sub_candidate): Handle _Complex | |
1933 | types. | |
1934 | ||
2974be62 AM |
1935 | 2014-08-19 Alan Modra <amodra@gmail.com> |
1936 | ||
1937 | * acinclude.m4 (GDB_AC_CHECK_BFD): Don't add -ldl. | |
1938 | * config.in: Regenerate. | |
1939 | * configure: Regenerate. | |
1940 | ||
34abf635 GB |
1941 | 2014-08-19 Tom Tromey <tromey@redhat.com> |
1942 | Gary Benson <gbenson@redhat.com> | |
1943 | ||
1944 | * common/common-debug.h: New file. | |
1945 | * common/common-debug.c: Likewise. | |
1946 | * debug.c: Likewise. | |
1947 | * Makefile.in (SFILES): Add common/common-debug.c. | |
1948 | (HFILES_NO_SRCDIR): Add common/common-debug.h. | |
1949 | (COMMON_OBS): Add common-debug.o and debug.o. | |
1950 | (common-debug.o): New rule. | |
1951 | * common/common-defs.h: Include common-debug.h. | |
1952 | * common/agent.c (debug_agent_printf): New function. | |
1953 | (DEBUG_AGENT): Redefine. | |
1954 | * nat/i386-dregs.c (debug_printf): Undefine. | |
1955 | ||
f6e94d78 GB |
1956 | 2014-08-19 Gary Benson <gbenson@redhat.com> |
1957 | ||
1958 | * common/common-defs.h: Include print-utils.h. | |
1959 | * utils.h: Do not include print-utils.h. | |
1960 | ||
9239eeab GB |
1961 | 2014-08-19 Tom Tromey <tromey@redhat.com> |
1962 | Gary Benson <gbenson@redhat.com> | |
1963 | ||
1964 | * common/common-types.h: New file. | |
1965 | * Makefile.in (HFILES_NO_SRCDIR): Add common/common-types.h. | |
1966 | * common/common-defs.h: Include common-types.h. | |
1967 | * defs.h (gdb_byte, CORE_ADDR, CORE_ADDR_MAX, LONGEST) | |
1968 | (ULONGEST): Remove. | |
1969 | ||
ef87c8bb GB |
1970 | 2014-08-19 Tom Tromey <tromey@redhat.com> |
1971 | Gary Benson <gbenson@redhat.com> | |
1972 | ||
1973 | * common/errors.h: New file. | |
1974 | * common/errors.c: Likewise. | |
1975 | * Makefile.in (SFILES): Add common/errors.c. | |
1976 | (HFILES_NO_SRCDIR): Add common/errors.h. | |
1977 | (COMMON_OBS): Add errors.o. | |
1978 | (errors.o): New rule. | |
1979 | * common/common-defs.h: Include errors.h. | |
1980 | * utils.h (perror_with_name, error, verror, warning, vwarning): | |
1981 | Don't declare. | |
1982 | * common/common-utils.h: (malloc_failure, internal_error): | |
1983 | Likewise. | |
1984 | ||
196a707b GB |
1985 | 2014-08-19 Gary Benson <gbenson@redhat.com> |
1986 | ||
1987 | * utils.c (internal_vproblem): Always print the message. | |
1988 | ||
ded4fc8f DE |
1989 | 2014-08-18 Doug Evans <dje@google.com> |
1990 | ||
1991 | * ada-typeprint.c (print_range): Initialize lo,hi for gcc -Wall. | |
1992 | ||
950c97d8 JB |
1993 | 2014-08-18 Joel Brobecker <brobecker@adacore.com> |
1994 | ||
1995 | * ada-typeprint.c (type_is_full_subrange_of_target_type): | |
1996 | Return 0 if TYPE is dynamic. | |
1997 | (print_range): Add handling of dynamic ranges. | |
1998 | ||
3cdcd0ce JB |
1999 | 2014-08-18 Keven Boell <keven.boell@intel.com> |
2000 | Joel Brobecker <brobecker@adacore.com> | |
2001 | ||
2002 | * gdbtypes.h (struct main_type): Add field "data_location". | |
2003 | (TYPE_DATA_LOCATION, TYPE_DATA_LOCATION_BATON) | |
2004 | (TYPE_DATA_LOCATION_ADDR, TYPE_DATA_LOCATION_KIND): New macros. | |
2005 | * gdbtypes.c (is_dynamic_type): Return 1 if the type has | |
2006 | a dynamic data location. | |
2007 | (resolve_dynamic_type): Add DW_AT_data_location handling. | |
2008 | (copy_recursive, copy_type): Copy the data_location information | |
2009 | when present. | |
2010 | * dwarf2read.c (set_die_type): Add DW_AT_data_location handling. | |
2011 | * value.c (value_from_contents_and_address): Add | |
2012 | DW_AT_data_location handling. | |
2013 | ||
08412b07 JB |
2014 | 2014-08-18 Keven Boell <keven.boell@intel.com> |
2015 | Joel Brobecker <brobecker@adacore.com> | |
2016 | ||
2017 | * dwarf2expr.h (struct dwarf_expr_context_funcs): Uncomment | |
2018 | field "get_object_address". | |
2019 | * dwarf2expr.c (execute_stack_op): Add handling for | |
2020 | DW_OP_push_object_address. | |
2021 | * dwarf2loc.h (dwarf2_evaluate_property): Add "address" field. | |
2022 | * dwarf2loc.c (struct dwarf_expr_baton): Add field "obj_address". | |
2023 | (dwarf_expr_push_dwarf_reg_entry_value): Set baton_local.obj_address. | |
2024 | (dwarf_expr_get_obj_addr): New function. | |
2025 | (dwarf_expr_ctx_funcs): Add get_object_address field. | |
2026 | (dwarf2_evaluate_loc_desc_full): Set baton.obj_address. | |
2027 | (dwarf2_locexpr_baton_eval): Add parameter "addr". Use it. | |
2028 | (dwarf2_evaluate_property): Add parameter "address". Use it. | |
2029 | (needs_get_obj_addr): New function. | |
2030 | (needs_frame_ctx_funcs): Add get_object_address field. | |
2031 | (dwarf2_compile_expr_to_ax): Add DW_OP_push_object_address handling. | |
2032 | * gdbtypes.c (resolve_dynamic_range): Add "addr" field. Use it. | |
2033 | (resolve_dynamic_array): Likewise. | |
2034 | ||
84754697 JB |
2035 | 2014-08-18 Joel Brobecker <brobecker@adacore.com> |
2036 | ||
2037 | * ada-lang.c (ada_evaluate_subexp) <OP_VAR_VALUE>: | |
2038 | When noside is EVAL_AVOID_SIDE_EFFECTS, only return a statically | |
2039 | fixed value for records and unions for which some GNAT encodings | |
2040 | are present. | |
2041 | ||
da5c522f JB |
2042 | 2014-08-18 Joel Brobecker <brobecker@adacore.com> |
2043 | ||
2044 | * ada-lang.c (ada_evaluate_subexp) <OP_VAR_VALUE>: Slight code | |
2045 | rewrite to avoid "else if" and "else" constructs. Should be | |
2046 | a no-op in practice. | |
2047 | ||
0d72a7c3 JB |
2048 | 2014-08-18 Joel Brobecker <brobecker@adacore.com> |
2049 | ||
2050 | * ada-lang.c (ada_evaluate_subexp) <OP_VAR_VALUE>: Fix identation | |
2051 | of lexical block. | |
2052 | ||
e66d4446 SC |
2053 | 2014-08-15 Siva Chandra Reddy <sivachandra@google.com> |
2054 | ||
2055 | PR c++/17132 | |
2056 | * eval.c: Update all calls to find_overload_match. | |
2057 | * valarith.c: Likewise. | |
2058 | (value_user_defined_cpp_op, value_user_defined_op): New | |
2059 | argument NOSIDE. Update all callers. | |
2060 | * valops.c (find_overload_match): New argument NOSIDE. | |
2061 | * value.h (find_overload_match): Update signature. | |
2062 | ||
940df408 SC |
2063 | 2014-08-15 Siva Chandra Reddy <sivachandra@google.com> |
2064 | ||
2065 | * python/lib/gdb/command/xmethods.py (set_xm_status1): Use the | |
2066 | 'items' methods instead of 'iteritems' method on dictionaries. | |
2067 | ||
699ca60a DE |
2068 | 2014-08-15 Doug Evans <dje@google.com> |
2069 | ||
2070 | * dwarf2read.c (dwarf_decode_lines_1): Move definition of adj_opcode | |
2071 | closer to use. | |
2072 | ||
37780ee5 DE |
2073 | 2014-08-15 Doug Evans <dje@google.com> |
2074 | ||
2075 | * dwarf2read.c (dwarf_decode_lines_1): Add comment. | |
2076 | ||
0ad93d4f DE |
2077 | 2014-08-15 Doug Evans <dje@google.com> |
2078 | ||
2079 | * dwarf2read.c (dwarf_decode_lines_1): Delete local "column", unused. | |
2080 | ||
20d8c372 DE |
2081 | 2014-08-15 Doug Evans <dje@google.com> |
2082 | ||
2083 | * dwarf2read.c (dwarf_decode_lines_1): Delete local basic_block, | |
2084 | unused. | |
2085 | ||
cb039ba4 EZ |
2086 | 2014-08-15 Eli Zaretskii <eliz@gnu.org> |
2087 | ||
2088 | * dcache.h: Include target.h, to avoid compile time warnings. | |
2089 | ||
eb7a547a JB |
2090 | 2014-08-15 Joel Brobecker <brobecker@adacore.com> |
2091 | ||
2092 | * gdbarch.sh: #include "frame.h" in gdbarch.h. Delete "struct | |
2093 | frame_info" partial declaration. | |
2094 | * gdbarch.h: Regenerate. | |
2095 | ||
783cecc8 YQ |
2096 | 2014-08-15 Yao Qi <yao@codesourcery.com> |
2097 | ||
2098 | * dwarf2read.c (dwarf_decode_lines_1): Remove parameter 'pst'. | |
2099 | Add parameter 'decode_for_pst_p'. Callers update. | |
2100 | ||
65c749e7 YQ |
2101 | 2014-08-13 Yao Qi <yao@codesourcery.com> |
2102 | ||
2103 | PR build/17104 | |
2104 | * configure.ac: Use local variable 'pos'. | |
2105 | * configure: Regenerated. | |
2106 | ||
d769e349 DE |
2107 | 2014-08-11 Doug Evans <dje@google.com> |
2108 | ||
2109 | * solib.c (solib_read_symbols): Delete "Loaded symbols for ..." | |
2110 | message, it is redundant with "Reading symbols from ..." message. | |
2111 | ||
24f1235e DE |
2112 | 2014-08-10 Doug Evans <xdje42@gmail.com> |
2113 | ||
2114 | * linux-nat.c (linux_nat_thread_address_space): Delete dead code. | |
2115 | ||
dcd2e6ef YQ |
2116 | 2014-08-09 Yao Qi <yao@codesourcery.com> |
2117 | ||
2118 | PR remote/9053 | |
2119 | * remote.c (remote_xfer_partial): Remove dead code. | |
2120 | ||
070bdf0b AA |
2121 | 2014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com> |
2122 | ||
2123 | * ia64-linux-tdep.c: Include "regset.h". | |
2124 | (ia64_linux_gregmap, ia64_linux_fpregmap): New register maps. | |
2125 | (IA64_LINUX_GREGS_SIZE, IA64_LINUX_FPREGS_SIZE): New macros. | |
2126 | (ia64_linux_supply_fpregset): New function. | |
2127 | (ia64_linux_gregset, ia64_linux_fpregset): New regsets. | |
2128 | (ia64_linux_regset_from_core_section): New function. | |
2129 | (ia64_linux_init_abi): Set regset_from_core_section gdbarch | |
2130 | method. | |
2131 | ||
08f9f542 AA |
2132 | 2014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com> |
2133 | ||
2134 | * m68klinux-tdep.c: Include "regset.h". | |
2135 | (m68k_linux_gregmap, m68k_linux_fpregmap): New register maps. | |
2136 | (M68K_LINUX_GREGS_SIZE, M68K_LINUX_FPREGS_SIZE): New macros. | |
2137 | (m68k_linux_gregset, m68k_linux_fpregset): New regsets. | |
2138 | (m68k_linux_regset_from_core_section): New function. | |
2139 | (m68k_linux_init_abi): Set regset_from_core_section gdbarch | |
2140 | method. | |
2141 | ||
8f1cee41 AA |
2142 | 2014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com> |
2143 | ||
2144 | * tilegx-linux-tdep.c (tilegx_linux_supply_regset): Delete | |
2145 | function. Move logic to... | |
2146 | (tilegx_linux_regmap): ... this new register map. | |
2147 | (tilegx_linux_regset): Refer to register map, replace supply | |
2148 | method by regcache_supply_regset, and add collect method. | |
2149 | * tilegx-tdep.h (enum tilegx_regnum): New enum value | |
2150 | TILEGX_FIRST_EASY_REGNUM. | |
2151 | ||
c5741217 AA |
2152 | 2014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com> |
2153 | ||
2154 | * score-tdep.c (score7_linux_supply_gregset): Reduce to small stub | |
2155 | that calls regcache_supply_regset and handles the EPC register | |
2156 | separately. Move main logic to... | |
2157 | (score7_linux_gregmap): ... this new register map. | |
2158 | (SCORE7_LINUX_SIZEOF_GREGSET, SCORE7_LINUX_EPC_OFFSET): New macros. | |
2159 | (score7_linux_gregset): Refer to register map. Add collect method. | |
2160 | (score7_linux_regset_from_core_section): Replace | |
2161 | sizeof elf_gregset_t by SCORE7_LINUX_SIZEOF_GREGSET. | |
2162 | * score-tdep.h (enum gdb_regnum): New enum value SCORE_EPC_REGNUM. | |
2163 | (struct regset): Delete unused forward declaraction. | |
2164 | (struct pt_regs): Delete structure definition. | |
2165 | (elf_gregset_t): Delete typedef. | |
2166 | ||
81580573 AA |
2167 | 2014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com> |
2168 | ||
2169 | * nios2-linux-tdep.c (nios2_collect_gregset): New function. | |
2170 | (nios2_core_regset): Add collect method. | |
2171 | ||
ba199d7d AA |
2172 | 2014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com> |
2173 | ||
2174 | * m32r-linux-tdep.c (m32r_linux_supply_gregset): Make | |
2175 | platform-independent and don't write to read-only input buffer. | |
2176 | (m32r_linux_collect_gregset): New function. | |
2177 | (m32r_linux_gregset): Add collect method. | |
2178 | ||
0006a9da AA |
2179 | 2014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com> |
2180 | ||
2181 | * hppa-linux-tdep.c (greg_map): Rename to... | |
2182 | (hppa_linux_gregmap): ... this. Also convert to | |
2183 | regcache_map_entry format. | |
2184 | (hppa_linux_supply_regset): Delete function. | |
2185 | (hppa_linux_supply_fpregset): Delete function. Move logic to... | |
2186 | (hppa_linux_fpregmap): ... this new register map. | |
2187 | (hppa_linux_regset, hppa_linux_fpregset): Refer to appropriate | |
2188 | register map, replace supply method by regcache_supply_regset, and | |
2189 | add collect method regcache_collect_regset. | |
2190 | ||
901e1b23 AA |
2191 | 2014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com> |
2192 | ||
2193 | * frv-linux-tdep.c (FRV_PT_PSR, FRV_PT_ISR, FRV_PT_CCR) | |
2194 | (FRV_PT_CCCR, FRV_PT_LR, FRV_PT_LCR, FRV_PT_PC, FRV_PT_GNER0) | |
2195 | (FRV_PT_GNER1, FRV_PT_IACC0H, FRV_PT_IACC0L, FRV_PT_GR) | |
2196 | (FRV_PT_TBR, FRV_PT_GR, FRV_PT_EXEC_FDPIC_LOADMAP) | |
2197 | (FRV_PT_INTERP_FDPIC_LOADMAP): Delete macros. | |
2198 | (frv_linux_gregmap, frv_linux_fpregmap): New register maps. | |
2199 | (frv_linux_supply_gregset): Replace main logic by call to | |
2200 | regcache_supply_regset, but keep clearing gr32-gr63. | |
2201 | (frv_linux_supply_fpregset): Delete function. | |
2202 | (frv_linux_gregset): Refer to appropriate register map and add | |
2203 | regcache_collect_regset as the collect method. | |
2204 | (frv_linux_fpregset): Likewise. Also exchange the supply method | |
2205 | by regcache_supply_regset. | |
2206 | ||
1d6e7555 AA |
2207 | 2014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com> |
2208 | ||
2209 | * alpha-linux-tdep.c (alpha_linux_supply_gregset): Replace logic | |
2210 | by call to alpha_supply_int_regs. | |
2211 | (alpha_linux_collect_gregset): New function. | |
2212 | (alpha_linux_supply_fpregset): Replace logic by call to | |
2213 | alpha_supply_fp_regs. | |
2214 | (alpha_linux_collect_fpregset): New function. | |
2215 | (alpha_linux_gregset, alpha_linux_fpregset): Add collect method. | |
2216 | ||
d4d793bf AA |
2217 | 2014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com> |
2218 | ||
2219 | * aarch64-linux-nat.c (fill_gregset, fill_fpregset): Replace logic | |
2220 | by call to regcache_collect_regset. | |
2221 | (supply_gregset, supply_fpregset): Call regcache_supply_regset | |
2222 | instead of aarch64_linux_supply_gregset/_fpregset. | |
2223 | * aarch64-linux-tdep.c (AARCH64_LINUX_SIZEOF_GREGSET) | |
2224 | (AARCH64_LINUX_SIZEOF_FPREGSET): Delete macros here, move to | |
2225 | header file instead. | |
2226 | (aarch64_linux_supply_gregset, supply_gregset_from_core) | |
2227 | (aarch64_linux_suply_fpregset, supply_fpregset_from_core): Delete | |
2228 | functions. Move logic to ... | |
2229 | (aarch64_linux_gregmap, aarch64_linux_fpregmap): ... these new | |
2230 | register maps. | |
2231 | (aarch64_linux_gregset, aarch64_linux_fpregset): Make global, | |
2232 | refer to new register maps, replace *_regset_from_core by | |
2233 | regcache_supply_regset, and also use regcache_collect_regset. | |
2234 | * aarch64-linux-tdep.h: Include "regset.h". | |
2235 | (aarch64_linux_supply_gregset, aarch64_linux_supply_fpregset): | |
2236 | Delete prototypes. | |
2237 | (AARCH64_LINUX_SIZEOF_GREGSET, AARCH64_LINUX_SIZEOF_FPREGSET): New | |
2238 | macros, moved from C source file. | |
2239 | (aarch64_linux_gregset, aarch64_linux_fpregset): New global | |
2240 | variable declarations. | |
2241 | ||
99b7da5d AA |
2242 | 2014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com> |
2243 | ||
2244 | * s390-linux-nat.c: Include "regset.h". | |
2245 | (regmap_gregset): Delete macro. | |
2246 | (s390_64_regmap_gregset): New register map for | |
2247 | regcache_supply/_collect_regset. | |
2248 | (s390_64_gregset): New regset. | |
2249 | (S390_PSWM_OFFSET, S390_PSWA_OFFSET): New macros. | |
2250 | (regmap_fpregset): Delete macro. | |
2251 | (s390_native_supply, s390_native_collect): Delete functions. | |
2252 | (supply_gregset, fill_gregset): Replace s390-specific regmap | |
2253 | handling by a call to regcache_supply/_collect_regset. | |
2254 | (supply_fpregset, fill_fpregset): Call regcache_supply/ | |
2255 | _collect_regset instead of s390_native_supply/_collect. | |
2256 | (fetch_regset, store_regset): Likewise. Also change the last | |
2257 | parameter to a regset instead of a regmap. | |
2258 | (s390_linux_fetch_inferior_registers) | |
2259 | (390_linux_store_inferior_registers): Adjust last parameter in | |
2260 | calls to fetch_regset and store_regset. | |
2261 | * s390-linux-tdep.c (s390_regmap_gregset): Rename to... | |
2262 | (s390_gregmap): ... this. Also make static const and convert to | |
2263 | regcache_map_entry format. | |
2264 | (s390x_regmap_gregset): Delete. | |
2265 | (s390_regmap_fpregset): Rename to... | |
2266 | (s390_fpregmap): ... this. Make static const and convert to | |
2267 | regcache_map_entry format. | |
2268 | (s390_regmap_upper, s390_regmap_last_break) | |
2269 | (s390x_regmap_last_break, s390_regmap_system_call) | |
2270 | (s390_regmap_tdb): Likewise. | |
2271 | (s390_supply_regset, s390_collect_regset): Remove functions. | |
2272 | (s390_supply_tdb_regset): Call regcache_supply_regset instead of | |
2273 | s390_supply_regset. | |
2274 | (s390_gregset, s390_fpregset, s390_upper_regset) | |
2275 | (s390_last_break_regset, s390x_last_break_regset) | |
2276 | (s390_system_call_regset, s390_tdb_regset): Make global and | |
2277 | replace s390_supply/_collect_regset by regcache_supply/ | |
2278 | _collect_regset. | |
2279 | (s390x_gregset): Delete. | |
2280 | (s390_gdbarch_init): Replace s390x_gregset by s390_gregset. | |
2281 | * s390-linux-tdep.h (s390_regmap_gregset, s390x_regmap_gregset) | |
2282 | (s390_regmap_fpregset, s390_regmap_last_break) | |
2283 | (s390x_regmap_last_break, s390_regmap_system_call) | |
2284 | (s390_regmap_tdb): Delete global variable declarations. | |
2285 | (s390_gregset, s390_fpregset, s390_last_break_regset) | |
2286 | (s390x_last_break_regset, s390_system_call_regset) | |
2287 | (s390_tdb_regset): New global variable declarations. | |
2288 | ||
0b309272 AA |
2289 | 2014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com> |
2290 | ||
2291 | * regcache.c: Include "regset.h". | |
2292 | (regcache_transfer_regset): New local function. | |
2293 | (regcache_supply_regset, regcache_collect_regset): New functions. | |
2294 | * regcache.h (struct regcache_map_entry): New structure. | |
2295 | (REGCACHE_MAP_SKIP): New enum value. | |
2296 | (regcache_supply_regset, regcache_collect_regset): New prototypes. | |
2297 | ||
7fefa8d7 AA |
2298 | 2014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com> |
2299 | ||
2300 | * regset.h (struct regset): Rename 'descr' field to 'regmap'. | |
2301 | * ppc-linux-tdep.c (ppc_linux_supply_gregset) | |
2302 | (ppc_linux_collect_gregset ): Likewise. | |
2303 | * rs6000-tdep.c (ppc_supply_gregset, ppc_supply_fpregset) | |
2304 | (ppc_supply_vrregset, ppc_collect_gregset, ppc_collect_fpregset) | |
2305 | (ppc_collect_vrregset): Likewise. | |
2306 | * s390-linux-tdep.c (s390_supply_regset, s390_collect_regset): | |
2307 | Likewise. | |
2308 | ||
96c4f946 YQ |
2309 | 2014-08-07 Yao Qi <yao@codesourcery.com> |
2310 | ||
2311 | * corelow.c (core_xfer_partial): Replace 0 with TARGET_XFER_EOF. | |
2312 | * remote-m32r-sdi.c (m32r_xfer_memory): Likewise. | |
2313 | * remote.c (remote_read_bytes): Likewise. | |
2314 | ||
fffbe6a8 YQ |
2315 | 2014-08-07 Yao Qi <yao@codesourcery.com> |
2316 | ||
2317 | * dwarf2read.c (struct dwarf2_per_cu_data) <u>: Tweak comments. | |
2318 | ||
5ee8a82c YQ |
2319 | 2014-08-07 Yao Qi <yao@codesourcery.com> |
2320 | ||
2321 | PR remote/17230 | |
2322 | * remote-mips.c (mips_xfer_memory): Set *xfered_len and return | |
2323 | TARGET_XFER_OK instead of 0. | |
2324 | ||
bb974a24 GB |
2325 | 2014-08-07 Gary Benson <gbenson@redhat.com> |
2326 | ||
2327 | * common/common-defs.h: Include errno.h. | |
2328 | * defs.h: Do not include errno.h. | |
2329 | * ada-typeprint.c: Likewise. | |
2330 | * c-typeprint.c: Likewise. | |
2331 | * core-regset.c: Likewise. | |
2332 | * corefile.c: Likewise. | |
2333 | * corelow.c: Likewise. | |
2334 | * event-loop.c: Likewise. | |
2335 | * f-typeprint.c: Likewise. | |
2336 | * gnu-nat.c: Likewise. | |
2337 | * go32-nat.c: Likewise. | |
2338 | * i386gnu-nat.c: Likewise. | |
2339 | * m2-typeprint.c: Likewise. | |
2340 | * nat/linux-btrace.c: Likewise. | |
2341 | * p-typeprint.c: Likewise. | |
2342 | * procfs.c: Likewise. | |
2343 | * remote-sim.c: Likewise. | |
2344 | * rs6000-nat.c: Likewise. | |
2345 | * target.c: Likewise. | |
2346 | * typeprint.c: Likewise. | |
2347 | * ui-file.c: Likewise. | |
2348 | * valops.c: Likewise. | |
2349 | * valprint.c: Likewise. | |
2350 | ||
6d3d12eb GB |
2351 | 2014-08-07 Gary Benson <gbenson@redhat.com> |
2352 | ||
2353 | * common/common-defs.h: Include string.h. | |
2354 | * aarch64-tdep.c: Do not include string.h. | |
2355 | * ada-exp.y: Likewise. | |
2356 | * ada-lang.c: Likewise. | |
2357 | * ada-lex.l: Likewise. | |
2358 | * ada-typeprint.c: Likewise. | |
2359 | * ada-valprint.c: Likewise. | |
2360 | * aix-thread.c: Likewise. | |
2361 | * alpha-linux-tdep.c: Likewise. | |
2362 | * alpha-mdebug-tdep.c: Likewise. | |
2363 | * alpha-nat.c: Likewise. | |
2364 | * alpha-osf1-tdep.c: Likewise. | |
2365 | * alpha-tdep.c: Likewise. | |
2366 | * alphanbsd-tdep.c: Likewise. | |
2367 | * amd64-dicos-tdep.c: Likewise. | |
2368 | * amd64-linux-tdep.c: Likewise. | |
2369 | * amd64-nat.c: Likewise. | |
2370 | * amd64-sol2-tdep.c: Likewise. | |
2371 | * amd64fbsd-tdep.c: Likewise. | |
2372 | * amd64obsd-tdep.c: Likewise. | |
2373 | * arch-utils.c: Likewise. | |
2374 | * arm-linux-nat.c: Likewise. | |
2375 | * arm-linux-tdep.c: Likewise. | |
2376 | * arm-tdep.c: Likewise. | |
2377 | * arm-wince-tdep.c: Likewise. | |
2378 | * armbsd-tdep.c: Likewise. | |
2379 | * armnbsd-nat.c: Likewise. | |
2380 | * armnbsd-tdep.c: Likewise. | |
2381 | * armobsd-tdep.c: Likewise. | |
2382 | * avr-tdep.c: Likewise. | |
2383 | * ax-gdb.c: Likewise. | |
2384 | * ax-general.c: Likewise. | |
2385 | * bcache.c: Likewise. | |
2386 | * bfin-tdep.c: Likewise. | |
2387 | * breakpoint.c: Likewise. | |
2388 | * build-id.c: Likewise. | |
2389 | * buildsym.c: Likewise. | |
2390 | * c-exp.y: Likewise. | |
2391 | * c-lang.c: Likewise. | |
2392 | * c-typeprint.c: Likewise. | |
2393 | * c-valprint.c: Likewise. | |
2394 | * charset.c: Likewise. | |
2395 | * cli-out.c: Likewise. | |
2396 | * cli/cli-cmds.c: Likewise. | |
2397 | * cli/cli-decode.c: Likewise. | |
2398 | * cli/cli-dump.c: Likewise. | |
2399 | * cli/cli-interp.c: Likewise. | |
2400 | * cli/cli-logging.c: Likewise. | |
2401 | * cli/cli-script.c: Likewise. | |
2402 | * cli/cli-setshow.c: Likewise. | |
2403 | * cli/cli-utils.c: Likewise. | |
2404 | * coffread.c: Likewise. | |
2405 | * common/agent.c: Likewise. | |
2406 | * common/buffer.c: Likewise. | |
2407 | * common/buffer.h: Likewise. | |
2408 | * common/common-utils.c: Likewise. | |
2409 | * common/filestuff.c: Likewise. | |
2410 | * common/filestuff.c: Likewise. | |
2411 | * common/format.c: Likewise. | |
2412 | * common/print-utils.c: Likewise. | |
2413 | * common/rsp-low.c: Likewise. | |
2414 | * common/signals.c: Likewise. | |
2415 | * common/vec.h: Likewise. | |
2416 | * common/xml-utils.c: Likewise. | |
2417 | * core-regset.c: Likewise. | |
2418 | * corefile.c: Likewise. | |
2419 | * corelow.c: Likewise. | |
2420 | * cp-abi.c: Likewise. | |
2421 | * cp-name-parser.y: Likewise. | |
2422 | * cp-support.c: Likewise. | |
2423 | * cp-valprint.c: Likewise. | |
2424 | * cris-tdep.c: Likewise. | |
2425 | * d-exp.y: Likewise. | |
2426 | * darwin-nat.c: Likewise. | |
2427 | * dbxread.c: Likewise. | |
2428 | * dcache.c: Likewise. | |
2429 | * demangle.c: Likewise. | |
2430 | * dicos-tdep.c: Likewise. | |
2431 | * disasm.c: Likewise. | |
2432 | * doublest.c: Likewise. | |
2433 | * dsrec.c: Likewise. | |
2434 | * dummy-frame.c: Likewise. | |
2435 | * dwarf2-frame.c: Likewise. | |
2436 | * dwarf2loc.c: Likewise. | |
2437 | * dwarf2read.c: Likewise. | |
2438 | * elfread.c: Likewise. | |
2439 | * environ.c: Likewise. | |
2440 | * eval.c: Likewise. | |
2441 | * event-loop.c: Likewise. | |
2442 | * exceptions.c: Likewise. | |
2443 | * exec.c: Likewise. | |
2444 | * expprint.c: Likewise. | |
2445 | * f-exp.y: Likewise. | |
2446 | * f-lang.c: Likewise. | |
2447 | * f-typeprint.c: Likewise. | |
2448 | * f-valprint.c: Likewise. | |
2449 | * fbsd-nat.c: Likewise. | |
2450 | * findcmd.c: Likewise. | |
2451 | * findvar.c: Likewise. | |
2452 | * fork-child.c: Likewise. | |
2453 | * frame.c: Likewise. | |
2454 | * frv-linux-tdep.c: Likewise. | |
2455 | * frv-tdep.c: Likewise. | |
2456 | * gdb.c: Likewise. | |
2457 | * gdb_bfd.c: Likewise. | |
2458 | * gdbarch.c: Likewise. | |
2459 | * gdbarch.sh: Likewise. | |
2460 | * gdbtypes.c: Likewise. | |
2461 | * gnu-nat.c: Likewise. | |
2462 | * gnu-v2-abi.c: Likewise. | |
2463 | * gnu-v3-abi.c: Likewise. | |
2464 | * go-exp.y: Likewise. | |
2465 | * go-lang.c: Likewise. | |
2466 | * go32-nat.c: Likewise. | |
2467 | * guile/guile.c: Likewise. | |
2468 | * guile/scm-auto-load.c: Likewise. | |
2469 | * hppa-hpux-tdep.c: Likewise. | |
2470 | * hppa-linux-nat.c: Likewise. | |
2471 | * hppanbsd-tdep.c: Likewise. | |
2472 | * hppaobsd-tdep.c: Likewise. | |
2473 | * i386-cygwin-tdep.c: Likewise. | |
2474 | * i386-dicos-tdep.c: Likewise. | |
2475 | * i386-linux-tdep.c: Likewise. | |
2476 | * i386-nto-tdep.c: Likewise. | |
2477 | * i386-sol2-tdep.c: Likewise. | |
2478 | * i386-tdep.c: Likewise. | |
2479 | * i386bsd-tdep.c: Likewise. | |
2480 | * i386gnu-nat.c: Likewise. | |
2481 | * i386nbsd-tdep.c: Likewise. | |
2482 | * i386obsd-tdep.c: Likewise. | |
2483 | * i387-tdep.c: Likewise. | |
2484 | * ia64-libunwind-tdep.c: Likewise. | |
2485 | * ia64-linux-nat.c: Likewise. | |
2486 | * inf-child.c: Likewise. | |
2487 | * inf-ptrace.c: Likewise. | |
2488 | * inf-ttrace.c: Likewise. | |
2489 | * infcall.c: Likewise. | |
2490 | * infcmd.c: Likewise. | |
2491 | * inflow.c: Likewise. | |
2492 | * infrun.c: Likewise. | |
2493 | * interps.c: Likewise. | |
2494 | * iq2000-tdep.c: Likewise. | |
2495 | * irix5-nat.c: Likewise. | |
2496 | * jv-exp.y: Likewise. | |
2497 | * jv-lang.c: Likewise. | |
2498 | * jv-typeprint.c: Likewise. | |
2499 | * jv-valprint.c: Likewise. | |
2500 | * language.c: Likewise. | |
2501 | * linux-fork.c: Likewise. | |
2502 | * linux-nat.c: Likewise. | |
2503 | * lm32-tdep.c: Likewise. | |
2504 | * m2-exp.y: Likewise. | |
2505 | * m2-typeprint.c: Likewise. | |
2506 | * m32c-tdep.c: Likewise. | |
2507 | * m32r-linux-nat.c: Likewise. | |
2508 | * m32r-linux-tdep.c: Likewise. | |
2509 | * m32r-rom.c: Likewise. | |
2510 | * m32r-tdep.c: Likewise. | |
2511 | * m68hc11-tdep.c: Likewise. | |
2512 | * m68k-tdep.c: Likewise. | |
2513 | * m68kbsd-tdep.c: Likewise. | |
2514 | * m68klinux-nat.c: Likewise. | |
2515 | * m68klinux-tdep.c: Likewise. | |
2516 | * m88k-tdep.c: Likewise. | |
2517 | * machoread.c: Likewise. | |
2518 | * macrocmd.c: Likewise. | |
2519 | * main.c: Likewise. | |
2520 | * mdebugread.c: Likewise. | |
2521 | * mem-break.c: Likewise. | |
2522 | * memattr.c: Likewise. | |
2523 | * memory-map.c: Likewise. | |
2524 | * mep-tdep.c: Likewise. | |
2525 | * mi/mi-cmd-break.c: Likewise. | |
2526 | * mi/mi-cmd-disas.c: Likewise. | |
2527 | * mi/mi-cmd-env.c: Likewise. | |
2528 | * mi/mi-cmd-stack.c: Likewise. | |
2529 | * mi/mi-cmd-var.c: Likewise. | |
2530 | * mi/mi-cmds.c: Likewise. | |
2531 | * mi/mi-console.c: Likewise. | |
2532 | * mi/mi-getopt.c: Likewise. | |
2533 | * mi/mi-interp.c: Likewise. | |
2534 | * mi/mi-main.c: Likewise. | |
2535 | * mi/mi-parse.c: Likewise. | |
2536 | * microblaze-rom.c: Likewise. | |
2537 | * microblaze-tdep.c: Likewise. | |
2538 | * mingw-hdep.c: Likewise. | |
2539 | * minidebug.c: Likewise. | |
2540 | * minsyms.c: Likewise. | |
2541 | * mips-irix-tdep.c: Likewise. | |
2542 | * mips-linux-tdep.c: Likewise. | |
2543 | * mips-tdep.c: Likewise. | |
2544 | * mips64obsd-tdep.c: Likewise. | |
2545 | * mipsnbsd-tdep.c: Likewise. | |
2546 | * mipsread.c: Likewise. | |
2547 | * mn10300-linux-tdep.c: Likewise. | |
2548 | * mn10300-tdep.c: Likewise. | |
2549 | * monitor.c: Likewise. | |
2550 | * moxie-tdep.c: Likewise. | |
2551 | * mt-tdep.c: Likewise. | |
2552 | * nat/linux-btrace.c: Likewise. | |
2553 | * nat/linux-osdata.c: Likewise. | |
2554 | * nat/linux-procfs.c: Likewise. | |
2555 | * nat/linux-ptrace.c: Likewise. | |
2556 | * nat/linux-waitpid.c: Likewise. | |
2557 | * nbsd-tdep.c: Likewise. | |
2558 | * nios2-linux-tdep.c: Likewise. | |
2559 | * nto-procfs.c: Likewise. | |
2560 | * nto-tdep.c: Likewise. | |
2561 | * objc-lang.c: Likewise. | |
2562 | * objfiles.c: Likewise. | |
2563 | * opencl-lang.c: Likewise. | |
2564 | * osabi.c: Likewise. | |
2565 | * osdata.c: Likewise. | |
2566 | * p-exp.y: Likewise. | |
2567 | * p-lang.c: Likewise. | |
2568 | * p-typeprint.c: Likewise. | |
2569 | * parse.c: Likewise. | |
2570 | * posix-hdep.c: Likewise. | |
2571 | * ppc-linux-nat.c: Likewise. | |
2572 | * ppc-sysv-tdep.c: Likewise. | |
2573 | * ppcfbsd-tdep.c: Likewise. | |
2574 | * ppcnbsd-tdep.c: Likewise. | |
2575 | * ppcobsd-tdep.c: Likewise. | |
2576 | * printcmd.c: Likewise. | |
2577 | * procfs.c: Likewise. | |
2578 | * prologue-value.c: Likewise. | |
2579 | * python/py-auto-load.c: Likewise. | |
2580 | * python/py-gdb-readline.c: Likewise. | |
2581 | * ravenscar-thread.c: Likewise. | |
2582 | * regcache.c: Likewise. | |
2583 | * registry.c: Likewise. | |
2584 | * remote-fileio.c: Likewise. | |
2585 | * remote-m32r-sdi.c: Likewise. | |
2586 | * remote-mips.c: Likewise. | |
2587 | * remote-notif.c: Likewise. | |
2588 | * remote-sim.c: Likewise. | |
2589 | * remote.c: Likewise. | |
2590 | * reverse.c: Likewise. | |
2591 | * rs6000-aix-tdep.c: Likewise. | |
2592 | * ser-base.c: Likewise. | |
2593 | * ser-go32.c: Likewise. | |
2594 | * ser-mingw.c: Likewise. | |
2595 | * ser-pipe.c: Likewise. | |
2596 | * ser-tcp.c: Likewise. | |
2597 | * ser-unix.c: Likewise. | |
2598 | * serial.c: Likewise. | |
2599 | * sh-tdep.c: Likewise. | |
2600 | * sh64-tdep.c: Likewise. | |
2601 | * shnbsd-tdep.c: Likewise. | |
2602 | * skip.c: Likewise. | |
2603 | * sol-thread.c: Likewise. | |
2604 | * solib-dsbt.c: Likewise. | |
2605 | * solib-frv.c: Likewise. | |
2606 | * solib-osf.c: Likewise. | |
2607 | * solib-som.c: Likewise. | |
2608 | * solib-spu.c: Likewise. | |
2609 | * solib-target.c: Likewise. | |
2610 | * solib.c: Likewise. | |
2611 | * somread.c: Likewise. | |
2612 | * source.c: Likewise. | |
2613 | * sparc-nat.c: Likewise. | |
2614 | * sparc-sol2-tdep.c: Likewise. | |
2615 | * sparc-tdep.c: Likewise. | |
2616 | * sparc64-tdep.c: Likewise. | |
2617 | * sparc64fbsd-tdep.c: Likewise. | |
2618 | * sparc64nbsd-tdep.c: Likewise. | |
2619 | * sparcnbsd-tdep.c: Likewise. | |
2620 | * spu-linux-nat.c: Likewise. | |
2621 | * spu-multiarch.c: Likewise. | |
2622 | * spu-tdep.c: Likewise. | |
2623 | * stabsread.c: Likewise. | |
2624 | * stack.c: Likewise. | |
2625 | * std-regs.c: Likewise. | |
2626 | * symfile.c: Likewise. | |
2627 | * symmisc.c: Likewise. | |
2628 | * symtab.c: Likewise. | |
2629 | * target.c: Likewise. | |
2630 | * thread.c: Likewise. | |
2631 | * tilegx-linux-nat.c: Likewise. | |
2632 | * tilegx-tdep.c: Likewise. | |
2633 | * top.c: Likewise. | |
2634 | * tracepoint.c: Likewise. | |
2635 | * tui/tui-command.c: Likewise. | |
2636 | * tui/tui-data.c: Likewise. | |
2637 | * tui/tui-disasm.c: Likewise. | |
2638 | * tui/tui-file.c: Likewise. | |
2639 | * tui/tui-layout.c: Likewise. | |
2640 | * tui/tui-out.c: Likewise. | |
2641 | * tui/tui-regs.c: Likewise. | |
2642 | * tui/tui-source.c: Likewise. | |
2643 | * tui/tui-stack.c: Likewise. | |
2644 | * tui/tui-win.c: Likewise. | |
2645 | * tui/tui-windata.c: Likewise. | |
2646 | * tui/tui-winsource.c: Likewise. | |
2647 | * typeprint.c: Likewise. | |
2648 | * ui-file.c: Likewise. | |
2649 | * ui-out.c: Likewise. | |
2650 | * user-regs.c: Likewise. | |
2651 | * utils.c: Likewise. | |
2652 | * v850-tdep.c: Likewise. | |
2653 | * valarith.c: Likewise. | |
2654 | * valops.c: Likewise. | |
2655 | * valprint.c: Likewise. | |
2656 | * value.c: Likewise. | |
2657 | * varobj.c: Likewise. | |
2658 | * vax-tdep.c: Likewise. | |
2659 | * vaxnbsd-tdep.c: Likewise. | |
2660 | * vaxobsd-tdep.c: Likewise. | |
2661 | * windows-nat.c: Likewise. | |
2662 | * xcoffread.c: Likewise. | |
2663 | * xml-support.c: Likewise. | |
2664 | * xstormy16-tdep.c: Likewise. | |
2665 | * xtensa-linux-nat.c: Likewise. | |
2666 | ||
dccbb609 GB |
2667 | 2014-08-07 Gary Benson <gbenson@redhat.com> |
2668 | ||
2669 | * common/common-defs.h: Include gdb_assert.h. | |
2670 | * aarch64-tdep.c: Do not include gdb_assert.h. | |
2671 | * addrmap.c: Likewise. | |
2672 | * aix-thread.c: Likewise. | |
2673 | * alpha-linux-tdep.c: Likewise. | |
2674 | * alpha-mdebug-tdep.c: Likewise. | |
2675 | * alphanbsd-tdep.c: Likewise. | |
2676 | * amd64-nat.c: Likewise. | |
2677 | * amd64-tdep.c: Likewise. | |
2678 | * amd64bsd-nat.c: Likewise. | |
2679 | * amd64fbsd-nat.c: Likewise. | |
2680 | * amd64fbsd-tdep.c: Likewise. | |
2681 | * amd64nbsd-nat.c: Likewise. | |
2682 | * amd64nbsd-tdep.c: Likewise. | |
2683 | * amd64obsd-nat.c: Likewise. | |
2684 | * amd64obsd-tdep.c: Likewise. | |
2685 | * arch-utils.c: Likewise. | |
2686 | * arm-tdep.c: Likewise. | |
2687 | * armbsd-tdep.c: Likewise. | |
2688 | * auxv.c: Likewise. | |
2689 | * bcache.c: Likewise. | |
2690 | * bfin-tdep.c: Likewise. | |
2691 | * blockframe.c: Likewise. | |
2692 | * breakpoint.c: Likewise. | |
2693 | * bsd-kvm.c: Likewise. | |
2694 | * bsd-uthread.c: Likewise. | |
2695 | * buildsym.c: Likewise. | |
2696 | * c-exp.y: Likewise. | |
2697 | * c-lang.c: Likewise. | |
2698 | * charset.c: Likewise. | |
2699 | * cleanups.c: Likewise. | |
2700 | * cli-out.c: Likewise. | |
2701 | * cli/cli-decode.c: Likewise. | |
2702 | * cli/cli-dump.c: Likewise. | |
2703 | * cli/cli-logging.c: Likewise. | |
2704 | * cli/cli-script.c: Likewise. | |
2705 | * cli/cli-utils.c: Likewise. | |
2706 | * coffread.c: Likewise. | |
2707 | * common/common-utils.c: Likewise. | |
2708 | * common/queue.h: Likewise. | |
2709 | * common/signals.c: Likewise. | |
2710 | * common/vec.h: Likewise. | |
2711 | * complaints.c: Likewise. | |
2712 | * completer.c: Likewise. | |
2713 | * corelow.c: Likewise. | |
2714 | * cp-abi.c: Likewise. | |
2715 | * cp-name-parser.y: Likewise. | |
2716 | * cp-namespace.c: Likewise. | |
2717 | * cp-support.c: Likewise. | |
2718 | * cris-tdep.c: Likewise. | |
2719 | * dbxread.c: Likewise. | |
2720 | * dictionary.c: Likewise. | |
2721 | * doublest.c: Likewise. | |
2722 | * dsrec.c: Likewise. | |
2723 | * dummy-frame.c: Likewise. | |
2724 | * dwarf2-frame-tailcall.c: Likewise. | |
2725 | * dwarf2-frame.c: Likewise. | |
2726 | * dwarf2expr.c: Likewise. | |
2727 | * dwarf2loc.c: Likewise. | |
2728 | * dwarf2read.c: Likewise. | |
2729 | * eval.c: Likewise. | |
2730 | * event-loop.c: Likewise. | |
2731 | * exceptions.c: Likewise. | |
2732 | * expprint.c: Likewise. | |
2733 | * f-valprint.c: Likewise. | |
2734 | * fbsd-nat.c: Likewise. | |
2735 | * findvar.c: Likewise. | |
2736 | * frame-unwind.c: Likewise. | |
2737 | * frame.c: Likewise. | |
2738 | * frv-tdep.c: Likewise. | |
2739 | * gcore.c: Likewise. | |
2740 | * gdb-dlfcn.c: Likewise. | |
2741 | * gdb_bfd.c: Likewise. | |
2742 | * gdbarch.c: Likewise. | |
2743 | * gdbarch.sh: Likewise. | |
2744 | * gdbtypes.c: Likewise. | |
2745 | * gnu-nat.c: Likewise. | |
2746 | * gnu-v3-abi.c: Likewise. | |
2747 | * go-lang.c: Likewise. | |
2748 | * guile/scm-exception.c: Likewise. | |
2749 | * guile/scm-gsmob.c: Likewise. | |
2750 | * guile/scm-lazy-string.c: Likewise. | |
2751 | * guile/scm-math.c: Likewise. | |
2752 | * guile/scm-pretty-print.c: Likewise. | |
2753 | * guile/scm-safe-call.c: Likewise. | |
2754 | * guile/scm-utils.c: Likewise. | |
2755 | * guile/scm-value.c: Likewise. | |
2756 | * h8300-tdep.c: Likewise. | |
2757 | * hppa-hpux-nat.c: Likewise. | |
2758 | * hppa-tdep.c: Likewise. | |
2759 | * hppanbsd-tdep.c: Likewise. | |
2760 | * hppaobsd-tdep.c: Likewise. | |
2761 | * i386-darwin-nat.c: Likewise. | |
2762 | * i386-darwin-tdep.c: Likewise. | |
2763 | * i386-nto-tdep.c: Likewise. | |
2764 | * i386-tdep.c: Likewise. | |
2765 | * i386bsd-nat.c: Likewise. | |
2766 | * i386fbsd-tdep.c: Likewise. | |
2767 | * i386gnu-nat.c: Likewise. | |
2768 | * i386nbsd-tdep.c: Likewise. | |
2769 | * i386obsd-tdep.c: Likewise. | |
2770 | * i387-tdep.c: Likewise. | |
2771 | * ia64-libunwind-tdep.c: Likewise. | |
2772 | * ia64-tdep.c: Likewise. | |
2773 | * inf-ptrace.c: Likewise. | |
2774 | * inf-ttrace.c: Likewise. | |
2775 | * infcall.c: Likewise. | |
2776 | * infcmd.c: Likewise. | |
2777 | * infrun.c: Likewise. | |
2778 | * inline-frame.c: Likewise. | |
2779 | * interps.c: Likewise. | |
2780 | * jv-lang.c: Likewise. | |
2781 | * jv-typeprint.c: Likewise. | |
2782 | * linux-fork.c: Likewise. | |
2783 | * linux-nat.c: Likewise. | |
2784 | * linux-thread-db.c: Likewise. | |
2785 | * m32c-tdep.c: Likewise. | |
2786 | * m32r-linux-nat.c: Likewise. | |
2787 | * m32r-tdep.c: Likewise. | |
2788 | * m68k-tdep.c: Likewise. | |
2789 | * m68kbsd-nat.c: Likewise. | |
2790 | * m68kbsd-tdep.c: Likewise. | |
2791 | * m88k-tdep.c: Likewise. | |
2792 | * machoread.c: Likewise. | |
2793 | * macroexp.c: Likewise. | |
2794 | * macrotab.c: Likewise. | |
2795 | * maint.c: Likewise. | |
2796 | * mdebugread.c: Likewise. | |
2797 | * memory-map.c: Likewise. | |
2798 | * mep-tdep.c: Likewise. | |
2799 | * mi/mi-common.c: Likewise. | |
2800 | * microblaze-tdep.c: Likewise. | |
2801 | * mingw-hdep.c: Likewise. | |
2802 | * mips-linux-nat.c: Likewise. | |
2803 | * mips-linux-tdep.c: Likewise. | |
2804 | * mips-tdep.c: Likewise. | |
2805 | * mips64obsd-tdep.c: Likewise. | |
2806 | * mipsnbsd-tdep.c: Likewise. | |
2807 | * mn10300-linux-tdep.c: Likewise. | |
2808 | * mn10300-tdep.c: Likewise. | |
2809 | * moxie-tdep.c: Likewise. | |
2810 | * mt-tdep.c: Likewise. | |
2811 | * nat/linux-btrace.c: Likewise. | |
2812 | * nat/linux-osdata.c: Likewise. | |
2813 | * nat/linux-ptrace.c: Likewise. | |
2814 | * nat/mips-linux-watch.c: Likewise. | |
2815 | * nios2-linux-tdep.c: Likewise. | |
2816 | * nios2-tdep.c: Likewise. | |
2817 | * objc-lang.c: Likewise. | |
2818 | * objfiles.c: Likewise. | |
2819 | * obsd-nat.c: Likewise. | |
2820 | * opencl-lang.c: Likewise. | |
2821 | * osabi.c: Likewise. | |
2822 | * parse.c: Likewise. | |
2823 | * ppc-linux-nat.c: Likewise. | |
2824 | * ppc-sysv-tdep.c: Likewise. | |
2825 | * ppcfbsd-nat.c: Likewise. | |
2826 | * ppcfbsd-tdep.c: Likewise. | |
2827 | * ppcnbsd-nat.c: Likewise. | |
2828 | * ppcnbsd-tdep.c: Likewise. | |
2829 | * ppcobsd-nat.c: Likewise. | |
2830 | * ppcobsd-tdep.c: Likewise. | |
2831 | * printcmd.c: Likewise. | |
2832 | * procfs.c: Likewise. | |
2833 | * prologue-value.c: Likewise. | |
2834 | * psymtab.c: Likewise. | |
2835 | * python/py-lazy-string.c: Likewise. | |
2836 | * python/py-value.c: Likewise. | |
2837 | * regcache.c: Likewise. | |
2838 | * reggroups.c: Likewise. | |
2839 | * registry.c: Likewise. | |
2840 | * remote-sim.c: Likewise. | |
2841 | * remote.c: Likewise. | |
2842 | * rs6000-aix-tdep.c: Likewise. | |
2843 | * rs6000-tdep.c: Likewise. | |
2844 | * s390-linux-tdep.c: Likewise. | |
2845 | * score-tdep.c: Likewise. | |
2846 | * ser-base.c: Likewise. | |
2847 | * ser-mingw.c: Likewise. | |
2848 | * sh-tdep.c: Likewise. | |
2849 | * sh64-tdep.c: Likewise. | |
2850 | * solib-darwin.c: Likewise. | |
2851 | * solib-spu.c: Likewise. | |
2852 | * solib-svr4.c: Likewise. | |
2853 | * source.c: Likewise. | |
2854 | * sparc-nat.c: Likewise. | |
2855 | * sparc-sol2-tdep.c: Likewise. | |
2856 | * sparc-tdep.c: Likewise. | |
2857 | * sparc64-sol2-tdep.c: Likewise. | |
2858 | * sparc64-tdep.c: Likewise. | |
2859 | * sparc64fbsd-tdep.c: Likewise. | |
2860 | * sparc64nbsd-tdep.c: Likewise. | |
2861 | * sparc64obsd-tdep.c: Likewise. | |
2862 | * sparcnbsd-tdep.c: Likewise. | |
2863 | * sparcobsd-tdep.c: Likewise. | |
2864 | * spu-multiarch.c: Likewise. | |
2865 | * spu-tdep.c: Likewise. | |
2866 | * stabsread.c: Likewise. | |
2867 | * stack.c: Likewise. | |
2868 | * symfile.c: Likewise. | |
2869 | * symtab.c: Likewise. | |
2870 | * target-descriptions.c: Likewise. | |
2871 | * target-memory.c: Likewise. | |
2872 | * target.c: Likewise. | |
2873 | * tic6x-linux-tdep.c: Likewise. | |
2874 | * tic6x-tdep.c: Likewise. | |
2875 | * tilegx-linux-nat.c: Likewise. | |
2876 | * tilegx-tdep.c: Likewise. | |
2877 | * top.c: Likewise. | |
2878 | * tramp-frame.c: Likewise. | |
2879 | * tui/tui-out.c: Likewise. | |
2880 | * tui/tui-winsource.c: Likewise. | |
2881 | * ui-out.c: Likewise. | |
2882 | * user-regs.c: Likewise. | |
2883 | * utils.c: Likewise. | |
2884 | * v850-tdep.c: Likewise. | |
2885 | * valops.c: Likewise. | |
2886 | * value.c: Likewise. | |
2887 | * varobj.c: Likewise. | |
2888 | * vax-nat.c: Likewise. | |
2889 | * xml-syscall.c: Likewise. | |
2890 | * xml-tdesc.c: Likewise. | |
2891 | * xstormy16-tdep.c: Likewise. | |
2892 | * xtensa-linux-nat.c: Likewise. | |
2893 | * xtensa-tdep.c: Likewise. | |
2894 | ||
e76df0d0 GB |
2895 | 2014-08-07 Gary Benson <gbenson@redhat.com> |
2896 | ||
2897 | * common/common-defs.h: Include common-utils.h. | |
2898 | * defs.h: Do not include common-utils.h. | |
2899 | * common/gdb_assert.h: Likewise. | |
2900 | * darwin-nat.h: Likewise. | |
2901 | * nat/linux-btrace.c: Likewise. | |
2902 | * target/waitstatus.h: Likewise. | |
2903 | ||
4cb9c816 GB |
2904 | 2014-08-07 Gary Benson <gbenson@redhat.com> |
2905 | ||
2906 | * common/common-defs.h: Include ptid.h. | |
2907 | * defs.h: Do not include ptid.h. | |
2908 | * inferior.h: Likewise. | |
2909 | * infrun.h: Likewise. | |
2910 | * nat/linux-btrace.h: Likewise. | |
2911 | * nat/linux-osdata.h: Likewise. | |
2912 | * target/waitstatus.h: Likewise. | |
2913 | ||
3995eeee GB |
2914 | 2014-08-07 Gary Benson <gbenson@redhat.com> |
2915 | ||
2916 | * common/common-defs.h: Include gdb_locale.h. | |
2917 | * defs.h: Do not include gdb_locale.h. | |
2918 | ||
cb9f1a9b GB |
2919 | 2014-08-07 Gary Benson <gbenson@redhat.com> |
2920 | ||
2921 | * common/common-defs.h: Include gdb/signals.h. | |
2922 | * defs.h: Do not include gdb/signals.h. | |
2923 | ||
a5fceff8 GB |
2924 | 2014-08-07 Gary Benson <gbenson@redhat.com> |
2925 | ||
2926 | * common/common-defs.h: Include pathmax.h. | |
2927 | * defs.h: Do not include pathmax.h. | |
2928 | ||
b9391142 GB |
2929 | 2014-08-07 Gary Benson <gbenson@redhat.com> |
2930 | ||
2931 | * common/common-defs.h: Include libiberty.h. | |
2932 | * defs.h: Do not include libiberty.h. | |
2933 | * common/queue.h: Likewise. | |
2934 | * cp-name-parser.y: Likewise. | |
2935 | * mi/mi-cmd-catch.c: Likewise. | |
2936 | * python/python.c: Likewise. | |
2937 | ||
0e443c87 GB |
2938 | 2014-08-07 Gary Benson <gbenson@redhat.com> |
2939 | ||
2940 | * common/common-defs.h: Include ansidecl.h. | |
2941 | * defs.h: Do not include ansidecl.h. | |
2942 | * common/buffer.h: Likewise. | |
2943 | * common/common-utils.h: Likewise. | |
2944 | ||
8ebb3f56 GB |
2945 | 2014-08-07 Gary Benson <gbenson@redhat.com> |
2946 | ||
2947 | * common/common-defs.h: Include stddef.h. | |
2948 | * defs.h: Do not include stddef.h. | |
2949 | * common/common-utils.h: Likewise. | |
2950 | * amd64fbsd-nat.c: Likewise. | |
2951 | * bcache.c: Likewise. | |
2952 | * charset.c: Likewise. | |
2953 | * common/buffer.h: Likewise. | |
2954 | * common/vec.h: Likewise. | |
2955 | * i386bsd-nat.c: Likewise. | |
2956 | * nat/linux-btrace.h: Likewise. | |
2957 | * ppcfbsd-nat.c: Likewise. | |
2958 | * ppcnbsd-tdep.h: Likewise. | |
2959 | * ppcobsd-nat.c: Likewise. | |
2960 | * ppcobsd-tdep.h: Likewise. | |
2961 | * python/py-gdb-readline.c: Likewise. | |
2962 | ||
8980bdf6 GB |
2963 | 2014-08-07 Gary Benson <gbenson@redhat.com> |
2964 | ||
2965 | * common/common-defs.h: Include stdarg.h. | |
2966 | * defs.h: Do not include stdarg.h. | |
2967 | * ada-lang.c: Likewise. | |
2968 | * common/common-utils.h: Likewise. | |
2969 | * guile/scm-string.c: Likewise. | |
2970 | * guile/scm-utils.c: Likewise. | |
2971 | * m32c-tdep.c: Likewise. | |
2972 | ||
d7096f71 GB |
2973 | 2014-08-07 Gary Benson <gbenson@redhat.com> |
2974 | ||
2975 | * common/common-defs.h: Include stdlib.h. | |
2976 | * defs.h: Do not include stdlib.h. | |
2977 | * addrmap.c: Likewise. | |
2978 | * bcache.c: Likewise. | |
2979 | * common/buffer.c: Likewise. | |
2980 | * common/common-utils.c: Likewise. | |
2981 | * cp-name-parser.y: Likewise. | |
2982 | * go32-nat.c: Likewise. | |
2983 | * mn10300-linux-tdep.c: Likewise. | |
2984 | * nat/linux-osdata.c: Likewise. | |
2985 | * tui/tui.c: Likewise. | |
2986 | * windows-nat.c: Likewise. | |
2987 | ||
d02f550d GB |
2988 | 2014-08-07 Gary Benson <gbenson@redhat.com> |
2989 | ||
2990 | * common/common-defs.h: Include stdio.h. | |
2991 | * defs.h: Do not include stdio.h. | |
2992 | * ada-lang.c: Likewise. | |
2993 | * common/buffer.c: Likewise. | |
2994 | * common/common-utils.c: Likewise. | |
2995 | * cp-name-parser.y: Likewise. | |
2996 | * gnu-nat.c: Likewise. | |
2997 | * go32-nat.c: Likewise. | |
2998 | * i386gnu-nat.c: Likewise. | |
2999 | * proc-api.c: Likewise. | |
3000 | * proc-events.c: Likewise. | |
3001 | * proc-flags.c: Likewise. | |
3002 | * proc-why.c: Likewise. | |
3003 | * python/python-internal.h: Likewise. | |
3004 | * target-memory.c: Likewise. | |
3005 | * tui/tui-io.c: Likewise. | |
3006 | * tui/tui.c: Likewise. | |
3007 | ||
b6d7a4bf SM |
3008 | 2014-08-06 Simon Marchi <simon.marchi@ericsson.com> |
3009 | ||
3010 | * solib-svr4.c (scan_dyntag): Rename dyntag and dyn_tag variables. | |
3011 | (scan_dyntag_auxv): Same. | |
3012 | ||
af19829b YQ |
3013 | 2014-08-06 Yao Qi <yao@codesourcery.com> |
3014 | ||
3015 | * amd64-linux-nat.c: Remove duplicated include | |
3016 | "x86-linux-nat.h". | |
3017 | * i386-linux-nat.c: Likewise. | |
3018 | ||
8e07a239 YQ |
3019 | 2014-08-06 Yao Qi <yao@codesourcery.com> |
3020 | ||
3021 | * dwarf2read.c (dwarf_decode_lines_1): Replace "Special | |
3022 | operand" with "Special opcode" in comments. | |
3023 | ||
7bfe8241 GB |
3024 | 2014-08-05 Gary Benson <gbenson@redhat.com> |
3025 | ||
3026 | * interps.c (initialize_interps): Remove prototype. | |
3027 | (interpreter_initialized): Remove static global. | |
3028 | (interp_add): Do not call initialize_interps. | |
3029 | (initialize_interps): Remove function. | |
3030 | ||
d6c95504 GB |
3031 | 2014-08-05 Gary Benson <gbenson@redhat.com> |
3032 | ||
3033 | * utils.c (vwarning): Remove spurious va_end. | |
3034 | ||
241fd515 AM |
3035 | 2014-08-05 Alan Modra <amodra@gmail.com> |
3036 | ||
3037 | * charset.c (convert_between_encodings): Cast result of obstack_base. | |
3038 | * cp-valprint.c (cp_print_value_fields): Use size_t locals. | |
3039 | * hppa-tdep.c (internalize_unwinds): Change "size" parm to size_t. | |
3040 | (read_unwind_info): Use size_t for some locals. | |
3041 | * jit.c (finalize_symtab): Likewise. | |
3042 | * utils.c (hashtab_obstack_allocate): Likewise. | |
3043 | * symmisc.c (print_objfile_statistics): Update format strings. | |
3044 | ||
dc304a94 JK |
3045 | 2014-08-04 Jan Kratochvil <jan.kratochvil@redhat.com> |
3046 | ||
3047 | * NEWS (Changes in GDB-4.0): Move Intel MPX and Intel AVX-512 items ... | |
3048 | (Changes in GDB 7.8): ... here. | |
3049 | ||
3cecbbbe TT |
3050 | 2014-08-04 Tom Tromey <tromey@redhat.com> |
3051 | ||
3052 | * target.c (set_targetdebug): New function. | |
3053 | (initialize_targets): Pass set_targetdebug when creating "set | |
3054 | debug target". | |
3055 | ||
6908c509 JB |
3056 | 2014-08-01 Joel Brobecker <brobecker@adacore.com> |
3057 | ||
3058 | * gdbtypes.c (resolve_dynamic_struct): Do not generate an error | |
3059 | if detecting a variable-sized field that is not the last field. | |
3060 | Fix struct type length computation. | |
3061 | ||
53e8f97d JB |
3062 | 2014-08-01 Joel Brobecker <brobecker@adacore.com> |
3063 | ||
3064 | * amd64-windows-tdep.c (amd64_windows_frame_decode_insns): | |
3065 | Add debug trace. | |
3066 | ||
e068c55d JB |
3067 | 2014-08-01 Joel Brobecker <brobecker@adacore.com> |
3068 | ||
3069 | * amd64-windows-tdep.c (amd64_windows_frame_decode_insns): | |
3070 | Remove "+ 8" offset in computation of CHAIN_VMA. | |
3071 | ||
4d4ca2a1 DE |
3072 | 2014-07-31 Doug Evans <dje@google.com> |
3073 | ||
3074 | * inflow.c (child_terminal_inferior): Add comment. | |
3075 | (child_terminal_ours_for_output): Add comment. | |
3076 | (child_terminal_ours): Add comment. | |
3077 | * linux-nat.c (linux_nat_terminal_inferior): Add comment. | |
3078 | (linux_nat_terminal_ours): Add comment. | |
3079 | ||
462f517e GB |
3080 | 2014-07-31 Gary Benson <gbenson@redhat.com> |
3081 | ||
3082 | * common/btrace-common.h: Do not include defs.h or server.h. | |
3083 | * nat/mips-linux-watch.h: Likewise. | |
3084 | * gdb-dlfcn.h: Do not include defs.h. | |
3085 | * tracefile.h: Likewise. | |
3086 | ||
74228e77 RM |
3087 | 2014-07-30 Roland McGrath <mcgrathr@google.com> |
3088 | ||
3089 | * remote-sim.c (gdbsim_open): Apply constification to forward decl. | |
3090 | ||
014f9477 TT |
3091 | 2014-07-30 Tom Tromey <tromey@redhat.com> |
3092 | ||
3093 | * bsd-kvm.c (bsd_kvm_open): Constify. | |
3094 | * corelow.c (core_open): Constify. | |
3095 | * ctf.c (ctf_open): Constify. | |
3096 | * dbug-rom.c (dbug_open): Constify. | |
3097 | * exec.c (exec_open): Constify. | |
3098 | * m32r-rom.c (m32r_open, mon2000_open): Constify. | |
3099 | * microblaze-rom.c (picobug_open): Constify. | |
3100 | * nto-procfs.c (procfs_open_1, procfs_open, procfs_native_open): | |
3101 | Constify. | |
3102 | * ppcbug-rom.c (ppcbug_open0, ppcbug_open1): Constify. | |
3103 | * record-btrace.c (record_btrace_open): Constify. | |
3104 | * record-full.c (record_full_core_open_1, record_full_open_1) | |
3105 | (record_full_open): Constify. | |
3106 | * remote-m32r-sdi.c (m32r_open): Constify. | |
3107 | * remote-mips.c (common_open, mips_open, pmon_open, ddb_open) | |
3108 | (rockhopper_open, lsi_open): Constify. | |
3109 | * remote-sim.c (gdbsim_open): Constify. | |
3110 | * remote.c (remote_open, extended_remote_open, remote_open_1): | |
3111 | Constify. | |
3112 | * target.h (struct target_ops) <to_open>: Make "arg" const. | |
3113 | * tracefile-tfile.c (tfile_open): Constify. | |
3114 | ||
e799154c TT |
3115 | 2014-07-30 Tom Tromey <tromey@redhat.com> |
3116 | ||
3117 | * breakpoint.c (map_breakpoint_numbers): Update. | |
3118 | * cli/cli-utils.c (get_number_trailer): Make "pp" const. Update. | |
3119 | (get_number_const): New function. | |
3120 | (get_number): Rewrite using get_number_const. | |
3121 | (init_number_or_range): Make "string" const. | |
3122 | (number_is_in_list): Make "list" const. | |
3123 | * cli/cli-utils.h (get_number_const): Declare. | |
3124 | (struct get_number_or_range_state) <string, end_ptr>: Now const. | |
3125 | (init_number_or_range, number_is_in_list): Update. | |
3126 | * printcmd.c (map_display_numbers): Update. | |
3127 | * value.c (value_from_history_ref): Constify. | |
3128 | * value.h (value_from_history_ref): Update. | |
3129 | ||
5f08566b TT |
3130 | 2014-07-30 Tom Tromey <tromey@redhat.com> |
3131 | ||
3132 | * corefile.c (hook_type, call_extra_exec_file_hooks) | |
3133 | (specify_exec_file_hook): Constify. | |
3134 | * exec.c (exec_file_attach): Make "filename" const. | |
3135 | * gdbcore.h (deprecated_exec_file_display_hook) | |
3136 | (specify_exec_file_hook, exec_file_attach): Constify. | |
3137 | * main.c (captured_main): Use catch_command_errors_const. | |
3138 | ||
8981c758 TT |
3139 | 2014-07-30 Tom Tromey <tromey@redhat.com> |
3140 | ||
3141 | * target.c (open_target): New function. | |
3142 | (add_target_with_completer, add_deprecated_target_alias): Use | |
3143 | set_cmd_sfunc, set_cmd_context. | |
3144 | (debug_to_open): Remove. | |
3145 | (setup_target_debug): Update. | |
3146 | ||
a1c7835a YQ |
3147 | 2014-07-30 Yao Qi <yao@codesourcery.com> |
3148 | ||
3149 | * parser-defs.h (struct exp_descriptor) <operator_check>: Update | |
3150 | comments. | |
3151 | * parse.c (exp_iterate): Update comments. | |
3152 | ||
976411d6 GB |
3153 | 2014-07-30 Gary Benson <gbenson@redhat.com> |
3154 | ||
3155 | * common/common-defs.h: New file. | |
3156 | * Makefile.in (HFILES_NO_SRCDIR): Add common/common-defs.h. | |
3157 | * defs.h: Include common-defs.h. | |
3158 | Do not include config.h or build-gnulib/config.h. | |
3159 | ||
5d4848a4 GB |
3160 | 2014-07-30 Gary Benson <gbenson@redhat.com> |
3161 | ||
3162 | * common/common-utils.h: Do not include config.h. | |
3163 | * nat/linux-btrace.h: Likewise. | |
3164 | ||
d41f6d8e GB |
3165 | 2014-07-30 Gary Benson <gbenson@redhat.com> |
3166 | ||
3167 | * btrace.c: Include defs.h. | |
3168 | * common/ptid.c: Include defs.h or server.h as appropriate. | |
3169 | * nat/mips-linux-watch.c: Likewise. | |
3170 | ||
84202f9c TT |
3171 | 2014-07-29 Tom Tromey <tromey@redhat.com> |
3172 | ||
3173 | * target.c (target_is_pushed): Simplify. | |
3174 | ||
2530441c JB |
3175 | 2014-07-29 Joel Brobecker <brobecker@adacore.com> |
3176 | ||
3177 | GDB 7.8 released. | |
3178 | ||
7e09a223 YQ |
3179 | 2014-07-29 Yao Qi <yao@codesourcery.com> |
3180 | ||
3181 | PR gdb/17206 | |
3182 | * infcmd.c (until_next_command): Set step_range_end to PC + 1. | |
3183 | ||
7ebdbe92 DE |
3184 | 2014-07-28 Doug Evans <xdje42@gmail.com> |
3185 | ||
3186 | PR guile/17203 | |
3187 | * guile/scm-param.c (pascm_parameter_defined_p): New function. | |
3188 | (gdbscm_register_parameter_x): Call it. Raise error for pre-existing | |
3189 | parameters. | |
3190 | ||
f347ffc9 WN |
3191 | 2014-07-28 Will Newton <will.newton@linaro.org> |
3192 | ||
3193 | * arm-linux-tdep.c (THUMB2_SET_R7_SIGRETURN1): New define. | |
3194 | (THUMB2_SET_R7_SIGRETURN2): Likewise. | |
3195 | (THUMB2_SET_R7_RT_SIGRETURN1): Likewise. | |
3196 | (THUMB2_SET_R7_RT_SIGRETURN2): Likewise. | |
3197 | (THUMB2_EABI_SYSCALL): Likewise. | |
3198 | (thumb2_eabi_linux_sigreturn_tramp_frame): Create new | |
3199 | struct tramp_frame. | |
3200 | (thumb2_eabi_linux_rt_sigreturn_tramp_frame): Likewise. | |
3201 | (arm_linux_init_abi): Add Thumb2 tramp frame unwinders. | |
3202 | ||
37c5f1f7 DE |
3203 | 2014-07-27 Doug Evans <xdje42@gmail.com> |
3204 | ||
3205 | * guile/scm-param.c (pascm_print_param_smob): Fix output. | |
3206 | ||
0c3abbc7 DE |
3207 | 2014-07-27 Doug Evans <xdje42@gmail.com> |
3208 | ||
3209 | * guile/guile.c (gdbscm_execute_gdb_command): Fix typo in comment. | |
3210 | ||
e76c5d17 DE |
3211 | 2014-07-26 Ludovic Courtès <ludo@gnu.org> |
3212 | Doug Evans <xdje42@gmail.com> | |
3213 | ||
3214 | PR guile/17146 | |
3215 | * acinclude.m4 (GDB_GUILE_PROGRAM_NAMES): New macro. | |
3216 | (GDB_GUILD_TARGET_FLAG, GDB_TRY_GUILD): New macros. | |
3217 | * configure.ac: Try to use guild to compile an scm file, if it fails | |
3218 | then disable guile support. | |
3219 | * configure: Regenerate. | |
3220 | * data-directory/Makefile.in (GUILE_SOURCE_FILES): Renamed from | |
3221 | GUILE_FILE_LIST. | |
3222 | (GUILE_COMPILED_FILES): New variable. | |
3223 | (GUILE_FILES) Update. | |
3224 | (GUILD, GUILD_TARGET_FLAG, GUILD_COMPILE_FLAGS): New variables. | |
3225 | (stamp-guile): Compile scm files. | |
3226 | * guile/guile.c (boot_guile_support): New function. | |
3227 | (standard_throw_args_p): New function. | |
3228 | (print_standard_throw_error, print_throw_error): New functions. | |
3229 | (handle_boot_error): New function. | |
3230 | (initialize_scheme_side): Rewrite to call boot_guile_support. | |
3231 | * guile/lib/gdb/boot.scm: Update %load-compiled-path. Load gdb.go. | |
3232 | * guile/lib/gdb/init.scm (%silence-compiler-warnings%): New function. | |
3233 | ||
186fcde0 DE |
3234 | 2014-07-26 Ludovic Courtès <ludo@gnu.org> |
3235 | Doug Evans <xdje42@gmail.com> | |
3236 | ||
3237 | PR guile/17146 | |
3238 | * data-directory/Makefile.in (GUILE_FILES): Add support.scm. | |
3239 | * guile/lib/gdb/support.scm: New file. | |
3240 | * guile/guile.c (gdbscm_init_module_name): Change to "gdb". | |
3241 | * guile/lib/gdb.scm: Load gdb/init.scm as an include file. | |
3242 | All uses updated. | |
3243 | * guile/lib/gdb/init.scm (SCM_ARG1, SCM_ARG2): Moved to support.scm. | |
3244 | All uses updated. | |
3245 | (%assert-type): Ditto, and renamed to assert-type. | |
3246 | (%exception-print-style): Delete. | |
3247 | ||
4df42755 DE |
3248 | 2014-07-26 Doug Evans <xdje42@gmail.com> |
3249 | ||
3250 | PR build/17105 | |
3251 | * configure.ac: Add AM_CONDITIONALs for HAVE_PYTHON, HAVE_GUILE. | |
3252 | * configure: Regenerate. | |
3253 | * data-directory/Makefile.in (PYTHON_FILE_LIST): Renamed from | |
3254 | PYTHON_FILES. | |
3255 | (PYTHON_FILES): New variable. | |
3256 | (GUILE_FILE_LIST): Renamed from GUILE_FILES. | |
3257 | (GUILE_FILES): New variable. | |
3258 | (stamp-python, install-python, uninstall-python): Handle empty | |
3259 | file list. | |
3260 | (stamp-guile, install-guile, uninstall-guile): Ditto. | |
3261 | ||
ee7333ae DE |
3262 | 2014-07-26 Doug Evans <xdje42@gmail.com> |
3263 | ||
3264 | PR guile/17177 | |
3265 | * guile/lib/gdb.scm (pretty-printers): Export. | |
3266 | (set-pretty-printers!): Export. | |
3267 | * guile/lib/gdb/printing.scm (gdb module): Update. | |
3268 | (prepend-pretty-printer!, append-pretty-printer!): Update. | |
3269 | * guile/scm-pretty-print.c (pretty_printer_list_name): Delete. | |
3270 | (pretty_printer_list_var): Delete. | |
3271 | (pretty_printer_list): New static global. | |
3272 | (gdbscm_pretty_printers): New function. | |
3273 | (gdbscm_set_pretty_printers_x): New function. | |
3274 | (ppscm_find_pretty_printer_from_gdb): Update. | |
3275 | (pretty_printer_functions): Add pretty-printers, set-pretty-printers!. | |
3276 | (gdbscm_initialize_pretty_printers): Update. | |
3277 | ||
74edf516 DE |
3278 | 2014-07-26 Doug Evans <xdje42@gmail.com> |
3279 | ||
3280 | PR 17185 | |
3281 | * configure.ac: Add check for header gc/gc.h. | |
3282 | Add check for function setenv. | |
3283 | * configure: Regenerate. | |
3284 | * config.in: Regenerate. | |
3285 | * guile/guile.c (_initialize_guile): Add workaround for libgc 7.4.0. | |
3286 | ||
d54398a7 MR |
3287 | 2014-07-25 Maciej W. Rozycki <macro@codesourcery.com> |
3288 | ||
3289 | * mips-tdep.c (mips_gdbarch_init): Also check the compressed ISA | |
3290 | variation in gdbarch matching. | |
3291 | ||
ab16fce8 TT |
3292 | 2014-07-25 Tom Tromey <tromey@redhat.com> |
3293 | ||
3294 | * exec.c (using_exec_ops): Remove. | |
3295 | (exec_close_1): Update. Remove extraneous block, reindent. | |
3296 | (add_target_sections): Use target_is_pushed. | |
3297 | ||
88056fbb PA |
3298 | 2014-07-25 Pedro Alves <palves@redhat.com> |
3299 | ||
3300 | * go32-nat.c (go32_create_inferior): Pass 0 to clear_proceed_status. | |
3301 | * monitor.c (monitor_create_inferior): Likewise. | |
3302 | * remote-m32r-sdi.c (m32r_create_inferior): Likewise. | |
3303 | * remote-sim.c (gdbsim_create_inferior): Likewise. | |
3304 | * solib-irix.c (irix_solib_create_inferior_hook): Likewise. | |
3305 | * solib-osf.c (osf_solib_create_inferior_hook): Likewise. | |
3306 | * windows-nat.c (do_initial_windows_stuff): Likewise. | |
3307 | ||
70509625 PA |
3308 | 2014-07-25 Pedro Alves <palves@redhat.com> |
3309 | ||
3310 | * NEWS: Mention signal passing and "signal" command changes. | |
3311 | * gdbthread.h (struct thread_suspend_state) <stop_signal>: Extend | |
3312 | comment. | |
3313 | * breakpoint.c (until_break_command): Adjust clear_proceed_status | |
3314 | call. | |
3315 | * infcall.c (run_inferior_call): Adjust clear_proceed_status call. | |
3316 | * infcmd.c (proceed_thread_callback, continue_1, step_once) | |
3317 | (jump_command): Adjust clear_proceed_status call. | |
3318 | (signal_command): Warn if other thread that are resumed have | |
3319 | signals that will be delivered. Adjust clear_proceed_status call. | |
3320 | (until_next_command, finish_command) | |
3321 | (proceed_after_attach_callback, attach_command_post_wait) | |
3322 | (attach_command): Adjust clear_proceed_status call. | |
3323 | * infrun.c (proceed_after_vfork_done): Likewise. | |
3324 | (proceed_after_attach_callback): Adjust comment. | |
3325 | (clear_proceed_status_thread): Clear stop_signal if not in pass | |
3326 | state. | |
3327 | (clear_proceed_status_callback): Delete. | |
3328 | (clear_proceed_status): New 'step' parameter. Only clear the | |
3329 | proceed status of threads the command being prepared is about to | |
3330 | resume. | |
3331 | (proceed): If passed in an explicit signal, override stop_signal | |
3332 | with it. Don't pass the last stop signal to the thread we're | |
3333 | resuming. | |
3334 | (init_wait_for_inferior): Adjust clear_proceed_status call. | |
3335 | (switch_back_to_stepped_thread): Clear the signal if it should not | |
3336 | be passed. | |
3337 | * infrun.h (clear_proceed_status): New 'step' parameter. | |
3338 | (user_visible_resume_ptid): Add comment. | |
3339 | * linux-nat.c (linux_nat_resume_callback): Don't check whether the | |
3340 | signal is in pass state. | |
3341 | * remote.c (append_pending_thread_resumptions): Likewise. | |
3342 | * mi/mi-main.c (proceed_thread): Adjust clear_proceed_status call. | |
3343 | ||
d8be2939 TT |
3344 | 2014-07-25 Tom Tromey <tromey@redhat.com> |
3345 | ||
3346 | * target.h (target_stopped_data_address) | |
3347 | (target_watchpoint_addr_within_range): Use "->", not ".". Fix | |
3348 | parentheses. | |
3349 | ||
7d0d9d2b PL |
3350 | 2014-07-25 Pierre Langlois <pierre.langlois@embecosm.com> |
3351 | ||
3352 | * avr-tdep.c (avr_address_to_pointer): Clarify the conversion in the | |
3353 | comments. | |
3354 | (avr_pointer_to_address): Likewise. | |
3355 | ||
e9e7f724 TT |
3356 | 2014-07-24 Tom Tromey <tromey@redhat.com> |
3357 | ||
3358 | * monitor.c (compile_pattern): Update. | |
3359 | * target.h (struct target_ops) <to_shortname, to_longname, | |
3360 | to_doc>: Now const. | |
3361 | ||
1947513d TT |
3362 | 2014-07-24 Tom Tromey <tromey@redhat.com> |
3363 | ||
3364 | * cli/cli-decode.c (add_cmd, add_prefix_cmd) | |
3365 | (add_abbrev_prefix_cmd, add_set_or_show_cmd, add_info) | |
3366 | (add_info_alias, add_com): Make "doc" const. | |
3367 | (print_doc_line): Make "str" const. | |
3368 | (delete_cmd): Update. | |
3369 | * cli/cli-decode.h (struct cmd_list_element) <doc>: Now const. | |
3370 | (print_doc_line): Update. | |
3371 | * cli/cli-script.c (document_command): Update. | |
3372 | * command.h (add_cmd, add_prefix_cmd, add_abbrev_prefix_cmd) | |
3373 | (add_com, add_info, add_info_alias): Update. | |
3374 | * guile/scm-cmd.c (cmdscm_destroyer): Update. | |
3375 | * python/py-cmd.c (cmdpy_destroyer): Update. | |
3376 | ||
64e61d29 TT |
3377 | 2014-07-24 Tom Tromey <tromey@redhat.com> |
3378 | ||
3379 | * cli/cli-decode.c (print_help_for_command): Make "prefix" const. | |
3380 | (add_prefix_cmd, add_abbrev_prefix_cmd, apropos_cmd, help_list) | |
3381 | (help_cmd_list): Constify. | |
3382 | (lookup_cmd): Update. | |
3383 | * cli/cli-decode.h (struct cmd_list_element) <prefixname>: Now | |
3384 | const. | |
3385 | (help_cmd_list, apropos_cmd): Update. | |
3386 | * cli/cli-script.c (show_user): Update. | |
3387 | * cli/cli-setshow.c (cmd_show_list): Make "prefix" const. | |
3388 | * cli/cli-setshow.h (cmd_show_list): Update. | |
3389 | * command.h (add_prefix_cmd, add_abbrev_prefix_cmd, help_list) | |
3390 | (cmd_show_list): Update. | |
3391 | * guile/scm-cmd.c (cmdscm_destroyer): Update. | |
3392 | * python/py-cmd.c (cmdpy_destroyer): Update. | |
3393 | ||
429e55ea TT |
3394 | 2014-07-24 Tom Tromey <tromey@redhat.com> |
3395 | ||
3396 | * cli/cli-decode.c (deprecate_cmd): Make "replacement" const. | |
3397 | * cli/cli-decode.h (struct cmd_list_element) <replacement>: Now | |
3398 | const. | |
3399 | * command.h (deprecate_cmd): Update. | |
3400 | * maint.c (maintenance_do_deprecate): Add casts. | |
3401 | ||
64669f3b TT |
3402 | 2014-07-24 Tom Tromey <tromey@redhat.com> |
3403 | ||
3404 | * cli/cli-decode.c (help_cmd): Make parameter "const". | |
3405 | * cli/cli-decode.h (help_cmd): Update. | |
3406 | ||
d3d3328b TT |
3407 | 2014-07-24 Tom Tromey <tromey@redhat.com> |
3408 | ||
3409 | * stack.c (up_silently_base, down_silently_base): Make argument | |
3410 | const. | |
3411 | ||
414842dc TT |
3412 | 2014-07-24 Tom Tromey <tromey@redhat.com> |
3413 | ||
3414 | * solib.c (solib_add): Make "pattern" const. | |
3415 | * solib.h (solib_add): Update. | |
3416 | ||
baa336ce TT |
3417 | 2014-07-24 Tom Tromey <tromey@redhat.com> |
3418 | ||
3419 | * remote.c (remote_serial_open, print_packet, putpkt) | |
3420 | (putpkt_binary): Constify. | |
3421 | * remote.h (putpkt): Update. | |
3422 | ||
5a19e2d0 TT |
3423 | 2014-07-24 Tom Tromey <tromey@redhat.com> |
3424 | ||
3425 | * monitor.c (monitor_open): Make "args" const. | |
3426 | * monitor.h (monitor_open): Update. | |
3427 | ||
fc4baa5e TT |
3428 | 2014-07-24 Tom Tromey <tromey@redhat.com> |
3429 | ||
3430 | * maint.c (match_bfd_flags): Make "string" const. | |
3431 | (print_bfd_section_info): Remove casts. | |
3432 | (print_objfile_section_info): Make "string" const. | |
3433 | ||
0d5f0dbe TT |
3434 | 2014-07-24 Tom Tromey <tromey@redhat.com> |
3435 | ||
3436 | * inf-child.c (inf_child_open_target): Make "arg" const. | |
3437 | * inf-child.h (inf_child_open_target): Update. | |
3438 | ||
41c77899 TT |
3439 | 2014-07-24 Tom Tromey <tromey@redhat.com> |
3440 | ||
3441 | * environ.c (unset_in_environ): Make "var" const. | |
3442 | * environ.h (unset_in_environ): Update. | |
3443 | ||
93db0d79 TT |
3444 | 2014-07-24 Tom Tromey <tromey@redhat.com> |
3445 | ||
3446 | * cli/cli-dump.c (scan_expression_with_cleanup): Return const. | |
3447 | Make "cmd" const. | |
3448 | (scan_filename_with_cleanup): Likewise. | |
3449 | (dump_memory_to_file, dump_value_to_file, restore_binary_file): | |
3450 | Make arguments const. | |
3451 | (restore_command): Update. | |
3452 | ||
36d6eb95 PA |
3453 | 2014-07-24 Pedro Alves <palves@redhat.com> |
3454 | ||
3455 | * tui/tui-io.c (tui_prep_terminal): Handle NULL rl_prompt. | |
3456 | ||
8009206a TT |
3457 | 2014-07-24 Tom Tromey <tromey@redhat.com> |
3458 | Gary Benson <gbenson@redhat.com> | |
3459 | ||
3460 | * nat/linux-ptrace.c (additional_flags): New global. | |
3461 | (linux_test_for_tracesysgood, linux_test_for_tracefork): Use | |
3462 | additional_flags; don't check GDBSERVER. | |
3463 | (linux_ptrace_set_additional_flags): New function. | |
3464 | * nat/linux-ptrace.h (linux_ptrace_set_additional_flags): | |
3465 | Declare. | |
3466 | * linux-nat.c (_initialize_linux_nat): Call | |
3467 | linux_ptrace_set_additional_flags. | |
3468 | ||
a7068b60 TT |
3469 | 2014-07-24 Tom Tromey <tromey@redhat.com> |
3470 | ||
3471 | * make-target-delegates (munge_type, write_debugmethod): New | |
3472 | functions. | |
3473 | (debug_names): New global. | |
3474 | ($TARGET_DEBUG_PRINTER): New global. | |
3475 | (write_function_header): Strip TARGET_DEBUG_PRINTER from the type | |
3476 | name. | |
3477 | Write debug methods. Generate init_debug_target. | |
3478 | * target-debug.h: New file. | |
3479 | * target-delegates.c: Rebuild. | |
3480 | * target.c: Include target-debug.h. | |
3481 | (debug_target): Hoist definition. | |
3482 | (target_kill, target_get_section_table, target_memory_map) | |
3483 | (target_flash_erase, target_flash_done, target_detach) | |
3484 | (target_disconnect, target_wait, target_resume) | |
3485 | (target_pass_signals, target_program_signals, target_follow_fork) | |
3486 | (target_mourn_inferior, target_search_memory) | |
3487 | (target_thread_address_space, target_close) | |
3488 | (target_find_new_threads, target_core_of_thread) | |
3489 | (target_verify_memory, target_insert_mask_watchpoint) | |
3490 | (target_remove_mask_watchpoint): Remove targetdebug code. | |
3491 | (debug_to_post_attach, debug_to_prepare_to_store) | |
3492 | (debug_to_files_info, debug_to_insert_breakpoint) | |
3493 | (debug_to_remove_breakpoint, debug_to_can_use_hw_breakpoint) | |
3494 | (debug_to_region_ok_for_hw_watchpoint) | |
3495 | (debug_to_can_accel_watchpoint_condition) | |
3496 | (debug_to_stopped_by_watchpoint, debug_to_stopped_data_address) | |
3497 | (debug_to_watchpoint_addr_within_range) | |
3498 | (debug_to_insert_hw_breakpoint, debug_to_remove_hw_breakpoint) | |
3499 | (debug_to_insert_watchpoint, debug_to_remove_watchpoint) | |
3500 | (debug_to_terminal_init, debug_to_terminal_inferior) | |
3501 | (debug_to_terminal_ours_for_output, debug_to_terminal_ours) | |
3502 | (debug_to_terminal_save_ours, debug_to_terminal_info) | |
3503 | (debug_to_load, debug_to_post_startup_inferior) | |
3504 | (debug_to_insert_fork_catchpoint) | |
3505 | (debug_to_remove_fork_catchpoint) | |
3506 | (debug_to_insert_vfork_catchpoint) | |
3507 | (debug_to_remove_vfork_catchpoint) | |
3508 | (debug_to_insert_exec_catchpoint) | |
3509 | (debug_to_remove_exec_catchpoint, debug_to_has_exited) | |
3510 | (debug_to_can_run, debug_to_thread_architecture, debug_to_stop) | |
3511 | (debug_to_rcmd, debug_to_pid_to_exec_file): Remove. | |
3512 | (setup_target_debug): Call init_debug_target. | |
3513 | * target.h (TARGET_DEBUG_PRINTER): New macro. | |
3514 | (struct target_ops) <to_resume, to_wait, to_pass_signals, | |
3515 | to_program_signals>: Use TARGET_DEBUG_PRINTER. | |
3516 | ||
2c51604d GB |
3517 | 2014-07-24 Gary Benson <gbenson@redhat.com> |
3518 | ||
3519 | * exceptions.h (throw_vfatal): Renamed to... | |
3520 | (throw_vquit): New declaration. | |
3521 | (throw_quit): Likewise. | |
3522 | * exceptions.c (throw_vfatal): Renamed to... | |
3523 | (throw_vquit): New function. | |
3524 | (throw_quit): Likewise. | |
3525 | (throw_error): Call throw_verror rather than throw_it. | |
3526 | * utils.h (vfatal): Removed. | |
3527 | (fatal): Likewise. | |
3528 | * utils.c (vfatal): Removed. | |
3529 | (fatal): Likewise. | |
3530 | (internal_verror): Replaced call to fatal with call to throw_quit. | |
3531 | (quit): Replaced calls to fatal with calls to throw_quit. | |
3532 | ||
34211963 ME |
3533 | 2014-07-23 Ajit Agarwal <ajitkum@xilinx.com> |
3534 | ||
3535 | * microblaze-tdep.c (microblaze_fetch_instruction): Use of | |
3536 | target_read_code. | |
3537 | ||
a52b4d3e ME |
3538 | 2014-07-23 Chen Gang <gang.chen.5i5j@gmail.com> |
3539 | ||
3540 | * microblaze-tdep.c (microblaze_dwarf2_reg_to_regnum): Check whether | |
3541 | less than zero in conditional expression. | |
3542 | ||
a8bdc56b TT |
3543 | 2014-07-23 Tom Tromey <tromey@redhat.com> |
3544 | ||
3545 | * make-target-delegates ($ARGS_PART): Match trailing close paren. | |
3546 | ($INTRO_PART): Don't match whitespace. | |
3547 | ($METHOD_TRAILER): Move earlier. Remove trailing semicolon and | |
3548 | argument matching. | |
3549 | ($METHOD): Add $METHOD_TRAILER. | |
3550 | (trim): Rewrite. | |
3551 | (scan_target_h): New sub. | |
3552 | Change main loop not to collect state. | |
3553 | * target-delegates.c: Rebuild. | |
3554 | ||
91b52240 GB |
3555 | 2014-07-23 Gary Benson <gbenson@redhat.com> |
3556 | ||
3557 | * cp-support.c (gdb_demangle): Fix build on systems without | |
3558 | sigaltstack. | |
3559 | ||
45326f6f JK |
3560 | 2014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com> |
3561 | ||
3562 | * dwarf2loc.c (value_of_dwarf_reg_entry): Remove setting value address | |
3563 | for reference entry value target data value. | |
3564 | ||
e214cf6c JK |
3565 | 2014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com> |
3566 | ||
3567 | * stack.c (read_frame_arg): Verify value_optimized_out before calling | |
3568 | value_available_contents_eq. | |
3569 | ||
bddbbedd PA |
3570 | 2014-07-22 Pedro Alves <palves@redhat.com> |
3571 | ||
3572 | * value.c (allocate_optimized_out_value): Don't mark value as | |
3573 | non-lazy. | |
3574 | ||
45c71484 JW |
3575 | 2014-07-22 Jiong Wang <jiong.wang@arm.com> |
3576 | ||
3577 | * MAINTAINERS (Write After Approval): Update my email address. | |
3578 | ||
9597b22a DE |
3579 | 2014-07-20 Doug Evans <dje@google.com> |
3580 | ||
3581 | PR server/17147 | |
3582 | * remote.c (putpkt_binary): Add text to error message. | |
3583 | ||
91101fe5 YQ |
3584 | 2014-07-20 Yao Qi <yao@codesourcery.com> |
3585 | ||
3586 | * eval.c: Remove "Chill" from comments. | |
3587 | * gdbtypes.h: Likewise. | |
3588 | * symtab.h: Likewise. | |
3589 | ||
c9402c95 YQ |
3590 | 2014-07-20 Yao Qi <yao@codesourcery.com> |
3591 | ||
3592 | * std-operator.def: Update comments to TERNOP_SLICE. | |
3593 | ||
ae8fddda YQ |
3594 | 2014-07-20 Yao Qi <yao@codesourcery.com> |
3595 | ||
3596 | * std-operator.def: Remove BINOP_RANGE. | |
3597 | * breakpoint.c (watchpoint_exp_is_const): Update. | |
3598 | * expprint.c (dump_subexp_body_standard): Likewise. | |
3599 | * eval.c (init_array_element): Remove dead code. | |
3600 | (evaluate_subexp_standard): Likewise. | |
3601 | ||
9c816640 YQ |
3602 | 2014-07-20 Yao Qi <yao@codesourcery.com> |
3603 | ||
3604 | * std-operator.def: Remove BINOP_IN. | |
3605 | * breakpoint.c (watchpoint_exp_is_const): Update. | |
3606 | * eval.c (evaluate_subexp_standard): Likewise. | |
3607 | * expprint.c (dump_subexp_body_standard): Likewise. | |
3608 | ||
164224e9 ME |
3609 | 2014-07-19 Ajit Agarwal <ajitkum@xilinx.com> |
3610 | ||
3611 | * microblaze-tdep.c (microblaze_register_names): Add | |
3612 | the rshr and rslr register names. | |
3613 | (microblaze_gdbarch_init): Use of tdesc_has_registers. | |
3614 | Use of tdesc_find_feature. Use of tdesc_data_alloc. | |
3615 | Use of tdesc_numbered_register. Use of | |
3616 | microblaze_register_g_packet_guesses. Use of | |
3617 | tdesc_use_registers. Use of set_gdbarch_register_type. | |
3618 | (microblaze_register_g_packet_guesses): New. | |
3619 | * microblaze-tdep.h (microblaze_reg_num): Add | |
3620 | field MICROBLAZE_SLR_REGNUM MICROBLAZE_SHR_REGNUM | |
3621 | MICROBLAZE_NUM_REGS and MICROBLAZE_NUM_CORE_REGS. | |
3622 | (microblaze_frame_cache): Use of MICROBLAZE_NUM_REGS. | |
3623 | * features/microblaze-core.xml: New file. | |
3624 | * features/microblaze-stack-protect.xml: New file. | |
3625 | * features/microblaze-with-stack-protect.c: New file. | |
3626 | * features/microblaze-with-stack-protect.xml: New file. | |
3627 | * features/microblaze.xml: New file. | |
3628 | * features/microblaze.c: New file. | |
3629 | * features/Makefile (microblaze-with-stack-protect): Add | |
3630 | microblaze-with-stack-protect microblaze and microblaze-expedite. | |
3631 | * regformats/microblaze-with-stack-protect.dat: New file. | |
3632 | * regformats/microblaze.dat: New file. | |
3633 | * doc/gdb.texinfo (MicroBlaze Features): Added. | |
3634 | ||
e8b2341c TT |
3635 | 2014-07-18 Tom Tromey <tromey@redhat.com> |
3636 | ||
3637 | * exec.c (exec_ops): Now static. | |
3638 | * exec.h (exec_ops): Don't declare. | |
3639 | ||
44e89118 TT |
3640 | 2014-07-18 Tom Tromey <tromey@redhat.com> |
3641 | ||
3642 | * spu-multiarch.c (spu_region_ok_for_hw_watchpoint): Pass "self" | |
3643 | to find_target_beneath. | |
3644 | * ravenscar-thread.c (ravenscar_prepare_to_store): Pass "ops" to | |
3645 | find_target_beneath. | |
3646 | (ravenscar_mourn_inferior): Pass "self" to find_target_beneath. | |
3647 | ||
b0ed115f TT |
3648 | 2014-07-18 Tom Tromey <tromey@redhat.com> |
3649 | ||
3650 | PR gdb/17130: | |
3651 | * utils.c (quit): Use target_supports_terminal_ours. | |
3652 | * target.h (target_supports_terminal_ours): Declare. | |
3653 | * target.c (target_supports_delete_record): Don't check | |
3654 | to_delete_record against NULL. | |
3655 | (target_supports_terminal_ours): New function. | |
3656 | ||
e75fdfca TT |
3657 | 2014-07-18 Tom Tromey <tromey@redhat.com> |
3658 | ||
3659 | PR gdb/17130: | |
3660 | * spu-multiarch.c (spu_region_ok_for_hw_watchpoint) | |
3661 | (spu_fetch_registers, spu_store_registers, spu_xfer_partial) | |
3662 | (spu_search_memory, spu_mourn_inferior): Simplify delegation. | |
3663 | * linux-thread-db.c (thread_db_pid_to_str): Always delegate. | |
3664 | * windows-nat.c (windows_xfer_partial): Always delegate. | |
3665 | * record-btrace.c (record_btrace_xfer_partial): Simplify | |
3666 | delegation. | |
3667 | (record_btrace_fetch_registers, record_btrace_store_registers) | |
3668 | (record_btrace_prepare_to_store, record_btrace_resume) | |
3669 | (record_btrace_wait, record_btrace_find_new_threads) | |
3670 | (record_btrace_thread_alive): Likewise. | |
3671 | * procfs.c (procfs_xfer_partial): Always delegate. | |
3672 | * corelow.c (core_xfer_partial): Always delegate. | |
3673 | * sol-thread.c (sol_find_new_threads): Simplify delegation. | |
3674 | ||
83814951 TT |
3675 | 2014-07-18 Tom Tromey <tromey@redhat.com> |
3676 | ||
3677 | * exec.c (exec_make_note_section): Move earlier. | |
3678 | ||
b8b8facf DE |
3679 | 2014-07-17 Doug Evans <dje@google.com> |
3680 | ||
74b49205 | 3681 | PR gdb/17170 |
b8b8facf DE |
3682 | * maint.c (count_symtabs_and_blocks): Handle NULL |
3683 | current_program_space. | |
3684 | (report_command_stats): Check global enabled flag in addition to | |
3685 | recorded enabled flag. | |
3686 | (make_command_stats_cleanup): Handle msg_type == 0, startup. | |
3687 | ||
69ff6be5 PA |
3688 | 2014-07-16 Pedro Alves <palves@redhat.com> |
3689 | ||
3690 | * linux-nat.c (kill_callback): Use kill_lwp, not kill. | |
3691 | ||
252db1b5 TT |
3692 | 2014-07-16 Tom Tromey <tromey@redhat.com> |
3693 | ||
3694 | * target.h (struct target_ops) <to_delete_record>: Reformat | |
3695 | comment. | |
3696 | ||
a432721e TT |
3697 | 2014-07-16 Tom Tromey <tromey@redhat.com> |
3698 | ||
3699 | * target-delegates.c: Rebuild. | |
3700 | ||
487d9753 PL |
3701 | 2014-07-15 Pierre Langlois <pierre.langlois@embecosm.com> |
3702 | ||
3703 | * avr-tdep.c (AVR_TYPE_ADDRESS_CLASS_FLASH): New macro. | |
3704 | (AVR_TYPE_INSTANCE_FLAG_ADDRESS_CLASS_FLASH): Likewise. | |
3705 | (avr_address_to_pointer): Check for AVR_TYPE_ADDRESS_CLASS_FLASH. | |
3706 | (avr_pointer_to_address): Likewise. | |
3707 | (avr_address_class_type_flags): New function. | |
3708 | (avr_address_class_type_flags_to_name): Likewise. | |
3709 | (avr_address_class_name_to_type_flags): Likewise. | |
3710 | (avr_gdbarch_init): Set address_class_type_flags, | |
3711 | address_class_type_flags_to_name and | |
3712 | address_class_name_to_type_flags. | |
3713 | ||
57745c90 PA |
3714 | 2014-07-15 Pedro Alves <palves@redhat.com> |
3715 | ||
3716 | * linux-nat.c (kill_callback): Save errno and work with saved | |
3717 | copy. | |
3718 | ||
2d40be18 SM |
3719 | 2014-07-15 Simon Marchi <simon.marchi@ericsson.com> |
3720 | ||
3721 | * expprint.c (dump_subexp_body_standard): Handle OP_STRING. | |
3722 | ||
572f6555 EBM |
3723 | 2014-07-14 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com> |
3724 | ||
3725 | * ppc-linux-nat.c (ppc_linux_can_use_hw_breakpoint): Report no hardware | |
3726 | breakpoint support correctly. | |
3727 | ||
cc1c52ad PA |
3728 | 2014-07-14 Pedro Alves <palves@redhat.com> |
3729 | ||
3730 | * utils.c (prompt_for_continue): Call target_terminal_ours. | |
3731 | ||
1e973570 PA |
3732 | 2014-07-14 Pedro Alves <palves@redhat.com> |
3733 | ||
3734 | * inf-loop.c (inferior_event_handler): Use TRY_CATCH instead of | |
3735 | catch_errors. Don't re-enable stdin or notify observers where, | |
3736 | and rethrow error. | |
3737 | (fetch_inferior_event_wrapper): Delete. | |
3738 | ||
93d6eb10 PA |
3739 | 2014-07-14 Pedro Alves <palves@redhat.com> |
3740 | ||
3741 | PR gdb/17072 | |
3742 | * top.c: Include "inf-loop.h". | |
3743 | (struct gdb_readline_wrapper_cleanup) <target_is_async_orig>: New | |
3744 | field. | |
3745 | (gdb_readline_wrapper_cleanup): Make the target async again, if it | |
3746 | was async before. | |
3747 | (gdb_readline_wrapper): Store whether the target is async, and | |
3748 | make it sync. | |
3749 | ||
0017922d PA |
3750 | 2014-07-14 Pedro Alves <palves@redhat.com> |
3751 | ||
3752 | PR gdb/17072 | |
3753 | * top.c (gdb_readline_wrapper_line): Tweak comment. | |
3754 | (gdb_readline_wrapper_cleanup): If readline is enabled, reinstall | |
3755 | the input handler callback. | |
3756 | ||
94696ad3 PA |
3757 | 2014-07-14 Pedro Alves <palves@redhat.com> |
3758 | ||
3759 | PR gdb/17072 | |
3760 | * main.c: Include event-top.h. | |
3761 | (handle_command_errors): New function. | |
3762 | (catch_command_errors, catch_command_errors_const): Use it. | |
3763 | ||
9d1e69a2 PA |
3764 | 2014-07-14 Pedro Alves <palves@redhat.com> |
3765 | ||
3766 | * exceptions.c (catch_command_errors, catch_command_errors_const): | |
3767 | Moved to main.c. | |
3768 | * exceptions.h (catch_command_errors_ftype) | |
3769 | (catch_command_errors_const_ftype): Moved to main.c. | |
3770 | (catch_command_errors, catch_command_errors_const): Delete | |
3771 | declarations. | |
3772 | * main.c (catch_command_errors_ftype) | |
3773 | (catch_command_errors_const_ftype): Moved here from exceptions.h. | |
3774 | (catch_command_errors, catch_command_errors_const)): Moved here | |
3775 | from exceptions.c and make static. | |
3776 | ||
feefc97b PA |
3777 | 2014-07-14 Pedro Alves <palves@redhat.com> |
3778 | ||
3779 | * exceptions.c (print_any_exception): Delete. | |
3780 | (catch_exceptions_with_msg): Use exception_print instead of | |
3781 | print_any_exception. | |
3782 | (catch_errors): Use exception_fprintf instead of | |
3783 | print_any_exception. | |
3784 | (catch_command_errors, catch_command_errors_const): Use | |
3785 | exception_print instead of print_any_exception. | |
3786 | ||
c933f875 PA |
3787 | 2014-07-14 Pedro Alves <palves@redhat.com> |
3788 | ||
3789 | * infcall.c (run_inferior_call): Set 'sync_execution' while | |
3790 | running the inferior call. | |
3791 | ||
feb6f816 PA |
3792 | 2014-07-14 Pedro Alves <palves@redhat.com> |
3793 | ||
3794 | * value.c (value_contents_equal): Delete function. | |
3795 | * value.h (value_contents_equal): Delete declaration. | |
3796 | ||
d98b7a16 TT |
3797 | 2014-07-14 Tom Tromey <tromey@redhat.com> |
3798 | ||
3799 | PR exp/17106: | |
3800 | * gdbtypes.c (is_dynamic_type_internal): New function, from | |
3801 | is_dynamic_type. | |
3802 | (is_dynamic_type): Rewrite. | |
3803 | (resolve_dynamic_union): Use resolve_dynamic_type_internal. | |
3804 | (resolve_dynamic_struct): Likewise. | |
3805 | (resolve_dynamic_type_internal): New function, from | |
3806 | resolve_dynamic_type. | |
3807 | (resolve_dynamic_type): Rewrite. | |
3808 | ||
548740d6 TT |
3809 | 2014-07-14 Tom Tromey <tromey@redhat.com> |
3810 | ||
3811 | * target.c (target_require_runnable): Also check record_stratum. | |
3812 | Update comment. | |
3813 | ||
808f7ab1 YQ |
3814 | 2014-07-11 Yao Qi <yao@codesourcery.com> |
3815 | ||
3816 | * arm-tdep.c (thumb_analyze_prologue): Break the loop if | |
3817 | thumb_instruction_restores_sp return true. | |
3818 | ||
540314bd YQ |
3819 | 2014-07-11 Yao Qi <yao@codesourcery.com> |
3820 | ||
3821 | * arm-tdep.c (thumb_instruction_restores_sp): New function. | |
3822 | (thumb_in_function_epilogue_p): Call | |
3823 | thumb_instruction_restores_sp. | |
3824 | ||
1db01f22 YQ |
3825 | 2014-07-11 Yao Qi <yao@codesourcery.com> |
3826 | ||
3827 | * arm-tdep.c (thumb_analyze_prologue): Don't match instruction | |
3828 | 'add sp, #imm'. | |
3829 | (thumb_in_function_epilogue_p): Don't match 'sub sp, #imm'. | |
3830 | ||
3116063b GB |
3831 | 2014-07-11 Gary Benson <gbenson@redhat.com> |
3832 | ||
3833 | * amd64-linux-nat.c (gdbcore.h): Remove include. | |
3834 | (regset.h): Likewise. | |
3835 | (nat/linux-btrace.h): Likewise. | |
3836 | (btrace.h): Likewise. | |
3837 | (gdb_assert.h): Likewise. | |
3838 | (string.h): Likewise. | |
3839 | (sys/uio.h): Likewise. | |
3840 | (sys/debugreg.h): Likewise. | |
3841 | (sys/syscall.h): Likewise. | |
3842 | (sys/procfs.h): Likewise. | |
3843 | (sys/user.h): Likewise. | |
3844 | (asm/ptrace.h): Likewise. | |
3845 | (i386-nat.h): Likewise. | |
3846 | * i386-linux-nat.c (i386-nat.h): Likewise. | |
3847 | (regset.h): Likewise. | |
3848 | (target.h): Likewise. | |
3849 | (linux-nat.h): Likewise. | |
3850 | (nat/linux-btrace.h): Likewise. | |
3851 | (btrace.h): Likewise. | |
3852 | (gdb_assert.h): Likewise. | |
3853 | (string.h): Likewise. | |
3854 | (sys/uio.h): Likewise. | |
3855 | (sys/user.h): Likewise. | |
3856 | (sys/procfs.h): Likewise. | |
3857 | (sys/reg.h): Likewise. | |
3858 | (sys/debugreg.h): Likewise. | |
3859 | (ORIG_EAX): Remove definition. | |
3860 | ||
040baaf6 GB |
3861 | 2014-07-11 Gary Benson <gbenson@redhat.com> |
3862 | ||
3863 | * i386-linux-nat.h: New file. | |
3864 | * x86-linux-nat.h: Likewise. | |
3865 | * x86-linux-nat.c: Likewise. | |
3866 | * Makefile.in (HFILES_NO_SRCDIR): Add the above new headers. | |
3867 | * config/i386/linux.mh (NATDEPFILES): Add x86-linux-nat.o. | |
3868 | * config/i386/linux64.mh (NATDEPFILES): Likewise. | |
3869 | * amd64-linux-nat.c (x86-linux-nat.h): New include. | |
3870 | (PTRACE_GETREGSET): Now in x86-linux-nat.h. | |
3871 | (PTRACE_SETREGSET): Likewise. | |
3872 | (arch_lwp_info): Now in x86-linux-nat.c. | |
3873 | (have_ptrace_getregset): Now in x86-linux-nat.h. | |
3874 | (x86_linux_dr_get): Now in x86-linux-nat.c. | |
3875 | (x86_linux_dr_set): Likewise. | |
3876 | (x86_linux_dr_get_addr): Likewise. | |
3877 | (x86_linux_dr_get_control): Likewise. | |
3878 | (x86_linux_dr_get_status): Likewise. | |
3879 | (update_debug_registers_callback): Likewise. | |
3880 | (x86_linux_dr_set_control): Likewise. | |
3881 | (x86_linux_dr_set_addr): Likewise. | |
3882 | (x86_linux_prepare_to_resume): Likewise. | |
3883 | (x86_linux_new_thread): Likewise. | |
3884 | (x86_linux_new_fork): Likewise. | |
3885 | (x86_linux_get_thread_area): Likewise. | |
3886 | (super_post_startup_inferior): Likewise. | |
3887 | (x86_linux_child_post_startup_inferior): Likewise. | |
3888 | (AMD64_LINUX_USER64_CS): Likewise. | |
3889 | (AMD64_LINUX_X32_DS): Likewise. | |
3890 | (x86_linux_read_description): Likewise. | |
3891 | (x86_linux_enable_btrace): Likewise. | |
3892 | (x86_linux_disable_btrace): Likewise. | |
3893 | (x86_linux_teardown_btrace): Likewise. | |
3894 | (x86_linux_read_btrace): Likewise. | |
3895 | (x86_linux_create_target): Likewise. | |
3896 | (x86_linux_add_target): Likewise. | |
3897 | * i386-linux-nat.c (x86-linux-nat.h): New include. | |
3898 | (PTRACE_GETREGSET): Now in x86-linux-nat.h. | |
3899 | (PTRACE_SETREGSET): Likewise. | |
3900 | (arch_lwp_info): Now in x86-linux-nat.c. | |
3901 | (have_ptrace_getregset): Now in x86-linux-nat.h. | |
3902 | (x86_linux_dr_get): Now in x86-linux-nat.c. | |
3903 | (x86_linux_dr_set): Likewise. | |
3904 | (x86_linux_dr_get_addr): Likewise. | |
3905 | (x86_linux_dr_get_control): Likewise. | |
3906 | (x86_linux_dr_get_status): Likewise. | |
3907 | (update_debug_registers_callback): Likewise. | |
3908 | (x86_linux_dr_set_control): Likewise. | |
3909 | (x86_linux_dr_set_addr): Likewise. | |
3910 | (x86_linux_prepare_to_resume): Likewise. | |
3911 | (x86_linux_new_thread): Likewise. | |
3912 | (x86_linux_new_fork): Likewise. | |
3913 | (x86_linux_get_thread_area): Likewise. | |
3914 | (super_post_startup_inferior): Likewise. | |
3915 | (x86_linux_child_post_startup_inferior): Likewise. | |
3916 | (AMD64_LINUX_USER64_CS): Likewise. | |
3917 | (AMD64_LINUX_X32_DS): Likewise. | |
3918 | (x86_linux_read_description): Likewise. | |
3919 | (x86_linux_enable_btrace): Likewise. | |
3920 | (x86_linux_disable_btrace): Likewise. | |
3921 | (x86_linux_teardown_btrace): Likewise. | |
3922 | (x86_linux_read_btrace): Likewise. | |
3923 | (x86_linux_create_target): Likewise. | |
3924 | (x86_linux_add_target): Likewise. | |
3925 | ||
1aa7e42c GB |
3926 | 2014-07-11 Gary Benson <gbenson@redhat.com> |
3927 | ||
3928 | * amd64-linux-nat.c: Comment and whitespace changes. | |
3929 | * i386-linux-nat.c: Comment and whitespace changes. | |
3930 | ||
c1e246a0 GB |
3931 | 2014-07-11 Gary Benson <gbenson@redhat.com> |
3932 | ||
3933 | * amd64-linux-nat.c (x86_linux_create_target): New function. | |
3934 | (x86_linux_add_target): Likewise. | |
3935 | (_initialize_amd64_linux_nat): Delegate to the above new functions. | |
3936 | * i386-linux-nat.c (x86_linux_create_target): New function. | |
3937 | (x86_linux_add_target): Likewise. | |
3938 | (_initialize_i386_linux_nat): Delegate to the above new functions. | |
3939 | ||
8c420b8d GB |
3940 | 2014-07-11 Gary Benson <gbenson@redhat.com> |
3941 | ||
3942 | * amd64-linux-nat.c (x86_linux_get_thread_area): New function. | |
3943 | (ps_get_thread_area): Delegate to the above in 32-bit mode. | |
3944 | * i386-linux-nat.c (x86_linux_get_thread_area): New function. | |
3945 | (ps_get_thread_area): Delegate to the above. | |
3946 | ||
cb1da100 GB |
3947 | 2014-07-11 Gary Benson <gbenson@redhat.com> |
3948 | ||
3949 | * amd64-linux-nat.c (amd64_linux_read_description): Renamed to | |
3950 | x86_linux_read_description. All uses updated. amd64-specific | |
3951 | code conditionalized. Conditionalized i386-specific code added. | |
3952 | Redundant cast removed. | |
3953 | * i386-linux-nat.c (i386_linux_read_description): Renamed to | |
3954 | x86_linux_read_description. All uses updated. i386-specific | |
3955 | code conditionalized. Conditionalized amd64-specific code added. | |
3956 | One sizeof replaced with the actual type it is describing. | |
3957 | ||
2acf3cd0 GB |
3958 | 2014-07-11 Gary Benson <gbenson@redhat.com> |
3959 | ||
3960 | * amd64-linux-nat.c (amd64_linux_dr_get): Renamed to | |
3961 | x86_linux_dr_get. All uses updated. | |
3962 | (amd64_linux_dr_set): Renamed to | |
3963 | x86_linux_dr_set. All uses updated. | |
3964 | (amd64_linux_dr_get_addr): Renamed to | |
3965 | x86_linux_dr_get_addr. All uses updated. | |
3966 | (amd64_linux_dr_get_control): Renamed to | |
3967 | x86_linux_dr_get_control. All uses updated. | |
3968 | (amd64_linux_dr_get_status): Renamed to | |
3969 | x86_linux_dr_get_status. All uses updated. | |
3970 | (amd64_linux_dr_set_control): Renamed to | |
3971 | x86_linux_dr_set_control. All uses updated. | |
3972 | (amd64_linux_dr_set_addr): Renamed to | |
3973 | x86_linux_dr_set_addr. All uses updated. | |
3974 | (amd64_linux_prepare_to_resume): Renamed to | |
3975 | x86_linux_prepare_to_resume. All uses updated. | |
3976 | (amd64_linux_new_thread): Renamed to | |
3977 | x86_linux_new_thread. All uses updated. | |
3978 | (amd64_linux_new_fork): Renamed to | |
3979 | x86_linux_new_fork. All uses updated. | |
3980 | (amd64_linux_child_post_startup_inferior): Renamed to | |
3981 | x86_linux_child_post_startup_inferior. All uses updated. | |
3982 | (amd64_linux_enable_btrace): Renamed to | |
3983 | x86_linux_enable_btrace. All uses updated. | |
3984 | (amd64_linux_disable_btrace): Renamed to | |
3985 | x86_linux_disable_btrace. All uses updated. | |
3986 | (amd64_linux_teardown_btrace): Renamed to | |
3987 | x86_linux_teardown_btrace. All uses updated. | |
3988 | (amd64_linux_read_btrace): Renamed to | |
3989 | x86_linux_read_btrace. All uses updated. | |
3990 | * i386-linux-nat.c (i386_linux_dr_get): Renamed to | |
3991 | x86_linux_dr_get. All uses updated. | |
3992 | (i386_linux_dr_set): Renamed to | |
3993 | x86_linux_dr_set. All uses updated. | |
3994 | (i386_linux_dr_get_addr): Renamed to | |
3995 | x86_linux_dr_get_addr. All uses updated. | |
3996 | (i386_linux_dr_get_control): Renamed to | |
3997 | x86_linux_dr_get_control. All uses updated. | |
3998 | (i386_linux_dr_get_status): Renamed to | |
3999 | x86_linux_dr_get_status. All uses updated. | |
4000 | (i386_linux_dr_set_control): Renamed to | |
4001 | x86_linux_dr_set_control. All uses updated. | |
4002 | (i386_linux_dr_set_addr): Renamed to | |
4003 | x86_linux_dr_set_addr. All uses updated. | |
4004 | (i386_linux_prepare_to_resume): Renamed to | |
4005 | x86_linux_prepare_to_resume. All uses updated. | |
4006 | (i386_linux_new_thread): Renamed to | |
4007 | x86_linux_new_thread. All uses updated. | |
4008 | (i386_linux_new_fork): Renamed to | |
4009 | x86_linux_new_fork. All uses updated. | |
4010 | (i386_linux_child_post_startup_inferior): Renamed to | |
4011 | x86_linux_child_post_startup_inferior. All uses updated. | |
4012 | (i386_linux_enable_btrace): Renamed to | |
4013 | x86_linux_enable_btrace. All uses updated. | |
4014 | (i386_linux_disable_btrace): Renamed to | |
4015 | x86_linux_disable_btrace. All uses updated. | |
4016 | (i386_linux_teardown_btrace): Renamed to | |
4017 | x86_linux_teardown_btrace. All uses updated. | |
4018 | (i386_linux_read_btrace): Renamed to | |
4019 | x86_linux_read_btrace. All uses updated. | |
4020 | ||
b9c1d481 AS |
4021 | 2014-07-11 Adrian Sendroiu <adrian.sendroiu@freescale.com> |
4022 | ||
4023 | * remote.c (extended_remote_post_attach): New function. | |
4024 | (init_extended_remote_ops): Install it as to_post_attach method. | |
4025 | ||
7180e04a PA |
4026 | 2014-07-09 Pedro Alves <palves@redhat.com> |
4027 | ||
4028 | * infcmd.c (attach_command_post_wait): Don't call | |
4029 | target_terminal_inferior here. | |
4030 | (attach_command): Call it here instead. | |
4031 | ||
9a9a7608 AB |
4032 | 2014-07-09 Andrew Burgess <andrew.burgess@embecosm.com> |
4033 | ||
4034 | * ada-varobj.c (ada_varobj_ops): Fill in is_path_expr_parent | |
4035 | field. | |
4036 | * c-varobj.c (c_is_path_expr_parent): New function, moved core | |
4037 | from varobj.c, with additional checks. | |
4038 | (c_varobj_ops): Fill in is_path_expr_parent field. | |
4039 | (cplus_varobj_ops): Fill in is_path_expr_parent field. | |
4040 | * jv-varobj.c (java_varobj_ops): Fill in is_path_expr_parent | |
4041 | field. | |
4042 | * varobj.c (is_path_expr_parent): Call is_path_expr_parent varobj | |
4043 | ops method. | |
4044 | (varobj_default_is_path_expr_parent): New function. | |
4045 | * varobj.h (lang_varobj_ops): Add is_path_expr_parent field. | |
4046 | (varobj_default_is_path_expr_parent): Declare new function. | |
4047 | ||
1f267ae3 MM |
4048 | 2014-07-08 Markus Metzger <markus.t.metzger@intel.com> |
4049 | ||
4050 | * infcmd.c (finish_backward): Turn internal error into normal error. | |
4051 | ||
b2ee242b PA |
4052 | 2014-07-07 Pedro Alves <palves@redhat.com> |
4053 | ||
8a869bca | 4054 | PR gdb/17096 |
b2ee242b PA |
4055 | * remote.c (async_handle_remote_sigint) |
4056 | (async_handle_remote_sigint_twice): Call | |
4057 | gdb_call_async_signal_handler instead of | |
4058 | mark_async_signal_handler. | |
4059 | ||
38e229b2 TT |
4060 | 2014-07-07 Tom Tromey <tromey@redhat.com> |
4061 | ||
4062 | * target-delegates.c: Rebuild. | |
4063 | * target.c (target_info_record): Remove. | |
4064 | * record.c (info_record_command): Unconditionally call | |
4065 | to_info_record. | |
4066 | * target.h (struct target_ops) <to_info_record>: Use | |
4067 | TARGET_DEFAULT_IGNORE. | |
4068 | (target_info_record): Remove. | |
4069 | ||
f0f9ff95 TT |
4070 | 2014-07-07 Tom Tromey <tromey@redhat.com> |
4071 | ||
4072 | * target.h (struct target_ops) <to_get_thread_local_address>: Use | |
4073 | TARGET_DEFAULT_NORETURN. | |
4074 | * target.c (generic_tls_error): New function. | |
4075 | (target_translate_tls_address): Don't search target stack. | |
4076 | * target-delegates.c: Rebuild. | |
4077 | * ppc-linux-tdep.c (ppc_linux_spe_context): Don't search target | |
4078 | stack. | |
4079 | * linux-thread-db.c (thread_db_get_thread_local_address): | |
4080 | Unconditionally call beneath target. | |
4081 | ||
4a5be5ee MK |
4082 | 2014-07-03 Marc Khouzam <marc.khouzam@ericsson.com> |
4083 | ||
4084 | * cli/cli-logging.c (pop_output_files): Assign targerr to | |
4085 | gdb_stdtargerr. | |
4086 | ||
92c3b204 AB |
4087 | 2014-07-03 Andrew Burgess <andrew.burgess@embecosm.com> |
4088 | ||
4089 | * MAINTAINERS (Write After Approval): Update my email address. | |
4090 | ||
9b11e3a7 GB |
4091 | 2014-07-02 Gary Benson <gbenson@redhat.com> |
4092 | ||
4093 | * proc-service.c (ps_xfer_memory): Update comment. | |
4094 | (ps_pstop): Remove unused function. | |
4095 | (ps_pcontinue): Likewise. | |
4096 | (ps_lstop): Likewise. | |
4097 | (ps_lcontinue): Likewise. | |
4098 | (ps_lgetxregsize): Likewise. | |
4099 | (ps_lgetxregs): Likewise. | |
4100 | (ps_lsetxregs): Likewise. | |
4101 | (ps_plog): Likewise. | |
4102 | (ps_ptread): Likewise. | |
4103 | (ps_ptwrite): Likewise. | |
4104 | ||
cf363f18 MW |
4105 | 2014-07-01 Mark Wielaard <mjw@redhat.com> |
4106 | ||
4107 | * dwarf2read.c (add_array_cv_type): New function. | |
4108 | (read_tag_const_type): Call add_array_cv_type for TYPE_CODE_ARRAY. | |
4109 | (read_tag_volatile_type): Likewise. | |
4110 | ||
82ae6c8d TT |
4111 | 2014-07-01 Tom Tromey <tromey@redhat.com> |
4112 | ||
4113 | * breakpoint.c (add_catch_command): Use cmd_sfunc_ftype. | |
4114 | * breakpoint.h (add_catch_command): Use cmd_sfunc_ftype. | |
4115 | * cli/cli-decode.c (cmd_cfunc_eq, add_cmd, add_prefix_cmd) | |
4116 | (add_abbrev_prefix_cmd, add_info, add_com): Use cmd_cfunc_ftype. | |
4117 | * command.h (cmd_cfunc_ftype): Move earlier. | |
4118 | (add_cmd, add_prefix_cmd, add_abbrev_prefix_cmd, cmd_cfunc_eq) | |
4119 | (add_com, add_info): Use cmd_cfunc_ftype. | |
4120 | ||
96142726 TT |
4121 | 2014-06-30 Tom Tromey <tromey@redhat.com> |
4122 | ||
4123 | * symtab.c (operator_chars): Make parameters and return type | |
4124 | const. | |
4125 | (file_matches): Make "files" const. | |
4126 | (struct search_symbols_data) <files>: Now const. | |
4127 | (search_symbols): Make "regexp" and "files" parameters const. | |
4128 | Update. | |
4129 | (symtab_symbol_info): Remove cast. | |
4130 | (rbreak_command): Update. | |
4131 | * symtab.h (search_symbols): Update. | |
4132 | ||
b67a2c6f YQ |
4133 | 2014-06-27 Yao Qi <yao@codesourcery.com> |
4134 | ||
4135 | * breakpoint.c (check_longjmp_breakpoint_for_call_dummy): | |
4136 | Change parameter type to 'struct thread_info *'. Caller | |
4137 | updated. | |
4138 | * breakpoint.h (check_longjmp_breakpoint_for_call_dummy): | |
4139 | Update declaration. | |
4140 | * dummy-frame.c (struct dummy_frame_id): New. | |
4141 | (dummy_frame_id_eq): New function. | |
4142 | (struct dummy_frame) <id>: Change its type to 'struct | |
4143 | dummy_frame_id'. | |
4144 | (dummy_frame_push): Add parameter ptid and save it in | |
4145 | dummy_frame_id. | |
4146 | (pop_dummy_frame_bpt): Use ptid of dummy_frame instead of | |
4147 | inferior_ptid. | |
4148 | (pop_dummy_frame): Assert that the ptid of dummy_frame equals | |
4149 | to inferior_ptid. | |
4150 | (lookup_dummy_frame): Change parameter type to 'struct | |
4151 | dummy_frame_id *'. Callers updated. Call dummy_frame_id_eq | |
4152 | instead of frame_id_eq. | |
4153 | (dummy_frame_pop): Add parameter ptid. Callers updated. | |
4154 | Update comments. Compose dummy_frame_id and pass it to | |
4155 | lookup_dummy_frame. | |
4156 | (dummy_frame_discard): Add parameter ptid. | |
4157 | (dummy_frame_sniffer): Compose dummy_frame_id and call | |
4158 | dummy_frame_id_eq instead of frame_id_eq. | |
4159 | (fprint_dummy_frames): Print ptid. | |
4160 | * dummy-frame.h: Remove comments. | |
4161 | (dummy_frame_push): Add ptid in declaration. | |
4162 | (dummy_frame_pop, dummy_frame_discard): Likewise. | |
4163 | ||
5b10184c TT |
4164 | 2014-06-26 Tom Tromey <tromey@redhat.com> |
4165 | ||
4166 | * cli/cli-cmds.c (error_no_arg): Make "why" const. | |
4167 | * command.h (error_no_arg): Update. | |
4168 | ||
06900326 TT |
4169 | 2014-06-26 Tom Tromey <tromey@redhat.com> |
4170 | ||
4171 | * cli/cli-setshow.c (do_set_command): Make "arg" const. | |
4172 | (do_show_command): Make "arg" const. | |
4173 | * cli/cli-setshow.h (do_set_command, do_show_command): Update. | |
4174 | ||
c2bcbb1d TT |
4175 | 2014-06-26 Tom Tromey <tromey@redhat.com> |
4176 | ||
4177 | * record-full.c (record_full_get_bookmark): Make "args" const. | |
4178 | (record_full_goto_bookmark): Make "raw_bookmark" const. | |
4179 | * record.c (record_goto): New function. | |
4180 | (cmd_record_goto): Use it. Now static. | |
4181 | * record.h (record_goto): Declare. | |
4182 | (cmd_record_goto): Remove declaration. | |
4183 | * target-delegates.c: Rebuild. | |
4184 | * target.h (struct target_ops) <to_get_bookmark, | |
4185 | to_goto_bookmark>: Make parameter const. | |
4186 | ||
9cbe5fff TT |
4187 | 2014-06-26 Tom Tromey <tromey@redhat.com> |
4188 | ||
4189 | * defs.h (generic_load): Update. | |
4190 | * m32r-rom.c (m32r_load_gen): Make "filename" const. | |
4191 | * monitor.c (monitor_load): Make "args" const. | |
4192 | * remote-m32r-sdi.c (m32r_load): Make "args" const. | |
4193 | * remote-mips.c (mips_load_srec, pmon_load_fast): Make "args" | |
4194 | const. | |
4195 | (mips_load): Make "file" const. | |
4196 | * remote-sim.c (gdbsim_load): Make "args" const. | |
4197 | * remote.c (remote_load): Make "name" const. | |
4198 | * symfile.c (generic_load): Make "args" const. | |
4199 | * target-delegates.c: Rebuild. | |
4200 | * target.c (target_load): Make "arg" const. | |
4201 | (debug_to_load): Make "args" const. | |
4202 | * target.h (struct target_ops) <to_load>: Make parameter const. | |
4203 | (target_load): Update. | |
4204 | ||
34a68019 TT |
4205 | 2014-06-26 Tom Tromey <tromey@redhat.com> |
4206 | ||
4207 | PR symtab/16902: | |
4208 | * dwarf2read.c (fixup_go_packaging, dwarf2_compute_name) | |
4209 | (dwarf2_physname, read_partial_die) | |
4210 | (guess_partial_die_structure_name, fixup_partial_die) | |
4211 | (guess_full_die_structure_name, anonymous_struct_prefix) | |
4212 | (dwarf2_name): Use per-BFD obstack. | |
4213 | ||
efc889c1 YQ |
4214 | 2014-06-26 Yao Qi <yao@codesourcery.com> |
4215 | ||
4216 | * dummy-frame.c (dummy_frame_sniffer): Move local variables | |
4217 | dummyframe and this_id into inner block below. | |
4218 | ||
4395285e YQ |
4219 | 2014-06-26 Yao Qi <yao@codesourcery.com> |
4220 | ||
4221 | * infrun.c (_initialize_infrun): Replace "signal_program[0]" | |
4222 | with "signal_pass[0]" in the initialization of signal_pass. | |
4223 | ||
aef92902 MM |
4224 | 2014-06-25 Markus Metzger <markus.t.metzger@intel.com> |
4225 | ||
4226 | * record-btrace.c (record_btrace_generating_corefile) | |
4227 | (record_btrace_prepare_to_generate_core) | |
4228 | (record_btrace_done_generating_core): New. | |
4229 | (record_btrace_xfer_partial, record_btrace_fetch_registers) | |
4230 | (record_btrace_store_registers, record_btrace_prepare_to_store): | |
4231 | Forward request when generating a core file. | |
4232 | (record_btrace_open): Set record_btrace_generating_corefile to zero. | |
4233 | (init_record_btrace_ops): Set to_prepare_to_generate_core and | |
4234 | to_done_generating_core. | |
4235 | ||
5fff78c4 MM |
4236 | 2014-06-25 Markus Metzger <markus.t.metzger@intel.com> |
4237 | ||
4238 | * target.h (target_ops) <to_prepare_to_generate_core> | |
4239 | <to_done_generating_core>: New. | |
4240 | (target_prepare_to_generate_core, target_done_generating_core): New. | |
4241 | * target.c (target_prepare_to_generate_core) | |
4242 | (target_done_generating_core): New. | |
4243 | * target-delegates.c: Regenerate. | |
4244 | * gcore.c: (write_gcore_file): Rename to ... | |
4245 | (write_gcore_file_1): ...this. | |
4246 | (write_gcore_file): Call target_prepare_to_generate_core | |
4247 | and target_done_generating_core. | |
4248 | ||
1d1f1ccb MM |
4249 | 2014-06-25 Markus Metzger <markus.t.metzger@intel.com> |
4250 | ||
4251 | * fbsd-nat.c (fbsd_make_corefile_notes): Remove make_cleanup call. | |
4252 | * gcore.c (write_gcore_file): Free memory returned from | |
4253 | make_corefile_notes. | |
4254 | * linux-tdep.c (linux_make_corefile_notes): Remove make_cleanup call. | |
4255 | * procfs.c (procfs_make_note_section): Remove make_cleanup call. | |
4256 | ||
3343ef86 YQ |
4257 | 2014-06-24 Yao Qi <yao@codesourcery.com> |
4258 | ||
4259 | * arm-linux-tdep.c (arm_linux_skip_trampoline_code): New. | |
4260 | (arm_linux_init_abi): Set skip_trampoline_code with | |
4261 | gdbarch_skip_trampoline_code instead of | |
4262 | find_solib_trampoline_target. | |
4263 | ||
18d18ac8 YQ |
4264 | 2014-06-24 Yao Qi <yao@codesourcery.com> |
4265 | ||
4266 | * arm-tdep.c (arm_stub_unwind_sniffer): Return 1 if | |
4267 | arm_skip_bx_reg returns non-zero. | |
4268 | ||
80d8d390 YQ |
4269 | 2014-06-24 Yao Qi <yao@codesourcery.com> |
4270 | ||
4271 | * arm-tdep.c (arm_skip_bx_reg): New function. | |
4272 | (arm_skip_stub): Call arm_skip_bx_reg. | |
4273 | ||
6a18a01c DB |
4274 | 2014-06-23 Don Breazeal <donb@codesourcery.com> |
4275 | ||
4276 | * MAINTAINERS: Add myself as write-after-approval maintainer. | |
4277 | ||
8e9db26e PA |
4278 | 2014-06-23 Pedro Alves <palves@redhat.com> |
4279 | ||
4280 | * amd64-linux-nat.c (amd64_linux_prepare_to_resume): Clear | |
4281 | DR_CONTROL before setting DR0..DR3. | |
4282 | * i386-linux-nat.c (i386_linux_prepare_to_resume): Likewise. | |
4283 | * nat/i386-dregs.c (i386_remove_aligned_watchpoint): Clear all | |
4284 | bits of DR_CONTROL related to the debug register slot being | |
4285 | disabled. If all slots are vacant, clear local slowdown as well, | |
4286 | and assert DR_CONTROL is 0. | |
4287 | ||
70afc5b7 SC |
4288 | 2014-06-23 Siva Chandra Reddy <sivachandra@google.com> |
4289 | ||
4290 | * python/lib/gdb/command/xmethods.py | |
4291 | (get_method_matchers_in_loci): Lookup xmethod matchers in the | |
4292 | current progspace only if the string "progspace" matches LOCUS_RE. | |
4293 | ||
840ed64d JK |
4294 | 2014-06-20 Jan Kratochvil <jan.kratochvil@redhat.com> |
4295 | ||
4296 | Fix --with-system-readline with readline-6.3 patch 5. | |
4297 | * tui/tui-io.c (tui_old_rl_getc_function, tui_old_rl_redisplay_function) | |
4298 | (tui_old_rl_prep_terminal, tui_old_rl_deprep_terminal): Use rl_*_t | |
4299 | types. | |
4300 | ||
26f2dc30 TT |
4301 | 2014-06-20 Tom Tromey <tromey@redhat.com> |
4302 | ||
4303 | * dwarf2read.c (dw2_get_real_path): Use correct type in | |
4304 | OBSTACK_CALLOC. | |
4305 | * gdb_obstack.h (OBSTACK_ZALLOC, OBSTACK_CALLOC): Cast result. | |
4306 | ||
125f8a3d GB |
4307 | 2014-06-20 Gary Benson <gbenson@redhat.com> |
4308 | ||
4309 | * common/gdb_thread_db.h: Moved to nat. All includes updated. | |
4310 | * common/glibc_thread_db.h: Likewise. | |
4311 | * common/i386-cpuid.h: Likewise. | |
4312 | * common/i386-gcc-cpuid.h: Likewise. | |
4313 | * common/linux-btrace.h: Likewise. | |
4314 | * common/linux-osdata.h: Likewise. | |
4315 | * common/linux-procfs.h: Likewise. | |
4316 | * common/linux-ptrace.h: Likewise. | |
4317 | * common/mips-linux-watch.h: Likewise. | |
4318 | * common/linux-btrace.c: Moved to nat. | |
4319 | * common/linux-osdata.c: Likewise. | |
4320 | * common/linux-procfs.c: Likewise. | |
4321 | * common/linux-ptrace.c: Likewise. | |
4322 | * common/mips-linux-watch.c: Likewise. | |
4323 | * nat/gdb_thread_db.h: Moved from common. | |
4324 | * nat/glibc_thread_db.h: Likewise. | |
4325 | * nat/i386-cpuid.h: Likewise. | |
4326 | * nat/i386-gcc-cpuid.h: Likewise. | |
4327 | * nat/linux-btrace.c: Likewise. | |
4328 | * nat/linux-btrace.h: Likewise. | |
4329 | * nat/linux-osdata.c: Likewise. | |
4330 | * nat/linux-osdata.h: Likewise. | |
4331 | * nat/linux-procfs.c: Likewise. | |
4332 | * nat/linux-procfs.h: Likewise. | |
4333 | * nat/linux-ptrace.c: Likewise. | |
4334 | * nat/linux-ptrace.h: Likewise. | |
4335 | * nat/mips-linux-watch.c: Likewise. | |
4336 | * nat/mips-linux-watch.h: Likewise. | |
4337 | * Makefile.in (HFILES_NO_SRCDIR): Reflect new locations. | |
4338 | (object file files): Reordered. | |
4339 | * gdb/copyright.py (EXCLUDE_LIST): Reflect new location | |
4340 | of glibc_thread_db.h. | |
4341 | ||
42995dbd GB |
4342 | 2014-06-20 Gary Benson <gbenson@redhat.com> |
4343 | ||
4344 | * i386-nat.h (debug_hw_points): Moved to nat/i386-dregs.c. | |
4345 | (i386_dr_low_type): Moved to nat/i386-dregs.h. | |
4346 | (i386_dr_low): Likewise. | |
4347 | (i386_dr_low_can_set_addr): Moved to nat/i386-dregs.c. | |
4348 | (i386_dr_low_set_addr): Likewise. | |
4349 | (i386_dr_low_get_addr): Likewise. | |
4350 | (i386_dr_low_can_set_control): Likewise. | |
4351 | (i386_dr_low_set_control): Likewise. | |
4352 | (i386_dr_low_get_control): Likewise. | |
4353 | (i386_dr_low_get_status): Likewise. | |
4354 | (i386_get_debug_register_length): Likewise. | |
4355 | * nat/i386-dregs.h (i386_dr_low_type): Moved from i386-nat.h. | |
4356 | (i386_dr_low): Likewise. | |
4357 | * nat/i386-dregs.c (i386-low.h): Remove include. | |
4358 | (i386-nat.h): Likewise. | |
4359 | (nat/i386-dregs.h): New include. | |
4360 | (i386_dr_low_can_set_addr): Moved from i386-nat.h. | |
4361 | (i386_dr_low_set_addr): Likewise. | |
4362 | (i386_dr_low_get_addr): Likewise. | |
4363 | (i386_dr_low_can_set_control): Likewise. | |
4364 | (i386_dr_low_set_control): Likewise. | |
4365 | (i386_dr_low_get_control): Likewise. | |
4366 | (i386_dr_low_get_status): Likewise. | |
4367 | (i386_get_debug_register_length): Likewise. | |
4368 | (debug_hw_points): Likewise. | |
4369 | ||
3ed9baed IB |
4370 | 2014-06-19 Iain Buclaw <ibuclaw@gdcproject.org> |
4371 | ||
4372 | * Makefile.in (SFILES): Add d-exp.y. | |
4373 | (YYFILES): Add d-exp.c. | |
4374 | (YYOBJ): Add d-exp.o. | |
4375 | (local-maintainer-clean): Delete d-exp.c. | |
4376 | * d-exp.y: New file. | |
4377 | * d-lang.h (d_parse): New declaration. | |
4378 | (d_error): New declaration. | |
4379 | * d-lang.c (d_op_print_tab): Add entry for BINOP_CONCAT and BINOP_EXP. | |
4380 | Set BINOP_EQUAL and BINOP_NOTEQUAL to same precedence as other | |
4381 | PREC_ORDER operators. | |
4382 | (d_language_defn): Use d_parse, d_error instead of c_parse, c_error. | |
4383 | ||
78c164b0 YQ |
4384 | 2014-06-19 Yao Qi <yao@codesourcery.com> |
4385 | ||
4386 | * gdbthread.h (any_running): Remove the declaration. | |
4387 | * thread.c (any_running): Remove. | |
4388 | ||
f6e29b6e YQ |
4389 | 2014-06-19 Yao Qi <yao@codesourcery.com> |
4390 | ||
4391 | * gdbthread.h (struct thread_info) <state>: Change its type to | |
4392 | 'enum thread_state'. Update comments. | |
4393 | ||
034f788c PA |
4394 | 2014-06-19 Pedro Alves <palves@redhat.com> |
4395 | ||
4396 | * gdbthread.h (ALL_THREADS): Delete. | |
4397 | (ALL_NON_EXITED_THREADS): New macro. | |
4398 | * btrace.c (btrace_free_objfile): Use ALL_NON_EXITED_THREADS | |
4399 | instead of ALL_THREADS. | |
4400 | * infrun.c (find_thread_needs_step_over) | |
4401 | (switch_back_to_stepped_thread): Use ALL_NON_EXITED_THREADS | |
4402 | instead of ALL_THREADS. | |
4403 | * record-btrace.c (record_btrace_open) | |
4404 | (record_btrace_stop_recording, record_btrace_close) | |
4405 | (record_btrace_is_replaying, record_btrace_resume) | |
4406 | (record_btrace_find_thread_to_move, record_btrace_wait): Likewise. | |
4407 | * remote.c (append_pending_thread_resumptions): Likewise. | |
4408 | * thread.c (thread_apply_all_command): Likewise. | |
4409 | ||
46e33252 GB |
4410 | 2014-06-19 Gary Benson <gbenson@redhat.com> |
4411 | ||
4412 | * i386-nat.c (i386_stopped_by_watchpoint): | |
4413 | Use i386_dr_stopped_by_watchpoint. | |
4414 | (i386_insert_hw_breakpoint): Use i386_dr_insert_watchpoint. | |
4415 | (i386_remove_hw_breakpoint): Use i386_dr_remove_watchpoint. | |
4416 | ||
3a8ee006 GB |
4417 | 2014-06-19 Gary Benson <gbenson@redhat.com> |
4418 | ||
4419 | * nat/i386-dregs.c: New file. | |
4420 | * Makefile.in (i386-dregs.o): New rule. | |
4421 | * config/i386/cygwin.mh (NATDEPFILES): Add i386-dregs.o. | |
4422 | * config/i386/cygwin64.mh (NATDEPFILES): Likewise. | |
4423 | * config/i386/darwin.mh (NATDEPFILES): Likewise. | |
4424 | * config/i386/fbsd.mh (NATDEPFILES): Likewise. | |
4425 | * config/i386/fbsd64.mh (NATDEPFILES): Likewise. | |
4426 | * config/i386/go32.mh (NATDEPFILES): Likewise. | |
4427 | * config/i386/linux.mh (NATDEPFILES): Likewise. | |
4428 | * config/i386/linux64.mh (NATDEPFILES): Likewise. | |
4429 | * config/i386/mingw.mh (NATDEPFILES): Likewise. | |
4430 | * config/i386/mingw64.mh (NATDEPFILES): Likewise. | |
4431 | * i386-nat.h (debug_hw_points): New declaration. | |
4432 | * i386-nat.c (breakpoint.h): Remove include. | |
4433 | (command.h): Likewise. | |
4434 | (target.h): Likewise. | |
4435 | (gdb_assert.h): Likewise. | |
4436 | (debug_hw_points): Made nonstatic. | |
4437 | (debug_printf): Now in i386-dregs.c. | |
4438 | (TARGET_HAS_DR_LEN_8): Likewise. | |
4439 | (DR_CONTROL_SHIFT): Likewise. | |
4440 | (DR_CONTROL_SIZE): Likewise. | |
4441 | (DR_RW_EXECUTE): Likewise. | |
4442 | (DR_RW_WRITE): Likewise. | |
4443 | (DR_RW_READ): Likewise. | |
4444 | (DR_RW_IORW): Likewise. | |
4445 | (DR_LEN_1): Likewise. | |
4446 | (DR_LEN_2): Likewise. | |
4447 | (DR_LEN_4): Likewise. | |
4448 | (DR_LEN_8): Likewise. | |
4449 | (DR_LOCAL_ENABLE_SHIFT): Likewise. | |
4450 | (DR_GLOBAL_ENABLE_SHIFT): Likewise. | |
4451 | (DR_ENABLE_SIZE): Likewise. | |
4452 | (DR_LOCAL_SLOWDOWN): Likewise. | |
4453 | (DR_GLOBAL_SLOWDOWN): Likewise. | |
4454 | (DR_CONTROL_RESERVED): Likewise. | |
4455 | (I386_DR_CONTROL_MASK): Likewise. | |
4456 | (I386_DR_VACANT): Likewise. | |
4457 | (I386_DR_LOCAL_ENABLE): Likewise. | |
4458 | (I386_DR_GLOBAL_ENABLE): Likewise. | |
4459 | (I386_DR_DISABLE): Likewise. | |
4460 | (I386_DR_SET_RW_LEN): Likewise. | |
4461 | (I386_DR_GET_RW_LEN): Likewise. | |
4462 | (I386_DR_WATCH_HIT): Likewise. | |
4463 | (i386_wp_op_t): Likewise. | |
4464 | (i386_show_dr): Likewise. | |
4465 | (i386_length_and_rw_bits): Likewise. | |
4466 | (i386_insert_aligned_watchpoint): Likewise. | |
4467 | (i386_remove_aligned_watchpoint): Likewise. | |
4468 | (i386_handle_nonaligned_watchpoint): Likewise. | |
4469 | (i386_update_inferior_debug_regs): Likewise. | |
4470 | (i386_insert_watchpoint): Use i386_dr_insert_watchpoint. | |
4471 | (i386_remove_watchpoint): Use i386_dr_remove_watchpoint. | |
4472 | (i386_region_ok_for_watchpoint): | |
4473 | Use i386_dr_region_ok_for_watchpoint. | |
4474 | (i386_stopped_data_address): Use i386_dr_stopped_data_address. | |
4475 | ||
322a8e06 GB |
4476 | 2014-06-19 Gary Benson <gbenson@redhat.com> |
4477 | ||
4478 | * i386-nat.c (i386_insert_hw_breakpoint): Use | |
4479 | i386_insert_watchpoint. | |
4480 | (i386_remove_hw_breakpoint): Use i386_remove_watchpoint. | |
4481 | ||
8f26655c GB |
4482 | 2014-06-19 Gary Benson <gbenson@redhat.com> |
4483 | ||
4484 | * i386-nat.c (i386_dr_show): Renamed to | |
4485 | i386_show_dr and made static. All uses updated. | |
4486 | (i386_dr_length_and_rw_bits): Renamed to | |
4487 | i386_length_and_rw_bits and made static. | |
4488 | All uses updated. | |
4489 | (i386_dr_insert_aligned_watchpoint): Renamed to | |
4490 | i386_insert_aligned_watchpoint and made static. | |
4491 | All uses updated. | |
4492 | (i386_dr_remove_aligned_watchpoint): Renamed to | |
4493 | i386_remove_aligned_watchpoint and made static. | |
4494 | All uses updated. | |
4495 | (i386_dr_update_inferior_debug_regs): Renamed to | |
4496 | i386_update_inferior_debug_regs and made static. | |
4497 | All uses updated. | |
4498 | * nat/i386-dregs.h (i386_dr_show): Removed. | |
4499 | (i386_dr_length_and_rw_bits): Likewise. | |
4500 | (i386_dr_insert_aligned_watchpoint): Likewise. | |
4501 | (i386_dr_remove_aligned_watchpoint): Likewise. | |
4502 | (i386_dr_update_inferior_debug_regs): Likewise. | |
4503 | ||
992c7d70 GB |
4504 | 2014-06-19 Gary Benson <gbenson@redhat.com> |
4505 | ||
4506 | * configure.ac [AC_CHECK_FUNCS] <sigaltstack>: New check. | |
4507 | * configure: Regenerate. | |
4508 | * config.in: Likewise. | |
4509 | * main.c (signal.h): New include. | |
4510 | (setup_alternate_signal_stack): New function. | |
4511 | (captured_main): Call the above. | |
4512 | * cp-support.c (signal.h): New include. | |
4513 | (catch_demangler_crashes): New flag. | |
4514 | (SIGJMP_BUF): New define. | |
4515 | (SIGSETJMP): Likewise. | |
4516 | (SIGLONGJMP): Likewise. | |
4517 | (gdb_demangle_jmp_buf): New static global. | |
4518 | (gdb_demangle_attempt_core_dump): Likewise. | |
4519 | (gdb_demangle_signal_handler): New function. | |
4520 | (gdb_demangle): If catch_demangler_crashes is set, install the | |
4521 | above signal handler before calling bfd_demangle, and restore | |
4522 | the original signal handler afterwards. Display the offending | |
4523 | symbol and call demangler_warning the first time a segmentation | |
4524 | fault is caught. | |
4525 | (_initialize_cp_support): New maint set/show command. | |
4526 | ||
eae7090b GB |
4527 | 2014-06-19 Gary Benson <gbenson@redhat.com> |
4528 | ||
4529 | * utils.h (resource_limit_kind): New enum. | |
4530 | (can_dump_core): New declaration. | |
4531 | (warn_cant_dump_core): Likewise. | |
4532 | (dump_core): Likewise. | |
4533 | * utils.c (dump_core): Made nonstatic. Added new | |
4534 | parameter "limit_kind". | |
4535 | (can_dump_core): Made nonstatic. Moved printing code to... | |
4536 | (warn_cant_dump_core): New function. | |
4537 | (can_dump_core_warn): Likewise. | |
4538 | (internal_vproblem): Replace calls to can_dump_core with | |
4539 | calls to can_dump_core_warn. Supply new argument to each. | |
4540 | ||
57fcfb1b GB |
4541 | 2014-06-19 Gary Benson <gbenson@redhat.com> |
4542 | ||
4543 | * utils.h (demangler_vwarning): New declaration. | |
4544 | (demangler_warning): Likewise. | |
4545 | * utils.c (struct internal_problem) | |
4546 | <user_settable_should_quit>: New field. | |
4547 | <user_settable_should_dump_core>: Likewise | |
4548 | (internal_error_problem): Add values for above new fields. | |
4549 | (internal_warning_problem): Likewise. | |
4550 | (demangler_warning_problem): New static global. | |
4551 | (demangler_vwarning): New function. | |
4552 | (demangler_warning): Likewise. | |
4553 | (add_internal_problem_command): Selectively add commands. | |
4554 | (_initialize_utils): New internal problem command. | |
4555 | * maint.c (maintenance_demangler_warning): New function. | |
4556 | (_initialize_maint_cmds): New command. | |
4557 | ||
17a40b44 TT |
4558 | 2014-06-18 Tom Tromey <tromey@redhat.com> |
4559 | ||
4560 | * f-valprint.c (info_common_command_for_block): Update. | |
4561 | * symtab.h (struct general_symbol_info) <common_block>: Now | |
4562 | const. | |
4563 | ||
346d1dfe TT |
4564 | 2014-06-18 Tom Tromey <tromey@redhat.com> |
4565 | ||
4566 | * symtab.h (struct symtab) <blockvector>: Now const. | |
4567 | * ada-lang.c (ada_add_global_exceptions): Update. | |
4568 | * buildsym.c (augment_type_symtab): Update. | |
4569 | * dwarf2read.c (dw2_lookup_symbol): Update. | |
4570 | * jit.c (finalize_symtab): Update. | |
4571 | * jv-lang.c (add_class_symtab_symbol): Update. | |
4572 | * mdebugread.c (parse_symbol, add_block, sort_blocks, new_symtab): | |
4573 | Update. | |
4574 | * objfiles.c (objfile_relocate1): Update. | |
4575 | * psymtab.c (lookup_symbol_aux_psymtabs) | |
4576 | (maintenance_check_psymtabs): Update. | |
4577 | * python/py-symtab.c (stpy_global_block, stpy_static_block): | |
4578 | Update. | |
4579 | * spu-tdep.c (spu_catch_start): Update. | |
4580 | * symmisc.c (dump_symtab_1): Update. | |
4581 | * symtab.c (lookup_global_symbol_from_objfile) | |
4582 | (lookup_symbol_aux_objfile, lookup_symbol_aux_quick) | |
4583 | (basic_lookup_transparent_type_quick) | |
4584 | (basic_lookup_transparent_type, find_pc_sect_symtab) | |
4585 | (find_pc_sect_line, search_symbols): Update. | |
4586 | * block.c (find_block_in_blockvector): Make "bl" const. | |
4587 | (blockvector_for_pc_sect, blockvector_for_pc): Make return type | |
4588 | const. | |
4589 | (blockvector_contains_pc): Make "bv" const. | |
4590 | (block_for_pc_sect): Update. | |
4591 | * block.h (blockvector_for_pc, blockvector_for_pc_sect) | |
4592 | (blockvector_contains_pc): Update. | |
4593 | * breakpoint.c (resolve_sal_pc): Update. | |
4594 | * inline-frame.c (block_starting_point_at): Update. | |
4595 | ||
1834676b TT |
4596 | 2014-06-18 Tom Tromey <tromey@redhat.com> |
4597 | ||
4598 | * completer.c (complete_line): Make "line_buffer" const. | |
4599 | * completer.h (complete_line): Update. | |
4600 | ||
ac1a991b TT |
4601 | 2014-06-18 Tom Tromey <tromey@redhat.com> |
4602 | ||
4603 | * symtab.c (add_macro_name): Remove unneeded cast. | |
4604 | ||
5bc98e52 TT |
4605 | 2014-06-18 Tom Tromey <tromey@redhat.com> |
4606 | ||
4607 | * cli/cli-setshow.h (parse_cli_boolean_value): Update. | |
4608 | * cli/cli-setshow.c (parse_cli_boolean_value): Make "arg" const. | |
4609 | ||
8236def8 TT |
4610 | 2014-06-18 Tom Tromey <tromey@redhat.com> |
4611 | ||
4612 | * probe.c (info_probes_for_ops): Make "arg" const. | |
4613 | * probe.h (info_probes_for_ops): Update. | |
4614 | ||
3977b71f TT |
4615 | 2014-06-18 Tom Tromey <tromey@redhat.com> |
4616 | ||
4617 | * varobj.c (varobj_create): Update. | |
4618 | * valops.c (value_of_this): Update. | |
4619 | * tracepoint.c (add_local_symbols, scope_info): Update. | |
4620 | * symtab.h (struct general_symbol_info) <block>: Now const. | |
4621 | * symtab.c (skip_prologue_sal) | |
4622 | (default_make_symbol_completion_list_break_on) | |
4623 | (skip_prologue_using_sal): Update. | |
4624 | * stack.h (iterate_over_block_locals) | |
4625 | (iterate_over_block_local_vars): Update. | |
4626 | * stack.c (print_frame_args): Update. | |
4627 | (iterate_over_block_locals, iterate_over_block_local_vars): Make | |
4628 | parameter const. | |
4629 | (get_selected_block): Make return type const. | |
4630 | * python/py-frame.c (frapy_block): Update. | |
4631 | * python/py-block.c (gdbpy_block_for_pc): Update. | |
4632 | * p-exp.y (%union) <bval>: Now const. | |
4633 | * mi/mi-cmd-stack.c (list_args_or_locals): Update. | |
4634 | * mdebugread.c (mylookup_symbol, parse_procedure): Update. | |
4635 | * m2-exp.y (%union) <bval>: Now const. | |
4636 | * linespec.c (get_current_search_block): Make return type const. | |
4637 | (create_sals_line_offset, find_label_symbols): Update. | |
4638 | * inline-frame.c (inline_frame_sniffer, skip_inline_frames): | |
4639 | Update. | |
4640 | (block_starting_point_at): Make "block" const. | |
4641 | * infrun.c (insert_exception_resume_breakpoint): Make "b" const. | |
4642 | (check_exception_resume): Update. | |
4643 | * guile/scm-frame.c (gdbscm_frame_block): Update. | |
4644 | * guile/scm-block.c (gdbscm_lookup_block): Update. | |
4645 | * frame.h (get_frame_block): Update. | |
4646 | (get_selected_block): Make return type const. | |
4647 | * frame.c (frame_id_inner): Update. | |
4648 | * f-valprint.c (info_common_command_for_block) | |
4649 | (info_common_command): Update. | |
4650 | * dwarf2loc.c (dwarf2_find_location_expression) | |
4651 | (dwarf_expr_frame_base, dwarf2_compile_expr_to_ax) | |
4652 | (locexpr_describe_location_piece): Update. | |
4653 | * c-exp.y (%union) <bval>: Now const. | |
4654 | * breakpoint.c (resolve_sal_pc): Update. | |
4655 | * blockframe.c (get_frame_block):Make return type const. | |
4656 | (get_pc_function_start, get_frame_function, find_pc_sect_function) | |
4657 | (block_innermost_frame): Update. | |
4658 | * block.h (blockvector_for_pc, blockvector_for_pc_sect) | |
4659 | (block_for_pc, block_for_pc_sect): Update. | |
4660 | * block.c (blockvector_for_pc_sect, blockvector_for_pc): Make | |
4661 | 'pblock' const. | |
4662 | (block_for_pc_sect, block_for_pc): Make return type const. | |
4663 | * ax-gdb.c (gen_expr): Update. | |
4664 | * alpha-mdebug-tdep.c (find_proc_desc): Update. | |
4665 | * ada-lang.c (ada_read_renaming_var_value): Make 'block' const. | |
4666 | (ada_make_symbol_completion_list, ada_add_exceptions_from_frame) | |
4667 | (ada_read_var_value): Update. | |
4668 | * ada-exp.y (struct name_info) <block>: Now const. | |
4669 | (%union): Likewise. | |
4670 | (block_lookup): Constify. | |
4671 | ||
b9228891 GB |
4672 | 2014-06-18 Gary Benson <gbenson@redhat.com> |
4673 | ||
4674 | * nat/i386-dregs.h: New file. | |
4675 | * Makefile.in (HFILES_NO_SRCDIR): Add the above. | |
4676 | * i386-nat.h (i386-dregs.h): New include. | |
4677 | (DR_FIRSTADDR): Now in i386-dregs.h. | |
4678 | (DR_LASTADDR): Likewise. | |
4679 | (DR_NADDR): Likewise. | |
4680 | (DR_STATUS): Likewise. | |
4681 | (DR_CONTROL): Likewise. | |
4682 | (i386_debug_reg_state): Likewise. | |
4683 | * i386-nat.c (ALL_DEBUG_REGISTERS): Likewise. | |
4684 | ||
a1aa2221 LM |
4685 | 2014-06-18 Don Breazeal <donb@codesourcery.com> |
4686 | ||
4687 | * breakpoint.c (set_longjmp_breakpoint): Call | |
4688 | momentary_breakpoint_from_master with additional argument. | |
4689 | (set_longjmp_breakpoint_for_call_dummy): Call | |
4690 | momentary_breakpoint_from_master with additional argument. | |
4691 | (set_std_terminate_breakpoint): Call | |
4692 | momentary_breakpoint_from_master with additional argument. | |
4693 | (momentary_breakpoint_from_master): Add argument to function | |
4694 | definition and use it to initialize structure member flag. | |
74228e77 | 4695 | (clone_momentary_breakpoint): Call |
a1aa2221 LM |
4696 | momentary_breakpoint_from_master with additional argument. |
4697 | * infrun.c (follow_inferior_reset_breakpoints): Clear structure | |
4698 | member flags set in momentary_breakpoint_from_master. | |
4699 | ||
4be83cc2 GB |
4700 | 2014-06-18 Gary Benson <gbenson@redhat.com> |
4701 | ||
4702 | * i386-nat.c (i386_show_dr): Renamed to | |
4703 | i386_dr_show and made nonstatic. All uses updated. | |
4704 | (i386_length_and_rw_bits): Renamed to | |
4705 | i386_dr_length_and_rw_bits and made nonstatic. | |
4706 | All uses updated. | |
4707 | (i386_insert_aligned_watchpoint): Renamed to | |
4708 | i386_dr_insert_aligned_watchpoint and made nonstatic. | |
4709 | All uses updated. | |
4710 | (i386_remove_aligned_watchpoint): Renamed to | |
4711 | i386_dr_remove_aligned_watchpoint and made nonstatic. | |
4712 | All uses updated. | |
4713 | (i386_update_inferior_debug_regs): Renamed to | |
4714 | i386_dr_update_inferior_debug_regs and made nonstatic. | |
4715 | All uses updated. | |
4716 | ||
131aa0d4 GB |
4717 | 2014-06-18 Gary Benson <gbenson@redhat.com> |
4718 | ||
4719 | * i386-nat.c (i386_dr_low_can_set_addr): New macro. | |
4720 | (i386_dr_low_can_set_control): Likewise. | |
4721 | (i386_dr_low_set_addr): Likewise. | |
4722 | (i386_dr_low_set_control): Likewise. | |
4723 | (i386_dr_low_get_addr): Likewise. | |
4724 | (i386_dr_low_get_status): Likewise. | |
4725 | (i386_dr_low_get_control): Likewise. | |
4726 | (i386_insert_aligned_watchpoint): Use new macros. | |
4727 | (i386_update_inferior_debug_regs): Likewise. | |
4728 | (i386_stopped_data_address): Likewise. | |
4729 | ||
d9305f7f GB |
4730 | 2014-06-18 Gary Benson <gbenson@redhat.com> |
4731 | ||
4732 | * i386-nat.c (i386_update_inferior_debug_regs) <state>: | |
4733 | New parameter. All uses updated. | |
4734 | ||
ea008da4 GB |
4735 | 2014-06-18 Gary Benson <gbenson@redhat.com> |
4736 | ||
4737 | * i386-nat.c (maint_show_dr): Renamed to debug_hw_points. | |
4738 | All uses updated. | |
4739 | ||
1b6d4134 GB |
4740 | 2014-06-18 Gary Benson <gbenson@redhat.com> |
4741 | ||
4742 | * i386-nat.c (debug_printf): New macro. | |
4743 | (i386_get_debug_register_length): Likewise. | |
4744 | (TARGET_HAS_DR_LEN_8): Use above macro. | |
4745 | (i386_show_dr): Use debug_printf instead of puts_unfiltered | |
4746 | and printf_unfiltered. Use phex to format values. | |
4747 | ||
9b4550ef GB |
4748 | 2014-06-18 Gary Benson <gbenson@redhat.com> |
4749 | ||
4750 | * i386-nat.c (i386_handle_nonaligned_watchpoint) <size_try_array>: | |
4751 | Make const. | |
4752 | ||
6e62758f GB |
4753 | 2014-06-18 Gary Benson <gbenson@redhat.com> |
4754 | ||
4755 | * i386-nat.c: Comment changes. | |
4756 | ||
51c79e94 GB |
4757 | 2014-06-18 Gary Benson <gbenson@redhat.com> |
4758 | ||
4759 | * i386-nat.c (I386_DR_WATCH_MASK): Remove macro. | |
4760 | ||
3e11889a GB |
4761 | 2014-06-18 Gary Benson <gbenson@redhat.com> |
4762 | ||
4763 | * i386-nat.c (i386_length_and_rw_bits): Remove prototype. | |
4764 | (i386_insert_aligned_watchpoint): Likewise. | |
4765 | (i386_remove_aligned_watchpoint): Likewise. | |
4766 | (i386_handle_nonaligned_watchpoint): Likewise. | |
4767 | ||
fc6e2f03 GB |
4768 | 2014-06-18 Gary Benson <gbenson@redhat.com> |
4769 | ||
4770 | * i386-nat.c: Whitespace changes. | |
4771 | ||
2afe7d50 SB |
4772 | 2014-06-17 Samuel Bronson <naesten@gmail.com> |
4773 | ||
4774 | * MAINTAINERS: Update Roland McGrath's email address. | |
4775 | Thanks to Sergio Durigan Junior for pointing out that he left | |
6a83deea | 4776 | Red Hat a while ago, and giving me a current address. |
2afe7d50 | 4777 | |
3bca49ee TT |
4778 | 2014-06-17 Tom Tromey <tromey@redhat.com> |
4779 | ||
4780 | * utils.h (savestring): Remove declaration. | |
4781 | ||
6e366df1 TT |
4782 | 2014-06-17 Tom Tromey <tromey@redhat.com> |
4783 | ||
4784 | * remote.c (extended_remote_run): Use make_cleanup_freeargv. | |
4785 | ||
6be47f0c KS |
4786 | 2014-06-16 Keith Seitz <keiths@redhat.com> |
4787 | ||
4788 | PR mi/15863 | |
4789 | * mi/mi-cmd-var.c (mi_cmd_var_update_iter): Do not attempt | |
4790 | to update the varobj if inferior_ptid is null_ptid. | |
4791 | ||
7bc112c1 TT |
4792 | 2014-06-16 Tom Tromey <tromey@redhat.com> |
4793 | ||
4794 | * target.h (struct target_ops) <to_info_proc>: Make parameter | |
4795 | const. | |
4796 | (target_info_proc): Update. | |
4797 | * target.c (target_info_proc): Make "args" const. | |
4798 | * procfs.c (procfs_info_proc): Update. | |
4799 | * linux-tdep.c (linux_info_proc): Update. | |
4800 | (linux_core_info_proc_mappings): Make "args" const. | |
4801 | (linux_core_info_proc): Update. | |
4802 | * gdbarch.sh (info_proc, core_info_proc): Make "args" const. | |
4803 | * gdbarch.c: Rebuild. | |
4804 | * gdbarch.h: Rebuild. | |
4805 | * corelow.c (core_info_proc): Update. | |
4806 | ||
fee354ee TT |
4807 | 2014-06-16 Tom Tromey <tromey@redhat.com> |
4808 | ||
4809 | * target.h (struct target_ops) <to_disconnect>: Make parameter | |
4810 | const. | |
4811 | (target_disconnect): Update. | |
4812 | * target.c (target_disconnect): Make "args" const. | |
4813 | * target-delegates.c: Rebuild. | |
4814 | * remote.c (remote_disconnect): Update. | |
4815 | * record.h (record_disconnect): Update. | |
4816 | * record.c (record_disconnect): Update. | |
4817 | * inf-child.c (inf_child_disconnect): Update. | |
4818 | ||
a30bf1f1 TT |
4819 | 2014-06-16 Tom Tromey <tromey@redhat.com> |
4820 | ||
4821 | * target.h (struct target_ops) <to_rcmd>: Make "command" const. | |
4822 | * target.c (debug_to_rcmd, default_rcmd): Update. | |
4823 | * target-delegates.c: Rebuild. | |
4824 | * remote.c (remote_rcmd): Update. | |
4825 | * monitor.c (monitor_rcmd): Update. | |
4826 | ||
d03de421 PA |
4827 | 2014-06-16 Pedro Alves <palves@redhat.com> |
4828 | ||
4829 | * breakpoint.c (insert_bp_location, remove_breakpoint_1): Adjust. | |
4830 | (disable_breakpoints_in_freed_objfile): Skip objfiles that don't | |
4831 | have OBJF_SHARED set. | |
4832 | * objfiles.c (userloaded_objfile_contains_address_p): Rename to... | |
4833 | (shared_objfile_contains_address_p): ... this. Check OBJF_SHARED | |
4834 | instead of OBJF_USERLOADED. | |
4835 | * objfiles.h (OBJF_SHARED): Update comment. | |
4836 | (userloaded_objfile_contains_address_p): Rename to ... | |
4837 | (shared_objfile_contains_address_p): ... this, and update | |
4838 | comments. | |
4839 | * symfile.c (add_symbol_file_command): Also set OBJF_SHARED in the | |
4840 | new objfile. | |
4841 | (remove_symbol_file_command): Skip objfiles that don't have | |
4842 | OBJF_SHARED set. | |
4843 | ||
99f4262f TT |
4844 | 2014-06-16 Tom Tromey <tromey@redhat.com> |
4845 | ||
4846 | * minsyms.h (prim_record_minimal_symbol) | |
4847 | (prim_record_minimal_symbol_and_info): Update comments. | |
4848 | ||
97d66cc6 EZ |
4849 | 2014-06-14 Eli Zaretskii <eliz@gnu.org> |
4850 | ||
4851 | * top.c (print_gdb_configuration) [HAVE_GUILE]: Print --with-guile | |
4852 | or --without-guile, according to how GDB was built. | |
4853 | ||
635c7e8a TT |
4854 | 2014-06-13 Tom Tromey <tromey@redhat.com> |
4855 | ||
4856 | * cp-support.c (maint_cplus_command): Pass all_commands, not -1, | |
4857 | to help_list. | |
4858 | * guile/guile.c (info_guile_command): Pass all_commands, not -1, | |
4859 | to help_list. | |
4860 | * tui/tui-win.c (tui_command): Pass all_commands, not -1, to | |
4861 | help_list. | |
4862 | * tui/tui-regs.c (tui_reg_command): Pass all_commands, not -1, to | |
4863 | help_list.Pass all_commands, not -1, to help_list. | |
4864 | * cli/cli-dump.c (dump_command, append_command) | |
4865 | (srec_dump_command, ihex_dump_command, tekhex_dump_command) | |
4866 | (binary_dump_command, binary_append_command): Pass all_commands, | |
4867 | not -1, to help_list. | |
4868 | * cli/cli-cmds.c (info_command, set_debug): Pass all_commands, not | |
4869 | -1, to help_list. | |
4870 | * valprint.c (set_print, set_print_raw): Pass all_commands, not | |
4871 | -1, to help_list. | |
4872 | * typeprint.c (set_print_type): Pass all_commands, not -1, to | |
4873 | help_list. | |
4874 | * top.c (set_history): Pass all_commands, not -1, to help_list. | |
4875 | * target-descriptions.c (set_tdesc_cmd, unset_tdesc_cmd): Pass | |
4876 | all_commands, not -1, to help_list. | |
4877 | * symfile.c (overlay_command): Pass all_commands, not -1, to | |
4878 | help_list. | |
4879 | * spu-tdep.c (info_spu_command): Pass all_commands, not -1, to | |
4880 | help_list. | |
4881 | * serial.c (serial_set_cmd): Pass all_commands, not -1, to | |
4882 | help_list. | |
4883 | * ser-tcp.c (set_tcp_cmd, show_tcp_cmd): Pass all_commands, not | |
4884 | -1, to help_list. | |
4885 | * remote.c (remote_command, set_remote_cmd): Pass all_commands, | |
4886 | not -1, to help_list. | |
4887 | * ravenscar-thread.c (set_ravenscar_command): Pass all_commands, | |
4888 | not -1, to help_list. | |
4889 | * maint.c (maintenance_command, maintenance_info_command) | |
4890 | (maintenance_print_command, maintenance_set_cmd): Pass | |
4891 | all_commands, not -1, to help_list. | |
4892 | * macrocmd.c (macro_command): Pass all_commands, not -1, to | |
4893 | help_list. | |
4894 | * language.c (set_check): Pass all_commands, not -1, to help_list. | |
4895 | * infcmd.c (unset_command): Pass all_commands, not -1, to | |
4896 | help_list. | |
4897 | * frame.c (set_backtrace_cmd): Pass all_commands, not -1, to | |
4898 | help_list. | |
4899 | * dwarf2read.c (set_dwarf2_cmd): Pass all_commands, not -1, to | |
4900 | help_list. | |
4901 | * dcache.c (set_dcache_command): Pass all_commands, not -1, to | |
4902 | help_list. | |
4903 | * breakpoint.c (save_command): Pass all_commands, not -1, to | |
4904 | help_list. | |
4905 | * ada-lang.c (maint_set_ada_cmd, set_ada_command): Pass | |
4906 | all_commands, not -1, to help_list. | |
4907 | ||
b94ade42 PL |
4908 | 2014-06-12 Pierre Langlois <pierre.langlois@embecosm.com> |
4909 | ||
4910 | * regcache.c (struct register_to_invalidate): New structure. | |
4911 | (do_register_invalidate, make_cleanup_regcache_invalidate): New | |
4912 | functions. | |
4913 | (regcache_raw_write): Call make_cleanup_regcache_invalidate. | |
4914 | ||
31f628ae YQ |
4915 | 2014-06-12 Yao Qi <yao@codesourcery.com> |
4916 | ||
4917 | * varobj.c (varobj_get_num_children): Call | |
4918 | varobj_is_dynamic_p. | |
4919 | (varobj_list_children): Likewise. | |
4920 | (varobj_update): Likewise. Update comments. | |
4921 | ||
cde5ef40 YQ |
4922 | 2014-06-12 Yao Qi <yao@codesourcery.com> |
4923 | ||
4924 | * varobj.c (varobj_pretty_printed_p): Rename to ... | |
4925 | (varobj_is_dynamic_p): ... this. New function. | |
4926 | * varobj.h (varobj_pretty_printed_p): Remove declaration. | |
4927 | (varobj_is_dynamic_p): Declare. | |
4928 | * mi/mi-cmd-var.c (print_varobj): All callers updated. | |
4929 | (mi_print_value_p, varobj_update_one): Likewise. | |
4930 | ||
576ea091 YQ |
4931 | 2014-06-12 Pedro Alves <pedro@codesourcery.com> |
4932 | Yao Qi <yao@codesourcery.com> | |
4933 | ||
4934 | * varobj.c: Remove "#if HAVE_PYTHON" and "#endif". | |
4935 | (varobj_get_iterator): Wrap up code for pretty-printer by | |
4936 | "#if HAVE_PYTHON" and "#endif". | |
4937 | (update_dynamic_varobj_children): Likewise. | |
4938 | ||
827f100c YQ |
4939 | 2014-06-12 Pedro Alves <pedro@codesourcery.com> |
4940 | Yao Qi <yao@codesourcery.com> | |
4941 | ||
4942 | * python/py-varobj.c (py_varobj_iter_next): Return NULL if | |
4943 | gdb_python_initialized is false. Move some code from varobj.c. | |
4944 | * varobj-iter.h (struct varobj_item): Moved from varobj.c. | |
4945 | * varobj.c: Move "varobj-iter.h" inclusion earlier. | |
4946 | (struct varobj_item): Moved to varobj-iter.h". | |
4947 | (varobj_clear_saved_item): New function. | |
4948 | (update_dynamic_varobj_children): Move python-related code to | |
4949 | py-varobj.c. | |
4950 | (free_variable): Call varobj_clear_saved_item and | |
4951 | varobj_iter_delete. | |
4952 | ||
e5250216 YQ |
4953 | 2014-06-12 Pedro Alves <pedro@codesourcery.com> |
4954 | Yao Qi <yao@codesourcery.com> | |
4955 | ||
4956 | * Makefile.in (SUBDIR_PYTHON_OBS): Add "py-varobj.o". | |
4957 | (SUBDIR_PYTHON_SRCS): Add "python/py-varobj.c". | |
4958 | (HFILES_NO_SRCDIR): Add "varobj-iter.h". | |
4959 | (py-varobj.o): New rule. | |
4960 | * python/py-varobj.c: New file. | |
4961 | * python/python-internal.h (py_varobj_get_iterator): Declare. | |
4962 | * varobj-iter.h: New file. | |
4963 | * varobj.c: Include "varobj-iter.h" | |
4964 | (struct varobj) <child_iter>: Change its type from "PyObject *" | |
4965 | to "struct varobj_iter *". | |
4966 | <saved_item>: Likewise. | |
4967 | [HAVE_PYTHON] (varobj_ensure_python_env): Make it extern. | |
4968 | [HAVE_PYTHON] (varobj_get_iterator): New function. | |
4969 | (update_dynamic_varobj_children) [HAVE_PYTHON]: Move | |
4970 | python-specific code to python/py-varobj.c. | |
4971 | (install_visualizer): Call varobj_iter_delete instead of | |
4972 | Py_XDECREF. | |
4973 | * varobj.h (varobj_ensure_python_env): Declare. | |
4974 | ||
5a2e0d6e YQ |
4975 | 2014-06-12 Yao Qi <yao@codesourcery.com> |
4976 | ||
4977 | * varobj.c (struct varobj_item): New structure. | |
4978 | (create_child_with_value): Update declaration. | |
4979 | (varobj_add_child): Replace arguments 'name' and 'value' with | |
4980 | 'item'. All callers updated. | |
4981 | (install_dynamic_child): Likewise. | |
4982 | (update_dynamic_varobj_children): Likewise. | |
4983 | (varobj_add_child): Likewise. | |
4984 | (create_child_with_value): Likewise. | |
4985 | ||
919b9a93 JB |
4986 | 2014-06-11 Joel Brobecker <brobecker@adacore.com> |
4987 | ||
4988 | * NEWS: Create a new section for the next release branch. | |
4989 | Rename the section of the current branch, now that it has | |
4990 | been cut. | |
4991 | ||
71a55bdf JB |
4992 | 2014-06-11 Joel Brobecker <brobecker@adacore.com> |
4993 | ||
4994 | GDB 7.8 branch created (173373c6f6388171d1d62a217fae90a052395be2): | |
4995 | * version.in: Bump version to 7.8.50.DATE-cvs. | |
4996 | ||
364fe1f7 PA |
4997 | 2014-06-11 Pedro Alves <palves@redhat.com> |
4998 | ||
4999 | PR remote/17028 | |
5000 | * ser-mingw.c (net_windows_socket_check_pending): New function. | |
5001 | (net_windows_select_thread): Ignore spurious wakeups. Use | |
5002 | net_windows_socket_check_pending. | |
5003 | (net_windows_wait_handle): Check for pending events with | |
5004 | ioctlsocket, through net_windows_socket_check_pending, instead of | |
5005 | checking the socket's event. | |
5006 | ||
5a6c7709 SC |
5007 | 2014-06-10 Siva Chandra Reddy <sivachandra@google.com> |
5008 | ||
5009 | * python/python-internal.h (gdb_PyObject_GetAttrString) | |
5010 | (gdb_PyObject_HasAttrString): New inline function definitions. | |
5011 | * py-value.c (get_field_flag): Remove the now unnecessary cast to | |
5012 | char * of the second argument to PyObject_GetAttrString. | |
74228e77 | 5013 | |
0e58ee40 JB |
5014 | 2014-06-10 Joel Brobecker <brobecker@adacore.com> |
5015 | ||
5016 | * serial.c (serial_write): Fix index of character to be printed | |
5017 | in call to serial_logchar when serial debug traces are enabled. | |
5018 | ||
d190df30 JB |
5019 | 2014-06-10 Joel Brobecker <brobecker@adacore.com> |
5020 | ||
5021 | * gdbtypes (resolve_dynamic_range): Add function description. | |
5022 | ||
b4b01d36 PA |
5023 | 2014-06-09 Pedro Alves <palves@redhat.com> |
5024 | ||
5025 | * linux-nat.c (linux_child_follow_fork): Initialize status with | |
5026 | W_STOPCODE (0) instead of 0. Remove shodowing 'status' local from | |
5027 | inner block. Only pass the signal to PTRACE_DETACH if in pass | |
5028 | state. | |
5029 | ||
3657956b GB |
5030 | 2014-06-09 Gary Benson <gbenson@redhat.com> |
5031 | ||
5032 | * common/signals.c (gdb_signal_from_host): Reorder to separate | |
5033 | the always-available ANSI-standard signals from the signals that | |
5034 | require checking. | |
5035 | (do_gdb_signal_to_host): Likewise. | |
5036 | * proc-events.c (signal_table): Likewise. | |
5037 | ||
c077881a HZ |
5038 | 2014-06-08 Hui Zhu <hui@codesourcery.com> |
5039 | ||
5040 | * common/linux-ptrace.c (linux_disable_event_reporting): New | |
5041 | function. | |
5042 | * common/linux-ptrace.h (linux_disable_event_reporting): New | |
5043 | declaration. | |
5044 | * linux-nat.c (linux_child_follow_fork): Do a single step before | |
5045 | detach. | |
5046 | ||
4186eb54 KS |
5047 | 2014-06-07 Keith Seitz <keiths@redhat.com> |
5048 | ||
5049 | Revert: | |
5050 | PR c++/16253 | |
5051 | * ada-lang.c (ada_symbol_matches_domain): Moved here and renamed | |
5052 | from symbol_matches_domain in symtab.c. All local callers | |
5053 | of symbol_matches_domain updated. | |
5054 | (standard_lookup): If DOMAIN is VAR_DOMAIN and no symbol is found, | |
5055 | search STRUCT_DOMAIN. | |
5056 | (ada_find_any_type_symbol): Do not search STRUCT_DOMAIN | |
5057 | independently. standard_lookup will do that automatically. | |
5058 | * cp-namespace.c (cp_lookup_symbol_nonlocal): Explain when/why | |
5059 | VAR_DOMAIN searches may return a STRUCT_DOMAIN match. | |
5060 | (cp_lookup_symbol_in_namespace): Likewise. | |
5061 | If no VAR_DOMAIN symbol is found, search STRUCT_DOMAIN. | |
5062 | (cp_lookup_symbol_exports): Explain when/why VAR_DOMAIN searches | |
5063 | may return a STRUCT_DOMAIN match. | |
5064 | (lookup_symbol_file): Search for the class name in STRUCT_DOMAIN. | |
5065 | * cp-support.c: Include language.h. | |
5066 | (inspect_type): Explicitly search STRUCT_DOMAIN before searching | |
5067 | VAR_DOMAIN. | |
5068 | * psymtab.c (match_partial_symbol): Compare the requested | |
5069 | domain with the symbol's domain directly. | |
5070 | (lookup_partial_symbol): Likewise. | |
5071 | * symtab.c (lookup_symbol_in_language): Explain when/why | |
5072 | VAR_DOMAIN searches may return a STRUCT_DOMAIN match. | |
5073 | If no VAR_DOMAIN symbol is found, search STRUCT_DOMAIN for | |
5074 | appropriate languages. | |
5075 | (symbol_matches_domain): Renamed `ada_symbol_matches_domain' | |
5076 | and moved to ada-lang.c | |
5077 | (lookup_block_symbol): Explain that this function only returns | |
5078 | symbol matching the requested DOMAIN. | |
5079 | Compare the requested domain with the symbol's domain directly. | |
5080 | (iterate_over_symbols): Compare the requested domain with the | |
5081 | symbol's domain directly. | |
5082 | * symtab.h (symbol_matches_domain): Remove. | |
5083 | ||
25326a28 | 5084 | 2014-06-06 Doug Evans <xdje42@gmail.com> |
d2929fdc DE |
5085 | |
5086 | * guile/guile-internal.h (gdbscm_guile_major_version): Declare. | |
5087 | (gdbscm_guile_minor_version, gdbscm_guile_micro_version): Declare. | |
5088 | (gdbscm_guile_version_is_at_least): Declare. | |
5089 | (gdbscm_scm_string_to_int): Declare. | |
5090 | * guile/guile.c (gdbscm_guile_major_version): New global. | |
5091 | (gdbscm_guile_minor_version, gdbscm_guile_micro_version): New globals. | |
5092 | (guile_datadir): New static global. | |
5093 | (gdbscm_guile_data_directory): New function. | |
5094 | (initialize_scheme_side): Update. | |
5095 | (misc_guile_functions): Add guile-data-directory. | |
5096 | (initialize_gdb_module): Fetch guile version number. | |
5097 | * guile/lib/gdb.scm: Remove call to add-to-load-path. | |
5098 | * guile/lib/gdb/init.scm (%initialize!): Ditto. | |
5099 | * guile/lib/gdb/boot.scm: Use guile-data-directory. | |
5100 | * guile/scm-exception.c (gdbscm_print_exception_with_stack): Fix | |
5101 | comments. | |
5102 | * guile/scm-string.c (gdbscm_scm_string_to_int): New function. | |
5103 | * guile/scm-utils.c (gdbscm_guile_version_is_at_least): New function. | |
5104 | * guile/scm-value.c (gdbscm_value_to_string): Only call | |
5105 | scm_port_conversion_strategy if Guile version >= 2.0.6. | |
5106 | ||
0a770bb2 | 5107 | 2014-06-06 Mingjie Xing <mingjie.xing@gmail.com> |
5108 | ||
5109 | * main.c (print_gdb_help): Add -q and --silent. | |
5110 | ||
73ba372c GB |
5111 | 2014-06-06 Gary Benson <gbenson@redhat.com> |
5112 | ||
5113 | * common/signals.c: Remove preprocessor conditionals for | |
5114 | always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE, | |
5115 | SIGSEGV and SIGTERM. | |
5116 | * proc-events.c: Likewise. | |
5117 | ||
c33b2f12 MM |
5118 | 2014-06-06 Markus Metzger <markus.t.metzger@intel.com> |
5119 | ||
5120 | * symfile.c (symfile_free_objfile): Remove restriction to | |
5121 | OBJF_USERLOADED. | |
5122 | * symfile-mem.c (symbol_file_add_from_memory): Call | |
5123 | add_target_sections_of_objfile. | |
5124 | ||
fb934770 LC |
5125 | 2014-06-05 Ludovic Courtès <ludo@gnu.org> |
5126 | ||
5127 | * guile/scm-value.c (gdbscm_history_append_x): Use | |
5128 | 'vlscm_get_value_smob_arg_unsafe' instead of | |
5129 | 'vlscm_scm_to_value'. | |
5130 | ||
6ef284bd SM |
5131 | 2014-06-05 Simon Marchi <simon.marchi@ericsson.com> |
5132 | ||
5133 | PR mi/15806 | |
5134 | * utils.c (printchar): Don't escape at all if quoter is NUL. | |
5135 | Update function documentation to clarify effect of parameter | |
5136 | QUOTER. | |
5137 | * remote.c (escape_buffer): Pass '\\' as the quoter to | |
5138 | fputstrn_unfiltered. | |
5139 | * mi/mi-interp.c (mi_solib_loaded): Use ui_out_field_* functions to | |
5140 | generate the output. | |
5141 | (mi_solib_unloaded): Same. | |
5142 | ||
270c9937 JB |
5143 | 2014-06-05 Joel Brobecker <brobecker@adacore.com> |
5144 | ||
5145 | * development.sh: Delete. | |
5146 | * Makefile.in (config.status): Adjust dependency on development.sh. | |
5147 | * configure.ac: Adjust development.sh source call. | |
5148 | * configure: Regenerate. | |
5149 | ||
16f691fb DE |
5150 | 2014-06-04 Doug Evans <xdje42@gmail.com> |
5151 | ||
5152 | * guile/scm-breakpoint.c (struct gdbscm_breakpoint_object): New members | |
5153 | is_scheme_bkpt, spec. | |
5154 | (bpscm_make_breakpoint_smob): Initialize new members. | |
5155 | (gdbscm_create_breakpoint_x): Split into two ... | |
5156 | (gdbscm_make_breakpoint, gdbscm_register_breakpoint_x): New functions. | |
5157 | (bpscm_breakpoint_deleted): Reset breakpoint number and stop function. | |
5158 | (scheme_function breakpoint_functions): Update. | |
5159 | * guile/lib/gdb.scm: Delete create-breakpoint!. Rename | |
5160 | breakpoint-delete! to delete-breakpoint!. Add make-breakpoint, | |
5161 | register-breakpoint!. | |
5162 | ||
ef7cab6b JB |
5163 | 2014-06-04 Joel Brobecker <brobecker@adacorer.com> |
5164 | ||
5165 | PR server/17023 | |
5166 | * mem-break.c (z_type_supported): Return zero if | |
5167 | THE_TARGET->SUPPORTS_Z_POINT_TYPE is NULL. | |
5168 | ||
012370f6 TT |
5169 | 2014-06-04 Tom Tromey <tromey@redhat.com> |
5170 | ||
5171 | * ada-lang.c (ada_template_to_fixed_record_type_1): Use | |
5172 | value_from_contents_and_address_unresolved. | |
5173 | (ada_template_to_fixed_record_type_1): Likewise. | |
5174 | (ada_which_variant_applies): Likewise. | |
5175 | * value.h (value_from_contents_and_address_unresolved): Declare. | |
5176 | * value.c (value_from_contents_and_address_unresolved): New | |
5177 | function. | |
5178 | * gdbtypes.c (is_dynamic_type, resolve_dynamic_type) | |
5179 | <TYPE_CODE_STRUCT, TYPE_CODE_UNION>: New cases. | |
5180 | (resolve_dynamic_struct, resolve_dynamic_union): New functions. | |
5181 | ||
92e2a17f TT |
5182 | 2014-06-04 Tom Tromey <tromey@redhat.com> |
5183 | ||
5184 | * gdbtypes.c (is_dynamic_type): Remove unneeded "break"s. | |
5185 | ||
c0939df1 TT |
5186 | 2014-06-04 Tom Tromey <tromey@redhat.com> |
5187 | ||
5188 | * procfs.c (procfs_attach): Make "args" const. | |
5189 | * windows-nat.c (windows_attach): Make "args" const. | |
5190 | * nto-procfs.c (procfs_attach): Make "args" const. | |
5191 | * inf-ttrace.c (inf_ttrace_attach): Make "args" const. | |
5192 | * go32-nat.c (go32_attach): Make "args" const. | |
5193 | * gnu-nat.c (gnu_attach): Make "args" const. | |
5194 | * darwin-nat.c (darwin_attach): Make "args" const. | |
5195 | * inf-ptrace.c (inf_ptrace_attach): Make "args" const. | |
5196 | * linux-nat.c (linux_nat_attach): Make "args" const. | |
5197 | * remote.c (extended_remote_attach_1, extended_remote_attach): | |
5198 | Make "args" const. | |
5199 | * target.h (struct target_ops) <to_attach>: Make "args" const. | |
5200 | (find_default_attach): Likewise. | |
5201 | * utils.c (parse_pid_to_attach): Make "args" const. | |
5202 | * utils.h (parse_pid_to_attach): Update. | |
5203 | ||
8eaff7cd TT |
5204 | 2014-06-04 Tom Tromey <tromey@redhat.com> |
5205 | ||
5206 | * target-delegates.c: Rebuild. | |
5207 | * target.c (default_thread_address_space): New function. | |
5208 | (target_thread_address_space): Simplify. | |
5209 | * target.h (struct target_ops) <to_thread_address_space>: Add | |
5210 | TARGET_DEFAULT_FUNC. | |
5211 | ||
1913f160 DE |
5212 | 2014-06-04 Doug Evans <xdje42@gmail.com> |
5213 | ||
5214 | * guile/scm-type.c (type_smob): Remove duplicate typedef. | |
5215 | ||
70ad5bff MM |
5216 | 2014-06-04 Markus Metzger <markus.t.metzger@intel.com> |
5217 | ||
5218 | * record-btrace.c: Include event-loop.h and inf-loop.h. | |
5219 | (record_btrace_resume_exec_dir) | |
5220 | (record_btrace_async_inferior_event_handler) | |
5221 | (record_btrace_handle_async_inferior_event): New. | |
5222 | (record_btrace_open): Create async event handler. | |
5223 | (record_btrace_close): Delete async event handler. | |
5224 | (record_btrace_resume): Set record_btrace_resume_exec_dir, | |
5225 | Mark async event handler. | |
5226 | (record_btrace_execution_direction): New. | |
5227 | (init_record_btrace_ops): Initialize to_execution_direction. | |
5228 | ||
b6210538 DE |
5229 | 2014-06-03 Doug Evans <xdje42@gmail.com> |
5230 | ||
5231 | * guile/scm-param.c (pascm_make_param_smob): Add ARI comment. | |
5232 | (gdbscm_make_parameter): Ditto. | |
5233 | ||
a5b1fd27 DE |
5234 | 2014-06-03 Doug Evans <dje@google.com> |
5235 | ||
5236 | * exec.c (exec_close_1): Call clear_section_table instead of | |
5237 | resize_section_table. | |
5238 | (clear_section_table): New function. | |
5239 | (resize_section_table): Make static. Rename arg num_added to | |
5240 | adjustment. | |
5241 | * exec.h (clear_section_table): Declare. | |
5242 | (resize_section_table): Delete. | |
5243 | * progspace.c (release_program_space): Call clear_section_table | |
5244 | instead of resize_section_table. | |
5245 | ||
0c6e92a5 SC |
5246 | 2014-06-03 Siva Chandra Reddy <sivachandra@google.com> |
5247 | ||
5248 | * NEWS (Python Scripting): Add entry about the new xmethods | |
5249 | feature. | |
5250 | ||
883964a7 SC |
5251 | 2014-06-03 Siva Chandra Reddy <sivachandra@google.com> |
5252 | ||
5253 | * python/py-xmethods.c: New file. | |
5254 | * python/py-objfile.c (objfile_object): New field 'xmethods'. | |
5255 | (objfpy_dealloc): XDECREF on the new xmethods field. | |
5256 | (objfpy_new, objfile_to_objfile_object): Initialize xmethods | |
5257 | field. | |
5258 | (objfpy_get_xmethods): New function. | |
5259 | (objfile_getset): New entry 'xmethods'. | |
5260 | * python/py-progspace.c (pspace_object): New field 'xmethods'. | |
5261 | (pspy_dealloc): XDECREF on the new xmethods field. | |
5262 | (pspy_new, pspace_to_pspace_object): Initialize xmethods | |
5263 | field. | |
5264 | (pspy_get_xmethods): New function. | |
5265 | (pspace_getset): New entry 'xmethods'. | |
5266 | * python/python-internal.h: Add declarations for new functions. | |
5267 | * python/python.c (_initialize_python): Invoke | |
5268 | gdbpy_initialize_xmethods. | |
5269 | * python/lib/gdb/__init__.py (xmethods): New | |
5270 | attribute. | |
5271 | * python/lib/gdb/xmethod.py: New file. | |
5272 | * python/lib/gdb/command/xmethods.py: New file. | |
5273 | ||
58992dc5 SC |
5274 | 2014-06-03 Siva Chandra Reddy <sivachandra@google.com> |
5275 | ||
5276 | * eval.c (evaluate_subexp_standard): Call the xmethod if the | |
5277 | best match method returned by find_overload_match is an xmethod. | |
5278 | * valarith.c (value_x_binop, value_x_unop): Call the xmethod if | |
5279 | the best matching operator returned by find_overload_match is an | |
5280 | xmethod. | |
5281 | * valops.c: #include "extension.h". | |
5282 | (find_method_list): Add "fn_list" and "xm_worker_vec" arguments. | |
5283 | Return void. The list of matching source methods is returned in | |
5284 | "fn_list" and a vector of matching debug method workers is | |
5285 | returned in "xm_worker_vec". Update all callers. | |
5286 | (value_find_oload_method_list): Likewise. | |
5287 | (find_oload_champ): Add "xm_worker_vec" parameter. If it is | |
5288 | non-NULL, then the index of the best matching method in this | |
5289 | vector is returned. Update all callers. | |
5290 | (find_overload_match): Include xmethods while performing overload | |
5291 | resolution. | |
5292 | ||
e81e7f5e SC |
5293 | 2014-06-03 Siva Chandra Reddy <sivachandra@google.com> |
5294 | ||
5295 | * defs.h (enum lval_type): New enumerator "lval_xcallable". | |
5296 | * extension-priv.h (struct extension_language_ops): Add the | |
5297 | xmethod interface. | |
5298 | * extension.c (new_xmethod_worker, clone_xmethod_worker, | |
5299 | get_matching_xmethod_workers, get_xmethod_argtypes, | |
5300 | invoke_xmethod, free_xmethod_worker, | |
5301 | free_xmethod_worker_vec): New functions. | |
5302 | * extension.h: #include "common/vec.h". | |
5303 | New function declarations. | |
5304 | (struct xmethod_worker): New struct. | |
5305 | (VEC (xmethod_worker_ptr)): New vector type. | |
5306 | (xmethod_worker_ptr): New typedef. | |
5307 | (xmethod_worker_vec): Likewise. | |
5308 | * gdbtypes.c (gdbtypes_post_init): Initialize "xmethod" field of | |
5309 | builtin_type. | |
5310 | * gdbtypes.h (enum type_code): New enumerator TYPE_CODE_XMETHOD. | |
5311 | (struct builtin_type): New field "xmethod". | |
5312 | * valarith.c (value_ptradd): Assert that the value argument is not | |
5313 | lval_xcallable. | |
5314 | * valops.c (value_must_coerce_to_target): Return 0 for | |
5315 | lval_xcallable values. | |
5316 | * value.c (struct value): New field XM_WORKER in the field | |
5317 | LOCATION. | |
5318 | (value_address, value_raw_address): Return 0 for lval_xcallable | |
5319 | values. | |
5320 | (set_value_address): Assert that the value is not an | |
5321 | lval_xcallable. | |
5322 | (value_free): Free the associated xmethod worker when freeing | |
5323 | lval_xcallable values. | |
5324 | (set_value_component_location): Assert that the WHOLE value is not | |
5325 | lval_xcallable. | |
5326 | (value_of_xmethod, call_xmethod): New functions. | |
5327 | * value.h: Declare "struct xmethod_worker". | |
5328 | Declare new functions value_of_xmethod, call_xmethod. | |
5329 | ||
ef370185 JB |
5330 | 2014-06-03 Joel Brobecker <brobecker@adacore.com> |
5331 | Pedro Alves <palves@redhat.com> | |
5332 | ||
5333 | PR breakpoints/17000 | |
5334 | * breakpoint.c (find_non_raw_software_breakpoint_inserted_here): | |
5335 | New function, extracted from software_breakpoint_inserted_here_p. | |
5336 | (software_breakpoint_inserted_here_p): Replace factored out code | |
5337 | by call to find_non_raw_software_breakpoint_inserted_here. | |
5338 | (bp_target_info_copy_insertion_state): New function. | |
5339 | (bkpt_insert_location): Handle the case of a single-step | |
5340 | breakpoint already inserted at the same address. | |
5341 | (bkpt_remove_location): Handle the case of a single-step | |
5342 | breakpoint still inserted at the same address. | |
5343 | (deprecated_insert_raw_breakpoint): Handle the case of non-raw | |
5344 | breakpoint already inserted at the same address. | |
5345 | (deprecated_remove_raw_breakpoint): Handle the case of a | |
5346 | non-raw breakpoint still inserted at the same address. | |
5347 | (find_single_step_breakpoint): New function, extracted from | |
5348 | single_step_breakpoint_inserted_here_p. | |
5349 | (find_single_step_breakpoint): New function, | |
5350 | factored out from single_step_breakpoint_inserted_here_p. | |
5351 | (single_step_breakpoint_inserted_here_p): Reimplement. | |
5352 | ||
1e2ccb61 BM |
5353 | 2014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch) |
5354 | ||
5355 | Pushed by Joel Brobecker <brobecker@adacore.com> | |
5356 | * source.c (show_substitute_path_command): Fix display of matching | |
5357 | substitution rules. | |
5358 | ||
d3448d85 GB |
5359 | 2014-06-03 Gary Benson <gbenson@redhat.com> |
5360 | ||
5361 | * gnu-v2-abi.c (gnuv2_value_rtti_type): Use gdb_demangle. | |
5362 | ||
06eb1586 DE |
5363 | 2014-06-02 Doug Evans <xdje42@gmail.com> |
5364 | ||
5365 | Add parameter support for Guile. | |
5366 | * Makefile.in (SUBDIR_GUILE_OBS): Add scm-param.o. | |
5367 | (SUBDIR_GUILE_SRCS): Add scm-param.c. | |
5368 | (scm-param.o): New rule. | |
5369 | * guile/guile-internal.h (gdbscm_gc_dup_argv): Declare. | |
5370 | (gdbscm_misc_error): Declare. | |
5371 | (gdbscm_canonicalize_command_name): Declare. | |
5372 | (gdbscm_scm_to_host_string): Declare. | |
5373 | (gdbscm_scm_from_host_string): Declare. | |
5374 | (gdbscm_initialize_parameters): Declare. | |
5375 | * guile/guile.c (initialize_gdb_module): Call | |
5376 | gdbscm_initialize_parameters. | |
5377 | * guile/lib/gdb.scm: Export parameter symbols. | |
5378 | * guile/scm-cmd.c (gdbscm_canonicalize_command_name): Renamed from | |
5379 | cmdscm_canonicalize_name and made public. All callers updated. | |
5380 | * guile/scm-exception.c (gdbscm_misc_error): New function. | |
5381 | * guile/scm-param.c: New file. | |
5382 | * guile/scm-string.c (gdbscm_scm_to_string): Add comments. | |
5383 | (gdbscm_scm_to_host_string): New function. | |
5384 | (gdbscm_scm_from_host_string): New function. | |
5385 | * scm-utils.c (gdbscm_gc_dup_argv): New function. | |
5386 | ||
e698b8c4 DE |
5387 | 2014-06-02 Doug Evans <xdje42@gmail.com> |
5388 | ||
5389 | Add command support for Guile. | |
5390 | * Makefile.in (SUBDIR_GUILE_OBS): Add scm-cmd.o. | |
5391 | (SUBDIR_GUILE_SRCS): Add scm-cmd.c. | |
5392 | (scm-cmd.o): New rule. | |
5393 | * guile/guile-internal.h (gdbscm_gc_xstrdup): Declare. | |
5394 | (gdbscm_user_error_p): Declare. | |
5395 | (gdbscm_parse_command_name): Declare. | |
5396 | (gdbscm_valid_command_class_p): Declare. | |
5397 | (gdbscm_initialize_commands): Declare. | |
5398 | * guile/guile.c (initialize_gdb_module): Call | |
5399 | gdbscm_initialize_commands. | |
5400 | * guile/lib/gdb.scm: Export command symbols. | |
5401 | * guile/lib/gdb/init.scm (%exception-keys): Add gdb:user-error. | |
5402 | (throw-user-error): New function. | |
5403 | * guile/scm-cmd.c: New file. | |
5404 | * guile/scm-exception.c (user_error_symbol): New static global. | |
5405 | (gdbscm_user_error_p): New function. | |
5406 | (gdbscm_initialize_exceptions): Set user_error_symbol. | |
5407 | * scm-utils.c (gdbscm_gc_xstrdup): New function. | |
5408 | ||
fb1f94b0 PM |
5409 | 2014-06-02 Phil Muldoon <pmuldoon@redhat.com> |
5410 | ||
5411 | * top.c (command_loop): Handle comments here... | |
5412 | (command_line_input): ... not here. | |
5413 | ||
ded03782 DE |
5414 | 2014-06-02 Doug Evans <xdje42@gmail.com> |
5415 | ||
5416 | Add progspace support for Guile. | |
5417 | * Makefile.in (SUBDIR_GUILE_OBS): Add scm-progspace.o. | |
5418 | (SUBDIR_GUILE_SRCS): Add scm-progspace.c. | |
5419 | (scm-progspace.o): New rule. | |
5420 | * guile/guile-internal.h (pspace_smob): New typedef. | |
5421 | (psscm_pspace_smob_pretty_printers): Declare. | |
5422 | (psscm_pspace_smob_from_pspace): Declare. | |
5423 | (psscm_scm_from_pspace): Declare. | |
5424 | * guile/guile.c (initialize_gdb_module): Call | |
5425 | gdbscm_initialize_pspaces. | |
5426 | * guile/lib/gdb.scm: Export progspace symbols. | |
5427 | * guile/lib/gdb/printing.scm (prepend-pretty-printer!): Add progspace | |
5428 | support. | |
5429 | (append-pretty-printer!): Ditto. | |
5430 | * guile/scm-pretty-print.c (ppscm_find_pretty_printer_from_progspace): | |
5431 | Implement. | |
5432 | * guile/scm-progspace.c: New file. | |
5433 | ||
397998fc AM |
5434 | 2014-06-03 Alan Modra <amodra@gmail.com> |
5435 | ||
5436 | * ppc64-tdep.c (ppc64_standard_linkage8): New. | |
5437 | (ppc64_skip_trampoline_code): Recognise ELFv2 stub supporting fusion. | |
5438 | ||
6aa5f3a6 DE |
5439 | 2014-06-02 Doug Evans <dje@google.com> |
5440 | ||
5441 | Add support for skeletonless type units. | |
5442 | * dwarf2read.c (struct dwarf2_per_objfile): New member | |
5443 | n_allocated_type_units. | |
5444 | (struct dwarf2_per_objfile) <tu_stats>: New member | |
5445 | nr_all_type_units_reallocs. | |
5446 | (create_signatured_type_table_from_index): Initialize | |
5447 | n_allocated_type_units | |
5448 | (create_all_type_units): Ditto. | |
5449 | (add_type_unit): Move up in file. New arg slot. | |
5450 | All callers updated. Increase space for all_type_units more | |
5451 | efficiently. | |
5452 | (fill_in_sig_entry_from_dwo_entry): Handle psymtabs. | |
5453 | (lookup_dwo_signatured_type): Handle skeletonless TUs. | |
5454 | (lookup_dwp_signatured_type): Ditto. | |
5455 | (init_tu_and_read_dwo_dies): New arg use_existing_cu. | |
5456 | All callers updated. | |
5457 | (build_type_psymtabs_1): Leave type_unit_groups as | |
5458 | NULL if no TUs present. | |
5459 | (print_tu_stats): New function. | |
5460 | (process_skeletonless_type_unit): New function. | |
5461 | (process_dwo_file_for_skeletonless_type_units): New | |
5462 | function. | |
5463 | (process_skeletonless_type_units): New function. | |
5464 | (dwarf2_build_psymtabs_hard): Handle skeletonless TUs. | |
5465 | Call print tu_stats if debugging enabled. | |
5466 | ||
41fac0cf PA |
5467 | 2014-06-02 Pedro Alves <palves@redhat.com> |
5468 | ||
5469 | * breakpoint.c (build_target_command_list): Don't build a command | |
5470 | list if we have any duplicate location that isn't a dprintf. | |
5471 | ||
cd1608cc PA |
5472 | 2014-06-02 Pedro Alves <palves@redhat.com> |
5473 | ||
5474 | * breakpoint.c (dprintf_breakpoint_hit): New function. | |
5475 | (initialize_breakpoint_ops): Install it as dprintf's | |
5476 | breakpoint_hit method. | |
5477 | ||
486ef3b9 JB |
5478 | 2014-06-02 Joel Brobecker <brobecker@adacore.com> |
5479 | ||
5480 | * source.c (substitute_path_rule_matches): Simplify using | |
5481 | filename_ncmp instead of FILENAME_CMP. | |
5482 | ||
230cd560 JB |
5483 | 2014-06-02 Joel Brobecker <brobecker@adacore.com> |
5484 | ||
5485 | * source.c (substitute_path_rule_matches): Remove trailing spaces. | |
5486 | ||
16954d5d LC |
5487 | 2014-06-01 Ludovic Courtès <ludo@gnu.org> |
5488 | ||
5489 | * configure.ac: When Guile is available, check for the | |
5490 | availability of 'scm_new_smob'. | |
5491 | * configure, config.h.in: Regenerate. | |
5492 | * guile/guile-internal.h (scm_new_smob) [!HAVE_SCM_NEW_SMOB]: New | |
5493 | function. | |
5494 | ||
53e8a631 AB |
5495 | 2014-05-30 Andrew Burgess <aburgess@broadcom.com> |
5496 | ||
5497 | * frame.c (struct frame_info): Add stop_string field. | |
5498 | (get_prev_frame_always_1): Renamed from get_prev_frame_always. | |
5499 | (get_prev_frame_always): Old content moved into | |
5500 | get_prev_frame_always_1. Call get_prev_frame_always_1 inside | |
5501 | TRY_CATCH, handle MEMORY_ERROR exceptions. | |
5502 | (frame_stop_reason_string): New function definition. | |
5503 | * frame.h (unwind_stop_reason_to_string): Extend comment to | |
5504 | mention frame_stop_reason_string. | |
5505 | (frame_stop_reason_string): New function declaration. | |
5506 | * stack.c (frame_info): Switch to frame_stop_reason_string. | |
5507 | (backtrace_command_1): Switch to frame_stop_reason_string. | |
5508 | * unwind_stop_reason.def: Add UNWIND_MEMORY_ERROR. | |
5509 | (LAST_ENTRY): Changed to UNWIND_MEMORY_ERROR. | |
5510 | * guile/lib/gdb.scm: Add FRAME_UNWIND_MEMORY_ERROR to export list. | |
5511 | ||
70e38b8e AB |
5512 | 2014-05-30 Andrew Burgess <aburgess@broadcom.com> |
5513 | ||
5514 | * frame.c (frame_stop_reason_string): Rename to ... | |
5515 | (unwind_stop_reason_to_string): this. | |
5516 | * frame.h (frame_stop_reason_string): Rename to ... | |
5517 | (unwind_stop_reason_to_string): this. | |
5518 | * stack.c (frame_info): Update call to frame_stop_reason_string. | |
5519 | (backtrace_command_1): Likewise. | |
5520 | * guile/scm-frame.c (gdbscm_unwind_stop_reason_string): Likewise. | |
5521 | * python/py-frame.c (gdbpy_frame_stop_reason_string): Likewise. | |
5522 | ||
938f0e2f AB |
5523 | 2014-05-30 Andrew Burgess <aburgess@broadcom.com> |
5524 | ||
5525 | * frame.c (remove_prev_frame): New function. | |
5526 | (get_prev_frame_if_no_cycle): Create / discard cleanup using | |
5527 | remove_prev_frame. | |
5528 | ||
a09dd441 PA |
5529 | 2014-05-29 Pedro Alves <palves@redhat.com> |
5530 | ||
5531 | * infrun.c (resume): Rename local 'hw_step' to 'entry_step' | |
5532 | and make it const. When a single-step decays to a continue, | |
5533 | clear 'step', not 'hw_step'. Pass whether the caller wanted | |
5534 | to step to user_visible_resume_ptid, not what we ask the | |
5535 | target to do. | |
5536 | ||
bdc36728 PA |
5537 | 2014-05-29 Pedro Alves <palves@redhat.com> |
5538 | ||
5539 | * infrun.c (process_event_stop_test, handle_step_into_function) | |
5540 | (handle_step_into_function_backward): Adjust. | |
5541 | Don't set the even thread's stop_step and call stop_waiting before | |
5542 | calling end_stepping_range. Instead do that ... | |
5543 | (end_stepping_range): ... here. Take an ecs pointer parameter. | |
5544 | ||
22bcd14b PA |
5545 | 2014-05-29 Pedro Alves <palves@redhat.com> |
5546 | ||
5547 | * infrun.c (stop_stepping): Rename to ... | |
5548 | (stop_waiting): ... this. | |
5549 | (proceed): Update comment. | |
5550 | (process_event_stop_test, handle_inferior_event) | |
5551 | (handle_signal_stop, handle_step_into_function) | |
5552 | (handle_step_into_function_backward): Update. | |
5553 | ||
4ae57c05 PA |
5554 | 2014-05-29 Pedro Alves <palves@redhat.com> |
5555 | ||
5556 | * infcall.c (run_inferior_call): Don't check whether the current | |
5557 | thread is running after the proceed call. | |
5558 | ||
329ea579 PA |
5559 | 2014-05-29 Pedro Alves <palves@redhat.com> |
5560 | Tom Tromey <tromey@redhat.com> | |
5561 | ||
5562 | * NEWS: Mention "maint set target-async", "set mi-async", and that | |
5563 | background execution commands are now always available. | |
5564 | * target.h (target_async_permitted): Update comment. | |
5565 | * target.c (target_async_permitted, target_async_permitted_1): | |
5566 | Default to 1. | |
5567 | (set_target_async_command): Rename to ... | |
5568 | (maint_set_target_async_command): ... this. | |
5569 | (show_target_async_command): Rename to ... | |
5570 | (maint_show_target_async_command): ... this. | |
5571 | (_initialize_target): Adjust. | |
5572 | * infcmd.c (prepare_execution_command): Make extern. | |
5573 | * inferior.h (prepare_execution_command): Declare. | |
5574 | * infrun.c (set_observer_mode): Leave target async alone. | |
5575 | * mi/mi-interp.c (mi_interpreter_init): Install | |
5576 | mi_on_sync_execution_done as sync_execution_done observer. | |
5577 | (mi_on_sync_execution_done): New function. | |
5578 | (mi_execute_command_input_handler): Don't print the prompt if we | |
5579 | just started a synchronous command with an async target. | |
5580 | (mi_on_resume): Check sync_execution before printing prompt. | |
5581 | * mi/mi-main.h (mi_async_p): Declare. | |
5582 | * mi/mi-main.c: Include gdbcmd.h. | |
5583 | (mi_async_p): New function. | |
5584 | (mi_async, mi_async_1): New globals. | |
5585 | (set_mi_async_command, show_mi_async_command, mi_async): New | |
5586 | functions. | |
5587 | (exec_continue): Call prepare_execution_command. | |
5588 | (run_one_inferior, mi_cmd_exec_run, mi_cmd_list_target_features) | |
5589 | (mi_execute_async_cli_command): Use mi_async_p. | |
5590 | (_initialize_mi_main): Install "set mi-async". Make | |
5591 | "target-async" a deprecated alias. | |
5592 | ||
92bcb5f9 PA |
5593 | 2014-05-29 Pedro Alves <palves@redhat.com> |
5594 | ||
5595 | * cli/cli-interp.c (cli_interpreter_display_prompt_p): Delete. | |
5596 | (_initialize_cli_interp): Adjust. | |
5597 | * event-loop.c: Include "observer.h". | |
5598 | (start_event_loop): Notify 'command_error' observers instead of | |
5599 | calling display_gdb_prompt. Remove FIXME comment. | |
5600 | * event-top.c (display_gdb_prompt): Remove call into the | |
5601 | interpreters. | |
5602 | * inf-loop.c: Include "observer.h". | |
5603 | (inferior_event_handler): Notify 'command_error' observers instead | |
5604 | of calling display_gdb_prompt. | |
5605 | * infrun.c (fetch_inferior_event): Notify 'sync_execution_done' | |
5606 | observers instead of calling display_gdb_prompt. | |
5607 | * interps.c (interp_set): Don't call display_gdb_prompt. | |
5608 | (current_interp_display_prompt_p): Delete. | |
5609 | * interps.h (interp_prompt_p): Delete declaration. | |
5610 | (interp_prompt_p_ftype): Delete. | |
5611 | (struct interp_procs) <prompt_proc_p>: Delete field. | |
5612 | (current_interp_display_prompt_p): Delete declaration. | |
5613 | * mi-interp.c (mi_interpreter_prompt_p): Delete. | |
5614 | (_initialize_mi_interp): Adjust. | |
5615 | * tui-interp.c (tui_init): Install 'sync_execution_done' and | |
5616 | 'command_error' observers. | |
5617 | (tui_on_sync_execution_done, tui_on_command_error): New | |
5618 | functions. | |
5619 | (tui_display_prompt_p): Delete. | |
5620 | (_initialize_tui_interp): Adjust. | |
5621 | ||
fd664c91 PA |
5622 | 2014-05-29 Pedro Alves <palves@redhat.com> |
5623 | ||
5624 | PR gdb/13860 | |
5625 | * cli/cli-interp.c: Include infrun.h and observer.h. | |
5626 | (cli_uiout, cli_interp): New globals. | |
5627 | (cli_on_signal_received, cli_on_end_stepping_range) | |
5628 | (cli_on_signal_exited, cli_on_exited, cli_on_no_history): New | |
5629 | functions. | |
5630 | (cli_interpreter_init): Install them as 'end_stepping_range', | |
5631 | 'signal_received' 'signal_exited', 'exited' and 'no_history' | |
5632 | observers. | |
5633 | (_initialize_cli_interp): Remove cli_interp local. | |
5634 | * infrun.c (handle_inferior_event): Call the several stop reason | |
5635 | observers instead of printing the stop reason directly. | |
5636 | (end_stepping_range): New function. | |
5637 | (print_end_stepping_range_reason, print_signal_exited_reason) | |
5638 | (print_exited_reason, print_signal_received_reason) | |
5639 | (print_no_history_reason): Make static, and add an uiout | |
5640 | parameter. Print to that instead of to CURRENT_UIOUT. | |
5641 | * infrun.h (print_end_stepping_range_reason) | |
5642 | (print_signal_exited_reason, print_exited_reason) | |
5643 | (print_signal_received_reason print_no_history_reason): New | |
5644 | declarations. | |
5645 | * mi/mi-common.h (struct mi_interp): Rename 'uiout' field to | |
5646 | 'mi_uiout'. | |
5647 | <cli_uiout>: New field. | |
5648 | * mi/mi-interp.c (mi_interpreter_init): Adjust. Create the new | |
5649 | uiout for CLI output. Install 'signal_received', | |
5650 | 'end_stepping_range', 'signal_exited', 'exited' and 'no_history' | |
5651 | observers. | |
5652 | (find_mi_interpreter, mi_interp_data, mi_on_signal_received) | |
5653 | (mi_on_end_stepping_range, mi_on_signal_exited, mi_on_exited) | |
5654 | (mi_on_no_history): New functions. | |
5655 | (ui_out_free_cleanup): Delete function. | |
5656 | (mi_on_normal_stop): Don't allocate a new uiout for CLI output, | |
5657 | instead use the one already stored in the MI interpreter data. | |
5658 | (mi_ui_out): Adjust. | |
5659 | * tui/tui-interp.c: Include infrun.h and observer.h. | |
5660 | (tui_interp): New global. | |
5661 | (tui_on_signal_received, tui_on_end_stepping_range) | |
5662 | (tui_on_signal_exited, tui_on_exited) | |
5663 | (tui_on_no_history): New functions. | |
5664 | (tui_init): Install them as 'end_stepping_range', | |
5665 | 'signal_received' 'signal_exited', 'exited' and 'no_history' | |
5666 | observers. | |
5667 | (_initialize_tui_interp): Delete tui_interp local. | |
5668 | ||
8817a6f2 PA |
5669 | 2014-05-29 Pedro Alves <palves@redhat.com> |
5670 | ||
5671 | PR gdb/15713 | |
5672 | * linux-nat.c (linux_nat_resume_callback): Rename the second | |
5673 | parameter to 'except'. Skip LP if it points to EXCEPT. | |
5674 | (linux_nat_resume): Don't mark the event lwp as not stopped | |
5675 | before resuming sibling lwps. Instead ask | |
5676 | linux_nat_resume_callback to skip the event lwp. Mark it as not | |
5677 | stopped after actually resuming it. | |
5678 | (linux_handle_syscall_trap): Mark the lwp as not stopped after | |
5679 | resuming it. | |
5680 | (wait_lwp): Mark the lwp as stopped here. | |
5681 | (stop_wait_callback): Mark the lwp as not stopped right after | |
5682 | resuming it. Don't mark lwps as stopped here. | |
5683 | (linux_nat_filter_event): Mark the lwp as stopped earlier. | |
5684 | (linux_nat_wait_1): Don't mark dead lwps as stopped here. | |
5685 | ||
251bde03 PA |
5686 | 2014-05-29 Pedro Alves <palves@redhat.com> |
5687 | ||
5688 | PR PR15693 | |
5689 | * infrun.c (resume): Determine how much to resume depending on | |
5690 | whether the caller wanted a step, not whether we can hardware step | |
5691 | the target. Mark all threads that we intend to run as running, | |
5692 | unless we're calling an inferior function. | |
5693 | (normal_stop): If the thread is running an infcall, don't finish | |
5694 | thread state. | |
5695 | * target.c (target_resume): Don't mark threads as running here. | |
5696 | ||
7f3c0343 JB |
5697 | 2014-05-28 Joel Brobecker <brobecker@adacore.com> |
5698 | ||
5699 | * serial.c (_initialize_serial): Remove support for | |
5700 | the "set remotebaud" and "show remotebaud" commands. | |
5701 | * NEWS: Add entry documenting the removal of that command. | |
5702 | ||
ee34b3f9 YQ |
5703 | 2014-05-28 Yao Qi <yao@codesourcery.com> |
5704 | ||
5705 | * charset.c: Fix typo in comments. | |
5706 | ||
add6c04d GB |
5707 | 2014-05-27 Gary Benson <gbenson@redhat.com> |
5708 | ||
5709 | * utils.c (internal_vproblem): Prompt for a bug report. | |
5710 | ||
92c48fc5 AW |
5711 | 2014-05-26 Andy Wingo <wingo@igalia.com> |
5712 | ||
5713 | * guile/scm-arch.c (arscm_mark_arch_smob): | |
5714 | * guile/scm-block.c (bkscm_mark_block_smob) | |
5715 | (bkscm_mark_block_syms_progress_smob): | |
5716 | * guile/scm-breakpoint.c (bpscm_mark_breakpoint_smob): | |
5717 | * guile/scm-exception.c (exscm_mark_exception_smob): | |
5718 | * guile/scm-frame.c (frscm_mark_frame_smob): | |
5719 | * guile/scm-iterator.c (itscm_mark_iterator_smob): | |
5720 | * guile/scm-lazy-string.c (lsscm_mark_lazy_string_smob): | |
5721 | * guile/scm-objfile.c (ofscm_mark_objfile_smob): | |
5722 | * guile/scm-pretty-print.c (ppscm_mark_pretty_printer_smob) | |
5723 | (ppscm_mark_pretty_printer_worker_smob): | |
5724 | * guile/scm-symbol.c (syscm_mark_symbol_smob): | |
5725 | * guile/scm-symtab.c (stscm_mark_symtab_smob, stscm_mark_sal_smob): | |
5726 | * guile/scm-type.c (tyscm_mark_type_smob, tyscm_mark_field_smob): | |
5727 | * guile/scm-value.c (vlscm_mark_value_smob): Remove unnecessary | |
5728 | mark functions. | |
5729 | * guile/scm-symtab.c (stscm_free_sal_smob): Remove unnecessary free | |
5730 | function. | |
5731 | ||
b2715b27 AW |
5732 | 2014-05-26 Andy Wingo <wingo@igalia.com> |
5733 | Doug Evans <xdje42@gmail.com> | |
5734 | ||
5735 | * guile/guile-internal.h (GDB_SMOB_HEAD): Replace properties with | |
5736 | empty_base_class. All uses updated. | |
5737 | (gdbscm_mark_gsmob, gdbscm_mark_chained_gsmob) | |
5738 | (gdbscm_mark_eqable_gsmob): Remove these now-unneeded functions. | |
5739 | Adapt all callers. | |
5740 | * guile/scm-gsmob.c (gdbscm_mark_gsmob) | |
5741 | (gdbscm_mark_chained_gsmob, gdbscm_mark_eqable_gsmob): Remove. | |
5742 | (gdbscm_gsmob_property, gdbscm_set_gsmob_property_x) | |
5743 | (gdbscm_gsmob_has_property_p, add_property_name) | |
5744 | (gdbscm_gsmob_properties): Remove, and remove them from gsmob_functions. | |
5745 | * guile/lib/gdb.scm (gdb-object-property, set-gdb-object-property) | |
5746 | (gdb-object-has-property?, gdb-object-properties): Remove. | |
5747 | (gdb-object-kind): Renamed from gsmob-kind. | |
5748 | ||
214ab2da AW |
5749 | 2014-05-26 Andy Wingo <wingo@igalia.com> |
5750 | ||
5751 | * configure.ac (try_guile_versions): Allow building with guile 2.2. | |
5752 | * configure: Regenerate. | |
5753 | ||
589fdceb MM |
5754 | 2014-05-23 Markus Metzger <markus.t.metzger@intel.com> |
5755 | ||
5756 | * symfile-mem.c (symbol_file_add_from_memory): Add BFD sections. | |
5757 | ||
67b5c0c1 MM |
5758 | 2014-05-23 Markus Metzger <markus.t.metzger@intel.com> |
5759 | ||
5760 | * record-btrace.c (record_btrace_allow_memory_access): Remove. | |
5761 | (replay_memory_access_read_only, replay_memory_access_read_write) | |
5762 | (replay_memory_access_types, replay_memory_access) | |
5763 | (set_record_btrace_cmdlist, show_record_btrace_cmdlist) | |
5764 | (cmd_set_record_btrace, cmd_show_record_btrace) | |
5765 | (cmd_show_replay_memory_access): New. | |
5766 | (record_btrace_xfer_partial, record_btrace_insert_breakpoint) | |
5767 | (record_btrace_remove_breakpoint): Replace | |
5768 | record_btrace_allow_memory_access with replay_memory_access. | |
5769 | (_initialize_record_btrace): Add commands. | |
5770 | * NEWS: Announce it. | |
5771 | ||
036cd381 RR |
5772 | 2014-05-22 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com> |
5773 | ||
5774 | * aarch64-linux-nat.c (asm/ptrace.h): Include. | |
5775 | ||
c77c1e42 RR |
5776 | 2014-05-22 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com> |
5777 | ||
5778 | * MAINTAINERS (Write After Approval): Move self back from | |
5779 | paper trail. | |
5780 | ||
45741a9c PA |
5781 | 2014-05-22 Pedro Alves <palves@redhat.com> |
5782 | ||
5783 | * inferior.h (debug_infrun, debug_displaced, stop_on_solib_events) | |
5784 | (sync_execution, sched_multi, step_stop_if_no_debug, non_stop) | |
5785 | (disable_randomization, enum exec_direction_kind) | |
5786 | (execution_direction, stop_registers, start_remote) | |
5787 | (clear_proceed_status, proceed, resume, user_visible_resume_ptid) | |
5788 | (wait_for_inferior, normal_stop, get_last_target_status) | |
5789 | (prepare_for_detach, fetch_inferior_event, init_wait_for_inferior) | |
5790 | (insert_step_resume_breakpoint_at_sal) | |
5791 | (follow_inferior_reset_breakpoints, stepping_past_instruction_at) | |
5792 | (set_step_info, print_stop_event, signal_stop_state) | |
5793 | (signal_print_state, signal_pass_state, signal_stop_update) | |
5794 | (signal_print_update, signal_pass_update) | |
5795 | (update_signals_program_target, clear_exit_convenience_vars) | |
5796 | (displaced_step_dump_bytes, update_observer_mode) | |
5797 | (signal_catch_update, gdb_signal_from_command): Move | |
5798 | declarations ... | |
5799 | * infrun.h: ... to this new file. | |
5800 | * amd64-tdep.c: Include infrun.h. | |
5801 | * annotate.c: Include infrun.h. | |
5802 | * arch-utils.c: Include infrun.h. | |
5803 | * arm-linux-tdep.c: Include infrun.h. | |
5804 | * arm-tdep.c: Include infrun.h. | |
5805 | * break-catch-sig.c: Include infrun.h. | |
5806 | * breakpoint.c: Include infrun.h. | |
5807 | * common/agent.c: Include infrun.h instead of inferior.h. | |
5808 | * corelow.c: Include infrun.h. | |
5809 | * event-top.c: Include infrun.h. | |
5810 | * go32-nat.c: Include infrun.h. | |
5811 | * i386-tdep.c: Include infrun.h. | |
5812 | * inf-loop.c: Include infrun.h. | |
5813 | * infcall.c: Include infrun.h. | |
5814 | * infcmd.c: Include infrun.h. | |
5815 | * infrun.c: Include infrun.h. | |
5816 | * linux-fork.c: Include infrun.h. | |
5817 | * linux-nat.c: Include infrun.h. | |
5818 | * linux-thread-db.c: Include infrun.h. | |
5819 | * monitor.c: Include infrun.h. | |
5820 | * nto-tdep.c: Include infrun.h. | |
5821 | * procfs.c: Include infrun.h. | |
5822 | * record-btrace.c: Include infrun.h. | |
5823 | * record-full.c: Include infrun.h. | |
5824 | * remote-m32r-sdi.c: Include infrun.h. | |
5825 | * remote-mips.c: Include infrun.h. | |
5826 | * remote-notif.c: Include infrun.h. | |
5827 | * remote-sim.c: Include infrun.h. | |
5828 | * remote.c: Include infrun.h. | |
5829 | * reverse.c: Include infrun.h. | |
5830 | * rs6000-tdep.c: Include infrun.h. | |
5831 | * s390-linux-tdep.c: Include infrun.h. | |
5832 | * solib-irix.c: Include infrun.h. | |
5833 | * solib-osf.c: Include infrun.h. | |
5834 | * solib-svr4.c: Include infrun.h. | |
5835 | * target.c: Include infrun.h. | |
5836 | * top.c: Include infrun.h. | |
5837 | * windows-nat.c: Include infrun.h. | |
5838 | * mi/mi-interp.c: Include infrun.h. | |
5839 | * mi/mi-main.c: Include infrun.h. | |
5840 | * python/py-threadevent.c: Include infrun.h. | |
5841 | ||
98eb56a4 PA |
5842 | 2014-05-22 Pedro Alves <palves@redhat.com> |
5843 | ||
5844 | * infrun.c (handle_inferior_event): Store the exit code for | |
5845 | --return-child-result here, instead of ... | |
5846 | (print_exited_reason): ... here. | |
5847 | ||
17b2616c PA |
5848 | 2014-05-21 Pedro Alves <palves@redhat.com> |
5849 | ||
5850 | PR gdb/13860 | |
5851 | * gdbthread.h (struct thread_control_state): New field | |
5852 | `command_interp'. | |
5853 | * infrun.c (follow_fork): Copy the new thread control field to the | |
5854 | child fork thread. | |
5855 | (clear_proceed_status_thread): Clear the new thread control field. | |
5856 | (proceed): Set the new thread control field. | |
5857 | * interps.h (command_interp): Declare. | |
5858 | * interps.c (command_interpreter): New global. | |
5859 | (command_interp): New function. | |
5860 | (interp_exec): Set `command_interpreter' while here. | |
5861 | * cli-out.c (cli_uiout_dtor): New function. | |
5862 | (cli_ui_out_impl): Install it. | |
5863 | * mi/mi-interp.c: Include cli-out.h. | |
5864 | (mi_cmd_interpreter_exec): Add comment. | |
5865 | (restore_current_uiout_cleanup): New function. | |
5866 | (ui_out_free_cleanup): New function. | |
5867 | (mi_on_normal_stop): If finishing an execution command started by | |
5868 | a CLI command, or any kind of breakpoint-like event triggered, | |
5869 | print the stop event to the output (CLI) stream. | |
5870 | * mi/mi-out.c (mi_ui_out_impl): Install NULL `dtor' handler. | |
5871 | ||
5166082f PA |
5872 | 2014-05-21 Pedro Alves <palves@redhat.com> |
5873 | ||
5874 | * cli/cli-cmds.c (list_command): Handle the first "list" after the | |
5875 | current source line having changed. | |
5876 | * frame.h (set_current_sal_from_frame): Remove 'center' parameter. | |
5877 | * infrun.c (normal_stop): Adjust call to | |
5878 | set_current_sal_from_frame. | |
5879 | * source.c (clear_lines_listed_range): New function. | |
5880 | (set_current_source_symtab_and_line, identify_source_line): Clear | |
5881 | the lines listed range. | |
5882 | (line_info): Handle the first "info line" after the current source | |
5883 | line having changed. | |
5884 | * stack.c (print_stack_frame): Remove center handling. | |
5885 | (set_current_sal_from_frame): Remove 'center' parameter. Don't | |
5886 | center sal.line. | |
5887 | ||
c1ee2fb3 PA |
5888 | 2014-05-21 Pedro Alves <palves@redhat.com> |
5889 | ||
5890 | * inf-child.c (inf_child_mourn_inferior): New function. | |
5891 | * inf-child.h (inf_child_mourn_inferior): New declaration. | |
5892 | * darwin-nat.c (darwin_mourn_inferior): Use | |
5893 | inf_child_mourn_inferior. | |
5894 | * gnu-nat.c (gnu_mourn_inferior): Likewise. | |
5895 | * inf-ptrace.c (inf_ptrace_mourn_inferior): Likewise. | |
5896 | * inf-ttrace.c (inf_ttrace_mourn_inferior): Likewise. | |
5897 | * nto-procfs.c (procfs_mourn_inferior): Likewise. | |
5898 | * windows-nat.c (windows_mourn_inferior): Likewise. | |
5899 | ||
5c6d4fb2 DE |
5900 | 2014-05-21 Doug Evans <xdje42@gmail.com> |
5901 | ||
250748cb | 5902 | * guile/scm-breakpoint.c (breakpoint_functions): Fix typo. |
5c6d4fb2 | 5903 | |
4a2722c5 DE |
5904 | 2014-05-21 Doug Evans <xdje42@gmail.com> |
5905 | ||
17292b30 | 5906 | * guile/scm-exception.c (gdbscm_invalid_object_error): Make result void. |
4a2722c5 DE |
5907 | (gdbscm_out_of_range_error): Ditto. |
5908 | (gdbscm_memory_error): Ditto. | |
250748cb DE |
5909 | * guile/scm-string.c (gdbscm_scm_to_target_string_unsafe): Delete. |
5910 | * guile/guile-internal.h (gdbscm_invalid_object_error): Update. | |
4a2722c5 DE |
5911 | (gdbscm_out_of_range_error): Update. |
5912 | (gdbscm_memory_error): Update. | |
5913 | (gdbscm_scm_to_target_string_unsafe): Delete. | |
5914 | ||
6a3cb8e8 PA |
5915 | 2014-05-21 Pedro Alves <palves@redhat.com> |
5916 | ||
5917 | * inf-child.c (inf_child_ops, inf_child_explicitly_opened): New | |
5918 | globals. | |
5919 | (inf_child_open_target): New function. | |
5920 | (inf_child_open): Use inf_child_open_target to push the target | |
5921 | instead of erroring out. | |
5922 | (inf_child_disconnect, inf_child_close) | |
5923 | (inf_child_maybe_unpush_target): New functions. | |
5924 | (inf_child_target): Install inf_child_disconnect and | |
5925 | inf_child_close. Store a pointer to the returned object. | |
5926 | * inf-child.h (inf_child_open_target, inf_child_maybe_unpush): New | |
5927 | declarations. | |
5928 | * target.c (auto_connect_native_target): New global. | |
5929 | (show_default_run_target): New function. | |
5930 | (find_default_run_target): Return NULL if automatically connecting | |
5931 | to the native target is disabled. | |
5932 | (_initialize_target): Install set/show auto-connect-native-target. | |
5933 | * NEWS: Mention "set auto-connect-native-target", and "target | |
5934 | native". | |
5935 | * linux-nat.c (super_close): New global. | |
5936 | (linux_nat_close): Call super_close. | |
5937 | (linux_nat_add_target): Store a pointer to the base class's | |
5938 | to_close method. | |
5939 | * inf-ptrace.c (inf_ptrace_mourn_inferior, inf_ptrace_detach): Use | |
5940 | inf_child_maybe_unpush. | |
5941 | * inf-ttrace.c (inf_ttrace_him): Don't push the target if it is | |
5942 | already pushed. | |
5943 | (inf_ttrace_mourn_inferior): Only unpush the target after mourning | |
5944 | the inferior. Use inf_child_maybe_unpush_target. | |
5945 | (inf_ttrace_attach): Don't push the target if it is already | |
5946 | pushed. | |
5947 | (inf_ttrace_detach): Use inf_child_maybe_unpush_target. | |
5948 | * darwin-nat.c (darwin_mourn_inferior): Only unpush the target | |
5949 | after mourning the inferior. Use inf_child_maybe_unpush_target. | |
5950 | (darwin_attach_pid): Don't push the target if it is already | |
5951 | pushed. | |
5952 | * gnu-nat.c (gnu_mourn_inferior): Only unpush the target after | |
5953 | mourning the inferior. Use inf_child_maybe_unpush_target. | |
5954 | (gnu_detach): Use inf_child_maybe_unpush_target. | |
5955 | * go32-nat.c (go32_create_inferior): Don't push the target if it | |
5956 | is already pushed. | |
5957 | (go32_mourn_inferior): Use inf_child_maybe_unpush_target. | |
5958 | * nto-procfs.c (procfs_is_nto_target): Adjust comment. | |
5959 | (procfs_open): Rename to ... | |
5960 | (procfs_open_1): ... this. Add target_ops parameter. Adjust | |
5961 | comments. Can target_preopen before changing node. Call | |
5962 | inf_child_open_target to push the target explicitly. | |
5963 | (procfs_attach): Don't push the target if it is already pushed. | |
5964 | (procfs_detach): Use inf_child_maybe_unpush_target. | |
5965 | (procfs_create_inferior): Don't push the target if it is already | |
5966 | pushed. | |
5967 | (nto_native_ops): New global. | |
5968 | (procfs_open): Reimplement. | |
5969 | (procfs_native_open): New function. | |
5970 | (init_procfs_targets): Install procfs_native_open as to_open of | |
5971 | "target native". Store a pointer to the "native" target in | |
5972 | nto_native_ops. | |
5973 | * procfs.c (procfs_attach): Don't push the target if it is already | |
5974 | pushed. | |
5975 | (procfs_detach): Use inf_child_maybe_unpush_target. | |
5976 | (procfs_mourn_inferior): Only unpush the target after mourning the | |
5977 | inferior. Use inf_child_maybe_unpush_target. | |
5978 | (procfs_init_inferior): Don't push the target if it is already | |
5979 | pushed. | |
5980 | * windows-nat.c (do_initial_windows_stuff): Don't push the target | |
5981 | if it is already pushed. | |
5982 | ||
930ee1b1 PA |
5983 | 2014-05-21 Pedro Alves <palves@redhat.com> |
5984 | ||
5985 | * NEWS: Mention that the "child", "GNU, "djgpp", "darwin-child" | |
5986 | and "procfs" targets are now called "native" instead. | |
5987 | ||
1f5d1b13 PA |
5988 | 2014-05-21 Pedro Alves <palves@redhat.com> |
5989 | ||
5990 | * go32-nat.c (go32_open): Delete. | |
5991 | (go32_target): Don't override the to_open method. | |
5992 | ||
132f8e03 PA |
5993 | 2014-05-21 Pedro Alves <palves@redhat.com> |
5994 | ||
5995 | * nto-procfs.c (procfs_can_run): New function. | |
5996 | (nto_procfs_ops): New global. | |
5997 | (init_procfs_targets): New, based on procfs_target. Install | |
5998 | "target native" in addition to "target procfs". | |
5999 | (_initialize_procfs): Call init_procfs_targets instead of adding | |
6000 | the target here. | |
6001 | ||
03c136c3 PA |
6002 | 2014-05-21 Pedro Alves <palves@redhat.com> |
6003 | ||
6004 | * windows-nat.c (windows_target): Don't override to_shortname, | |
6005 | to_longname or to_doc. | |
6006 | ||
a635d0f3 PA |
6007 | 2014-05-21 Pedro Alves <palves@redhat.com> |
6008 | ||
6009 | * gnu-nat.c (gnu): Don't override to_shortname, to_longname or | |
6010 | to_doc. | |
6011 | ||
4f9b5133 PA |
6012 | 2014-05-21 Pedro Alves <palves@redhat.com> |
6013 | ||
6014 | * darwin-nat.c (_initialize_darwin_inferior): Don't override | |
6015 | to_shortname, to_longname or to_doc. | |
6016 | ||
bc85afde PA |
6017 | 2014-05-21 Pedro Alves <palves@redhat.com> |
6018 | ||
6019 | * go32-nat.c (go32_target): Don't override to_shortname, | |
6020 | to_longname or to_doc. | |
6021 | ||
4ebfc96e PA |
6022 | 2014-05-21 Pedro Alves <palves@redhat.com> |
6023 | ||
6024 | * inf-child.c (inf_child_open): Remove mention of "child". | |
6025 | (inf_child_target): Rename target to "native" instead of "child". | |
6026 | ||
2648dfed AA |
6027 | 2014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com> |
6028 | ||
6029 | * Makefile.in (SFILES): Delete "regset.c". | |
6030 | (COMMON_OBS): Delete "regset.o". | |
6031 | * regset.c: Remove. | |
6032 | * regset.h (regset_alloc): Delete prototype. | |
6033 | ||
b13feb94 AA |
6034 | 2014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com> |
6035 | ||
6036 | * sparc-linux-tdep.c (sparc32_linux_gregset) | |
6037 | (sparc32_linux_fpregset): New static regset structures. | |
6038 | (sparc32_linux_init_abi): Drop dynamic regset allocations. | |
6039 | * sparc-tdep.h (struct gdbarch_tdep): Constify 'gregset' and | |
6040 | 'fpregset' fields. | |
6041 | * sparc64-linux-tdep.c: (sparc64_linux_gregset) | |
6042 | (sparc64_linux_fpregset): New static regset structures. | |
6043 | (sparc64_linux_init_abi): Drop dynamic regset allocations. | |
6044 | * sparc64fbsd-tdep.c (sparc64fbsd_gregset, sparc64fbsd_fpregset): | |
6045 | New static regset structures. | |
6046 | (sparc64fbsd_init_abi): Drop dynamic regset allocations. | |
6047 | * sparc64nbsd-tdep.c (sparc64nbsd_gregset, sparc64nbsd_fpregset): | |
6048 | New static regset structures. | |
6049 | (sparc64nbsd_init_abi): Drop dynamic regset allocations. | |
6050 | * sparc64obsd-tdep.c (sparc64obsd_gregset, sparc64obsd_fpregset): | |
6051 | New static regset structures. | |
6052 | (sparc64obsd_init_abi): Drop dynamic regset allocations. | |
6053 | * sparcnbsd-tdep.c (sparc32nbsd_gregset, sparc32nbsd_fpregset): | |
6054 | New static regset structures. | |
6055 | (sparc32nbsd_init_abi): Drop dynamic regset allocations. | |
6056 | ||
b4fd25c9 AA |
6057 | 2014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com> |
6058 | ||
6059 | * sparc-linux-nat.c (supply_gregset, supply_fpregset) | |
6060 | (fill_gregset, fill_fpregset, _initialize_sparc_linux_nat): Rename | |
6061 | register maps ("regmaps") from "*regset" to "*regmap". Do this | |
6062 | for all regmap types and variables. | |
6063 | * sparc-linux-tdep.c (sparc32_linux_step_trap) | |
6064 | (sparc32_linux_supply_core_gregset) | |
6065 | (sparc32_linux_collect_core_gregset) | |
6066 | (sparc32_linux_supply_core_fpregset) | |
6067 | (sparc32_linux_collect_core_fpregset): Likewise. | |
6068 | * sparc-nat.c (sparc_gregset, sparc_fpregset): Rename to... | |
6069 | (sparc_gregmap, sparc_fpregmap): ... these. | |
6070 | (sparc_supply_gregset, sparc_collect_gregset) | |
6071 | (sparc_supply_fpregset, sparc_collect_fpregset): Likewise. | |
6072 | (sparc_fetch_inferior_registers, sparc_store_inferior_registers) | |
6073 | (_initialize_sparc_nat): Rename regmaps. | |
6074 | * sparc-nat.h (sparc_gregset, sparc_fpregset): Rename to... | |
6075 | (sparc_gregmap, sparc_fpregmap): ... these. | |
6076 | (sparc_supply_gregset, sparc_collect_gregset) | |
6077 | (sparc_supply_fpregset, sparc_collect_fpregset): Likewise. | |
6078 | * sparc-sol2-nat.c (sparc_sol2_gregset, sparc_sol2_fpregset): | |
6079 | Rename macros to... | |
6080 | (sparc_sol2_gregmap, sparc_sol2_fpregmap): ... these. | |
6081 | (supply_gregset, supply_fpregset, fill_gregset, fill_fpregset): | |
6082 | Likewise. | |
6083 | * sparc-sol2-tdep.c (sparc32_sol2_gregset, sparc32_sol2_fpregset): | |
6084 | Rename to... | |
6085 | (sparc32_sol2_gregmap, sparc32_sol2_fpregmap): ... these. | |
6086 | * sparc-tdep.c (sparc32_supply_gregset, sparc32_collect_gregset) | |
6087 | (sparc32_supply_fpregset, sparc32_collect_fpregset): Rename | |
6088 | regmaps. | |
6089 | (sparc32_sunos4_gregset, sparc32_sunos4_fpregset) | |
6090 | (sparc32_bsd_fpregset): Rename to... | |
6091 | (sparc32_sunos4_gregmap, sparc32_sunos4_fpregmap) | |
6092 | (sparc32_bsd_fpregmap): ... these. | |
6093 | * sparc-tdep.h (struct sparc_gregset, struct sparc_fpregset) | |
6094 | (sparc32_sunos4_gregset, sparc32_sunos4_fpregset) | |
6095 | (sparc32_bsd_fpregset, sparc32_sol2_gregset) | |
6096 | (sparc32_sol2_fpregset, sparc32nbsd_gregset): Rename to... | |
6097 | (struct sparc_gregmap, struct sparc_fpregmap) | |
6098 | (sparc32_sunos4_gregmap, sparc32_sunos4_fpregmap) | |
6099 | (sparc32_bsd_fpregmap, sparc32_sol2_gregmap) | |
6100 | (sparc32_sol2_fpregmap, sparc32nbsd_gregmap): ... these. | |
6101 | (sparc32_supply_regset, sparc32_collect_gregset) | |
6102 | (sparc32_supply_fpregset, sparc32_collect_fpregset): Adjust | |
6103 | prototypes. | |
6104 | * sparc64-linux-nat.c (sparc64_linux_ptrace_gregset): Rename to... | |
6105 | (sparc64_linux_ptrace_gregmap): ... this. | |
6106 | (supply_gregset, supply_fpregset, fill_gregset, fill_fpregset) | |
6107 | (_initialize_sparc64_linux_nat): Rename regmaps. | |
6108 | * sparc64-linux-tdep.c (sparc64_linux_core_gregset): Rename to... | |
6109 | (sparc64_linux_core_gregmap): ... this. | |
6110 | (sparc64_linux_supply_core_gregset) | |
6111 | (sparc64_linux_collect_core_gregset) | |
6112 | (sparc64_linux_supply_core_fpregset) | |
6113 | (sparc64_linux_collect_core_fpregset): Rename regmaps. | |
6114 | * sparc64-sol2-tdep.c (sparc64_sol2_gregset) | |
6115 | (sparc64_sol2_fpregset): Rename to... | |
6116 | (sparc64_sol2_gregmap, sparc64_sol2_fpregmap): ... these. | |
6117 | * sparc64-tdep.c (sparc64_supply_gregset, sparc64_collect_gregset) | |
6118 | (sparc64_supply_fpregset, sparc64_collect_fpregset): Rename | |
6119 | regmaps. | |
6120 | * sparc64-tdep.h (struct sparc_gregset, sparc64_sol2_gregset) | |
6121 | (sparc64_sol2_fpregset, sparc64fbsd_gregset, sparc64nbsd_gregset) | |
6122 | (sparc64_bsd_fpregset): Rename to... | |
6123 | (struct sparc_gregmap, sparc64_sol2_gregmap) | |
6124 | (sparc64_sol2_fpregmap, sparc64fbsd_gregmap, sparc64nbsd_gregmap) | |
6125 | (sparc64_bsd_fpregmap): ... these. | |
6126 | (sparc64_supply_gregset, sparc64_collect_gregset) | |
6127 | (sparc64_supply_fpregset, sparc64_collect_fpregset): Adjust | |
6128 | prototypes. | |
6129 | * sparc64fbsd-nat.c (_initialize_sparc64fbsd_nat): Rename regmaps. | |
6130 | * sparc64fbsd-tdep.c (sparc64fbsd_gregset): Rename to... | |
6131 | (sparc64fbsd_gregmap): ... this. | |
6132 | (sparc64fbsd_supply_gregset, sparc64fbsd_collect_gregset) | |
6133 | (sparc64fbsd_supply_fpregset, sparc64fbsd_collect_fpregset): | |
6134 | Rename regmaps. | |
6135 | * sparc64nbsd-nat.c (sparc64nbsd_supply_gregset) | |
6136 | (sparc64nbsd_collect_gregset, sparc64nbsd_supply_fpregset) | |
6137 | (sparc64nbsd_collect_fpregset): Likewise. | |
6138 | * sparc64nbsd-tdep.c (sparc64nbsd_gregset): Rename to... | |
6139 | (sparc64nbsd_gregmap): ... this. | |
6140 | (sparc64nbsd_supply_gregset, sparc64nbsd_supply_fpregset): Rename | |
6141 | regmaps. | |
6142 | * sparc64obsd-nat.c (_initialize_sparc64obsd_nat): Likewise. | |
6143 | * sparc64obsd-tdep.c (sparc64obsd_gregset): Rename to... | |
6144 | (sparc64obsd_gregmap): ... this. | |
6145 | (sparc64obsd_supply_gregset, sparc64obsd_supply_fpregset): Rename | |
6146 | regmaps. | |
6147 | * sparcnbsd-nat.c (_initialize_sparcnbsd_nat): Likewise. | |
6148 | * sparcnbsd-tdep.c (sparc32nbsd_gregset): Rename to... | |
6149 | (sparc32nbsd_gregmap): ... this. | |
6150 | (sparc32nbsd_supply_gregset, sparc32nbsd_supply_fpregset): Rename | |
6151 | regmaps. | |
6152 | ||
8fea3224 AA |
6153 | 2014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com> |
6154 | ||
6155 | * score-tdep.c (score7_linux_gregset): New static regset | |
6156 | structure. | |
6157 | (score7_linux_regset_from_core_section): Remove dynamic regset | |
6158 | allocation. | |
6159 | (score_gdbarch_init): Drop allocation of tdep structure. | |
6160 | * score-tdep.h (struct gdbarch_tdep): Remove declaration. | |
6161 | ||
24534243 AA |
6162 | 2014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com> |
6163 | ||
6164 | * mn10300-linux-tdep.c (am33_gregset, am33_fpregset): New static | |
6165 | regset structures. | |
6166 | (am33_regset_from_core_section): Remove dynamic regset | |
6167 | allocations. | |
6168 | ||
b7195f27 AA |
6169 | 2014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com> |
6170 | ||
6171 | * mips-linux-tdep.c (mips_linux_gregset, mips64_linux_gregset) | |
6172 | (mips_linux_fpregset, mips64_linux_fpregset): New static regset | |
6173 | structures. | |
6174 | (mips_linux_regset_from_core_section): Remove dynamic regset | |
6175 | allocations. | |
6176 | * mips-tdep.h (struct gdbarch_tdep): Remove fields 'gregset', | |
6177 | 'gregset64', 'fpregset', and 'fpregset64'. | |
6178 | * mips-tdep.c (mips_gdbarch_init): Remove initialization of | |
6179 | deleted tdep fields. | |
6180 | ||
ecc37a5a AA |
6181 | 2014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com> |
6182 | ||
6183 | * amd64-tdep.c (amd64_fpregset, amd64_xstateregset): New static | |
6184 | regset structures. | |
6185 | (amd64_regset_from_core_section): Remove dynamic regset | |
6186 | allocations. | |
6187 | * amd64obsd-tdep.c (amd64obsd_combined_regset): New static regset | |
6188 | structure. | |
6189 | (amd64obsd_regset_from_core_section): Remove dynamic regset | |
6190 | allocation. | |
6191 | * i386-cygwin-tdep.c (i386_windows_regset_from_core_section): | |
6192 | Likewise. | |
6193 | * i386-nto-tdep.c (i386nto_supply_gregset): Adjust call to | |
6194 | x86-common regset supply function. | |
6195 | * i386-tdep.c (i386_collect_gregset): Make static. | |
6196 | (i386_gregset): New global regset structure. | |
6197 | (i386_fpregset, i386_xstateregset): New static regset structures. | |
6198 | (i386_regset_from_core_section): Remove dynamic regset | |
6199 | allocations. | |
6200 | (i386_gdbarch_init): Remove initialization of tdep fields | |
6201 | 'gregset', 'fpregset', and 'xstateregset'. | |
6202 | * i386-tdep.h (struct gdbarch_tdep): Remove fields 'gregset', | |
6203 | 'fpregset', and 'xstateregset'. | |
6204 | (i386_collect_gregset): Remove prototype. | |
6205 | (i386_gregset): New declaration. | |
6206 | * i386obsd-tdep.c (i386obsd_aout_gregset): New static regset | |
6207 | structure. | |
6208 | (i386obsd_aout_regset_from_core_section): Remove dynamic regset | |
6209 | allocation. | |
6210 | ||
b7611c43 AA |
6211 | 2014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com> |
6212 | ||
6213 | * arm-linux-tdep.c (arm_linux_gregset, arm_linux_fpregset) | |
6214 | (arm_linux_vfpregset): New static regset structures. | |
6215 | (arm_linux_regset_from_core_section): Remove dynamic allocation of | |
6216 | regset structures. | |
6217 | * arm-tdep.h (struct gdbarch_tdep): Remove 'gregset', 'fpregset', | |
6218 | and 'vfpregset' fields. | |
6219 | ||
a069a2bd AA |
6220 | 2014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com> |
6221 | ||
6222 | * aarch64-linux-tdep.c (aarch64_linux_gregset) | |
6223 | (aarch64_linux_fpregset): New static regset structures. | |
6224 | (aarch64_linux_regset_from_core_section): Drop dynamic allocation | |
6225 | of regset structures. | |
6226 | * aarch64-tdep.h (struct gdbarch_tdep): Remove 'gregset' and | |
6227 | 'fpregset' fields. | |
6228 | ||
09424cff AA |
6229 | 2014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com> |
6230 | ||
6231 | * regset.h (struct regset): Remove gdbarch field. | |
6232 | * regset.c (regset_alloc): Drop initialization of gdbarch field. | |
6233 | * nios2-linux-tdep.c (nios2_core_regset): Likewise. | |
6234 | * ppcfbsd-tdep.c (ppc32_fbsd_gregset, ppc64_fbsd_gregset): | |
6235 | Likewise. | |
6236 | * ppc-linux-tdep.c (ppc32_linux_gregset, ppc64_linux_gregset) | |
6237 | (ppc32_linux_fpregset, ppc32_linux_vrregset) | |
6238 | (ppc32_linux_vsxregset): Likewise. | |
6239 | * i386obsd-tdep.c (i386obsd_aout_supply_regset): Get the gdbarch | |
6240 | via the regcache instead of the regset. | |
6241 | * i386-tdep.c (i386_supply_gregset, i386_collect_gregset) | |
6242 | (i386_supply_fpregset, i386_collect_fpregset): Likewise. | |
6243 | * amd64obsd-tdep.c (amd64obsd_supply_regset): Likewise. | |
6244 | * amd64-tdep.c (amd64_supply_fpregset, amd64_collect_fpregset): | |
6245 | Likewise. | |
6246 | ||
3ca7dae4 AA |
6247 | 2014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com> |
6248 | ||
6249 | * alpha-linux-tdep.c (alpha_linux_gregset, alpha_linux_fpregset): | |
6250 | Constify structures. | |
6251 | * alphanbsd-tdep.c (alphanbsd_gregset, alphanbsd_fpregset) | |
6252 | (alphanbsd_aout_gregset): Likewise. | |
6253 | * armbsd-tdep.c (armbsd_gregset, armbsd_fpregset): Likewise. | |
6254 | * frv-linux-tdep.c (frv_linux_gregset, frv_linux_fpregset): | |
6255 | Likewise. | |
6256 | * hppa-hpux-tdep.c (hppa_hpux_regset): Likewise. | |
6257 | * hppa-linux-tdep.c (hppa_linux_regset, hppa_linux_fpregset): | |
6258 | Likewise. | |
6259 | * hppanbsd-tdep.c (hppanbsd_gregset): Likewise. | |
6260 | * hppaobsd-tdep.c (hppaobsd_gregset, hppaobsd_fpregset): Likewise. | |
6261 | * m32r-linux-tdep.c (m32r_linux_gregset): Likewise. | |
6262 | * m68kbsd-tdep.c (m68kbsd_gregset, m68kbsd_fpregset): Likewise. | |
6263 | * m88k-tdep.c (m88k_gregset): Likewise. | |
6264 | * mips64obsd-tdep.c (mips64obsd_gregset): Likewise. | |
6265 | * mipsnbsd-tdep.c (mipsnbsd_gregset, mipsnbsd_fpregset): Likewise. | |
6266 | * nios2-linux-tdep.c (nios2_core_regset): Likewise. | |
6267 | * ppcfbsd-tdep.c (ppc32_fbsd_fpregset): Likewise. | |
6268 | * ppcnbsd-tdep.c (ppcnbsd_gregset, ppcnbsd_fpregset): Likewise. | |
6269 | * ppcnbsd-tdep.h (ppcnbsd_gregset, ppcnbsd_fpregset): Likewise. | |
6270 | * ppcobsd-tdep.c (ppcobsd_gregset, ppcobsd_fpregset): Likewise. | |
6271 | * ppcobsd-tdep.h (ppcobsd_gregset, ppcobsd_fpregset): Likewise. | |
6272 | * rs6000-aix-tdep.c (rs6000_aix32_regset, rs6000_aix64_regset): | |
6273 | Likewise. | |
6274 | * sh-tdep.c (sh_corefile_gregset, sh_corefile_fpregset): Likewise. | |
6275 | * sh-tdep.h (sh_corefile_gregset): Likewise. | |
6276 | * tilegx-linux-tdep.c (tilegx_linux_regset): Likewise. | |
6277 | * vax-tdep.c (vax_gregset): Likewise. | |
6278 | ||
5876f503 JK |
6279 | 2014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com> |
6280 | ||
6281 | Fix TLS access for -static -pthread. | |
6282 | * linux-thread-db.c (struct thread_db_info): Add td_thr_tlsbase_p. | |
6283 | (try_thread_db_load_1): Initialize it. | |
6284 | (thread_db_get_thread_local_address): Call it if LM is zero. | |
6285 | * target.c (target_translate_tls_address): Remove LM_ADDR zero check. | |
6286 | * target.h (struct target_ops) (to_get_thread_local_address): Add | |
6287 | load_module_addr comment. | |
6288 | ||
0256a6ac PA |
6289 | 2014-05-21 Pedro Alves <palves@redhat.com> |
6290 | ||
6291 | * dcache.c (dcache_read_memory_partial): If reading the cache line | |
6292 | fails, fallback to reading just the memory the caller wanted. | |
6293 | ||
227533ac DE |
6294 | 2014-05-20 Doug Evans <dje@google.com> |
6295 | ||
6296 | * python/py-progspace.c (py_free_pspace): Call target_gdbarch | |
6297 | instead of get_current_arch. | |
6298 | ||
936d2992 PA |
6299 | 2014-05-20 Pedro Alves <palves@redhat.com> |
6300 | ||
6301 | * NEWS: Mention that compare-sections now works with all targets. | |
6302 | ||
6303 | * remote.c (PACKET_qCRC): New enum value. | |
6304 | (remote_verify_memory): Don't send qCRC if the target has no | |
6305 | execution. Use packet_support/packet_ok. If the target doesn't | |
6306 | support the qCRC packet, fallback to a deep memory copy. | |
6307 | (compare_sections_command): Say "target image" instead of "remote | |
6308 | executable". | |
6309 | (_initialize_remote): Add PACKET_qCRC to the list of config | |
6310 | packets that have no associated command. Extend comment. | |
6311 | * target.c (simple_verify_memory, default_verify_memory): New | |
6312 | function. | |
6313 | * target.h (struct target_ops) <to_verify_memory>: Default to | |
6314 | default_verify_memory. | |
6315 | (simple_verify_memory): New declaration. | |
6316 | * target-delegates.c: Regenerate. | |
6317 | ||
e59fa00f MM |
6318 | 2014-05-20 Markus Metzger <markus.t.metzger@intel.com> |
6319 | ||
6320 | * record-btrace.c (record_btrace_step_thread): Check for empty history. | |
6321 | ||
f2205de0 HZ |
6322 | 2014-05-20 Hui Zhu <hui@codesourcery.com> |
6323 | Yao Qi <yao@codesourcery.com> | |
6324 | ||
6325 | PR backtrace/16558 | |
6326 | * aarch64-linux-tdep.c (aarch64_linux_sigframe_init): Update comments | |
6327 | and change address of sp and pc. | |
6328 | ||
c4e54771 TT |
6329 | 2014-05-19 Tom Tromey <tromey@redhat.com> |
6330 | ||
6331 | * gdbtypes.c (rank_function): Use XNEWVEC. | |
6332 | * mi/mi-cmds.c (build_table): Use XCNEWVEC. | |
6333 | ||
73051182 DE |
6334 | 2014-05-19 Doug Evans <dje@google.com> |
6335 | ||
6336 | * dwarf2read.c (build_type_psymtabs_1): Renamed from | |
6337 | build_type_unit_groups and moved closer to only caller. Remove | |
6338 | arguments. All references updated. Remove outdated .gdb_index | |
6339 | comment. | |
6340 | (struct tu_abbrev_offset, sort_tu_by_abbrev_offset): Move with | |
6341 | build_type_psymtabs_1. | |
6342 | ||
8832e7e3 DE |
6343 | 2014-05-19 Doug Evans <dje@google.com> |
6344 | ||
6345 | * dwarf2read.c (struct dwarf2_per_objfile): Delete unused members | |
6346 | n_type_unit_groups, all_type_unit_groups. All uses removed. | |
6347 | (get_type_unit_group, build_type_unit_groups): Delete forward decls. | |
6348 | (dw2_get_cutu): Renamed from dw2_get_cu. All callers updated. | |
6349 | (dw2_get_cu): Renamed from dw2_get_primary_cu. All callers updated. | |
6350 | (add_type_unit_group_to_table): Delete. | |
6351 | ||
cd8ae15e DE |
6352 | 2014-05-19 Doug Evans <dje@google.com> |
6353 | ||
6354 | * eval.c (evaluate_subexp_standard): Add some comments. | |
6355 | ||
08f4850b DE |
6356 | 2014-05-17 Doug Evans <xdje42@gmail.com> |
6357 | ||
6358 | * progspace.c (remove_program_space): Delete, unused. | |
6359 | * progspace.h (remove_program_space): Ditto. | |
6360 | ||
bed8455c DE |
6361 | 2014-05-17 Doug Evans <xdje42@gmail.com> |
6362 | ||
6363 | * inferior.c (prune_inferiors): Fix comment. | |
6364 | (remove_inferior_command): Call prune_program_spaces. | |
6365 | ||
8d551b02 DE |
6366 | 2014-05-16 Doug Evans <dje@google.com> |
6367 | ||
6368 | New command line option -D. | |
6369 | * NEWS: Mention it. | |
6370 | * main.c (set_gdb_data_directory): New function. | |
6371 | (captured_main): Recognize -D. Flag error for --data-directory "". | |
6372 | Call set_gdb_data_directory. | |
6373 | (print_gdb_help): Print --data-directory, -D. | |
6374 | * main.h (set_gdb_data_directory): Declare. | |
6375 | * top.c (staged_gdb_datadir): New static global. | |
6376 | (set_gdb_datadir): Call set_gdb_data_directory | |
6377 | (show_gdb_datadir): New function. | |
6378 | (init_main): Update init of data-directory parameter. | |
6379 | ||
18848e28 GF |
6380 | 2014-05-16 Gregory Fong <gregory.0xf0@gmail.com> |
6381 | ||
6382 | Import the "dirfd" gnulib module. | |
6383 | * gnulib/update-gnulib.sh (IMPORTED_GNULIB_MODULES): Add dirfd. | |
6384 | * gnulib/aclocal.m4: Update. | |
6385 | * gnulib/config.in: Update. | |
6386 | * gnulib/configure: Update. | |
6387 | * gnulib/import/Makefile.am: Update. | |
6388 | * gnulib/import/Makefile.in: Update. | |
6389 | * gnulib/import/dirfd.c: New. | |
6390 | * gnulib/import/m4/dirfd.m4: New. | |
6391 | * gnulib/import/m4/gnulib-cache.m4: Update. | |
6392 | * gnulib/import/m4/gnulib-comp.m4: Update. | |
6393 | ||
95c64f92 YQ |
6394 | 2014-05-16 Pierre Muller <muller@sourceware.org> |
6395 | Yao Qi <yao@codesourcery.com> | |
6396 | ||
6397 | * valprint.c (print_wchar): Move the code on checking whether | |
6398 | W is a printable wide char to the default branch of switch | |
6399 | statement below. Call wchar_printable instead of gdb_iswprint. | |
6400 | ||
cac395ea TM |
6401 | 2014-05-16 Taimoor Mirza <tmirza@codesourcery.com> |
6402 | ||
19679eca | 6403 | * arm-tdep.c (thumb_analyze_prologue): Fix offset calculation for |
cac395ea TM |
6404 | ldr.w and ldrd instructions. |
6405 | ||
83655187 DE |
6406 | 2014-05-15 Doug Evans <dje@google.com> |
6407 | ||
6408 | * dwarf2read.c (read_structure_type): Delete outdated comments. | |
6409 | ||
dd756689 TT |
6410 | 2014-05-14 Tom Tromey <tromey@redhat.com> |
6411 | ||
6412 | * macrocmd.c (print_macro_definition): Reindent. | |
6413 | ||
75ddda77 DE |
6414 | 2014-05-13 Doug Evans <xdje42@gmail.com> |
6415 | ||
6416 | * python/py-cmd.c (cmdpy_completer): Add comment. | |
6417 | (completers): Make const. | |
6418 | ||
b0f16a3e SM |
6419 | 2014-05-13 Simon Marchi <simon.marchi@ericsson.com> |
6420 | ||
6421 | * infrun.c (resume): Remove should_resume (unused). Move up | |
6422 | declaration of resume_ptid. | |
6423 | ||
033c3379 TT |
6424 | 2014-05-13 Tom Tromey <tromey@redhat.com> |
6425 | ||
6426 | * language.h (unop_type_check): Remove. | |
6427 | (binop_type_check): Don't declare. | |
6428 | ||
9b44a3a5 AA |
6429 | 2014-05-13 Andreas Arnez <arnez@vnet.linux.ibm.com> |
6430 | ||
6431 | * s390-linux-nat.c (fill_gregset): Remove erroneous offset 4 in | |
6432 | call to regcache_raw_collect. | |
6433 | ||
303a33fa SM |
6434 | 2014-05-12 Simon Marchi <simon.marchi@ericsson.com> |
6435 | ||
6436 | * mi/mi-console.c (mi_console_raw_packet): Use the value from | |
6437 | mi_console->quote as the quoting character. | |
6438 | ||
196100a0 SM |
6439 | 2014-05-12 Simon Marchi <simon.marchi@ericsson.com> |
6440 | ||
6441 | * MAINTAINERS (Write After Approval): Add "Simon Marchi". | |
6442 | ||
f989a1c8 TT |
6443 | 2014-04-29 Tom Tromey <tromey@redhat.com> |
6444 | ||
6445 | * varobj.c (_initialize_varobj): Rename to "set debug varobj" and | |
6446 | "show debug varobj". | |
6447 | ||
9404b58f KM |
6448 | 2014-05-07 Kyle McMartin <kyle@redhat.com> |
6449 | ||
6450 | Pushed by Joel Brobecker <brobecker@adacore.com>. | |
6451 | * aarch64-tdep.c (aarch64_software_single_step): New function. | |
6452 | (aarch64_gdbarch_init): Handle single stepping of atomic sequences | |
6453 | with aarch64_software_single_step. | |
6454 | ||
5e49ba57 JB |
6455 | 2014-05-05 Joel Brobecker <brobecker@adacore.com> |
6456 | ||
6457 | GDB 7.7.1 released. | |
6458 | ||
c888a17d KS |
6459 | 2014-05-05 Keith Seitz <keiths@redhat.com> |
6460 | ||
6461 | * linespec.c (linespec_parse_basic): Run cleanups if a convenience | |
6462 | variable or history value is successfully parsed. | |
6463 | ||
290a839c YQ |
6464 | 2014-05-05 Yao Qi <yao@codesourcery.com> |
6465 | Pedro Alves <palves@redhat.com> | |
6466 | ||
6467 | * tracefile-tfile.c (tfile_xfer_partial): Record the lowest | |
6468 | address of blocks that intersects the requested range. Trim | |
6469 | LEN up to LOW_ADDR_AVAILABLE if read from executable read-only | |
6470 | sections. | |
6471 | * ctf.c (ctf_xfer_partial): Likewise. | |
6472 | ||
91256dc2 YQ |
6473 | 2014-05-05 Yao Qi <yao@codesourcery.com> |
6474 | ||
6475 | * printcmd.c (display_command): Remove the check to | |
6476 | target_has_execution. | |
6477 | ||
07284463 MK |
6478 | 2014-05-03 Mark Kettenis <kettenis@gnu.org> |
6479 | ||
6480 | * ppcobsd-nat.c: Include "obsd-nat.h". | |
6481 | (_initialize_ppcobsd_nat): Call obsd_add_target instead of | |
6482 | add_target. | |
6483 | * config/powerpc/obsd.mh (NATDEPFILES): Add obsd-nat.o. | |
6484 | ||
30a1e6cc SDJ |
6485 | 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com> |
6486 | ||
6487 | * stap-probe.c (enum stap_arg_bitness): New enums to represent 8 | |
6488 | and 16-bit signed and unsigned arguments. Update comment. | |
6489 | (stap_parse_probe_arguments): Extend code to handle such | |
6490 | arguments. Use warning instead of complaint to notify about | |
6491 | unrecognized bitness. | |
6492 | ||
f33da99a SDJ |
6493 | 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com> |
6494 | ||
6495 | PR breakpoints/16889 | |
6496 | * stap-probe.c (stap_parse_probe_arguments): Simplify | |
6497 | check for non-prefixed probes (i.e., probes whose | |
6498 | arguments do not start with "N@"). Always set the | |
6499 | argument type to a sane value. | |
6500 | ||
95cf3b38 DT |
6501 | 2014-05-01 David Taylor <dtaylor@emc.com> |
6502 | ||
6503 | * remote.c (compare_sections_command): Add -r option to compare | |
6504 | all loadable read-only sections. | |
6505 | ||
1cfdf534 SC |
6506 | 2014-04-30 Siva Chandra Reddy <sivachandra@google.com> |
6507 | ||
6508 | * dwarf2loc.c (dwarf2_locexpr_baton_eval, | |
6509 | dwarf2_evaluate_property): Remove unused CORE_ADDR argument. | |
6510 | Update all callers. | |
6511 | * dwarf2loc.h (dwarf2_evaluate_property): Update signature. | |
6512 | * gdbtypes.c (resolve_dynamic_range, resolve_dynamic_array): | |
6513 | Remove unused CORE_ADDR argument. Update all callers. | |
6514 | ||
ca4f7f8b PA |
6515 | 2014-04-29 Pedro Alves <palves@redhat.com> |
6516 | ||
6517 | * remote.c (struct packet_config) <detect>: Extend comment. | |
6518 | (add_packet_config_cmd): Don't set the config's detect or support | |
6519 | fields here. | |
6520 | (init_all_packet_configs): Also initialize the config's 'detect' | |
6521 | field. | |
6522 | (reset_all_packet_configs_support): New function. | |
6523 | (remote_open_1): Call reset_all_packet_configs_support instead of | |
6524 | init_all_packet_configs. | |
6525 | (_initialize_remote): Initialize all packet configs. Assert that | |
6526 | all packets have an associated command, except a few known | |
6527 | outliers. | |
6528 | ||
11c1ba78 JB |
6529 | 2014-04-28 Joel Brobecker <brobecker@adacore.com> |
6530 | ||
6531 | * dwarf2read.c (read_subrange_type): Handle dynamic | |
6532 | DW_AT_lower_bound attributes. | |
6533 | ||
8739bc53 JB |
6534 | 2014-04-28 Joel Brobecker <brobecker@adacore.com> |
6535 | ||
6536 | * ada-lang.c (ada_discrete_type_high_bound): Resolve the type's | |
6537 | dynamic bounds before computing its upper bound. | |
6538 | (ada_discrete_type_low_bound): Same as above with the lower bound. | |
6539 | ||
6f8a3220 JB |
6540 | 2014-04-28 Joel Brobecker <brobecker@adacore.com> |
6541 | ||
6542 | * dwarf2read.c (is_dynamic_type): Return true for dynamic | |
6543 | range types. Adjust the array handling implementation to | |
6544 | take advantage of this change. | |
6545 | (resolve_dynamic_range): New function, mostly extracted from | |
6546 | resolve_dynamic_bounds. | |
6547 | (resolve_dynamic_array): New function, mostly extracted from | |
6548 | resolve_dynamic_bounds. | |
6549 | (resolve_dynamic_bounds): Delete. | |
6550 | (resolve_dynamic_type): Reimplement. Add handling of | |
6551 | TYPE_CODE_RANGE types. | |
6552 | ||
4d072ce4 JB |
6553 | 2014-04-28 Joel Brobecker <brobecker@adacore.com> |
6554 | ||
6555 | * ada-varobj.c (ada_varobj_describe_simple_array_child): Remove | |
6556 | handling of parallel ___XA types. | |
6557 | ||
52865325 JB |
6558 | 2014-04-28 Joel Brobecker <brobecker@adacore.com> |
6559 | ||
6560 | * ada-lang.c (ada_evaluate_subexp) <OP_VAR_VALUE>: Remove | |
6561 | unnecessary second call to static_unwrap_type. | |
6562 | ||
433e77fa HZ |
6563 | 2014-04-27 Hui Zhu <hui@codesourcery.com> |
6564 | ||
6565 | * stack.c (print_frame_info): Call do_gdb_disassembly with | |
6566 | DUMMY_FRAME, SIGTRAMP_FRAME and ARCH_FRAME. | |
6567 | ||
b51a69ee DE |
6568 | 2014-04-26 Doug Evans <xdje42@gmail.com> |
6569 | ||
6570 | * guile/scm-safe-call.c (scscm_eval_scheme_string): Fix comment. | |
6571 | ||
7ae1a6a6 PA |
6572 | 2014-04-25 Pedro Alves <palves@redhat.com> |
6573 | ||
6574 | PR server/16255 | |
6575 | * common/linux-ptrace.c (linux_ptrace_attach_warnings): Rename to ... | |
6576 | (linux_ptrace_attach_fail_reason): ... this. Remove "warning: " | |
6577 | and newline from built string. | |
6578 | * common/linux-ptrace.h (linux_ptrace_attach_warnings): Rename to ... | |
6579 | (linux_ptrace_attach_fail_reason): ... this. | |
6580 | * linux-nat.c (linux_nat_attach): Adjust to use | |
6581 | linux_ptrace_attach_fail_reason. | |
6582 | ||
4082afcc PA |
6583 | 2014-04-25 Pedro Alves <palves@redhat.com> |
6584 | ||
6585 | * remote.c (struct remote_state): Remove multi_process_aware, | |
6586 | non_stop_aware, cond_tracepoints, cond_breakpoints, | |
6587 | breakpoint_commands, fast_tracepoints, static_tracepoints, | |
6588 | install_in_trace, disconnected_tracing, | |
6589 | enable_disable_tracepoints, string_tracing, and | |
6590 | augmented_libraries_svr4_read fields. | |
6591 | (remote_multi_process_p): Move further below in the file. | |
6592 | (struct packet_config): Add comments. | |
6593 | (update_packet_config): Delete function. | |
6594 | (show_packet_config_cmd): Use packet_config_support. | |
6595 | (add_packet_config_cmd): Use NULL as set callback. | |
6596 | (packet_ok): "set remote foo-packet"-style commands no longer | |
6597 | change config->supported -- adjust. | |
6598 | (PACKET_ConditionalTracepoints, PACKET_ConditionalBreakpoints) | |
6599 | (PACKET_BreakpointCommands, PACKET_FastTracepoints) | |
6600 | (PACKET_StaticTracepoints, PACKET_InstallInTrace): Add comments. | |
6601 | (PACKET_QNonStop, PACKET_multiprocess_feature) | |
6602 | (PACKET_EnableDisableTracepoints_feature, PACKET_tracenz_feature) | |
6603 | (PACKET_DisconnectedTracing_feature) | |
6604 | (PACKET_augmented_libraries_svr4_read_feature): New enum values. | |
6605 | (set_remote_protocol_packet_cmd): Delete function. | |
6606 | (packet_config_support, packet_support): New functions. | |
6607 | (set_remote_protocol_Z_packet_cmd): Don't call | |
6608 | update_packet_config. | |
6609 | (remote_query_attached, remote_pass_signals) | |
6610 | (remote_program_signals, remote_threads_info) | |
6611 | (remote_threads_extra_info, remote_start_remote): Use | |
6612 | packet_support. | |
6613 | (remote_start_remote): Use packet_config_support and | |
6614 | packet_support. | |
6615 | (init_all_packet_configs): Set all packets to unknown support, | |
6616 | instead of calling update_packet_config. | |
6617 | (remote_check_symbols): Use packet_support. | |
6618 | (remote_supported_packet): Unconditionally set the packet config's | |
6619 | support status. | |
6620 | (remote_multi_process_feature, remote_non_stop_feature) | |
6621 | (remote_cond_tracepoint_feature, remote_cond_breakpoint_feature) | |
6622 | (remote_breakpoint_commands_feature) | |
6623 | (remote_fast_tracepoint_feature, remote_static_tracepoint_feature) | |
6624 | (remote_install_in_trace_feature) | |
6625 | (remote_disconnected_tracing_feature) | |
6626 | (remote_enable_disable_tracepoint_feature) | |
6627 | (remote_string_tracing_feature) | |
6628 | (remote_augmented_libraries_svr4_read_feature): Delete functions. | |
6629 | (remote_protocol_features): Adjust to use remote_supported_packet | |
6630 | for "augmented-libraries-svr4-read", "multiprocess", "QNonStop", | |
6631 | "ConditionalTracepoints", "ConditionalBreakpoints", | |
6632 | "BreakpointCommands", "FastTracepoints", "StaticTracepoints", | |
6633 | "InstallInTrace", "DisconnectedTracing", "DisconnectedTracing", | |
6634 | "EnableDisableTracepoints", and "tracenz". | |
6635 | (remote_query_supported): Use packet_support. | |
6636 | (remote_open_1): Adjust. | |
6637 | (extended_remote_attach_1): Use packet_support. Switch on the | |
6638 | result of packet_ok instead of checking whether the packet ended | |
6639 | up disabled. | |
6640 | (remote_vcont_resume): Use packet_support. | |
6641 | (remote_resume, remote_stop_ns, fetch_register_using_p) | |
6642 | (remote_prepare_to_store, store_register_using_P) | |
6643 | (check_binary_download, remote_write_bytes): Use packet_support. | |
6644 | (remote_vkill): Use packet_support. Switch on the result of | |
6645 | packet_ok instead of checking whether the packet ended up | |
6646 | disabled. | |
6647 | (extended_remote_supports_disable_randomization): Use | |
6648 | packet_support. | |
6649 | (extended_remote_run): Switch on the result of packet_ok instead | |
6650 | of checking whether the packet ended up disabled. | |
6651 | (remote_insert_breakpoint, remote_remove_breakpoint) | |
6652 | (remote_insert_watchpoint, remote_remove_watchpoint) | |
6653 | (remote_insert_hw_breakpoint, remote_remove_hw_breakpoint): Use | |
6654 | packet_support. | |
6655 | (remote_search_memory): Use packet_config_support. | |
6656 | (remote_get_thread_local_address, remote_get_tib_address) | |
6657 | (remote_hostio_send_command, remote_can_execute_reverse): Use | |
6658 | packet_support. | |
6659 | (remote_supports_cond_tracepoints) | |
6660 | (remote_supports_cond_breakpoints) | |
6661 | (remote_supports_fast_tracepoints) | |
6662 | (remote_supports_static_tracepoints) | |
6663 | (remote_supports_install_in_trace) | |
6664 | (remote_supports_enable_disable_tracepoint) | |
6665 | (remote_supports_string_tracing) | |
6666 | (remote_can_run_breakpoint_commands): Rewrite, checking whether | |
6667 | the packet config says the feature is enabled or disabled. | |
6668 | (remote_download_tracepoint, remote_trace_set_readonly_regions) | |
6669 | (remote_get_trace_status): Use packet_support. | |
6670 | (remote_set_disconnected_tracing): Adjust to check whether the | |
6671 | feature is enabled with packet_support. | |
6672 | (remote_set_trace_buffer_size, remote_use_agent) | |
6673 | (remote_can_use_agent, remote_supports_btrace): Use | |
6674 | packet_support. | |
6675 | (remote_enable_btrace, remote_disable_btrace, remote_read_btrace): | |
6676 | Use packet_config_support. | |
6677 | (remote_augmented_libraries_svr4_read): Rewrite, checking whether | |
6678 | the packet config says the feature is enabled or disabled. | |
6679 | (set_range_stepping): Use packet_support. | |
6680 | ||
bdb52a22 TT |
6681 | 2014-04-25 Tom Tromey <tromey@redhat.com> |
6682 | ||
6683 | * cli/cli-cmds.c (_initialize_cli_cmds): Document "quit" command's | |
6684 | argument. | |
6685 | ||
e9475ead SA |
6686 | 2014-04-24 Sanimir Agovic <sanimir.agovic@intel.com> |
6687 | ||
6688 | * NEWS: Mention support for C99 variable length arrays. | |
6689 | ||
82eacd52 JB |
6690 | 2014-04-24 Joel Brobecker <brobecker@adacore.com> |
6691 | ||
6692 | * ada-lang.c (standard_exc): Expand introductory comment. | |
6693 | ||
01f9f808 MS |
6694 | 2014-04-24 Michael Sturm <michael.sturm@mintel.com> |
6695 | Walfred Tedeschi <walfred.tedeschi@intel.com> | |
6696 | ||
6697 | * amd64-linux-nat.c (amd64_linux_gregset32_reg_offset): Add | |
6698 | AVX512 registers. | |
6699 | (amd64_linux_read_description): Add code to handle AVX512 xstate | |
6700 | mask and return respective tdesc. | |
6701 | * amd64-linux-tdep.c: Include features/i386/amd64-avx512-linux.c | |
6702 | and features/i386/x32-avx512-linux.c. | |
6703 | (amd64_linux_gregset_reg_offset): Add AVX512 registers. | |
6704 | (amd64_linux_core_read_description): Add code to handle AVX512 | |
6705 | xstate mask and return respective tdesc. | |
6706 | (_initialize_amd64_linux_tdep): Initialize AVX512 tdesc. | |
6707 | * amd64-linux-tdep.h (AMD64_LINUX_ORIG_RAX_REGNUM): Adjust regnum | |
6708 | calculation. | |
6709 | (AMD64_LINUX_NUM_REGS): Adjust to new number of registers. | |
6710 | (tdesc_amd64_avx512_linux): New prototype. | |
6711 | (tdesc_x32_avx512_linux): Likewise. | |
6712 | * amd64-tdep.c: Include features/i386/amd64-avx512.c and | |
6713 | features/i386/x32-avx512.c. | |
6714 | (amd64_ymm_avx512_names): New register names for pseudo | |
6715 | registers YMM16-31. | |
6716 | (amd64_ymmh_avx512_names): New register names for raw registers | |
6717 | YMMH16-31. | |
6718 | (amd64_k_names): New register names for K registers. | |
6719 | (amd64_zmmh_names): New register names for ZMM raw registers. | |
6720 | (amd64_zmm_names): New registers names for ZMM pseudo registers. | |
6721 | (amd64_xmm_avx512_names): New register names for XMM16-31 | |
6722 | registers. | |
6723 | (amd64_pseudo_register_name): Add code to return AVX512 pseudo | |
6724 | registers. | |
6725 | (amd64_init_abi): Add code to intitialize AVX512 tdep variables | |
6726 | if feature is present. | |
6727 | (_initialize_amd64_tdep): Call AVX512 tdesc initializers. | |
6728 | * amd64-tdep.h (enum amd64_regnum): Add AVX512 registers. | |
6729 | (AMD64_NUM_REGS): Adjust to new number of registers. | |
6730 | * i386-linux-nat.c (GETXSTATEREGS_SUPPLIES): Extend range of | |
6731 | registers supplied via XSTATE by AVX512 registers. | |
6732 | (i386_linux_read_description): Add case for AVX512. | |
6733 | * i386-linux-tdep.c: Include i386-avx512-linux.c. | |
6734 | (i386_linux_gregset_reg_offset): Add AVX512 registers. | |
6735 | (i386_linux_core_read_description): Add case for AVX512. | |
6736 | (i386_linux_init_abi): Install supported register note section | |
6737 | for AVX512. | |
6738 | (_initialize_i386_linux_tdep): Add call to tdesc init function for | |
6739 | AVX512. | |
6740 | * i386-linux-tdep.h (I386_LINUX_NUM_REGS): Set number of | |
6741 | registers to be number of zmm7h + 1. | |
6742 | (tdesc_i386_avx512_linux): Add tdesc for AVX512 registers. | |
6743 | * i386-tdep.c: Include features/i386/i386-avx512.c. | |
6744 | (i386_zmm_names): Add ZMM pseudo register names array. | |
6745 | (i386_zmmh_names): Add ZMM raw register names array. | |
6746 | (i386_k_names): Add K raw register names array. | |
6747 | (num_lower_zmm_regs): Add constant for the number of lower ZMM | |
6748 | registers. AVX512 has 16 more ZMM registers than there are YMM | |
6749 | registers. | |
6750 | (i386_zmmh_regnum_p): Add function to look up register number of | |
6751 | ZMM raw registers. | |
6752 | (i386_zmm_regnum_p): Likewise for ZMM pseudo registers. | |
6753 | (i386_k_regnum_p): Likewise for K raw registers. | |
6754 | (i386_ymmh_avx512_regnum_p): Likewise for additional YMM raw | |
6755 | registers added by AVX512. | |
6756 | (i386_ymm_avx512_regnum_p): Likewise for additional YMM pseudo | |
6757 | registers added by AVX512. | |
6758 | (i386_xmm_avx512_regnum_p): Likewise for additional XMM registers | |
6759 | added by AVX512. | |
6760 | (i386_register_name): Add code to hide YMMH16-31 and ZMMH0-31. | |
6761 | (i386_pseudo_register_name): Add ZMM pseudo registers. | |
6762 | (i386_zmm_type): Construct and return vector registers type for ZMM | |
6763 | registers. | |
6764 | (i386_pseudo_register_type): Return appropriate type for YMM16-31, | |
6765 | ZMM0-31 pseudo registers and K registers. | |
6766 | (i386_pseudo_register_read_into_value): Add code to read K, ZMM | |
6767 | and YMM16-31 registers from register cache. | |
6768 | (i386_pseudo_register_write): Add code to write K, ZMM and | |
6769 | YMM16-31 registers. | |
6770 | (i386_register_reggroup_p): Add code to include/exclude AVX512 | |
6771 | registers in/from respective register groups. | |
6772 | (i386_validate_tdesc_p): Handle AVX512 feature, add AVX512 | |
6773 | registers if feature is present in xcr0. | |
6774 | (i386_gdbarch_init): Add code to initialize AVX512 feature | |
6775 | variables in tdep structure, wire in pseudo registers and call | |
6776 | initialize_tdesc_i386_avx512. | |
6777 | * i386-tdep.h (struct gdbarch_tdep): Add AVX512 related | |
6778 | variables. | |
6779 | (i386_regnum): Add AVX512 registers. | |
6780 | (I386_SSE_NUM_REGS): New define for number of SSE registers. | |
6781 | (I386_AVX_NUM_REGS): Likewise for AVX registers. | |
6782 | (I386_AVX512_NUM_REGS): Likewise for AVX512 registers. | |
6783 | (I386_MAX_REGISTER_SIZE): Change to 64 bytes, ZMM registers are | |
6784 | 512 bits wide. | |
6785 | (i386_xmm_avx512_regnum_p): New prototype for register look up. | |
6786 | (i386_ymm_avx512_regnum_p): Likewise. | |
6787 | (i386_k_regnum_p): Likewise. | |
6788 | (i386_zmm_regnum_p): Likewise. | |
6789 | (i386_zmmh_regnum_p): Likewise. | |
6790 | * i387-tdep.c : Update year in copyright notice. | |
6791 | (xsave_ymm_avx512_offset): New table for YMM16-31 offsets in | |
6792 | XSAVE buffer. | |
6793 | (XSAVE_YMM_AVX512_ADDR): New macro. | |
6794 | (xsave_xmm_avx512_offset): New table for XMM16-31 offsets in | |
6795 | XSAVE buffer. | |
6796 | (XSAVE_XMM_AVX512_ADDR): New macro. | |
6797 | (xsave_avx512_k_offset): New table for K register offsets in | |
6798 | XSAVE buffer. | |
6799 | (XSAVE_AVX512_K_ADDR): New macro. | |
6800 | (xsave_avx512_zmm_h_offset): New table for ZMM register offsets | |
6801 | in XSAVE buffer. | |
6802 | (XSAVE_AVX512_ZMM_H_ADDR): New macro. | |
6803 | (i387_supply_xsave): Add code to supply AVX512 registers to XSAVE | |
6804 | buffer. | |
6805 | (i387_collect_xsave): Add code to collect AVX512 registers from | |
6806 | XSAVE buffer. | |
6807 | * i387-tdep.h (I387_NUM_XMM_AVX512_REGS): New define for number | |
6808 | of XMM16-31 registers. | |
6809 | (I387_NUM_K_REGS): New define for number of K registers. | |
6810 | (I387_K0_REGNUM): New define for K0 register number. | |
6811 | (I387_NUM_ZMMH_REGS): New define for number of ZMMH registers. | |
6812 | (I387_ZMM0H_REGNUM): New define for ZMM0H register number. | |
6813 | (I387_NUM_YMM_AVX512_REGS): New define for number of YMM16-31 | |
6814 | registers. | |
6815 | (I387_YMM16H_REGNUM): New define for YMM16H register number. | |
6816 | (I387_XMM16_REGNUM): New define for XMM16 register number. | |
6817 | (I387_YMM0_REGNUM): New define for YMM0 register number. | |
6818 | (I387_KEND_REGNUM): New define for last K register number. | |
6819 | (I387_ZMMENDH_REGNUM): New define for last ZMMH register number. | |
6820 | (I387_YMMH_AVX512_END_REGNUM): New define for YMM31 register | |
6821 | number. | |
6822 | (I387_XMM_AVX512_END_REGNUM): New define for XMM31 register | |
6823 | number. | |
6824 | * common/i386-xstate.h: Add AVX 3.1 feature bits, mask and XSTATE | |
6825 | size. | |
6826 | * features/Makefile: Add AVX512 related files. | |
6827 | * features/i386/32bit-avx512.xml: New file. | |
6828 | * features/i386/64bit-avx512.xml: Likewise. | |
6829 | * features/i386/amd64-avx512-linux.c: Likewise. | |
6830 | * features/i386/amd64-avx512-linux.xml: Likewise. | |
6831 | * features/i386/amd64-avx512.c: Likewise. | |
6832 | * features/i386/amd64-avx512.xml: Likewise. | |
6833 | * features/i386/i386-avx512-linux.c: Likewise. | |
6834 | * features/i386/i386-avx512-linux.xml: Likewise. | |
6835 | * features/i386/i386-avx512.c: Likewise. | |
6836 | * features/i386/i386-avx512.xml: Likewise. | |
6837 | * features/i386/x32-avx512-linux.c: Likewise. | |
6838 | * features/i386/x32-avx512-linux.xml: Likewise. | |
6839 | * features/i386/x32-avx512.c: Likewise. | |
6840 | * features/i386/x32-avx512.xml: Likewise. | |
6841 | * regformats/i386/amd64-avx512-linux.dat: New file. | |
6842 | * regformats/i386/amd64-avx512.dat: Likewise. | |
6843 | * regformats/i386/i386-avx512-linux.dat: Likewise. | |
6844 | * regformats/i386/i386-avx512.dat: Likewise. | |
6845 | * regformats/i386/x32-avx512-linux.dat: Likewise. | |
6846 | * regformats/i386/x32-avx512.dat: Likewise. | |
6847 | * NEWS: Add note about new support for AVX512. | |
6848 | ||
6849 | ||
08351840 PA |
6850 | 2014-04-23 Pedro Alves <palves@redhat.com> |
6851 | ||
6852 | * breakpoint.c (insert_bp_location): Tolerate errors if the | |
6853 | breakpoint is set in a user-loaded objfile. | |
6854 | (remove_breakpoint_1): Likewise. Also tolerate errors if the | |
6855 | location is marked shlib_disabled. If the breakpoint is set in a | |
6856 | user-loaded objfile is a GDB-side memory breakpoint, validate it | |
6857 | before uninsertion. (disable_breakpoints_in_freed_objfile): Skip | |
6858 | non-OBJF_USERLOADED objfiles. Don't clear the location's inserted | |
6859 | flag. | |
6860 | * mem-break.c (memory_validate_breakpoint): New function. | |
6861 | * objfiles.c (userloaded_objfile_contains_address_p): New | |
6862 | function. | |
6863 | * objfiles.h (userloaded_objfile_contains_address_p): Declare. | |
6864 | * target.h (memory_validate_breakpoint): New declaration. | |
6865 | ||
076855f9 PA |
6866 | 2014-04-23 Pedro Alves <palves@redhat.com> |
6867 | ||
6868 | * breakpoint.c (insert_bp_location, remove_breakpoint_1): If | |
6869 | the breakpoint is set in a shared library, only suppress | |
6870 | errors for software breakpoints, not hardware breakpoints. | |
6871 | ||
483805cf PA |
6872 | 2014-04-22 Pedro Alves <palves@redhat.com> |
6873 | ||
6874 | * infrun.c (schedlock_applies): New function, factored out from | |
6875 | find_thread_needs_step_over. | |
6876 | (find_thread_needs_step_over): Use it. | |
6877 | (switch_back_to_stepped_thread): Always clear trap_expected if the | |
6878 | step over is finished. Return early if scheduler locking applies. | |
6879 | Look for the stepping thread and a potential step-over thread with | |
6880 | a single loop. | |
6881 | (currently_stepping_or_nexting_callback): Delete. | |
6882 | ||
a75fef0e NC |
6883 | 2014-04-22 Nick Clifton <nickc@redhat.com> |
6884 | ||
6885 | * NEWS: Mention that ARM sim now supports tracing. | |
6886 | ||
48b6e87e YQ |
6887 | 2014-04-22 Yao Qi <yao@codesourcery.com> |
6888 | ||
6889 | * tracefile-tfile.c (tfile_fetch_registers): Move the bottom | |
6890 | to ... | |
6891 | * tracefile.c (tracefile_fetch_registers): ... it. New | |
6892 | function. | |
6893 | * tracefile.h (tracefile_fetch_registers): Declare. | |
6894 | * ctf.c (ctf_fetch_registers): Remove the bottom. Call | |
6895 | tracefile_fetch_registers. | |
6896 | ||
17617f2d EZ |
6897 | 2014-04-19 Eli Zaretskii <eliz@gnu.org> |
6898 | ||
6899 | PR gdb/14018 | |
6900 | * windows-nat.c (thread_rec): Don't display a warning when | |
6901 | SuspendThread fails with ERROR_ACCESS_DENIED. If SuspendThread | |
6902 | fails for any reason, set th->suspended to -1, so that we don't | |
6903 | try to resume such a thread. Also, don't return NULL in these | |
6904 | cases, to avoid completely ruin the session due to "PC register is | |
6905 | not available" error. | |
6906 | (do_windows_fetch_inferior_registers): Check errors in | |
6907 | GetThreadContext call. | |
6908 | (windows_continue): Accept an additional argument KILLED; if not | |
6909 | zero, ignore errors in the SetThreadContext call, since the | |
6910 | inferior was killed and is shutting down. | |
6911 | (windows_resume, get_windows_debug_event) | |
6912 | (windows_create_inferior, windows_mourn_inferior) | |
6913 | (windows_kill_inferior): All callers of windows_continue changed | |
6914 | to adjust to its new calling sequence. | |
6915 | ||
5723a6fd YQ |
6916 | 2014-04-19 Yao Qi <yao@codesourcery.com> |
6917 | ||
6918 | * ctf.c (ctf_open): Call post_create_inferior. | |
6919 | ||
614d5099 YQ |
6920 | 2014-04-19 Yao Qi <yao@codesourcery.com> |
6921 | ||
6922 | * ctf.c (handle_id): New static variable. | |
6923 | (ctf_open_dir): Get handle_id from bt_context_add_trace return | |
6924 | value. Get the declaration of event "register" and get length | |
6925 | of field "contents". | |
6926 | ||
dac3e710 YQ |
6927 | 2014-04-19 Yao Qi <yao@codesourcery.com> |
6928 | ||
6929 | * ctf.c (ctf_xfer_partial): Check 'name' is NULL before strcmp. | |
6930 | ||
2bca57ba SC |
6931 | 2014-04-18 Siva Chandra Reddy <sivachandra@google.com> |
6932 | ||
6933 | * valops.c (oload_method_static): Remove unnecessary argument | |
6934 | METHOD. Update all callers. | |
6935 | ||
51d48146 PA |
6936 | 2014-04-18 Pedro alves <palves@redhat.com> |
6937 | Tom Tromey <tromey@redhat.com> | |
6938 | ||
6939 | PR backtrace/15558 | |
6940 | * frame.c (get_prev_frame_1): Rename to ... | |
6941 | (get_prev_frame_always): ... this, and make extern. Adjust. | |
6942 | (skip_artificial_frames): Use get_prev_frame_always. | |
6943 | (frame_unwind_caller_id, frame_pop, get_prev_frame) | |
6944 | (get_frame_unwind_stop_reason): Adjust to rename. | |
6945 | * frame.h (get_prev_frame_always): Declare. | |
6946 | * inline-frame.c: Include frame.h. | |
6947 | (inline_frame_this_id): Use get_prev_frame_always. | |
6948 | ||
1bdad2e0 TG |
6949 | 2014-04-18 Tristan Gingold <gingold@adacore.com> |
6950 | ||
6951 | * solib-darwin.c (darwin_solib_create_inferior_hook): Simplify | |
6952 | code by using bfd_mach_o_get_base_address. | |
6953 | ||
7ce16bd4 UW |
6954 | 2014-04-17 Ulrich Weigand <uweigand@de.ibm.com> |
6955 | ||
6956 | * spu-tdep.c: Include "dwarf2-frame.h" and "ax.h". | |
6957 | (spu_ax_pseudo_register_collect): New function. | |
6958 | (spu_ax_pseudo_register_push_stack): Likewise. | |
6959 | (spu_dwarf_reg_to_regnum): Likewise. | |
6960 | (spu_gdbarch_init): Install them. Append DWARF unwinders. | |
6961 | ||
2ed3c037 UW |
6962 | 2014-04-17 Ulrich Weigand <uweigand@de.ibm.com> |
6963 | ||
6964 | * gdbarch.sh (value_from_register): Make class "m" instead of "f". | |
6965 | Replace FRAME argument with FRAME_ID. | |
6966 | * gdbarch.c, gdbarch.h: Regenerate. | |
6967 | * findvar.c (default_value_from_register): Add GDBARCH argument; | |
6968 | replace FRAME by FRAME_ID. No longer call get_frame_id. | |
6969 | (value_from_register): Update call to gdbarch_value_from_register. | |
6970 | * value.h (default_value_from_register): Update prototype. | |
6971 | * s390-linux-tdep.c (s390_value_from_register): Update interface | |
6972 | and call to default_value_from_register. | |
6973 | * spu-tdep.c (spu_value_from_register): Likewise. | |
6974 | ||
6975 | * findvar.c (address_from_register): Remove TYPE argument. | |
6976 | Do not call value_from_register; use gdbarch_value_from_register | |
6977 | with null_frame_id instead. | |
6978 | * value.h (address_from_register): Update prototype. | |
6979 | * dwarf2-frame.c (read_addr_from_reg): Use address_from_register. | |
6980 | * dwarf2loc.c (dwarf_expr_read_addr_from_reg): Update for | |
6981 | address_from_register interface change. | |
6982 | ||
71e50e83 YQ |
6983 | 2014-04-17 Yao Qi <yao@codesourcery.com> |
6984 | ||
6985 | * gdbtypes.h: Update comments to link to types and macros' | |
6986 | definitions. | |
6987 | ||
7a23c549 SC |
6988 | 2014-04-16 Siva Chandra Reddy <sivachandra@google.com> |
6989 | ||
6990 | * gdbtypes.h: Remove definition of the macro TYPE_FN_FIELDS. | |
6991 | ||
22869d73 KS |
6992 | 2014-04-16 Keith Seitz <keiths@redhat.com> |
6993 | ||
6994 | PR gdb/15827 | |
6995 | * dwarf2read.c (skip_one_die): Check that all relative-offset | |
6996 | sibling DIEs fall within range of the current reader's buffer. | |
6997 | (read_partial_die): Likewise. | |
6998 | ||
c4f87ca6 KS |
6999 | 2014-04-16 Keith Seitz <keiths@redhat.com> |
7000 | ||
7001 | PR c++/16597 | |
7002 | * cp-namespace.c (lookup_symbol_file): If the type name of | |
7003 | `this' is NULL, return immediately. | |
7004 | ||
b50c8614 KS |
7005 | 2014-04-14 Keith Seitz <keiths@redhat.com> |
7006 | ||
7007 | PR c++/16253 | |
7008 | * ada-lang.c (ada_symbol_matches_domain): Moved here and renamed | |
7009 | from symbol_matches_domain in symtab.c. All local callers | |
7010 | of symbol_matches_domain updated. | |
7011 | (standard_lookup): If DOMAIN is VAR_DOMAIN and no symbol is found, | |
7012 | search STRUCT_DOMAIN. | |
7013 | (ada_find_any_type_symbol): Do not search STRUCT_DOMAIN | |
7014 | independently. standard_lookup will do that automatically. | |
7015 | * cp-namespace.c (cp_lookup_symbol_nonlocal): Explain when/why | |
7016 | VAR_DOMAIN searches may return a STRUCT_DOMAIN match. | |
7017 | (cp_lookup_symbol_in_namespace): Likewise. | |
7018 | If no VAR_DOMAIN symbol is found, search STRUCT_DOMAIN. | |
7019 | (cp_lookup_symbol_exports): Explain when/why VAR_DOMAIN searches | |
7020 | may return a STRUCT_DOMAIN match. | |
7021 | (lookup_symbol_file): Search for the class name in STRUCT_DOMAIN. | |
7022 | * cp-support.c: Include language.h. | |
7023 | (inspect_type): Explicitly search STRUCT_DOMAIN before searching | |
7024 | VAR_DOMAIN. | |
7025 | * psymtab.c (match_partial_symbol): Compare the requested | |
7026 | domain with the symbol's domain directly. | |
7027 | (lookup_partial_symbol): Likewise. | |
7028 | * symtab.c (lookup_symbol_in_language): Explain when/why | |
7029 | VAR_DOMAIN searches may return a STRUCT_DOMAIN match. | |
7030 | If no VAR_DOMAIN symbol is found, search STRUCT_DOMAIN for | |
7031 | appropriate languages. | |
7032 | (symbol_matches_domain): Renamed `ada_symbol_matches_domain' | |
7033 | and moved to ada-lang.c | |
7034 | (lookup_block_symbol): Explain that this function only returns | |
7035 | symbol matching the requested DOMAIN. | |
7036 | Compare the requested domain with the symbol's domain directly. | |
7037 | (iterate_over_symbols): Compare the requested domain with the | |
7038 | symbol's domain directly. | |
7039 | * symtab.h (symbol_matches_domain): Remove. | |
7040 | ||
3d567982 TT |
7041 | 2014-04-14 Tom Tromey <tromey@redhat.com> |
7042 | ||
7043 | PR c++/15246: | |
7044 | * c-exp.y (type_aggregate_p): New function. | |
7045 | (qualified_name, classify_inner_name): Use it. | |
7046 | * c-typeprint.c (c_type_print_base): Handle TYPE_DECLARED_CLASS | |
7047 | and TYPE_TARGET_TYPE of an enum type. | |
7048 | * dwarf2read.c (read_enumeration_type): Set TYPE_DECLARED_CLASS on | |
7049 | an enum type. | |
7050 | (determine_prefix) <case DW_TAG_enumeration_type>: New case; | |
7051 | handle TYPE_DECLARED_CLASS. | |
7052 | * gdbtypes.c (rank_one_type): Handle TYPE_DECLARED_CLASS on enum | |
7053 | types. | |
7054 | * gdbtypes.h (TYPE_DECLARED_CLASS): Update comment. | |
7055 | * valops.c (enum_constant_from_type): New function. | |
7056 | (value_aggregate_elt): Use it. | |
7057 | * cp-namespace.c (cp_lookup_nested_symbol): Handle | |
7058 | TYPE_CODE_ENUM. | |
7059 | ||
c848d642 TT |
7060 | 2014-04-14 Tom Tromey <tromey@redhat.com> |
7061 | ||
7062 | * valops.c (value_aggregate_elt, value_struct_elt_for_reference) | |
7063 | (value_namespace_elt, value_maybe_namespace_elt): Make "name" | |
7064 | const. | |
7065 | * value.h (value_aggregate_elt): Update. | |
7066 | ||
0626fc76 TT |
7067 | 2014-04-14 Tom Tromey <tromey@redhat.com> |
7068 | ||
7069 | * dwarf2read.c (read_enumeration_type): Handle DW_AT_type. | |
7070 | ||
5ecaaa66 SA |
7071 | 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com> |
7072 | ||
7073 | * eval.c (evaluate_subexp_for_sizeof): Add enum noside argument. | |
7074 | (evaluate_subexp_standard): Pass noside argument. | |
7075 | (evaluate_subexp_for_sizeof) <BINOP_SUBSCRIPT>: Handle subscript case | |
7076 | if noside equals EVAL_NORMAL. If the subscript yields a vla type | |
7077 | re-evaluate subscript operation with EVAL_NORMAL to enable sideffects. | |
7078 | * gdbtypes.c (resolve_dynamic_bounds): Mark bound as evaluated. | |
7079 | * gdbtypes.h (enum range_flags): Add RANGE_EVALUATED case. | |
7080 | ||
1612e0c0 SA |
7081 | 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com> |
7082 | ||
7083 | * findvar.c (default_read_var_value): Resolve dynamic bounds if location | |
7084 | points to a constant blob. | |
7085 | ||
c451ebe5 SA |
7086 | 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com> |
7087 | ||
7088 | * dwarf2read.c (read_subrange_type): Convert DW_AT_count to a dynamic | |
7089 | property and store it as the high bound and flag the range accordingly. | |
7090 | * gdbtypes.c (resolve_dynamic_bounds): If range is flagged as | |
7091 | RANGE_UPPER_BOUND_IS_COUNT assign low + high - 1 as the new high bound. | |
7092 | * gdbtypes.h (enum range_flags): New enum. | |
7093 | (struct range_bounds): Add flags member. | |
7094 | ||
1d42e4c4 SA |
7095 | 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com> |
7096 | ||
7097 | * c-typeprint.c (c_type_print_varspec_suffix): Added | |
7098 | check for not yet resolved high bound. If unresolved, print | |
7099 | "variable length" string to the console instead of random | |
7100 | length. | |
7101 | ||
9f1f738a SA |
7102 | 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com> |
7103 | ||
7104 | * ada-lang.c (ada_value_primitive_packed_val): Re-fetch type from | |
7105 | value. | |
7106 | (ada_template_to_fixed_record_type_1): Likewise. | |
7107 | (ada_to_fixed_type_1): Likewise. | |
7108 | * cp-valprint.c (cp_print_value_fields_rtti): Likewise. | |
7109 | (cp_print_value): Likewise. | |
7110 | * d-valprint.c (dynamic_array_type): Likewise. | |
7111 | * findvar.c (address_of_variable): Likewise. | |
7112 | * jv-valprint.c (java_value_print): Likewise. | |
7113 | * valops.c (value_ind): Likewise. | |
7114 | * value.c (coerce_ref): Likewise. | |
7115 | ||
3c8452d4 SA |
7116 | 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com> |
7117 | ||
7118 | * eval.c (evaluate_subexp_for_sizeof) <UNOP_IND>: Create an indirect | |
7119 | value and retrieve the dynamic type size. | |
7120 | ||
4ad88275 SA |
7121 | 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com> |
7122 | ||
7123 | * eval.c (evaluate_subexp_for_sizeof) <OP_VAR_VALUE>: If the type | |
7124 | passed to sizeof is dynamic evaluate the argument to compute the length. | |
7125 | ||
80180f79 SA |
7126 | 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com> |
7127 | Joel Brobecker <brobecker@adacore.com> | |
7128 | ||
7129 | * dwarf2loc.c (dwarf2_locexpr_baton_eval): New function. | |
7130 | (dwarf2_evaluate_property): New function. | |
7131 | * dwarf2loc.h (dwarf2_evaluate_property): New function prototype. | |
7132 | * dwarf2read.c (attr_to_dynamic_prop): New function. | |
7133 | (read_subrange_type): Use attr_to_dynamic_prop to read high bound | |
7134 | attribute. | |
7135 | * gdbtypes.c: Include dwarf2loc.h. | |
7136 | (is_dynamic_type): New function. | |
7137 | (resolve_dynamic_type): New function. | |
7138 | (resolve_dynamic_bounds): New function. | |
7139 | (get_type_length): New function. | |
7140 | (check_typedef): Use get_type_length to compute type length. | |
7141 | * gdbtypes.h (TYPE_HIGH_BOUND_KIND): New macro. | |
7142 | (TYPE_LOW_BOUND_KIND): New macro. | |
7143 | (is_dynamic_type): New function prototype. | |
7144 | * value.c (value_from_contents_and_address): Call resolve_dynamic_type | |
7145 | to resolve dynamic properties of the type. Update comment. | |
7146 | * valops.c (get_value_at, value_at, value_at_lazy): Update comment. | |
7147 | ||
a1556843 RH |
7148 | 2014-04-14 Richard Henderson <rth@redhat.com> |
7149 | ||
7150 | * alpha-linux-nat.c (_initialize_alpha_linux_nat): Fix prototype. | |
7151 | ||
0be03e84 DE |
7152 | 2014-04-12 Siva Chandra Reddy <sivachandra@google.com> |
7153 | Doug Evans <xdje42@gmail.com> | |
7154 | ||
7155 | * guile/scm-value.c (gdbscm_value_dynamic_type): Use coerce_ref to | |
7156 | dereference TYPE_CODE_REF values. | |
7157 | ||
6b662e19 JB |
7158 | 2014-04-11 Joel Brobecker <brobecker@adacore.com> |
7159 | ||
7160 | Revert the following changes due to regressions: | |
7161 | ||
7162 | * dwarf2loc.c (dwarf2_locexpr_baton_eval): New function. | |
7163 | (dwarf2_evaluate_property): New function. | |
7164 | * dwarf2loc.h (dwarf2_evaluate_property): New function prototype. | |
7165 | * dwarf2read.c (attr_to_dynamic_prop): New function. | |
7166 | (read_subrange_type): Use attr_to_dynamic_prop to read high bound | |
7167 | attribute. | |
7168 | * gdbtypes.c: Include dwarf2loc.h. | |
7169 | (is_dynamic_type): New function. | |
7170 | (resolve_dynamic_type): New function. | |
7171 | (resolve_dynamic_bounds): New function. | |
7172 | (get_type_length): New function. | |
7173 | (check_typedef): Use get_type_length to compute type length. | |
7174 | * gdbtypes.h (TYPE_HIGH_BOUND_KIND): New macro. | |
7175 | (TYPE_LOW_BOUND_KIND): New macro. | |
7176 | (is_dynamic_type): New function prototype. | |
7177 | * value.c (value_from_contents_and_address): Call resolve_dynamic_type | |
7178 | to resolve dynamic properties of the type. Update comment. | |
7179 | * valops.c (get_value_at, value_at, value_at_lazy): Update comment. | |
7180 | ||
7181 | * eval.c (evaluate_subexp_for_sizeof) <OP_VAR_VALUE>: If the type | |
7182 | passed to sizeof is dynamic evaluate the argument to compute the length. | |
7183 | ||
7184 | * eval.c (evaluate_subexp_for_sizeof) <UNOP_IND>: Create an indirect | |
7185 | value and retrieve the dynamic type size. | |
7186 | ||
7187 | * ada-lang.c (ada_value_primitive_packed_val): Re-fetch type from value. | |
7188 | (ada_template_to_fixed_record_type_1): Likewise. | |
7189 | (ada_to_fixed_type_1): Likewise. | |
7190 | * cp-valprint.c (cp_print_value_fields_rtti): Likewise. | |
7191 | (cp_print_value): Likewise. | |
7192 | * d-valprint.c (dynamic_array_type): Likewise. | |
7193 | * eval.c (evaluate_subexp_with_coercion): Likewise. | |
7194 | * findvar.c (address_of_variable): Likewise. | |
7195 | * jv-valprint.c (java_value_print): Likewise. | |
7196 | * valops.c (value_ind): Likewise. | |
7197 | * value.c (coerce_ref): Likewise. | |
7198 | ||
7199 | * c-typeprint.c (c_type_print_varspec_suffix): Added | |
7200 | check for not yet resolved high bound. If unresolved, print | |
7201 | "variable length" string to the console instead of random | |
7202 | length. | |
7203 | ||
7204 | * dwarf2read.c (read_subrange_type): Convert DW_AT_count to a dynamic | |
7205 | property and store it as the high bound and flag the range accordingly. | |
7206 | * gdbtypes.c (resolve_dynamic_bounds): If range is flagged as | |
7207 | RANGE_UPPER_BOUND_IS_COUNT assign low + high - 1 as the new high bound. | |
7208 | * gdbtypes.h (enum range_flags): New enum. | |
7209 | (struct range_bounds): Add flags member. | |
7210 | ||
7211 | * findvar.c (default_read_var_value): Resolve dynamic bounds if location | |
7212 | points to a constant blob. | |
7213 | ||
7214 | * eval.c (evaluate_subexp_for_sizeof): Add enum noside argument. | |
7215 | (evaluate_subexp_standard): Pass noside argument. | |
7216 | (evaluate_subexp_for_sizeof) <BINOP_SUBSCRIPT>: Handle subscript case | |
7217 | if noside equals EVAL_NORMAL. If the subscript yields a vla type | |
7218 | re-evaluate subscript operation with EVAL_NORMAL to enable sideffects. | |
7219 | * gdbtypes.c (resolve_dynamic_bounds): Mark bound as evaluated. | |
7220 | * gdbtypes.h (enum range_flags): Add RANGE_EVALUATED case. | |
7221 | ||
245a5f0b KS |
7222 | 2014-04-11 Keith Seitz <keiths@redhat.com> |
7223 | ||
7224 | PR c++/16675 | |
7225 | * c-exp.y (exp : SIZEOF '(' type ')'): Handle reference types. | |
7226 | * eval.c (evaluate_subexp_for_sizeof): Refactor and handle | |
7227 | reference types. | |
7228 | ||
3bce8237 SA |
7229 | 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com> |
7230 | ||
7231 | * eval.c (evaluate_subexp_for_sizeof): Add enum noside argument. | |
7232 | (evaluate_subexp_standard): Pass noside argument. | |
7233 | (evaluate_subexp_for_sizeof) <BINOP_SUBSCRIPT>: Handle subscript case | |
7234 | if noside equals EVAL_NORMAL. If the subscript yields a vla type | |
7235 | re-evaluate subscript operation with EVAL_NORMAL to enable sideffects. | |
7236 | * gdbtypes.c (resolve_dynamic_bounds): Mark bound as evaluated. | |
7237 | * gdbtypes.h (enum range_flags): Add RANGE_EVALUATED case. | |
7238 | ||
92b09522 SA |
7239 | 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com> |
7240 | ||
7241 | * findvar.c (default_read_var_value): Resolve dynamic bounds if location | |
7242 | points to a constant blob. | |
7243 | ||
e1969afb SA |
7244 | 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com> |
7245 | ||
7246 | * dwarf2read.c (read_subrange_type): Convert DW_AT_count to a dynamic | |
7247 | property and store it as the high bound and flag the range accordingly. | |
7248 | * gdbtypes.c (resolve_dynamic_bounds): If range is flagged as | |
7249 | RANGE_UPPER_BOUND_IS_COUNT assign low + high - 1 as the new high bound. | |
7250 | * gdbtypes.h (enum range_flags): New enum. | |
7251 | (struct range_bounds): Add flags member. | |
7252 | ||
b86138fb SA |
7253 | 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com> |
7254 | ||
7255 | * c-typeprint.c (c_type_print_varspec_suffix): Added | |
7256 | check for not yet resolved high bound. If unresolved, print | |
7257 | "variable length" string to the console instead of random | |
7258 | length. | |
7259 | ||
bcd629a4 SA |
7260 | 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com> |
7261 | ||
7262 | * ada-lang.c (ada_value_primitive_packed_val): Re-fetch type from value. | |
7263 | (ada_template_to_fixed_record_type_1): Likewise. | |
7264 | (ada_to_fixed_type_1): Likewise. | |
7265 | * cp-valprint.c (cp_print_value_fields_rtti): Likewise. | |
7266 | (cp_print_value): Likewise. | |
7267 | * d-valprint.c (dynamic_array_type): Likewise. | |
7268 | * eval.c (evaluate_subexp_with_coercion): Likewise. | |
7269 | * findvar.c (address_of_variable): Likewise. | |
7270 | * jv-valprint.c (java_value_print): Likewise. | |
7271 | * valops.c (value_ind): Likewise. | |
7272 | * value.c (coerce_ref): Likewise. | |
7273 | ||
04b19544 SA |
7274 | 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com> |
7275 | ||
7276 | * eval.c (evaluate_subexp_for_sizeof) <UNOP_IND>: Create an indirect | |
7277 | value and retrieve the dynamic type size. | |
7278 | ||
26cb189f SA |
7279 | 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com> |
7280 | ||
7281 | * eval.c (evaluate_subexp_for_sizeof) <OP_VAR_VALUE>: If the type | |
7282 | passed to sizeof is dynamic evaluate the argument to compute the length. | |
7283 | ||
37c1ab67 SA |
7284 | 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com> |
7285 | ||
7286 | * dwarf2loc.c (dwarf2_locexpr_baton_eval): New function. | |
7287 | (dwarf2_evaluate_property): New function. | |
7288 | * dwarf2loc.h (dwarf2_evaluate_property): New function prototype. | |
7289 | * dwarf2read.c (attr_to_dynamic_prop): New function. | |
7290 | (read_subrange_type): Use attr_to_dynamic_prop to read high bound | |
7291 | attribute. | |
7292 | * gdbtypes.c: Include dwarf2loc.h. | |
7293 | (is_dynamic_type): New function. | |
7294 | (resolve_dynamic_type): New function. | |
7295 | (resolve_dynamic_bounds): New function. | |
7296 | (get_type_length): New function. | |
7297 | (check_typedef): Use get_type_length to compute type length. | |
7298 | * gdbtypes.h (TYPE_HIGH_BOUND_KIND): New macro. | |
7299 | (TYPE_LOW_BOUND_KIND): New macro. | |
7300 | (is_dynamic_type): New function prototype. | |
7301 | * value.c (value_from_contents_and_address): Call resolve_dynamic_type | |
7302 | to resolve dynamic properties of the type. Update comment. | |
7303 | * valops.c (get_value_at, value_at, value_at_lazy): Update comment. | |
7304 | ||
729efb13 SA |
7305 | 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com> |
7306 | ||
7307 | * dwarf2read.c (read_subrange_type): Use struct bound_prop for | |
7308 | declaring high/low bounds and change uses accordingly. Call | |
7309 | create_range_type instead of create_static_range_type. | |
7310 | * gdbtypes.c (create_range_type): New function. | |
7311 | (create_range_type): Convert bounds into struct bound_prop and pass | |
7312 | them to create_range_type. | |
7313 | * gdbtypes.h (struct bound_prop): New struct. | |
7314 | (create_range_type): New function prototype. | |
7315 | (struct range_bounds): Use struct bound_prop instead of LONGEST for | |
7316 | high/low bounds. Remove low_undefined/high_undefined and adapt all uses. | |
7317 | (TYPE_LOW_BOUND,TYPE_HIGH_BOUND): Adapt macros to refer to the static | |
7318 | part of the bound. | |
7319 | * parse.c (follow_types): Set high bound kind to BOUND_UNDEFINED. | |
7320 | ||
0c9c3474 SA |
7321 | 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com> |
7322 | ||
7323 | * gdbtypes.c (create_static_range_type): Renamed from create_range_type. | |
7324 | * gdbtypes.h (create_static_range_type): Renamed from create_range_type. | |
7325 | * ada-lang.c: All uses of create_range_type updated. | |
7326 | * coffread.c: All uses of create_range_type updated. | |
7327 | * dwarf2read.c: All uses of create_range_type updated. | |
7328 | * f-exp.y: All uses of create_range_type updated. | |
7329 | * m2-valprint.c: All uses of create_range_type updated. | |
7330 | * mdebugread.c: All uses of create_range_type updated. | |
7331 | * stabsread.c: All uses of create_range_type updated. | |
7332 | * valops.c: All uses of create_range_type updated. | |
7333 | * valprint.c: All uses of create_range_type updated. | |
7334 | ||
9d497a19 PA |
7335 | 2014-04-10 Pedro Alves <palves@redhat.com> |
7336 | ||
7337 | * breakpoint.c (single_step_breakpoints) | |
7338 | (single_step_gdbarch): Move up in the file. | |
7339 | (one_breakpoint_xfer_memory): New function, factored out from ... | |
7340 | (breakpoint_xfer_memory): ... here. Also process single-step | |
7341 | breakpoints. | |
7342 | ||
15a9128a TG |
7343 | 2014-04-09 Tristan Gingold <gingold@adacore.com> |
7344 | ||
7345 | * darwin-nat.c (darwin_check_new_threads): Fix port leak, add | |
7346 | comments. | |
7347 | (darwin_decode_exception_message): Free port only after use. | |
7348 | ||
9c97a070 PL |
7349 | 2014-04-08 Pierre Langlois <pierre.langlois@embecosm.com> |
7350 | ||
7351 | * avr-tdep.c (struct gdbarch_tdep): Mention avrxmega in the comment. | |
7352 | (avr_gdbarch_init): Add xmega architectures given by bfd_architecture | |
7353 | when setting the size of call_length. | |
7354 | ||
7af389b8 SC |
7355 | 2014-04-07 Siva Chandra Reddy <sivachandra@google.com> |
7356 | ||
7357 | * python/py-value.c (valpy_get_dynamic_type): Use coerce_ref to | |
7358 | dereference TYPE_CODE_REF values. | |
7359 | ||
86ad98c3 JB |
7360 | 2014-04-07 Joel Brobecker <brobecker@adacore.com> |
7361 | ||
7362 | * darwin-nat.c (darwin_decode_message): Remove trailing '\n' at | |
7363 | end of warning message. | |
7364 | ||
b0aeadb3 DE |
7365 | 2014-04-03 Doug Evans <dje@google.com> |
7366 | ||
7367 | * dwarf2read.c (read_cutu_die_from_dwo): Fix assertion, at most one | |
7368 | of stub_comp_unit_die, stub_comp_dir is non-NULL. | |
7369 | ||
5979d6b6 AM |
7370 | 2014-04-02 Alan Modra <amodra@gmail.com> |
7371 | ||
7372 | * symfile-mem.c (symbol_file_add_from_memory): Add size parameter. | |
7373 | Pass to bfd_elf_bfd_from_remote_memory. Adjust all callers. | |
7374 | (struct symbol_file_add_from_memory_args): Add size field. | |
7375 | (find_vdso_size): New function. | |
7376 | (add_vsyscall_page): Attempt to find vdso size. | |
7377 | ||
0d60c288 DE |
7378 | 2014-04-01 Doug Evans <dje@google.com> |
7379 | ||
7380 | * dwarf2read.c (read_cutu_die_from_dwo): Improve comment. | |
7381 | ||
a41f2563 TG |
7382 | 2014-04-01 Tristan Gingold <gingold@adacore.com> |
7383 | ||
7384 | * darwin-nat.c (darwin_encode_reply): Add prototype. | |
7385 | (darwin_decode_exception_message): Reply to unknown inferiors. | |
7386 | (darwin_decode_message): Handle message by id. Ignore message | |
7387 | to unknown inferior. | |
7388 | (darwin_wait): Discard unknown messages, add debug trace. | |
7389 | ||
11a865c8 DE |
7390 | 2014-03-31 Doug Evans <dje@google.com> |
7391 | ||
7392 | * dwarf2read.c (read_cutu_die_from_dwo): Delete unused local | |
7393 | comp_dir_string. | |
7394 | ||
770e7fc7 DE |
7395 | 2014-03-31 Doug Evans <dje@google.com> |
7396 | ||
7397 | New option "set print symbol-loading". | |
7398 | * NEWS: Mention it. | |
7399 | * solib.c (solib_read_symbols): Only print symbol loading messages | |
7400 | if requested. | |
7401 | (solib_add): If symbol loading is in "brief" mode, notify user | |
7402 | symbols are being loaded. | |
7403 | (reload_shared_libraries_1): Ditto. | |
7404 | * symfile.c (print_symbol_loading_off): New static global. | |
7405 | (print_symbol_loading_brief): New static global. | |
7406 | (print_symbol_loading_full): New static global. | |
7407 | (print_symbol_loading_enums): New static global. | |
7408 | (print_symbol_loading): New static global. | |
7409 | (print_symbol_loading_p): New function. | |
7410 | (symbol_file_add_with_addrs): Only print symbol loading messages | |
7411 | if requested. | |
7412 | (_initialize_symfile): Register "print symbol-loading" set/show | |
7413 | command. | |
7414 | * symfile.h (print_symbol_loading_p): Declare. | |
7415 | ||
c32c64b7 DE |
7416 | 2014-03-30 Doug Evans <xdje42@gmail.com> |
7417 | ||
7418 | * infrun.c (set_last_target_status): New function. | |
7419 | (handle_inferior_event): Call it. | |
7420 | ||
7c0bc051 DE |
7421 | 2014-03-30 Doug Evans <xdje42@gmail.com> |
7422 | ||
7423 | * inferior.h (enum stop_kind): Improve comment. | |
7424 | ||
8776cfe9 JB |
7425 | 2014-03-28 Joel Brobecker <brobecker@adacore.com> |
7426 | ||
7427 | * varobj.c (varobj_value_has_mutated): If NEW_VALUE is | |
7428 | a reference, strip the reference layer before calling | |
7429 | the lang_ops value_has_mutated callback. | |
7430 | ||
410a0ff2 SDJ |
7431 | 2014-03-27 Sergio Durigan Junior <sergiodj@redhat.com> |
7432 | ||
7433 | Remove some globals from our parser. | |
7434 | * language.c (unk_lang_parser): Add "struct parser_state" | |
7435 | argument. | |
7436 | * language.h (struct language_defn) <la_parser>: Likewise. | |
7437 | * parse.c (expout, expout_size, expout_ptr): Remove variables. | |
7438 | (initialize_expout): Add "struct parser_state" argument. | |
7439 | Rewrite function to use the parser state. | |
7440 | (reallocate_expout, write_exp_elt, write_exp_elt_opcode, | |
7441 | write_exp_elt_sym, write_exp_elt_block, write_exp_elt_objfile, | |
7442 | write_exp_elt_longcst, write_exp_elt_dblcst, | |
7443 | write_exp_elt_decfloatcst, write_exp_elt_type, | |
7444 | write_exp_elt_intern, write_exp_string, write_exp_string_vector, | |
7445 | write_exp_bitstring, write_exp_msymbol, mark_struct_expression, | |
7446 | write_dollar_variable): Likewise. | |
7447 | (parse_exp_in_context_1): Use parser state. | |
7448 | (insert_type_address_space): Add "struct parser_state" argument. | |
7449 | Use parser state. | |
7450 | (increase_expout_size): New function. | |
7451 | * parser-defs.h: Forward declare "struct language_defn" and | |
7452 | "struct parser_state". | |
7453 | (expout, expout_size, expout_ptr): Remove extern declarations. | |
7454 | (parse_gdbarch, parse_language): Rewrite macro declarations to | |
7455 | accept the parser state. | |
7456 | (struct parser_state): New struct. | |
7457 | (initialize_expout, reallocate_expout, write_exp_elt_opcode, | |
7458 | write_exp_elt_sym, write_exp_elt_longcst, write_exp_elt_dblcst, | |
7459 | write_exp_elt_decfloatcst, write_exp_elt_type, | |
7460 | write_exp_elt_intern, write_exp_string, write_exp_string_vector, | |
7461 | write_exp_bitstring, write_exp_elt_block, write_exp_elt_objfile, | |
7462 | write_exp_msymbol, write_dollar_variable, | |
7463 | mark_struct_expression, insert_type_address_space): Add "struct | |
7464 | parser_state" argument. | |
7465 | (increase_expout_size): New function. | |
7466 | * utils.c (do_clear_parser_state): New function. | |
7467 | (make_cleanup_clear_parser_state): Likewise. | |
7468 | * utils.h (make_cleanup_clear_parser_state): New function | |
7469 | prototype. | |
7470 | * aarch64-linux-tdep.c (aarch64_stap_parse_special_token): | |
7471 | Update calls to write_exp* in order to pass the parser state. | |
7472 | * arm-linux-tdep.c (arm_stap_parse_special_token): Likewise. | |
7473 | * i386-tdep.c (i386_stap_parse_special_token_triplet): Likewise. | |
7474 | (i386_stap_parse_special_token_three_arg_disp): Likewise. | |
7475 | * ppc-linux-tdep.c (ppc_stap_parse_special_token): Likewise. | |
7476 | * stap-probe.c (stap_parse_register_operand): Likewise. | |
7477 | (stap_parse_single_operand): Likewise. | |
7478 | (stap_parse_argument_1): Likewise. | |
7479 | (stap_parse_argument): Use parser state. | |
7480 | * stap-probe.h: Include "parser-defs.h". | |
7481 | (struct stap_parse_info) <pstate>: New field. | |
7482 | * c-exp.y (parse_type): Rewrite to use parser state. | |
7483 | (yyparse): Redefine to c_parse_internal. | |
7484 | (pstate): New global variable. | |
7485 | (parse_number): Add "struct parser_state" argument. | |
7486 | (write_destructor_name): Likewise. | |
7487 | (type_exp): Update calls to write_exp* and similars in order to | |
7488 | use parser state. | |
7489 | (exp1, exp, variable, qualified_name, space_identifier, | |
7490 | typename, typebase): Likewise. | |
7491 | (write_destructor_name, parse_number, lex_one_token, | |
7492 | classify_name, classify_inner_name, c_parse): Add "struct | |
7493 | parser_state" argument. Update function to use parser state. | |
7494 | * c-lang.h: Forward declare "struct parser_state". | |
7495 | (c_parse): Add "struct parser_state" argument. | |
7496 | * ada-exp.y (parse_type): Rewrite macro to use parser state. | |
7497 | (yyparse): Redefine macro to ada_parse_internal. | |
7498 | (pstate): New variable. | |
7499 | (write_int, write_object_renaming, write_var_or_type, | |
7500 | write_name_assoc, write_exp_op_with_string, write_ambiguous_var, | |
7501 | type_int, type_long, type_long_long, type_float, type_double, | |
7502 | type_long_double, type_char, type_boolean, type_system_address): | |
7503 | Add "struct parser_state" argument. | |
7504 | (exp1, primary, simple_exp, relation, and_exp, and_then_exp, | |
7505 | or_exp, or_else_exp, xor_exp, type_prefix, opt_type_prefix, | |
7506 | var_or_type, aggregate, aggregate_component_list, | |
7507 | positional_list, others, component_group, | |
7508 | component_associations): Update calls to write_exp* and similar | |
7509 | functions in order to use parser state. | |
7510 | (ada_parse, write_var_from_sym, write_int, | |
7511 | write_exp_op_with_string, write_object_renaming, | |
7512 | find_primitive_type, write_selectors, write_ambiguous_var, | |
7513 | write_var_or_type, write_name_assoc, type_int, type_long, | |
7514 | type_long_long, type_float, type_double, type_long_double, | |
7515 | type_char, type_boolean, type_system_address): Add "struct | |
7516 | parser_state" argument. Adjust function to use parser state. | |
7517 | * ada-lang.c (parse): Likewise. | |
7518 | * ada-lang.h: Forward declare "struct parser_state". | |
7519 | (ada_parse): Add "struct parser_state" argument. | |
7520 | * ada-lex.l (processInt, processReal): Likewise. Adjust all | |
7521 | calls to both functions. | |
7522 | * f-exp.y (parse_type, parse_f_type): Rewrite macros to use | |
7523 | parser state. | |
7524 | (yyparse): Redefine macro to f_parse_internal. | |
7525 | (pstate): New variable. | |
7526 | (parse_number): Add "struct parser_state" argument. | |
7527 | (type_exp, exp, subrange, typebase): Update calls to write_exp* | |
7528 | and similars in order to use parser state. | |
7529 | (parse_number): Adjust code to use parser state. | |
7530 | (yylex): Likewise. | |
7531 | (f_parse): New function. | |
7532 | * f-lang.h: Forward declare "struct parser_state". | |
7533 | (f_parse): Add "struct parser_state" argument. | |
7534 | * jv-exp.y (parse_type, parse_java_type): Rewrite macros to use | |
7535 | parser state. | |
7536 | (yyparse): Redefine macro for java_parse_internal. | |
7537 | (pstate): New variable. | |
7538 | (push_expression_name, push_expression_name, insert_exp): Add | |
7539 | "struct parser_state" argument. | |
7540 | (type_exp, StringLiteral, Literal, PrimitiveType, IntegralType, | |
7541 | FloatingPointType, exp1, PrimaryNoNewArray, FieldAccess, | |
7542 | FuncStart, MethodInvocation, ArrayAccess, PostfixExpression, | |
7543 | PostIncrementExpression, PostDecrementExpression, | |
7544 | UnaryExpression, PreIncrementExpression, PreDecrementExpression, | |
7545 | UnaryExpressionNotPlusMinus, CastExpression, | |
7546 | MultiplicativeExpression, AdditiveExpression, ShiftExpression, | |
7547 | RelationalExpression, EqualityExpression, AndExpression, | |
7548 | ExclusiveOrExpression, InclusiveOrExpression, | |
7549 | ConditionalAndExpression, ConditionalOrExpression, | |
7550 | ConditionalExpression, Assignment, LeftHandSide): Update | |
7551 | calls to write_exp* and similars in order to use parser state. | |
7552 | (parse_number): Ajust code to use parser state. | |
7553 | (yylex): Likewise. | |
7554 | (java_parse): New function. | |
7555 | (push_variable): Add "struct parser_state" argument. Adjust | |
7556 | code to user parser state. | |
7557 | (push_fieldnames, push_qualified_expression_name, | |
7558 | push_expression_name, insert_exp): Likewise. | |
7559 | * jv-lang.h: Forward declare "struct parser_state". | |
7560 | (java_parse): Add "struct parser_state" argument. | |
7561 | * m2-exp.y (parse_type, parse_m2_type): Rewrite macros to use | |
7562 | parser state. | |
7563 | (yyparse): Redefine macro to m2_parse_internal. | |
7564 | (pstate): New variable. | |
7565 | (type_exp, exp, fblock, variable, type): Update calls to | |
7566 | write_exp* and similars to use parser state. | |
7567 | (yylex): Likewise. | |
7568 | (m2_parse): New function. | |
7569 | * m2-lang.h: Forward declare "struct parser_state". | |
7570 | (m2_parse): Add "struct parser_state" argument. | |
7571 | * objc-lang.c (end_msglist): Add "struct parser_state" argument. | |
7572 | * objc-lang.h: Forward declare "struct parser_state". | |
7573 | (end_msglist): Add "struct parser_state" argument. | |
7574 | * p-exp.y (parse_type): Rewrite macro to use parser state. | |
7575 | (yyparse): Redefine macro to pascal_parse_internal. | |
7576 | (pstate): New variable. | |
7577 | (parse_number): Add "struct parser_state" argument. | |
7578 | (type_exp, exp1, exp, qualified_name, variable): Update calls to | |
7579 | write_exp* and similars in order to use parser state. | |
7580 | (parse_number, yylex): Adjust code to use parser state. | |
7581 | (pascal_parse): New function. | |
7582 | * p-lang.h: Forward declare "struct parser_state". | |
7583 | (pascal_parse): Add "struct parser_state" argument. | |
7584 | * go-exp.y (parse_type): Rewrite macro to use parser state. | |
7585 | (yyparse): Redefine macro to go_parse_internal. | |
7586 | (pstate): New variable. | |
7587 | (parse_number): Add "struct parser_state" argument. | |
7588 | (type_exp, exp1, exp, variable, type): Update calls to | |
7589 | write_exp* and similars in order to use parser state. | |
7590 | (parse_number, lex_one_token, classify_name, yylex): Adjust code | |
7591 | to use parser state. | |
7592 | (go_parse): Likewise. | |
7593 | * go-lang.h: Forward declare "struct parser_state". | |
7594 | (go_parse): Add "struct parser_state" argument. | |
7595 | ||
342587c4 DE |
7596 | 2014-03-27 Doug Evans <dje@google.com> |
7597 | ||
7598 | * dwarf2read.c (read_str_index): Delete arg cu. All callers updated. | |
7599 | ||
33e80786 DE |
7600 | 2014-03-27 Doug Evans <dje@google.com> |
7601 | ||
7602 | * dwarf2read.c (init_cutu_and_read_dies_no_follow): Fix comments. | |
7603 | Remove argument abbrev_section. All callers updated. | |
7604 | ||
1dbab08b DE |
7605 | 2014-03-27 Doug Evans <dje@google.com> |
7606 | ||
7607 | * dwarf2read.c (struct dwarf2_cu): Improve comments for members | |
7608 | addr_base, ranges_base. | |
7609 | ||
318d3177 KS |
7610 | 2014-03-26 Keith Seitz <keiths@redhat.com> |
7611 | ||
7612 | * ada-tasks.c (get_tcb_types_info): Search STRUCT_DOMAIN for | |
7613 | types, not VAR_DOMAIN. | |
7614 | ||
1e54db15 SL |
7615 | 2014-03-25 Sandra Loosemore <sandra@codesourcery.com> |
7616 | ||
7617 | * features/nios2-cpu.xml: Correct types of "gp", "fp", "ea", and | |
7618 | "ra" registers. | |
7619 | * features/nios2-linux.c: Regenerated. | |
7620 | * features/nios2.c: Regenerated. | |
7621 | ||
d3839ede PA |
7622 | 2014-03-25 Pedro Alves <palves@redhat.com> |
7623 | ||
7624 | * cli/cli-script.c (script_from_file): Force the interpreter to | |
7625 | sync mode. | |
7626 | ||
7588d2ec PL |
7627 | 2014-03-24 Pierre Langlois <pierre.langlois@embecosm.com> |
7628 | ||
7629 | * avr-tdep.c (avr_scan_prologue): Accept push r1 instruction for | |
7630 | small stack allocation. | |
7631 | ||
a6290449 TG |
7632 | 2014-03-24 Tristan Gingold <gingold@adacore.com> |
7633 | ||
7634 | * darwin-nat.c (exc_server): Remove unused prototype. | |
7635 | (darwin_dump_message): Correctly display data on x86_64. | |
7636 | (darwin_encode_reply): Fix style. | |
7637 | Add comments and fix indentation. | |
7638 | ||
31ae9d24 | 7639 | 2014-03-24 Pierre Langlois <pierre.langlois@embecosm.com> |
69fa4030 PL |
7640 | |
7641 | * MAINTAINERS (Write After Approval): Add "Pierre Langlois". | |
7642 | ||
6339bfc4 DE |
7643 | 2014-03-22 Doug Evans <xdje42@gmail.com> |
7644 | ||
7645 | * infcmd.c: Whitespace fixes. | |
7646 | (interrupt_command): Merge two function comments into one. | |
7647 | ||
0a07590b DE |
7648 | 2014-03-22 Doug Evans <xdje42@gmail.com> |
7649 | ||
7650 | * infcmd.c (interrupt_command): Renamed from interrupt_target_command. | |
7651 | All uses updated. | |
7652 | ||
b55fbac4 YQ |
7653 | 2014-03-22 Yao Qi <yao@codesourcery.com> |
7654 | ||
7655 | * remote.c (target_read_live_memory): Remove. | |
7656 | (memory_xfer_live_readonly_partial): Rename it to | |
7657 | remote_xfer_live_readonly_partial. Remove argument 'object'. | |
7658 | All callers updated. Call remote_read_bytes_1 | |
7659 | instead of target_read_live_memory. | |
7660 | * tracepoint.c (set_traceframe_number): Remove. | |
7661 | (make_cleanup_restore_traceframe_number): Likewise . | |
7662 | * tracepoint.h (set_traceframe_number): Remove declaration. | |
7663 | (make_cleanup_restore_traceframe_number): Likewise. | |
7664 | ||
9217e74e YQ |
7665 | 2014-03-22 Yao Qi <yao@codesourcery.com> |
7666 | ||
7667 | * remote.c (remote_read_bytes): Move code on reading from the | |
7668 | remote stub to ... | |
7669 | (remote_read_bytes_1): ... here. New function. | |
7670 | ||
8acf9577 YQ |
7671 | 2014-03-22 Yao Qi <yao@codesourcery.com> |
7672 | ||
7673 | * ctf.c (ctf_xfer_partial): Check the return value of | |
7674 | exec_read_partial_read_only, if it is not TARGET_XFER_OK, | |
7675 | return TARGET_XFER_UNAVAILABLE. | |
7676 | * tracefile-tfile.c (tfile_xfer_partial): Likewise. | |
7677 | * target.c (target_read_live_memory): Move it to remote.c. | |
7678 | (memory_xfer_live_readonly_partial): Likewise. | |
7679 | (memory_xfer_partial_1): Move some code to remote_read_bytes. | |
7680 | * remote.c (target_read_live_memory): Moved from target.c. | |
7681 | (memory_xfer_live_readonly_partial): Likewise. | |
7682 | (remote_read_bytes): Factored out from | |
7683 | memory_xfer_partial_1. | |
7684 | ||
feef67ab DE |
7685 | 2014-03-21 Daniel Gutson <daniel.gutson@tallertechnologies.com> |
7686 | ||
7687 | * extension.c (eval_ext_lang_from_control_command): Avoid dereferencing | |
7688 | NULL pointer. | |
7689 | ||
b65dc60b PA |
7690 | 2014-03-21 Pedro Alves <palves@redhat.com> |
7691 | ||
7692 | * infrun.c (normal_stop): Extend comment. | |
7693 | ||
b4ab256d HZ |
7694 | 2014-03-21 Hui Zhu <hui@codesourcery.com> |
7695 | Pedro Alves <palves@redhat.com> | |
7696 | ||
7697 | * darwin-nat.c (darwin_pid_to_exec_file): Change xmalloc to | |
7698 | static buffer. | |
7699 | * fbsd-nat.c (fbsd_pid_to_exec_file): Ditto. | |
7700 | * linux-nat.c (linux_child_pid_to_exec_file): Ditto. | |
7701 | * nbsd-nat.c (nbsd_pid_to_exec_file): Ditto. | |
7702 | ||
deba7593 MR |
7703 | 2014-03-20 Maciej W. Rozycki <macro@codesourcery.com> |
7704 | ||
7705 | * mi/mi-interp.c (mi_memory_changed): Avoid using the ISO C99 | |
7706 | `z' formatted output modifier. | |
7707 | ||
1bff71c3 SDJ |
7708 | 2014-03-20 Tom Tromey <tromey@redhat.com> |
7709 | Sergio Durigan Junior <sergiodj@redhat.com> | |
7710 | ||
7711 | * probe.c (parse_probes): Turn assert into an ordinary error. | |
7712 | * break-catch-throw.c (re_set_exception_catchpoint): Ignore | |
7713 | exceptions when parsing probes. Rearrange the code for clarity. | |
7714 | ||
90e28950 TT |
7715 | 2014-03-20 Tom Tromey <tromey@redhat.com> |
7716 | ||
7717 | PR gdb/14135 | |
7718 | * top.c (execute_command): Only dispatch events if the command | |
7719 | started the target. | |
7720 | ||
beb460e8 PA |
7721 | 2014-03-20 Tom Tromey <tromey@redhat.com> |
7722 | ||
7723 | PR cli/15718 | |
7724 | * infcall.c: Include event-top.h. | |
7725 | (run_inferior_call): Call async_disable_stdin if needed. | |
7726 | ||
99619bea PA |
7727 | 2014-03-20 Pedro Alves <palves@redhat.com> |
7728 | ||
7729 | * infrun.c (prepare_to_proceed): Delete. | |
7730 | (thread_still_needs_step_over): New function. | |
7731 | (find_thread_needs_step_over): New function. | |
7732 | (proceed): If the current thread needs a step-over, set its | |
7733 | steping_over_breakpoint flag. Adjust to use | |
7734 | find_thread_needs_step_over instead of prepare_to_proceed. | |
7735 | (process_event_stop_test): For BPSTAT_WHAT_STOP_NOISY and | |
7736 | BPSTAT_WHAT_STOP_SILENT, assume the thread stopped for a | |
7737 | breakpoint. | |
7738 | (switch_back_to_stepped_thread): Step over breakpoints of all | |
7739 | threads not the stepping thread, before switching back to the | |
7740 | stepping thread. | |
7741 | ||
2adfaa28 PA |
7742 | 2014-03-20 Pedro Alves <palves@redhat.com> |
7743 | ||
7744 | * breakpoint.c (single_step_breakpoint_inserted_here_p): Make | |
7745 | extern. | |
7746 | * breakpoint.h (single_step_breakpoint_inserted_here_p): Declare. | |
7747 | * infrun.c (saved_singlestep_ptid) | |
7748 | (stepping_past_singlestep_breakpoint): Delete. | |
7749 | (resume): Remove stepping_past_singlestep_breakpoint handling. | |
7750 | (proceed): Store the prev_pc of the stepping thread too. | |
7751 | (init_wait_for_inferior): Adjust. Clear singlestep_ptid and | |
7752 | singlestep_pc. | |
7753 | (enum infwait_states): Delete infwait_thread_hop_state. | |
7754 | (struct execution_control_state) <hit_singlestep_breakpoint>: New | |
7755 | field. | |
7756 | (handle_inferior_event): Adjust. | |
7757 | (handle_signal_stop): Delete stepping_past_singlestep_breakpoint | |
7758 | handling and the thread-hop code. Before removing single-step | |
7759 | breakpoints, check whether the thread hit a single-step breakpoint | |
7760 | of another thread. If it did, the trap is not a random signal. | |
7761 | (switch_back_to_stepped_thread): If the event thread hit a | |
7762 | single-step breakpoint, unblock it before switching to the | |
7763 | stepping thread. Handle the case of the stepped thread having | |
7764 | advanced already. | |
7765 | (keep_going): Handle the case of the current thread moving past a | |
7766 | single-step breakpoint. | |
7767 | ||
31e77af2 PA |
7768 | 2014-03-20 Pedro Alves <palves@redhat.com> |
7769 | ||
7770 | PR breakpoints/7143 | |
7771 | * breakpoint.c (should_be_inserted): Don't insert breakpoints that | |
7772 | are being stepped over. | |
7773 | (breakpoint_address_match): Make extern. | |
7774 | * breakpoint.h (breakpoint_address_match): New declaration. | |
7775 | * inferior.h (stepping_past_instruction_at): New declaration. | |
7776 | * infrun.c (struct step_over_info): New type. | |
7777 | (step_over_info): New global. | |
7778 | (set_step_over_info, clear_step_over_info) | |
7779 | (stepping_past_instruction_at): New functions. | |
7780 | (handle_inferior_event): Clear the step-over info when | |
7781 | trap_expected is cleared. | |
7782 | (resume): Remove now stale comment. | |
7783 | (clear_proceed_status): Clear step-over info. | |
7784 | (proceed): Adjust step-over handling to set or clear the step-over | |
7785 | info instead of removing all breakpoints. | |
7786 | (handle_signal_stop): When setting up a thread-hop, don't remove | |
7787 | breakpoints here. | |
7788 | (stop_stepping): Clear step-over info. | |
7789 | (keep_going): Adjust step-over handling to set or clear step-over | |
7790 | info and then always inserting breakpoints, instead of removing | |
7791 | all breakpoints when stepping over one. | |
7792 | ||
b9f437de PA |
7793 | 2014-03-20 Pedro Alves <palves@redhat.com> |
7794 | ||
7795 | * infrun.c (previous_inferior_ptid): Adjust comment. | |
7796 | (deferred_step_ptid): Delete. | |
7797 | (infrun_thread_ptid_changed, prepare_to_proceed) | |
7798 | (init_wait_for_inferior): Adjust. | |
7799 | (handle_signal_stop): Delete deferred_step_ptid handling. | |
7800 | ||
06c868a8 JK |
7801 | 2014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com> |
7802 | ||
7803 | PR gdb/15358 | |
7804 | * defs.h (sync_quit_force_run): New declaration. | |
7805 | (QUIT): Check also SYNC_QUIT_FORCE_RUN. | |
7806 | * event-top.c (async_sigterm_handler): New declaration. | |
7807 | (async_sigterm_token): New variable. | |
7808 | (async_init_signals): Create also async_sigterm_token. | |
7809 | (async_sigterm_handler): New function. | |
7810 | (sync_quit_force_run): New variable. | |
7811 | (handle_sigterm): Replace quit_force call by other calls. | |
7812 | * utils.c (quit): Call quit_force if SYNC_QUIT_FORCE_RUN. | |
7813 | ||
dea80df0 MR |
7814 | 2014-03-18 Maciej W. Rozycki <macro@codesourcery.com> |
7815 | ||
7816 | * rs6000-tdep.c (rs6000_frame_cache): Correct little-endian GPR | |
7817 | offset into SPE pseudo registers. | |
7818 | ||
0c7e1a46 PA |
7819 | 2014-03-18 Pedro Alves <palves@redhat.com> |
7820 | ||
7821 | PR gdb/13860 | |
7822 | * inferior.h (print_stop_event): Declare. | |
7823 | * infrun.c (print_stop_event): New, factored out from ... | |
7824 | (normal_stop): ... this. | |
7825 | * mi/mi-interp.c (mi_on_normal_stop): Use print_stop_event instead | |
7826 | of bpstat_print/print_stack_frame. | |
7827 | ||
9c1fcd01 TT |
7828 | 2014-03-17 Tom Tromey <tromey@redhat.com> |
7829 | ||
7830 | * ui-out.c (clear_table, ui_out_new): Clear uiout->table.id. | |
7831 | ||
11aa919a PMR |
7832 | 2014-03-17 Pierre-Marie de Rodat <derodat@adacore.com> |
7833 | ||
7834 | * ada-lang.c (decode_constrained_packed_array): Perform a | |
7835 | minimal coercion for reference with coerce_ref instead of | |
7836 | ada_coerce_ref. | |
7837 | ||
d4ccb5e0 TG |
7838 | 2014-03-17 Tristan Gingold <gingold@adacore.com> |
7839 | ||
7840 | * solib-darwin.c (DYLD_VERSION_MAX): Increase value. | |
7841 | (darwin_solib_create_inferior_hook): Emit a warning if version | |
7842 | is unhandled. | |
7843 | ||
49840f2a UW |
7844 | 2014-03-16 Ulrich Weigand <uweigand@de.ibm.com> |
7845 | ||
7846 | * python/py-value.c (get_field_flag): Cast flag_name argument to | |
7847 | PyObject_GetAttrString to support Python 2.4. | |
7848 | ||
ed4123e5 JK |
7849 | 2014-03-14 Jan Kratochvil <jan.kratochvil@redhat.com> |
7850 | ||
7851 | * MAINTAINERS (The Official FSF-appointed GDB Maintainers) | |
7852 | (Global Maintainers): Remove Jan Kratochvil. | |
7853 | ||
d6b64346 PA |
7854 | 2014-03-14 Pedro Alves <palves@redhat.com> |
7855 | ||
7856 | * inferior.h (terminal_ours_for_output): Rename to ... | |
7857 | (child_terminal_ours_for_output): ... this. | |
7858 | (terminal_save_ours): Rename to ... | |
7859 | (child_terminal_save_ours): ... this. | |
7860 | (terminal_ours): Rename to ... | |
7861 | (child_terminal_ours): ... this. | |
7862 | (terminal_inferior): Rename to ... | |
7863 | (child_terminal_inferior): ... this. | |
7864 | (terminal_init_inferior): Rename to ... | |
7865 | (child_terminal_init_inferior): ... this. | |
7866 | (terminal_init_inferior_with_pgrp): Rename to ... | |
7867 | (child_terminal_init_inferior_with_pgrp): ... this. | |
7868 | * inflow.c (terminal_init_inferior_with_pgrp): Rename to ... | |
7869 | (child_terminal_init_with_pgrp): ... this. | |
7870 | (terminal_save_ours): Rename to ... | |
7871 | (child_terminal_save_ours): ... this. | |
7872 | (terminal_init_inferior): Rename to ... | |
7873 | (child_terminal_init): ... this. Adjust. | |
7874 | (terminal_inferior): Rename to ... | |
7875 | (child_terminal_inferior): ... this. | |
7876 | (terminal_ours_for_output): Rename to ... | |
7877 | (child_terminal_ours_for_output): ... this. Adjust. | |
7878 | (terminal_ours): Rename to ... | |
7879 | (child_terminal_ours): ... this. | |
7880 | (terminal_ours_1): Rename to ... | |
7881 | (child_terminal_ours_1): ... this. Adjust. | |
7882 | * linux-nat.c (linux_nat_terminal_inferior): Adjust. | |
7883 | * windows-nat.c (do_initial_windows_stuff): Adjust. | |
7884 | * gnu-nat.c (gnu_terminal_init_inferior): Rename to ... | |
7885 | (gnu_terminal_init): ... this. Adjust. | |
7886 | (gnu_target): Adjust. | |
7887 | * inf-child.c (inf_child_target): Adjust. | |
7888 | ||
5a1e8c7a DE |
7889 | 2014-03-13 Doug Evans <xdje42@gmail.com> |
7890 | ||
7891 | PR guile/16612 | |
7892 | * guile/scm-type.c (tyscm_copy_type_recursive): Move type to its | |
7893 | new eq?-hashtab. | |
7894 | ||
350e1a76 DE |
7895 | 2014-03-13 Doug Evans <xdje42@gmail.com> |
7896 | ||
7897 | * value.c (record_latest_value): Call release_value_or_incref | |
7898 | instead of release_value. | |
7899 | ||
a69900ae PA |
7900 | 2014-03-13 Pedro Alves <palves@redhat.com> |
7901 | ||
7902 | * procfs.c (procfs_target): Don't override to_shortname, | |
7903 | to_longname or to_doc. | |
7904 | ||
5db9f0bd PA |
7905 | 2014-03-13 Pedro Alves <palves@redhat.com> |
7906 | ||
7907 | * inf-child.c (inf_child_open, inf_child_target): Don't mention | |
7908 | Unix in user visible strings. | |
7909 | ||
5e3a2c38 SS |
7910 | 2014-03-12 Stan Shebs <stan@codesourcery.com> |
7911 | ||
7912 | * gdbtypes.h: Annotate comments for Doxygen, add a page | |
7913 | block comment with some general info. | |
7914 | ||
8bc2fe48 PA |
7915 | 2014-03-12 Pedro Alves <palves@redhat.com> |
7916 | ||
7917 | * infcmd.c (prepare_execution_command): New function, factored out | |
7918 | from several execution commands. | |
7919 | (run_command_1, continue_command, step_1, jump_command) | |
7920 | (signal_command, until_command, advance_command, finish_command) | |
7921 | (attach_command): Use prepare_execution_command. | |
7922 | ||
638c5f49 OJ |
7923 | 2014-03-12 Omair Javaid <omair.javaid@linaro.org> |
7924 | ||
7925 | * arm-linux-nat.c (arm_linux_get_hwbp_cap): Updated. | |
7926 | (MAX_BPTS): Define. | |
7927 | (MAX_WPTS): Define. | |
7928 | (struct arm_linux_thread_points): Removed. | |
7929 | (struct arm_linux_process_info): New. | |
7930 | (DEF_VEC_P (arm_linux_thread_points_p)): Removed. | |
7931 | (VEC(arm_linux_thread_points_p) *arm_threads): Removed. | |
7932 | (arm_linux_find_breakpoints_by_tid): Removed. | |
7933 | (struct arch_lwp_info): New. | |
7934 | (arm_linux_find_process_pid): New functions. | |
7935 | (arm_linux_add_process): New functions. | |
7936 | (arm_linux_process_info_get): New functions. | |
7937 | (arm_linux_forget_process): New function. | |
7938 | (arm_linux_get_debug_reg_state): New function. | |
7939 | (struct update_registers_data): New. | |
7940 | (update_registers_callback): New function. | |
7941 | (arm_linux_insert_hw_breakpoint1): Updated. | |
7942 | (arm_linux_remove_hw_breakpoint1): Updated. | |
7943 | (arm_linux_insert_hw_breakpoint): Updated. | |
7944 | (arm_linux_remove_hw_breakpoint): Updated. | |
7945 | (arm_linux_insert_watchpoint): Updated. | |
7946 | (arm_linux_remove_watchpoint): Updated. | |
7947 | (arm_linux_new_thread): Updated. | |
7948 | (arm_linux_prepare_to_resume): New function. | |
7949 | (arm_linux_new_fork): New function. | |
7950 | (_initialize_arm_linux_nat): Updated. | |
7951 | ||
6d03af93 PA |
7952 | 2014-03-12 Pedro Alves <palves@redhat.com> |
7953 | ||
7954 | * Makefile.in (TARGET_FLAGS_TO_PASS): Add TESTS. | |
7955 | ||
b3ccfe11 TT |
7956 | 2014-03-12 Tom Tromey <tromey@redhat.com> |
7957 | ||
7958 | * inf-child.c (return_zero): New function. | |
7959 | (inf_child_target): Set to_can_async_p, to_supports_non_stop. | |
7960 | * aix-thread.c (aix_thread_inferior_created): New function. | |
7961 | (aix_thread_attach): Remove. | |
7962 | (init_aix_thread_ops): Don't set to_attach. | |
7963 | (_initialize_aix_thread): Register inferior_created observer. | |
7964 | * corelow.c (init_core_ops): Don't set to_attach or | |
7965 | to_create_inferior. | |
7966 | * exec.c (init_exec_ops): Don't set to_attach or | |
7967 | to_create_inferior. | |
7968 | * infcmd.c (run_command_1): Use find_run_target. Make direct | |
7969 | target calls. | |
7970 | (attach_command): Use find_attach_target. Make direct target | |
7971 | calls. | |
7972 | * record-btrace.c (init_record_btrace_ops): Don't set | |
7973 | to_create_inferior. | |
7974 | * record-full.c (record_full_can_async_p, record_full_is_async_p): | |
7975 | Remove. | |
7976 | (init_record_full_ops, init_record_full_core_ops): Update. Don't | |
7977 | set to_create_inferior. | |
7978 | * target.c (complete_target_initialization): Add assertion. | |
7979 | (target_create_inferior): Remove. | |
7980 | (find_default_attach, find_default_create_inferior): Remove. | |
7981 | (find_attach_target, find_run_target): New functions. | |
7982 | (find_default_is_async_p, find_default_can_async_p) | |
7983 | (target_supports_non_stop, target_attach): Remove. | |
7984 | (init_dummy_target): Don't set to_create_inferior or | |
7985 | to_supports_non_stop. | |
7986 | * target.h (struct target_ops) <to_attach>: Add comment. Remove | |
7987 | TARGET_DEFAULT_FUNC. | |
7988 | <to_create_inferior>: Add comment. | |
7989 | <to_can_async_p, to_is_async_p, to_supports_non_stop>: Use | |
7990 | TARGET_DEFAULT_RETURN. | |
7991 | <to_can_async_p, to_supports_non_stop, to_can_run>: Add comments. | |
7992 | (find_attach_target, find_run_target): Declare. | |
7993 | (target_create_inferior): Remove. | |
7994 | (target_has_execution_1): Update comment. | |
7995 | (target_supports_non_stop): Remove. | |
7996 | * target-delegates.c: Rebuild. | |
7997 | ||
91f83b02 PA |
7998 | 2014-03-12 Pedro Alves <palves@redhat.com> |
7999 | ||
8000 | * inf-child.h: Update comment to not mention Unix. | |
8001 | ||
f1aea813 PA |
8002 | 2014-03-12 Pedro Alves <palves@redhat.com> |
8003 | ||
8004 | * inf-child.c: Update top comment to not mention Unix. Add | |
8005 | generic comment describing how this target is meant to be used. | |
8006 | (inf_child_post_attach, inf_child_post_startup_inferior) | |
8007 | (inf_child_follow_fork, inf_child_pid_to_exec_file): Don't mention | |
8008 | Unix in comment. | |
8009 | ||
ee8e9165 PA |
8010 | 2014-03-12 Pedro Alves <palves@redhat.com> |
8011 | ||
8012 | * nto-procfs.c: Include inf-child.h. | |
8013 | (procfs_ops): Delete global. | |
8014 | (procfs_can_run): Delete method. | |
8015 | (procfs_detach, procfs_mourn_inferior): Unpush the passed in | |
8016 | target pointer instead of referencing procfs_ops. | |
8017 | (procfs_prepare_to_store): Delete. | |
8018 | (init_procfs_ops): Delete function. | |
8019 | (procfs_target): New function, based on init_procfs_ops, but | |
8020 | inherit inf_child_target. | |
8021 | (_initialize_procfs): Use procfs_target. | |
8022 | ||
51a9c8c5 PA |
8023 | 2014-03-12 Pedro Alves <palves@redhat.com> |
8024 | ||
8025 | * windows-nat.c: Include inf-child.h. | |
8026 | (windows_ops): Delete global. | |
8027 | (windows_open, windows_prepare_to_store, windows_can_run): Delete | |
8028 | methods. | |
8029 | (init_windows_ops): Delete function. | |
8030 | (windows_target): New function, based on init_windows_ops, but | |
8031 | inherit inf_child_target. | |
8032 | (_initialize_windows_nat): Use windows_target. Install x86 | |
8033 | specific target methods here. | |
8034 | ||
c1966e26 DE |
8035 | 2014-03-10 Doug Evans <xdje42@gmail.com> |
8036 | ||
8037 | * guile/guile.c (call_initialize_gdb_module): New function. | |
8038 | (initialize_guile): Replace call to scm_init_guile with call to | |
8039 | scm_with_guile. | |
8040 | ||
023db19c JB |
8041 | 2014-03-10 Joel Brobecker <brobecker@adacore.com> |
8042 | ||
8043 | * ada-lang.c (ada_evaluate_subexp): Add missing space before '(' | |
8044 | in call to TYPE_CODE macro. | |
8045 | ||
5ec18f2b JG |
8046 | 2014-03-10 Jerome Guitton <guitton@adacore.com> |
8047 | ||
8668be63 JB |
8048 | * ada-lang.c (ada_evaluate_subexp) <UNOP_IND, STRUCTOP_STRUCT>: |
8049 | Resolve tagged types to full view. | |
5ec18f2b | 8050 | |
7d03f2eb HZ |
8051 | 2014-03-10 Hui Zhu <hui@codesourcery.com> |
8052 | ||
8053 | * target.h (target_insert_breakpoint): Remove "hardware" from its | |
8054 | comments. | |
8055 | ||
c5164cbc DE |
8056 | 2014-03-07 Doug Evans <dje@google.com> |
8057 | ||
8058 | * dwarf2read.c (read_str_index): Rename local dwo_name to objf_name. | |
8059 | ||
c4a3fee2 DE |
8060 | 2014-03-07 Doug Evans <dje@google.com> |
8061 | ||
8062 | * dwarf2read.c (read_cutu_die_from_dwo): Fix function comment. | |
8063 | Remove unused local comp_dir_attr. Assert exactly one of | |
8064 | stub_comp_unit_die, stub_comp_dir is non-NULL. | |
8065 | ||
3156469c JB |
8066 | 2014-03-07 Joel Brobecker <brobecker@adacore.com> |
8067 | ||
8068 | * target.h (complete_target_initialization, add_target): | |
8069 | Add comment. | |
8070 | ||
c1a7b7c6 PA |
8071 | 2014-03-07 Pedro Alves <palves@redhat.com> |
8072 | ||
8073 | * go32-nat.c: Include inf-child.h. | |
8074 | (go32_ops): Delete global. | |
8075 | (go32_close, go32_detach, go32_prepare_to_store, go32_can_run): | |
8076 | Delete methods. | |
8077 | (go32_create_inferior): Push the passed in target pointer instead | |
8078 | of referencing go32_ops. | |
8079 | (init_go32_ops): Delete function. Moved parts to _initialize_go32_nat. | |
8080 | (go32_target): New function, based on init_go32_ops, but inherit | |
8081 | inf_child_target. | |
8082 | (_initialize_go32_nat): Use go32_target. Move parts of | |
8083 | init_go32_ops here. | |
8084 | ||
d3c1a85f JB |
8085 | 2014-03-06 Joel Brobecker <brobecker@adacore.com> |
8086 | ||
8087 | * sol-thread.c: #include "symtab.h", "minsym.h" and "objfiles.h". | |
8088 | (ps_pglobal_lookup): Use BMSYMBOL_VALUE_ADDRESS instead of | |
8089 | SYMBOL_VALUE_ADDRESS. | |
8090 | (info_cb): MSYMBOL_PRINT_NAME instead of SYMBOL_PRINT_NAME. | |
8091 | ||
5fa1d40e YQ |
8092 | 2014-03-06 Yao Qi <yao@codesourcery.com> |
8093 | ||
8094 | * breakpoint.c (get_tracepoint_by_number): Remove argument | |
8095 | optional_p. All callers updated. Adjust comments. Update | |
8096 | output message. | |
8097 | * breakpoint.h (get_tracepoint_by_number): Update declaration. | |
8098 | ||
0c13193f YQ |
8099 | 2014-03-06 Yao Qi <yao@codesourcery.com> |
8100 | ||
8101 | * reverse.c (goto_bookmark_command): Add local 'p'. Emit error | |
8102 | early if get_number returns zero. Use 'p' instead of 'args'. | |
8103 | ||
2217da06 YQ |
8104 | 2014-03-06 Yao Qi <yao@codesourcery.com> |
8105 | ||
8106 | * cli/cli-utils.c (get_number_trailer): Add '\n' at the end of | |
8107 | message. | |
8108 | ||
cc3da688 YQ |
8109 | 2014-03-06 Yao Qi <yao@codesourcery.com> |
8110 | ||
8111 | PR breakpoints/16508 | |
8112 | * tracepoint.c (check_trace_running): New function. | |
8113 | (trace_find_command): Move code to check_trace_running and | |
8114 | call check_trace_running. | |
8115 | (trace_find_pc_command): Likewise. | |
8116 | (trace_find_tracepoint_command): Likewise. | |
8117 | (trace_find_line_command): Likewise. | |
8118 | (trace_find_range_command): Likewise. | |
8119 | * tracepoint.h (check_trace_running): Likewise. | |
8120 | * mi/mi-main.c (mi_cmd_trace_find): Call check_trace_running. | |
8121 | ||
6a5f844b YQ |
8122 | 2014-03-06 Yao Qi <yao@codesourcery.com> |
8123 | ||
8124 | * target.h (struct target_ops) <to_traceframe_info>: Use | |
8125 | TARGET_DEFAULT_NORETURN (tcomplain ()). | |
8126 | * target-delegates.c: Regenerated. | |
8127 | ||
0f26cec1 PA |
8128 | 2014-03-05 Pedro Alves <palves@redhat.com> |
8129 | ||
8130 | PR gdb/16575 | |
8131 | * dcache.c (dcache_poke_byte): Constify ptr parameter. Return | |
8132 | void. Update comment. | |
8133 | (dcache_xfer_memory): Delete. | |
8134 | (dcache_read_memory_partial): New, based on the read bits of | |
8135 | dcache_xfer_memory. | |
8136 | (dcache_update): Add status parameter. Use ULONGEST for len, and | |
8137 | adjust. Discard cache lines if the reason for the update was | |
8138 | error. | |
8139 | * dcache.h (dcache_xfer_memory): Delete declaration. | |
8140 | (dcache_read_memory_partial): New declaration. | |
8141 | (dcache_update): Update prototype. | |
8142 | * target.c (raw_memory_xfer_partial): Update the dcache here. | |
8143 | (memory_xfer_partial_1): Don't handle dcache writes here. | |
8144 | ||
b2b255bd MF |
8145 | 2014-03-05 Mike Frysinger <vapier@gentoo.org> |
8146 | ||
8147 | * remote-sim.c (gdbsim_load): Add const to prog. | |
8148 | ||
5d9cf8a4 TT |
8149 | 2014-03-03 Tom Tromey <tromey@redhat.com> |
8150 | ||
8151 | * elfread.c (probe_key): Change to bfd_data. | |
8152 | (elf_get_probes, probe_key_free, _initialize_elfread): Probes are | |
8153 | now per-BFD, not per-objfile. | |
8154 | * stap-probe.c (stap_probe_destroy): Update comment. | |
8155 | (handle_stap_probe): Allocate on the per-BFD obstack. | |
8156 | ||
729662a5 TT |
8157 | 2014-03-03 Tom Tromey <tromey@redhat.com> |
8158 | ||
8159 | * break-catch-throw.c (fetch_probe_arguments): Use bound probes. | |
8160 | * breakpoint.c (create_longjmp_master_breakpoint): Use | |
8161 | get_probe_address. | |
8162 | (add_location_to_breakpoint, bkpt_probe_insert_location) | |
8163 | (bkpt_probe_remove_location): Update. | |
8164 | * breakpoint.h (struct bp_location) <probe>: Now a bound_probe. | |
8165 | * elfread.c (elf_symfile_relocate_probe): Remove. | |
8166 | (elf_probe_fns): Update. | |
8167 | (insert_exception_resume_breakpoint): Change type of "probe" | |
8168 | parameter to bound_probe. | |
8169 | (check_exception_resume): Update. | |
8170 | * objfiles.c (objfile_relocate1): Don't relocate probes. | |
8171 | * probe.c (bound_probe_s): New typedef. | |
8172 | (parse_probes): Use get_probe_address. Set sal's objfile. | |
8173 | (find_probe_by_pc): Return a bound_probe. | |
8174 | (collect_probes): Return a VEC(bound_probe_s). | |
8175 | (compare_probes): Update. | |
8176 | (gen_ui_out_table_header_info): Change type of "probes" | |
8177 | parameter. Update. | |
8178 | (info_probes_for_ops): Update. | |
8179 | (get_probe_address): New function. | |
8180 | (probe_safe_evaluate_at_pc): Update. | |
8181 | * probe.h (struct probe_ops) <get_probe_address>: New field. | |
8182 | <set_semaphore, clear_semaphore>: Add objfile parameter. | |
8183 | (struct probe) <objfile>: Remove field. | |
8184 | <arch>: New field. | |
8185 | <address>: Update comment. | |
8186 | (struct bound_probe): New. | |
8187 | (find_probe_by_pc): Return a bound_probe. | |
8188 | (get_probe_address): Declare. | |
8189 | * solib-svr4.c (struct probe_and_action) <address>: New field. | |
8190 | (hash_probe_and_action, equal_probe_and_action): Update. | |
8191 | (register_solib_event_probe): Add address parameter. | |
8192 | (solib_event_probe_at): Update. | |
8193 | (svr4_create_probe_breakpoints): Add objfile parameter. Use | |
8194 | get_probe_address. | |
8195 | * stap-probe.c (struct stap_probe) <sem_addr>: Update comment. | |
8196 | (stap_get_probe_address): New function. | |
8197 | (stap_can_evaluate_probe_arguments, compute_probe_arg) | |
8198 | (compile_probe_arg): Update. | |
8199 | (stap_set_semaphore, stap_clear_semaphore): Compute semaphore's | |
8200 | address. | |
8201 | (handle_stap_probe): Don't relocate the probe. | |
8202 | (stap_relocate): Remove. | |
8203 | (stap_gen_info_probes_table_values): Update. | |
8204 | (stap_probe_ops): Remove stap_relocate. | |
8205 | * symfile-debug.c (debug_sym_relocate_probe): Remove. | |
8206 | (debug_sym_probe_fns): Update. | |
8207 | * symfile.h (struct sym_probe_fns) <sym_relocate_probe>: Remove. | |
8208 | * symtab.c (init_sal): Use memset. | |
8209 | * symtab.h (struct symtab_and_line) <objfile>: New field. | |
8210 | * tracepoint.c (start_tracing, stop_tracing): Update. | |
8211 | ||
ff887920 TT |
8212 | 2014-03-03 Tom Tromey <tromey@redhat.com> |
8213 | ||
8214 | * probe.h (parse_probes, find_probe_by_pc) | |
8215 | (find_probes_in_objfile): Fix comments. | |
8216 | ||
f0407826 DE |
8217 | 2014-03-02 Doug Evans <xdje42@gmail.com> |
8218 | ||
8219 | * infrun.c (handle_signal_stop): Replace test for | |
8220 | TARGET_WAITKIND_STOPPED with an assert. | |
8221 | ||
35e6a711 DE |
8222 | 2014-03-02 Doug Evans <xdje42@gmail.com> |
8223 | ||
8224 | * guile/scm-objfile.c (ofscm_mark_objfile_smob): Fix typo in comment. | |
8225 | ||
667f9d0b DE |
8226 | 2014-03-02 Doug Evans <xdje42@gmail.com> |
8227 | ||
8228 | * guile/lib/gdb/printing.scm (append-pretty-printer!): Fix thinko. | |
8229 | ||
dc92ace0 MK |
8230 | 2014-03-01 Mark Kettenis <kettenis@gnu.org> |
8231 | ||
8232 | * obsd-nat.c: Include "gdb_wait.h" instead of <sys/wait.h>. | |
8233 | ||
a900370f MK |
8234 | 2014-03-01 Mark Kettenis <kettenis@gnu.org> |
8235 | ||
8236 | * i386obsd-nat.c: Include "obsd-nat.h". | |
8237 | (_initialize_i386obsd_nat): Call obsd_add_target instead of | |
8238 | add_target. | |
8239 | * config/i386/obsd.mh (NATDEPFILES): Add obsd-nat.o. | |
8240 | ||
b72a7981 MK |
8241 | 2014-03-01 Mark Kettenis <kettenis@gnu.org> |
8242 | ||
8243 | * i386obsd-nat.c (i386obsd_supply_pcb): Cast 'sf' to 'gdb_byte *'. | |
8244 | ||
96c70aba MK |
8245 | 2014-03-01 Mark Kettenis <kettenis@gnu.org> |
8246 | ||
8247 | * mips64obsd-nat.c: Include "obsd-nath". | |
8248 | (_initialize_mips64obsd_nat): Call obsd_add_target instead of | |
8249 | add_target | |
8250 | * config/mips/obsd64.mh (NATDEPFILES): Add obsd-nat.o. | |
8251 | ||
874a80af MK |
8252 | 2014-03-01 Mark Kettenis <kettenis@gnu.org> |
8253 | ||
8fd408f1 MK |
8254 | * amd64obsd-nat.c: Include "obsd-nat,h. |
8255 | (_initialize_amd64obsd_nat): Call obsd_add_target instead of | |
8256 | add_target. | |
874a80af MK |
8257 | * config/i386/obsd64.mh (NATDEPFILES): Add obsd-nat.o. |
8258 | ||
9cf95373 SC |
8259 | 2014-02-28 Siva Chandra Reddy <sivachandra@google.com> |
8260 | ||
8261 | * valops.c (find_oload_champ): Remove unneccesary argument METHOD. | |
8262 | (find_overload_match): Update call to find_oload_champ. | |
8263 | (find_oload_champ_namespace_loop): Likewise | |
8264 | ||
863e4da4 MK |
8265 | 2014-02-28 Mark Kettenis <kettenis@gnu.org> |
8266 | ||
025cac40 MK |
8267 | * Makefile.in (ALLDEPFILES): Add sparc64obsd-nat.c. |
8268 | ||
1ed586ce MK |
8269 | * configure.host (sparc64-*-openbsd*): Set gdb_host to obsd64. |
8270 | * config/sparc/obsd64.mh: New file. | |
8271 | * sparc64obsd-nat.c: New file. | |
8272 | ||
863e4da4 MK |
8273 | * obsd-nat.h: New file. |
8274 | * obsd-nat.c: New file. | |
8275 | * Makefile.in (HFILES_NO_SRCDIR): Add obsd-nat.h. | |
8276 | (ALLDEPFILES): Add obsd-nat.c. | |
8277 | ||
89de4da4 TT |
8278 | 2014-02-28 Tom Tromey <tromey@redhat.com> |
8279 | ||
8280 | * cli-out.c (cli_ui_out_impl): Now const. Remove comment. | |
8281 | * cli-out.h (cli_ui_out_impl): Now const. | |
8282 | * mi/mi-out.c (mi_ui_out_impl): Now const. Remove comment. | |
8283 | * ui-out.c (struct ui_out) <impl>: Now const. | |
8284 | (default_ui_out_impl): Now const. | |
8285 | (ui_out_new): Make 'impl' parameter const. | |
8286 | * ui-out.h (ui_out_new): Update. | |
8287 | ||
c725e7b6 MK |
8288 | 2014-02-27 Mark Kettenis <kettenis@gnu.org> |
8289 | ||
8290 | * solib-svr4.c (svr4_read_so_list): Initialize first_l_name to 0. | |
8291 | ||
670b46b3 MK |
8292 | 2014-02-27 Mark Kettenis <kettenis@gnu.org> |
8293 | ||
8294 | * sparc-nat.c (sparc_xfer_wcookie): Always use process ID. | |
8295 | ||
c91550fc JK |
8296 | 2014-02-27 Jan Kratochvil <jan.kratochvil@redhat.com> |
8297 | ||
8298 | Additional PR 8882 fix. | |
8299 | * solib-svr4.c (svr4_read_so_list): Change first to first_l_name. | |
8300 | ||
2fa0369e PA |
8301 | 2014-02-27 Pedro Alves <palves@redhat.com> |
8302 | ||
8303 | * nat/linux-waitpid.c (my_waitpid): Only block signals if WNOHANG | |
8304 | isn't set. | |
8305 | ||
d632a097 PA |
8306 | 2014-02-27 Pedro Alves <palves@redhat.com> |
8307 | ||
8308 | PR 12702 | |
8309 | * linux-nat.c (status_to_str): Moved to nat/linux-waitpid.c. | |
8310 | * nat/linux-waitpid.c: Include string.h. | |
8311 | (status_to_str): Moved here and made extern. | |
8312 | * nat/linux-waitpid.h (status_to_str): New declaration. | |
8313 | ||
2ebd5a35 HZ |
8314 | 2014-02-27 Hui Zhu <hui@codesourcery.com> |
8315 | ||
8316 | PR 12702 | |
8317 | * infrun.c (ptid_match): Move ... | |
8318 | * common/ptid.c (ptid_match): ... here. | |
8319 | * inferior.h (ptid_match): Move ... | |
8320 | * common/ptid.h (ptid_match): ... here. | |
8321 | ||
3cdd631f MK |
8322 | 2014-02-27 Mark Kettenis <kettenis@gnu.org> |
8323 | ||
8324 | * mips64obsd-tdep.c (mips64obsd_init_abi): Call obsd_init_abi. | |
8325 | * configure.tgt (mips64*-*-openbsd*): Add obsd-tdep.c to | |
8326 | gdb_target_obs. | |
8327 | ||
bee30a64 MK |
8328 | 2014-02-27 Mark Kettenis <kettenis@gnu.org> |
8329 | ||
8330 | * obsd-tdep.c (obsd_auxv_parse): New function. | |
8331 | (obsd_init_abi): Set auxv_parse. | |
27a48a92 MK |
8332 | |
8333 | * gdbarch.sh (auxv_parse): New. | |
8334 | * gdbarch.h: Regenerated. | |
8335 | * gdbarch.c: Regenerated. | |
8336 | * auxv.c (target_auxv_parse): Call gdbarch_parse_auxv if provided. | |
8337 | ||
7a5a839f LC |
8338 | 2014-02-26 Ludovic Courtès <ludo@gnu.org> |
8339 | ||
8340 | * guile/scm-value.c (gdbscm_history_append_x): New function. | |
8341 | (value_functions): Add it. | |
8342 | ||
31aa7e4e JB |
8343 | 2014-02-27 Joel Brobecker <brobecker@adacore.com> |
8344 | ||
8345 | * dwarf2read.c (attr_value_as_address): New function. | |
8346 | (dwarf2_find_base_address, read_call_site_scope): Use | |
8347 | attr_value_as_address in place of DW_ADDR. | |
8348 | (dwarf2_get_pc_bounds): Use attr_value_as_address to get | |
8349 | the low and high addresses. Slight rework of the handling | |
8350 | of the high pc being a constant form, and limit it to | |
8351 | DWARF verson 4 or higher. | |
8352 | (dwarf2_record_block_ranges): Likewise. | |
8353 | (read_partial_die): Likewise. | |
8354 | (new_symbol_full): Use attr_value_as_address in place of DW_ADDR. | |
8355 | ||
9b333ba3 TT |
8356 | 2014-02-26 Tom Tromey <tromey@redhat.com> |
8357 | ||
8358 | * exec.c (exec_file_attach): Hold a reference to exec_bfd. | |
8359 | ||
5f6cac40 TT |
8360 | 2014-02-26 Tom Tromey <tromey@redhat.com> |
8361 | ||
8362 | * elfread.c (elf_read_minimal_symbols): Return early if | |
8363 | minimal symbols have already been read. Add "ei" parameter. | |
8364 | (elf_symfile_read): Call elf_read_minimal_symbols earlier. | |
8365 | * minsyms.c (prim_record_minimal_symbol_full): Update. | |
8366 | * objfiles.h (struct objstats) <n_minsyms>: Move... | |
8367 | (struct objfile_per_bfd_storage) <n_minsyms>: ... here. | |
8368 | * symmisc.c (print_objfile_statistics): Update. | |
8369 | ||
2750ef27 TT |
8370 | 2014-02-26 Tom Tromey <tromey@redhat.com> |
8371 | ||
8372 | * elfread.c (elf_read_minimal_symbols): New function, from | |
8373 | elf_symfile_read. | |
8374 | (elf_symfile_read): Call it. | |
8375 | ||
34643a32 TT |
8376 | 2014-02-26 Tom Tromey <tromey@redhat.com> |
8377 | ||
8378 | * minsyms.c (lookup_minimal_symbol, iterate_over_minimal_symbols) | |
8379 | (lookup_minimal_symbol_text, lookup_minimal_symbol_by_pc_name) | |
8380 | (lookup_minimal_symbol_solib_trampoline) | |
8381 | (lookup_minimal_symbol_by_pc_section_1) | |
8382 | (lookup_minimal_symbol_and_objfile): Update. | |
8383 | (prim_record_minimal_symbol_full): Use the per-BFD obstack. | |
8384 | Don't allocate a minimal symbol if minsyms have already been read. | |
8385 | (build_minimal_symbol_hash_tables): Update. | |
8386 | (install_minimal_symbols): Do nothing if minsyms already read. | |
8387 | Use the per-BFD obstack. | |
8388 | (terminate_minimal_symbol_table): Use the per-BFD obstack. | |
8389 | * objfiles.c (allocate_objfile): Call | |
8390 | terminate_minimal_symbol_table later. | |
8391 | (have_minimal_symbols): Update. | |
8392 | * objfiles.h (struct objfile_per_bfd_storage) <msymbols, | |
8393 | minimal_symbol_count, msymbol_hash, msymbol_demangled_hash>: | |
8394 | Move from struct objfile. | |
8395 | <minsyms_read>: New field. | |
8396 | (struct objfile) <msymbols, minimal_symbol_count, | |
8397 | msymbol_hash, msymbol_demangled_hash>: Move. | |
8398 | (ALL_OBJFILE_MSYMBOLS): Update. | |
8399 | * symfile.c (read_symbols): Set minsyms_read. | |
8400 | (reread_symbols): Update. | |
8401 | * symmisc.c (dump_objfile, dump_msymbols): Update. | |
8402 | ||
2273f0ac TT |
8403 | 2014-02-26 Tom Tromey <tromey@redhat.com> |
8404 | ||
8405 | * minsyms.c (msymbols_sort): Remove. | |
8406 | * minsyms.h (msymbols_sort): Remove. | |
8407 | * objfiles.c (objfile_relocate1): Don't relocate minsyms. | |
8408 | * symtab.h (MSYMBOL_VALUE_ADDRESS): Use objfile offsets. | |
8409 | * elfread.c (elf_symtab_read): Don't add section offsets. | |
8410 | * xcoffread.c (record_minimal_symbol): Don't add section offset | |
8411 | to minimal symbol address. | |
8412 | * somread.c (text_offset, data_offset): Remove. | |
8413 | (som_symtab_read): Don't add section offsets to minimal symbol | |
8414 | addresses. | |
8415 | * coff-pe-read.c (add_pe_forwarded_sym, read_pe_exported_syms): | |
8416 | Don't add section offsets to minimal symbols. | |
8417 | * coffread.c (coff_symtab_read): Don't add section offsets | |
8418 | to minimal symbol addresses. | |
8419 | * machoread.c (macho_symtab_add_minsym): Don't add section offset | |
8420 | to minimal symbol addresses. | |
8421 | * mipsread.c (read_alphacoff_dynamic_symtab): Don't add | |
8422 | section offset to minimal symbol addresses. | |
8423 | * mdebugread.c (parse_partial_symbols): Don't add section | |
8424 | offset to minimal symbol addresses. | |
8425 | * dbxread.c (read_dbx_dynamic_symtab): Don't add section | |
8426 | offset to minimal symbol addresses. | |
8427 | ||
77e371c0 TT |
8428 | 2014-02-26 Tom Tromey <tromey@redhat.com> |
8429 | ||
8430 | * ada-lang.c (ada_main_name): Update. | |
8431 | (ada_add_standard_exceptions): Update. | |
8432 | * ada-tasks.c (ada_tasks_inferior_data_sniffer): Update. | |
8433 | * aix-thread.c (pdc_symbol_addrs, pd_enable): Update. | |
8434 | * arm-tdep.c (skip_prologue_function, arm_skip_stub): Update. | |
8435 | * auxv.c (ld_so_xfer_auxv): Update. | |
8436 | * avr-tdep.c (avr_scan_prologue): Update. | |
8437 | * ax-gdb.c (gen_var_ref): Update. | |
8438 | * blockframe.c (get_pc_function_start) | |
8439 | (find_pc_partial_function_gnu_ifunc): Update. | |
8440 | * breakpoint.c (create_overlay_event_breakpoint) | |
8441 | (create_longjmp_master_breakpoint) | |
8442 | (create_std_terminate_master_breakpoint) | |
8443 | (create_exception_master_breakpoint): Update. | |
8444 | * bsd-uthread.c (bsd_uthread_lookup_address): Update. | |
8445 | * c-valprint.c (c_val_print): Update. | |
8446 | * coff-pe-read.c (add_pe_forwarded_sym): Update. | |
8447 | * common/agent.c (agent_look_up_symbols): Update. | |
8448 | * dbxread.c (find_stab_function_addr, end_psymtab): Update. | |
8449 | * dwarf2loc.c (call_site_to_target_addr): Update. | |
8450 | * dwarf2read.c (dw2_find_pc_sect_symtab): Update. | |
8451 | * elfread.c (elf_gnu_ifunc_record_cache) | |
8452 | (elf_gnu_ifunc_resolve_by_got): Update. | |
8453 | * findvar.c (default_read_var_value): Update. | |
8454 | * frame.c (inside_main_func): Update. | |
8455 | * frv-tdep.c (frv_frame_this_id): Update. | |
8456 | * glibc-tdep.c (glibc_skip_solib_resolver): Update. | |
8457 | * gnu-v3-abi.c (gnuv3_get_typeid, gnuv3_skip_trampoline): | |
8458 | Update. | |
8459 | * hppa-hpux-tdep.c (hppa64_hpux_search_dummy_call_sequence) | |
8460 | (hppa_hpux_find_dummy_bpaddr): Update. | |
8461 | * hppa-tdep.c (hppa_symbol_address): Update. | |
8462 | * infcmd.c (until_next_command): Update. | |
8463 | * jit.c (jit_read_descriptor, jit_breakpoint_re_set_internal): | |
8464 | Update. | |
8465 | * linespec.c (minsym_found, add_minsym): Update. | |
8466 | * linux-nat.c (get_signo): Update. | |
8467 | * linux-thread-db.c (inferior_has_bug): Update. | |
8468 | * m32c-tdep.c (m32c_return_value) | |
8469 | (m32c_m16c_address_to_pointer): Update. | |
8470 | * m32r-tdep.c (m32r_frame_this_id): Update. | |
8471 | * m68hc11-tdep.c (m68hc11_get_register_info): Update. | |
8472 | * machoread.c (macho_resolve_oso_sym_with_minsym): Update. | |
8473 | * maint.c (maintenance_translate_address): Update. | |
8474 | * minsyms.c (lookup_minimal_symbol_by_pc_name): Update. | |
8475 | (frob_address): New function. | |
8476 | (lookup_minimal_symbol_by_pc_section_1): Use raw addresses, | |
8477 | frob_address. Rename parameter to "pc_in". | |
8478 | (compare_minimal_symbols, compact_minimal_symbols): Use raw | |
8479 | addresses. | |
8480 | (find_solib_trampoline_target, minimal_symbol_upper_bound): | |
8481 | Update. | |
8482 | * mips-linux-tdep.c (mips_linux_skip_resolver): Update. | |
8483 | * mips-tdep.c (mips_skip_pic_trampoline_code): Update. | |
8484 | * objc-lang.c (find_objc_msgsend): Update. | |
8485 | * objfiles.c (objfile_relocate1): Update. | |
8486 | * obsd-tdep.c (obsd_skip_solib_resolver): Update. | |
8487 | * p-valprint.c (pascal_val_print): Update. | |
8488 | * parse.c (write_exp_msymbol): Update. | |
8489 | * ppc-linux-tdep.c (ppc_linux_spe_context_lookup) | |
8490 | (ppc_elfv2_skip_entrypoint): Update. | |
8491 | * ppc-sysv-tdep.c (convert_code_addr_to_desc_addr): Update. | |
8492 | * printcmd.c (build_address_symbolic, msym_info) | |
8493 | (address_info): Update. | |
8494 | * proc-service.c (ps_pglobal_lookup): Update. | |
8495 | * psymtab.c (find_pc_sect_psymtab_closer) | |
8496 | (find_pc_sect_psymtab, find_pc_sect_symtab_from_partial): | |
8497 | Change msymbol parameter to bound_minimal_symbol. | |
8498 | * ravenscar-thread.c (get_running_thread_id): Update. | |
8499 | * remote.c (remote_check_symbols): Update. | |
8500 | * sh64-tdep.c (sh64_elf_make_msymbol_special): Use raw | |
8501 | address. | |
8502 | * sol2-tdep.c (sol2_skip_solib_resolver): Update. | |
8503 | * solib-dsbt.c (lm_base): Update. | |
8504 | * solib-frv.c (lm_base, main_got): Update. | |
8505 | * solib-irix.c (locate_base): Update. | |
8506 | * solib-som.c (som_solib_create_inferior_hook) | |
8507 | (link_map_start): Update. | |
8508 | * solib-spu.c (spu_enable_break, ocl_enable_break): Update. | |
8509 | * solib-svr4.c (elf_locate_base, enable_break): Update. | |
8510 | * spu-tdep.c (spu_get_overlay_table, spu_catch_start) | |
8511 | (flush_ea_cache): Update. | |
8512 | * stabsread.c (define_symbol, scan_file_globals): Update. | |
8513 | * stack.c (find_frame_funname): Update. | |
8514 | * symfile-debug.c (debug_qf_expand_symtabs_matching) | |
8515 | (debug_qf_find_pc_sect_symtab): Update. | |
8516 | * symfile.c (simple_read_overlay_table) | |
8517 | (simple_overlay_update): Update. | |
8518 | * symfile.h (struct quick_symbol_functions) | |
8519 | <find_pc_sect_symtab>: Change type of msymbol to | |
8520 | bound_minimal_symbol. | |
8521 | * symmisc.c (dump_msymbols): Update. | |
8522 | * symtab.c (find_pc_sect_symtab_via_partial) | |
8523 | (find_pc_sect_psymtab, find_pc_sect_line, skip_prologue_sal) | |
8524 | (search_symbols, print_msymbol_info): Update. | |
8525 | * symtab.h (MSYMBOL_VALUE_RAW_ADDRESS): New macro. | |
8526 | (MSYMBOL_VALUE_ADDRESS): Redefine. | |
8527 | (BMSYMBOL_VALUE_ADDRESS): New macro. | |
8528 | * tracepoint.c (scope_info): Update. | |
8529 | * tui/tui-disasm.c (tui_find_disassembly_address) | |
8530 | (tui_get_begin_asm_address): Update. | |
8531 | * valops.c (find_function_in_inferior): Update. | |
8532 | * value.c (value_static_field, value_fn_field): Update. | |
8533 | ||
3b7344d5 TT |
8534 | 2014-02-26 Tom Tromey <tromey@redhat.com> |
8535 | ||
8536 | * ada-lang.c (ada_update_initial_language): Update. | |
8537 | (ada_main_name, ada_has_this_exception_support): Update. | |
8538 | * ada-tasks.c (ada_tasks_inferior_data_sniffer): Update. | |
8539 | * aix-thread.c (pdc_symbol_addrs, pd_enable): Update. | |
8540 | * arm-tdep.c (arm_skip_stub): Update. | |
8541 | * auxv.c (ld_so_xfer_auxv): Update. | |
8542 | * avr-tdep.c (avr_scan_prologue): Update. | |
8543 | * ax-gdb.c (gen_var_ref): Update. | |
8544 | * breakpoint.c (struct breakpoint_objfile_data) | |
8545 | <overlay_msym, longjmp_msym, terminate_msym, exception_msym>: Change | |
8546 | type to bound_minimal_symbol. | |
8547 | (create_overlay_event_breakpoint) | |
8548 | (create_longjmp_master_breakpoint) | |
8549 | (create_std_terminate_master_breakpoint) | |
8550 | (create_exception_master_breakpoint): Update. | |
8551 | * bsd-uthread.c (bsd_uthread_lookup_address): Update. | |
8552 | * c-exp.y (classify_name): Update. | |
8553 | * coffread.c (coff_symfile_read): Update. | |
8554 | * common/agent.c (agent_look_up_symbols): Update. | |
8555 | * d-lang.c (d_main_name): Update. | |
8556 | * dbxread.c (find_stab_function_addr, end_psymtab): Update. | |
8557 | * dec-thread.c (enable_dec_thread): Update. | |
8558 | * dwarf2loc.c (call_site_to_target_addr): Update. | |
8559 | * elfread.c (elf_gnu_ifunc_resolve_by_got): Update. | |
8560 | * eval.c (evaluate_subexp_standard): Update. | |
8561 | * findvar.c (struct minsym_lookup_data) <result>: Change type | |
8562 | to bound_minimal_symbol. | |
8563 | <objfile>: Remove. | |
8564 | (minsym_lookup_iterator_cb, default_read_var_value): Update. | |
8565 | * frame.c (inside_main_func): Update. | |
8566 | * frv-tdep.c (frv_frame_this_id): Update. | |
8567 | * gcore.c (call_target_sbrk): Update. | |
8568 | * glibc-tdep.c (glibc_skip_solib_resolver): Update. | |
8569 | * gnu-v3-abi.c (gnuv3_get_typeid, gnuv3_skip_trampoline): | |
8570 | Update. | |
8571 | * go-lang.c (go_main_name): Update. | |
8572 | * hppa-hpux-tdep.c (hppa_hpux_skip_trampoline_code) | |
8573 | (hppa_hpux_find_import_stub_for_addr): Update. | |
8574 | * hppa-tdep.c (hppa_extract_17, hppa_lookup_stub_minimal_symbol): | |
8575 | Update. Change return type. | |
8576 | * hppa-tdep.h (hppa_lookup_stub_minimal_symbol): Change return | |
8577 | type. | |
8578 | * jit.c (jit_breakpoint_re_set_internal): Update. | |
8579 | * linux-fork.c (inferior_call_waitpid, checkpoint_command): | |
8580 | Update. | |
8581 | * linux-nat.c (get_signo): Update. | |
8582 | * linux-thread-db.c (inferior_has_bug): Update | |
8583 | * m32c-tdep.c (m32c_return_value) | |
8584 | (m32c_m16c_address_to_pointer): Update. | |
8585 | * m32r-tdep.c (m32r_frame_this_id): Update. | |
8586 | * m68hc11-tdep.c (m68hc11_get_register_info): Update. | |
8587 | * machoread.c (macho_resolve_oso_sym_with_minsym): Update. | |
8588 | * minsyms.c (lookup_minimal_symbol_internal): Rename to | |
8589 | lookup_minimal_symbol. Change return type. | |
8590 | (lookup_minimal_symbol): Remove. | |
8591 | (lookup_bound_minimal_symbol): Update. | |
8592 | (lookup_minimal_symbol_text): Change return type. | |
8593 | (lookup_minimal_symbol_solib_trampoline): Change return type. | |
8594 | * minsyms.h (lookup_minimal_symbol, lookup_minimal_symbol_text) | |
8595 | (lookup_minimal_symbol_solib_trampoline): Change return type. | |
8596 | * mips-linux-tdep.c (mips_linux_skip_resolver): Update. | |
8597 | * objc-lang.c (lookup_objc_class, lookup_child_selector) | |
8598 | (value_nsstring, find_imps): Update. | |
8599 | * obsd-tdep.c (obsd_skip_solib_resolver): Update. | |
8600 | * p-lang.c (pascal_main_name): Update. | |
8601 | * ppc-linux-tdep.c (ppc_linux_spe_context_lookup): Update. | |
8602 | * ppc-sysv-tdep.c (convert_code_addr_to_desc_addr): Update. | |
8603 | * proc-service.c (ps_pglobal_lookup): Update. | |
8604 | * ravenscar-thread.c (get_running_thread_msymbol): Change | |
8605 | return type. | |
8606 | (has_ravenscar_runtime, get_running_thread_id): Update. | |
8607 | * remote.c (remote_check_symbols): Update. | |
8608 | * sol-thread.c (ps_pglobal_lookup): Update. | |
8609 | * sol2-tdep.c (sol2_skip_solib_resolver): Update. | |
8610 | * solib-dsbt.c (lm_base): Update. | |
8611 | * solib-frv.c (lm_base, frv_relocate_section_addresses): | |
8612 | Update. | |
8613 | * solib-irix.c (locate_base): Update. | |
8614 | * solib-som.c (som_solib_create_inferior_hook) | |
8615 | (som_solib_desire_dynamic_linker_symbols, link_map_start): | |
8616 | Update. | |
8617 | * solib-spu.c (spu_enable_break): Update. | |
8618 | * solib-svr4.c (elf_locate_base, enable_break): Update. | |
8619 | * spu-tdep.c (spu_get_overlay_table, spu_catch_start) | |
8620 | (flush_ea_cache): Update. | |
8621 | * stabsread.c (define_symbol): Update. | |
8622 | * symfile.c (simple_read_overlay_table): Update. | |
8623 | * symtab.c (find_pc_sect_line): Update. | |
8624 | * tracepoint.c (scope_info): Update. | |
8625 | * tui-disasm.c (tui_get_begin_asm_address): Update. | |
8626 | * value.c (value_static_field): Update. | |
8627 | ||
40c1a007 TT |
8628 | 2014-02-26 Tom Tromey <tromey@redhat.com> |
8629 | ||
8630 | * minsyms.c (prim_record_minimal_symbol_full): Use | |
8631 | SET_MSYMBOL_VALUE_ADDRESS. | |
8632 | * objfiles.c (objfile_relocate1): Use SET_MSYMBOL_VALUE_ADDRESS. | |
8633 | * sh64-tdep.c (sh64_elf_make_msymbol_special): Use | |
8634 | SET_MSYMBOL_VALUE_ADDRESS. | |
8635 | * symtab.h (MSYMBOL_VALUE_ADDRESS): Expand to an rvalue. | |
8636 | (SET_MSYMBOL_VALUE_ADDRESS): New macro. | |
8637 | ||
efd66ac6 TT |
8638 | 2014-02-26 Tom Tromey <tromey@redhat.com> |
8639 | ||
8640 | * symtab.h (struct minimal_symbol) <mginfo>: Rename from ginfo. | |
8641 | (MSYMBOL_VALUE, MSYMBOL_VALUE_ADDRESS, MSYMBOL_VALUE_BYTES) | |
8642 | (MSYMBOL_BLOCK_VALUE, MSYMBOL_VALUE_CHAIN, MSYMBOL_LANGUAGE) | |
8643 | (MSYMBOL_SECTION, MSYMBOL_OBJ_SECTION, MSYMBOL_NATURAL_NAME) | |
8644 | (MSYMBOL_LINKAGE_NAME, MSYMBOL_PRINT_NAME, MSYMBOL_DEMANGLED_NAME) | |
8645 | (MSYMBOL_SET_LANGUAGE, MSYMBOL_SEARCH_NAME) | |
8646 | (MSYMBOL_MATCHES_SEARCH_NAME, MSYMBOL_SET_NAMES): New macros. | |
8647 | * ada-lang.c (ada_main_name): Update. | |
8648 | (ada_lookup_simple_minsym): Update. | |
8649 | (ada_make_symbol_completion_list): Update. | |
8650 | (ada_add_standard_exceptions): Update. | |
8651 | * ada-tasks.c (read_atcb, ada_tasks_inferior_data_sniffer): Update. | |
8652 | * aix-thread.c (pdc_symbol_addrs, pd_enable): Update. | |
8653 | * amd64-windows-tdep.c (amd64_skip_main_prologue): Update. | |
8654 | * arm-tdep.c (skip_prologue_function): Update. | |
8655 | (arm_skip_stack_protector, arm_skip_stub): Update. | |
8656 | * arm-wince-tdep.c (arm_pe_skip_trampoline_code): Update. | |
8657 | (arm_wince_skip_main_prologue): Update. | |
8658 | * auxv.c (ld_so_xfer_auxv): Update. | |
8659 | * avr-tdep.c (avr_scan_prologue): Update. | |
8660 | * ax-gdb.c (gen_var_ref): Update. | |
8661 | * block.c (call_site_for_pc): Update. | |
8662 | * blockframe.c (get_pc_function_start): Update. | |
8663 | (find_pc_partial_function_gnu_ifunc): Update. | |
8664 | * breakpoint.c (create_overlay_event_breakpoint): Update. | |
8665 | (create_longjmp_master_breakpoint): Update. | |
8666 | (create_std_terminate_master_breakpoint): Update. | |
8667 | (create_exception_master_breakpoint): Update. | |
8668 | (resolve_sal_pc): Update. | |
8669 | * bsd-uthread.c (bsd_uthread_lookup_address): Update. | |
8670 | * btrace.c (ftrace_print_function_name, ftrace_function_switched): | |
8671 | Update. | |
8672 | * c-valprint.c (c_val_print): Update. | |
8673 | * coff-pe-read.c (add_pe_forwarded_sym): Update. | |
8674 | * coffread.c (coff_symfile_read): Update. | |
8675 | * common/agent.c (agent_look_up_symbols): Update. | |
8676 | * dbxread.c (find_stab_function_addr): Update. | |
8677 | (end_psymtab): Update. | |
8678 | * dwarf2loc.c (call_site_to_target_addr): Update. | |
8679 | (func_verify_no_selftailcall): Update. | |
8680 | (tailcall_dump): Update. | |
8681 | (call_site_find_chain_1): Update. | |
8682 | (dwarf_expr_reg_to_entry_parameter): Update. | |
8683 | * elfread.c (elf_gnu_ifunc_record_cache): Update. | |
8684 | (elf_gnu_ifunc_resolve_by_got): Update. | |
8685 | * f-valprint.c (info_common_command): Update. | |
8686 | * findvar.c (read_var_value): Update. | |
8687 | * frame.c (get_prev_frame_1): Update. | |
8688 | (inside_main_func): Update. | |
8689 | * frv-tdep.c (frv_skip_main_prologue): Update. | |
8690 | (frv_frame_this_id): Update. | |
8691 | * glibc-tdep.c (glibc_skip_solib_resolver): Update. | |
8692 | * gnu-v2-abi.c (gnuv2_value_rtti_type): Update. | |
8693 | * gnu-v3-abi.c (gnuv3_rtti_type): Update. | |
8694 | (gnuv3_skip_trampoline): Update. | |
8695 | * hppa-hpux-tdep.c (hppa32_hpux_in_solib_call_trampoline): Update. | |
8696 | (hppa64_hpux_in_solib_call_trampoline): Update. | |
8697 | (hppa_hpux_skip_trampoline_code): Update. | |
8698 | (hppa64_hpux_search_dummy_call_sequence): Update. | |
8699 | (hppa_hpux_find_import_stub_for_addr): Update. | |
8700 | (hppa_hpux_find_dummy_bpaddr): Update. | |
8701 | * hppa-tdep.c (hppa_symbol_address) | |
8702 | (hppa_lookup_stub_minimal_symbol): Update. | |
8703 | * i386-tdep.c (i386_skip_main_prologue): Update. | |
8704 | (i386_pe_skip_trampoline_code): Update. | |
8705 | * ia64-tdep.c (ia64_convert_from_func_ptr_addr): Update. | |
8706 | * infcall.c (get_function_name): Update. | |
8707 | * infcmd.c (until_next_command): Update. | |
8708 | * jit.c (jit_breakpoint_re_set_internal): Update. | |
8709 | (jit_inferior_init): Update. | |
8710 | * linespec.c (minsym_found): Update. | |
8711 | (add_minsym): Update. | |
8712 | * linux-fork.c (info_checkpoints_command): Update. | |
8713 | * linux-nat.c (get_signo): Update. | |
8714 | * linux-thread-db.c (inferior_has_bug): Update. | |
8715 | * m32c-tdep.c (m32c_return_value): Update. | |
8716 | (m32c_m16c_address_to_pointer): Update. | |
8717 | (m32c_m16c_pointer_to_address): Update. | |
8718 | * m32r-tdep.c (m32r_frame_this_id): Update. | |
8719 | * m68hc11-tdep.c (m68hc11_get_register_info): Update. | |
8720 | * machoread.c (macho_resolve_oso_sym_with_minsym): Update. | |
8721 | * maint.c (maintenance_translate_address): Update. | |
8722 | * minsyms.c (add_minsym_to_hash_table): Update. | |
8723 | (add_minsym_to_demangled_hash_table): Update. | |
8724 | (msymbol_objfile): Update. | |
8725 | (lookup_minimal_symbol): Update. | |
8726 | (iterate_over_minimal_symbols): Update. | |
8727 | (lookup_minimal_symbol_text): Update. | |
8728 | (lookup_minimal_symbol_by_pc_name): Update. | |
8729 | (lookup_minimal_symbol_solib_trampoline): Update. | |
8730 | (lookup_minimal_symbol_by_pc_section_1): Update. | |
8731 | (lookup_minimal_symbol_and_objfile): Update. | |
8732 | (prim_record_minimal_symbol_full): Update. | |
8733 | (compare_minimal_symbols): Update. | |
8734 | (compact_minimal_symbols): Update. | |
8735 | (build_minimal_symbol_hash_tables): Update. | |
8736 | (install_minimal_symbols): Update. | |
8737 | (terminate_minimal_symbol_table): Update. | |
8738 | (find_solib_trampoline_target): Update. | |
8739 | (minimal_symbol_upper_bound): Update. | |
8740 | * mips-linux-tdep.c (mips_linux_skip_resolver): Update. | |
8741 | * mips-tdep.c (mips_stub_frame_sniffer): Update. | |
8742 | (mips_skip_pic_trampoline_code): Update. | |
8743 | * msp430-tdep.c (msp430_skip_trampoline_code): Update. | |
8744 | * objc-lang.c (selectors_info): Update. | |
8745 | (classes_info): Update. | |
8746 | (find_methods): Update. | |
8747 | (find_imps): Update. | |
8748 | (find_objc_msgsend): Update. | |
8749 | * objfiles.c (objfile_relocate1): Update. | |
8750 | * objfiles.h (ALL_OBJFILE_MSYMBOLS): Update. | |
8751 | * obsd-tdep.c (obsd_skip_solib_resolver): Update. | |
8752 | * p-valprint.c (pascal_val_print): Update. | |
8753 | * parse.c (write_exp_msymbol): Update. | |
8754 | * ppc-linux-tdep.c (powerpc_linux_in_dynsym_resolve_code) | |
8755 | (ppc_linux_spe_context_lookup, ppc_elfv2_skip_entrypoint): Update. | |
8756 | * ppc-sysv-tdep.c (convert_code_addr_to_desc_addr): Update. | |
8757 | * printcmd.c (build_address_symbolic): Update. | |
8758 | (sym_info): Update. | |
8759 | (address_info): Update. | |
8760 | * proc-service.c (ps_pglobal_lookup): Update. | |
8761 | * psymtab.c (find_pc_sect_psymtab_closer): Update. | |
8762 | (find_pc_sect_psymtab): Update. | |
8763 | * python/py-framefilter.c (py_print_frame): Update. | |
8764 | * ravenscar-thread.c (get_running_thread_id): Update. | |
8765 | * record-btrace.c (btrace_call_history, btrace_get_bfun_name): | |
8766 | Update. | |
8767 | * remote.c (remote_check_symbols): Update. | |
8768 | * rs6000-tdep.c (rs6000_skip_main_prologue): Update. | |
8769 | (rs6000_skip_trampoline_code): Update. | |
8770 | * sh64-tdep.c (sh64_elf_make_msymbol_special): Update. | |
8771 | * sol2-tdep.c (sol2_skip_solib_resolver): Update. | |
8772 | * solib-dsbt.c (lm_base): Update. | |
8773 | * solib-frv.c (lm_base): Update. | |
8774 | (main_got): Update. | |
8775 | * solib-irix.c (locate_base): Update. | |
8776 | * solib-som.c (som_solib_create_inferior_hook): Update. | |
8777 | (som_solib_desire_dynamic_linker_symbols): Update. | |
8778 | (link_map_start): Update. | |
8779 | * solib-spu.c (spu_enable_break): Update. | |
8780 | (ocl_enable_break): Update. | |
8781 | * solib-svr4.c (elf_locate_base): Update. | |
8782 | (enable_break): Update. | |
8783 | * spu-tdep.c (spu_get_overlay_table): Update. | |
8784 | (spu_catch_start): Update. | |
8785 | (flush_ea_cache): Update. | |
8786 | * stabsread.c (define_symbol): Update. | |
8787 | (scan_file_globals): Update. | |
8788 | * stack.c (find_frame_funname): Update. | |
8789 | (frame_info): Update. | |
8790 | * symfile.c (simple_read_overlay_table): Update. | |
8791 | (simple_overlay_update): Update. | |
8792 | * symmisc.c (dump_msymbols): Update. | |
8793 | * symtab.c (fixup_section): Update. | |
8794 | (find_pc_sect_line): Update. | |
8795 | (skip_prologue_sal): Update. | |
8796 | (search_symbols): Update. | |
8797 | (print_msymbol_info): Update. | |
8798 | (rbreak_command): Update. | |
8799 | (MCOMPLETION_LIST_ADD_SYMBOL): New macro. | |
8800 | (completion_list_objc_symbol): Update. | |
8801 | (default_make_symbol_completion_list_break_on): Update. | |
8802 | * tracepoint.c (scope_info): Update. | |
8803 | * tui/tui-disasm.c (tui_find_disassembly_address): Update. | |
8804 | (tui_get_begin_asm_address): Update. | |
8805 | * valops.c (find_function_in_inferior): Update. | |
8806 | * value.c (value_static_field): Update. | |
8807 | (value_fn_field): Update. | |
8808 | ||
50e65b17 TT |
8809 | 2014-02-26 Tom Tromey <tromey@redhat.com> |
8810 | ||
8811 | * blockframe.c (find_pc_partial_function_gnu_ifunc): Use | |
8812 | bound minimal symbols. Move code that knows about minsym | |
8813 | table layout... | |
8814 | * minsyms.c (minimal_symbol_upper_bound): ... here. New | |
8815 | function. | |
8816 | * minsyms.h (minimal_symbol_upper_bound): Declare. | |
8817 | * objc-lang.c (find_objc_msgsend): Use bound minimal symbols, | |
8818 | minimal_symbol_upper_bound. | |
8819 | ||
1b588015 JB |
8820 | 2014-02-27 Joel Brobecker <brobecker@adacore.com> |
8821 | ||
8822 | * python/lib/gdb/printing.py (RegexpCollectionPrettyPrinter): | |
8823 | Use the type's name if its basic type does not have a tag. | |
8824 | ||
dbb9c2b1 JB |
8825 | 2014-02-27 Joel Brobecker <brobecker@adacore.com> |
8826 | ||
8827 | * dwarf2read.c (read_subrange_type): Add comment. | |
8828 | ||
55426c9d JB |
8829 | 2014-02-27 Joel Brobecker <brobecker@adacore.com> |
8830 | ||
8831 | * dwarf2read.c (update_enumeration_type_from_children): New | |
8832 | function, mostly extracted from process_structure_scope. | |
8833 | (read_enumeration_type): Call update_enumeration_type_from_children. | |
8834 | (process_enumeration_scope): Do not set THIS_TYPE's flag_unsigned | |
8835 | and flag_flag_enum fields. | |
8836 | ||
f2fce0ca PA |
8837 | 2014-02-26 Pedro Alves <palves@redhat.com> |
8838 | ||
8839 | * bsd-uthread.c (bsd_uthread_xfer_partial): Delete function. | |
8840 | (bsd_uthread_target): Don't install bsd_uthread_xfer_partial as | |
8841 | to_xfer_partial method. | |
8842 | ||
7a44e40e PA |
8843 | 2014-02-26 Pedro Alves <palves@redhat.com> |
8844 | ||
8845 | * target.c (complete_target_initialization): Don't install | |
8846 | default_xfer_partial as to_xfer_partial hook. | |
8847 | (nomemory): Delete. | |
8848 | (update_current_target): Don't INHERIT nor de_fault | |
8849 | deprecated_xfer_memory. Delete de_fault macro. | |
8850 | (default_xfer_partial, deprecated_debug_xfer_memory): Delete. | |
8851 | (setup_target_debug): Don't install a deprecated_xfer_memory hook. | |
8852 | * target.h (struct target_ops) <deprecated_xfer_memory>: Delete | |
8853 | field. | |
8854 | ||
bd265cd0 PA |
8855 | 2014-02-26 Pedro Alves <palves@redhat.com> |
8856 | ||
8857 | * go32-nat.c (my_write_child): New function. | |
8858 | (go32_xfer_memory): Rewrite as to_xfer_partial helper. | |
8859 | (go32_xfer_partial): New function. | |
8860 | (init_go32_ops): Don't install a deprecated_xfer_memory hook. | |
8861 | Instead install a to_xfer_partial hook. | |
8862 | ||
9d46c4e5 PA |
8863 | 2014-02-26 Pedro Alves <palves@redhat.com> |
8864 | ||
8865 | * nto-procfs.c (procfs_xfer_memory): Adjust interface as a | |
8866 | to_xfer_partial helper. Rewrite. | |
8867 | (procfs_xfer_partial): New function. | |
8868 | (init_procfs_ops): Don't install a deprecated_xfer_memory hook. | |
8869 | Install a to_xfer_partial hook. | |
8870 | ||
a1583b1f PA |
8871 | 2014-02-26 Pedro Alves <palves@redhat.com> |
8872 | ||
8873 | * remote-m32r-sdi.c (send_data): Constify 'buf' parameter. | |
8874 | (m32r_xfer_memory): Adjust as a to_xfer_partial helper. | |
8875 | (m32r_xfer_partial): New function. | |
8876 | (init_m32r_ops): Don't install a deprecated_xfer_memory hook. | |
8877 | Install a to_xfer_partial hook. | |
8878 | ||
6df1b29f PA |
8879 | 2014-02-26 Pedro Alves <palves@redhat.com> |
8880 | ||
8881 | * remote-mips.c (mips_xfer_memory): Adjust as to_xfer_partial | |
8882 | helper. | |
8883 | (mips_xfer_partial): New function. | |
8884 | (_initialize_remote_mips): Don't install a deprecated_xfer_memory | |
8885 | hook. Install a to_xfer_partial hook. | |
8886 | ||
dc53a7ad JB |
8887 | 2014-02-26 Joel Brobecker <brobecker@adacore.com> |
8888 | ||
8889 | * gdbtypes.h (create_array_type_with_stride): Add declaration. | |
8890 | * gdbtypes.c (create_array_type_with_stride): New function, | |
8891 | renaming create_array_type, but with an added parameter | |
8892 | called "bit_stride". | |
8893 | (create_array_type): Re-implement using | |
8894 | create_array_type_with_stride. | |
8895 | * dwarf2read.c (read_array_type): Add support for DW_AT_byte_stride | |
8896 | and DW_AT_bit_stride attributes. | |
8897 | ||
12ab52e9 PA |
8898 | 2014-02-26 Pedro Alves <palves@redhat.com> |
8899 | ||
8900 | * breakpoint.c (bpstat_check_breakpoint_conditions): Handle | |
8901 | task-specific breakpoints. | |
8902 | ||
d16461ae PA |
8903 | 2014-02-25 Pedro Alves <palves@redhat.com> |
8904 | ||
8905 | * ia64-linux-nat.c (ia64_linux_xfer_partial): Reimplement | |
8906 | handling of object == TARGET_OBJECT_UNWIND_TABLE. | |
8907 | ||
a8b16220 SS |
8908 | 2014-02-25 Stan Shebs <stan@codesourcery.com> |
8909 | ||
8910 | * defs.h: Annotate comments for Doxygen. | |
8911 | ||
b9e795ee TT |
8912 | 2014-02-25 Tom Tromey <tromey@redhat.com> |
8913 | ||
8914 | * target.h (target_ignore): Don't declare. | |
8915 | * target.c (target_ignore): Remove. | |
8916 | ||
849c862e JK |
8917 | 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com> |
8918 | ||
8919 | PR gdb/16626 | |
8920 | * auto-load.c (auto_load_objfile_script_1): Change filename to | |
8921 | debugfile. | |
8922 | ||
475109d8 JB |
8923 | 2014-02-25 Joel Brobecker <brobecker@adacore.com> |
8924 | ||
8925 | * ia64-linux-nat.c (ia64_linux_xfer_partial): Add function | |
8926 | documentation. Adjust prototype to match the target_ops | |
8927 | to_xfer_partial method. Adjust implementation accordingly. | |
8928 | ||
e186c3bd HZ |
8929 | 2014-02-25 Hui Zhu <hui@codesourcery.com> |
8930 | ||
8931 | * target.h (target_ops): Fix TARGET_DEFAULT_RETURN of | |
8932 | to_traceframe_info. | |
8933 | ||
6d451942 KB |
8934 | 2014-02-25 Kevin Buettner <kevinb@redhat.com> |
8935 | ||
041ab8b4 | 8936 | * rl78-tdep.c (RL78_BANK0_RP0_PTR_REGNUM, RL78_BANK0_RP1_PTR_REGNUM) |
6d451942 KB |
8937 | (RL78_BANK0_RP2_PTR_REGNUM, RL78_BANK0_RP3_PTR_REGNUM) |
8938 | (RL78_BANK1_RP0_PTR_REGNUM, RL78_BANK1_RP1_PTR_REGNUM) | |
8939 | (RL78_BANK1_RP2_PTR_REGNUM, RL78_BANK1_RP3_PTR_REGNUM) | |
8940 | (RL78_BANK2_RP0_PTR_REGNUM, RL78_BANK2_RP1_PTR_REGNUM) | |
8941 | (RL78_BANK2_RP2_PTR_REGNUM, RL78_BANK2_RP3_PTR_REGNUM) | |
8942 | (RL78_BANK3_RP0_PTR_REGNUM, RL78_BANK3_RP1_PTR_REGNUM) | |
8943 | (RL78_BANK3_RP2_PTR_REGNUM, RL78_BANK3_RP3_PTR_REGNUM): | |
8944 | New constants. | |
8945 | (rl78_register_type): Use a data pointer type for SP and | |
8946 | new pseudo registers mentioned above. Use a 16 bit integer | |
8947 | type for all other register pairs. | |
8948 | (rl78_register_name, rl78_g10_register_name): Update for | |
8949 | new pseudo registers. | |
8950 | (rl78_pseudo_register_read): Likewise. | |
8951 | (rl78_pseudo_register_write): Likewise. | |
8952 | (rl78_dwarf_reg_to_regnum): Return register numbers representing | |
8953 | to the newly added pseudo registers. | |
8954 | ||
eddf0bae DE |
8955 | 2014-02-24 Doug Evans <dje@google.com> |
8956 | ||
8957 | * value.c (record_latest_value): Fix comment. | |
8958 | * printcmd.c (print_command_1): Remove code to handle -1 return from | |
8959 | record_latest_value. | |
8960 | ||
e96027e0 PA |
8961 | 2014-02-24 Pedro Alves <palves@redhat.com> |
8962 | ||
8963 | * procfs.c (procfs_target): Don't install procfs_xfer_memory as | |
8964 | deprecated_xfer_memory hook. | |
8965 | (procfs_xfer_partial): Call procfs_xfer_memory instead | |
8966 | of the deprecated_xfer_memory target hook. | |
8967 | (procfs_xfer_memory): Adjust interface as a to_xfer_partial | |
8968 | helper. | |
8969 | ||
0837c976 YZ |
8970 | 2014-02-24 Yuanhui Zhang <asmwarrior@gmail.com> |
8971 | ||
8972 | * windows-nat.c (windows_xfer_shared_libraries): Return | |
8973 | TARGET_XFER_EOF if LEN is zero to fix an assert failure when | |
8974 | requested object is TARGET_OBJECT_LIBRARIES. | |
8975 | ||
bc113b4e YQ |
8976 | 2014-02-24 Yao Qi <yao@codesourcery.com> |
8977 | ||
8978 | * target.h (enum target_xfer_status) | |
8979 | <TARGET_XFER_E_UNAVAILABLE>: Rename it to ... | |
8980 | <TARGET_XFER_UNAVAILABLE>: ... it with setting value 2 | |
8981 | explicitly. New. | |
8982 | * corefile.c (memory_error_message): User updated. | |
8983 | * exec.c (section_table_read_available_memory): Likewise. | |
8984 | * record-btrace.c (record_btrace_xfer_partial): Likewise. | |
8985 | * target.c (target_xfer_status_to_string): Likewise. | |
8986 | (raw_memory_xfer_partial): Likewise. | |
8987 | (memory_xfer_partial_1, target_xfer_partial): Likewise. | |
8988 | * valops.c (read_value_memory): Likewise. | |
8989 | * exec.h: Update comments. | |
8990 | ||
01cb8804 YQ |
8991 | 2014-02-24 Yao Qi <yao@codesourcery.com> |
8992 | ||
8993 | * target.c (target_xfer_status_to_string): Rename argument err | |
8994 | to status. | |
8995 | * target.h (target_xfer_status_to_string): Update declaration. | |
8996 | Replace target_xfer_error_to_string with | |
8997 | target_xfer_status_to_string in comment. | |
8998 | ||
93063aa6 YQ |
8999 | 2014-02-24 Yao Qi <yao@codesourcery.com> |
9000 | ||
9001 | * mips-linux-nat.c (super_close): Update its type. | |
9002 | (mips_linux_close): Pass 'self' to super_close. | |
9003 | ||
5c328c05 YQ |
9004 | 2014-02-24 Yao Qi <yao@codesourcery.com> |
9005 | ||
9006 | * target.h (TARGET_XFER_STATUS_ERROR_P): Remove. | |
9007 | * corefile.c (read_memory): Adjusted. | |
9008 | * target.c (target_write_with_progress): Adjusted. | |
9009 | ||
f73023dd YQ |
9010 | 2014-02-23 Yao Qi <yao@codesourcery.com> |
9011 | ||
9012 | Revert two patches: | |
9013 | ||
9014 | 2013-10-25 Yao Qi <yao@codesourcery.com> | |
9015 | ||
9016 | * remote.c (remote_traceframe_info): Return early if | |
9017 | traceframe is not selected. | |
9018 | ||
9019 | 2013-07-19 Yao Qi <yao@codesourcery.com> | |
9020 | ||
9021 | * target.c (update_current_target): Change the default action | |
9022 | of 'to_traceframe_info' from tcomplain to return_zero. | |
9023 | * target.h (struct target_ops) <to_traceframe_info>: Add more | |
9024 | comments. | |
9025 | ||
5a2eb0ef YQ |
9026 | 2014-02-23 Yao Qi <yao@codesourcery.com> |
9027 | ||
9028 | * valops.c (read_value_memory): Rewrite it. Call | |
9029 | target_xfer_partial in a loop. | |
9030 | * exec.h (section_table_available_memory): Remove declaration. | |
9031 | Move comments to ... | |
9032 | * exec.c (section_table_available_memory): ... here. Make it | |
9033 | static. | |
9034 | ||
1ee79381 YQ |
9035 | 2014-02-23 Yao Qi <yao@codesourcery.com> |
9036 | ||
9037 | * exec.c (section_table_read_available_memory): New function. | |
9038 | * exec.h (section_table_read_available_memory): Declare. | |
9039 | * ctf.c (ctf_xfer_partial): Call | |
9040 | section_table_read_available_memory. | |
9041 | * tracefile-tfile.c (tfile_xfer_partial): Likewise. | |
9042 | ||
1ca49d37 YQ |
9043 | 2014-02-23 Yao Qi <yao@codesourcery.com> |
9044 | ||
9045 | * ctf.c (ctf_xfer_partial): Move code to ... | |
9046 | * exec.c (exec_read_partial_read_only): ... it. New function. | |
9047 | * tracefile-tfile.c (tfile_xfer_partial): Likewise. | |
9048 | * tracefile.c: Include "exec.h". | |
9049 | * exec.h (exec_read_partial_read_only): Declare. | |
9050 | ||
a283690e YQ |
9051 | 2014-02-23 Yao Qi <yao@codesourcery.com> |
9052 | ||
9053 | * tracefile-tfile.c (tfile_has_all_memory): Remove. | |
9054 | (tfile_has_memory): Remove. | |
9055 | (init_tfile_ops): Don't set fields to_has_all_memory and | |
9056 | to_has_memory of tfile_ops. | |
9057 | * tracefile.c (tracefile_has_all_memory): New function. | |
9058 | (tracefile_has_memory): New function. | |
9059 | (init_tracefile_ops): Initialize fields to_has_all_memory and | |
9060 | to_has_memory of 'ops'. | |
9061 | ||
12e03cd0 YQ |
9062 | 2014-02-23 Yao Qi <yao@codesourcery.com> |
9063 | ||
9064 | * ctf.c (ctf_has_stack, ctf_has_registers): Remove. | |
9065 | (ctf_thread_alive, ctf_get_trace_status): Remove. | |
9066 | (init_ctf_ops): Don't set some fields of ctf_ops. Call | |
9067 | init_tracefile_ops. | |
9068 | * tracefile-tfile.c (tfile_get_trace_status): Remove. | |
9069 | (tfile_has_stack, tfile_has_registers): Remove. | |
9070 | (tfile_thread_alive): Remove. | |
9071 | (init_tfile_ops): Don't set some fields of tfile_ops. Call | |
9072 | init_tracefile_ops. | |
9073 | * tracefile.c (tracefile_has_stack): New function. | |
9074 | (tracefile_has_registers): New function. | |
9075 | (tracefile_thread_alive): New function. | |
9076 | (tracefile_get_trace_status): New function. | |
9077 | (init_tracefile_ops): New function. | |
9078 | * tracefile.h (init_tracefile_ops): Declare. | |
9079 | ||
11395323 YQ |
9080 | 2014-02-23 Yao Qi <yao@codesourcery.com> |
9081 | ||
9082 | * tracepoint.c (TFILE_PID): Move it to tracefile-tfile.c. | |
9083 | (O_LARGEFILE): Likewise. | |
9084 | (tfile_ops): Likewise. | |
9085 | (TRACE_HEADER_SIZE): Likewise. | |
9086 | (trace_fd, trace_frames_offset, cur_offset): Likewise. | |
9087 | (cur_data_size): Likewise. | |
9088 | (tfile_read, tfile_open, tfile_interp_line): Likewise. | |
9089 | (tfile_close, tfile_files_info): Likewise. | |
9090 | (tfile_get_trace_status): Likewise. | |
9091 | (tfile_get_tracepoint_status): Likewise. | |
9092 | (tfile_get_traceframe_address): Likewise. | |
9093 | (tfile_trace_find, match_blocktype): Likewise. | |
9094 | (traceframe_walk_blocks, traceframe_find_block_type): Likewise. | |
9095 | (tfile_fetch_registers, tfile_xfer_partial): Likewise. | |
9096 | (tfile_get_trace_state_variable_value): Likewise. | |
9097 | (tfile_has_all_memory, tfile_has_memory): Likewise. | |
9098 | (tfile_has_stack, tfile_has_registers): Likewise. | |
9099 | (tfile_thread_alive, build_traceframe_info): Likewise. | |
9100 | (tfile_traceframe_info, init_tfile_ops): Likewise. | |
9101 | (_initialize_tracepoint): Don't call init_tfile_ops | |
9102 | and add_target_with_completer. | |
9103 | * tracefile-tfile.c: Include regcache.h, inferior.h, gdbthread.h, | |
9104 | exec.h, completer.h and filenames.h. | |
9105 | (_initialize_tracefile_tfile): New function. | |
9106 | ||
7951c4eb YQ |
9107 | 2014-02-23 Yao Qi <yao@codesourcery.com> |
9108 | ||
9109 | * Makefile.in (REMOTE_OBS): Append tracefile.o and | |
9110 | tracefile-tfile.o. | |
9111 | (HFILES_NO_SRCDIR): Add tracefile.h. | |
9112 | * ctf.c: Include "tracefile.h". | |
9113 | * tracefile.h: New file. | |
9114 | * tracefile.c: New file | |
9115 | * tracefile-tfile.c: New file. | |
9116 | * tracepoint.c: Include "tracefile.h". | |
9117 | (free_uploaded_tps, free_uploaded_tsvs): Remove declarations. | |
9118 | (stop_reason_names): Add const. | |
9119 | (trace_file_writer_xfree): Move it to tracefile.c. | |
9120 | (trace_save, trace_save_command, trace_save_tfile): Likewise. | |
9121 | (trace_save_ctf): Likewise. | |
9122 | (struct tfile_trace_file_writer): Move it to tracefile-tfile.c. | |
9123 | (tfile_target_save, tfile_dtor, tfile_start): Likewise. | |
9124 | (tfile_write_header, tfile_write_regblock_type): Likewise. | |
9125 | (tfile_write_status, tfile_write_uploaded_tsv): Likewise. | |
9126 | (tfile_write_uploaded_tp, tfile_write_definition_end): Likewise. | |
9127 | (tfile_write_raw_data, tfile_end): Likewise. | |
9128 | (tfile_trace_file_writer_new): Likewise. | |
9129 | (free_uploaded_tp): Make it extern. | |
9130 | (free_uploaded_tsv): Make it extern. | |
9131 | (_initialize_tracepoint): Move code to register command 'tsave' | |
9132 | to tracefile.c. | |
9133 | * tracepoint.h (stop_reason_names): Declare. | |
9134 | (struct trace_frame_write_ops): Move it to tracefile.h. | |
9135 | (struct trace_file_write_ops): Likewise. | |
9136 | (struct trace_file_writer): Likewise. | |
9137 | (free_uploaded_tsvs, free_uploaded_tps): Declare. | |
9138 | ||
184cd072 JK |
9139 | 2014-02-21 Jan Kratochvil <jan.kratochvil@redhat.com> |
9140 | ||
9141 | PR gdb/16594 | |
9142 | * common/linux-osdata.c (linux_common_core_of_thread): Find the end of | |
9143 | process name. | |
9144 | (get_cores_used_by_process): New parameter num_cores, use it. | |
9145 | (linux_xfer_osdata_processes): Pass num_cores to it. | |
9146 | * linux-tdep.c (linux_info_proc, linux_fill_prpsinfo): Find the end of | |
9147 | process name. | |
9148 | ||
c63528fc AK |
9149 | 2014-02-21 Andreas Arnez <arnez@vnet.linux.ibm.com> |
9150 | ||
9151 | * target.c (memory_xfer_partial): Fix length arg in call to | |
9152 | breakpoint_xfer_memory. | |
9153 | ||
d7b30f67 SDJ |
9154 | 2014-02-20 Sergio Durigan Junior <sergiodj@redhat.com> |
9155 | ||
9156 | PR tdep/16397 | |
9157 | * i386-tdep.c (i386_stap_parse_special_token_triplet): Check if a | |
9158 | number comes after the + or - signs. Adjust length of register | |
9159 | name to be extracted. | |
9160 | ||
8838afaf TT |
9161 | 2014-02-20 Tom Tromey <tromey@redhat.com> |
9162 | ||
9163 | * varobj.h (c_varobj_ops, cplus_varobj_ops, java_varobj_ops) | |
9164 | (ada_varobj_ops): Mark "extern". | |
9165 | ||
05227d14 TT |
9166 | 2014-02-20 Tom Tromey <tromey@redhat.com> |
9167 | ||
9168 | * dbxread.c (read_dbx_symtab): Remove last_o_file_start. | |
9169 | ||
1254eefc DE |
9170 | 2014-02-20 Doug Evans <xdje42@gmail.com> |
9171 | ||
9172 | * guile/scm-gsmob.c (gdbscm_init_eqable_gsmob): New arg containing_scm. | |
9173 | All callers updated. | |
9174 | (gdbscm_fill_eqable_gsmob_ptr_slot): Delete arg containing_scm. | |
9175 | All callers updated. | |
9176 | * guile/guile-internal.h (gdbscm_init_eqable_gsmob): Update. | |
9177 | (gdbscm_fill_eqable_gsmob_ptr_slot): Update. | |
9178 | ||
adde2bff DE |
9179 | 2014-02-20 lin zuojian <manjian2006@gmail.com> |
9180 | Joel Brobecker <brobecker@adacore.com> | |
9181 | Doug Evans <xdje42@gmail.com> | |
9182 | ||
9183 | PR symtab/16581 | |
9184 | * dwarf2read.c (struct die_info): New member in_process. | |
9185 | (reset_die_in_process): New function. | |
9186 | (process_die): Set it at the start, reset when returning. | |
9187 | (inherit_abstract_dies): Only call process_die if origin_child_die | |
9188 | not already being processed. | |
9189 | ||
3be75f87 JB |
9190 | 2014-02-20 Joel Brobecker <brobecker@adacore.com> |
9191 | ||
9192 | * windows-nat.c (handle_unload_dll): Add function documentation. | |
9193 | (do_initial_windows_stuff): Add comment explaining why we wait | |
9194 | until after inferior initialization has finished before | |
9195 | processing all DLLs. | |
9196 | ||
47f7ffdb JB |
9197 | 2014-02-20 Joel Brobecker <brobecker@adacore.com> |
9198 | ||
9199 | * windows-nat.c (get_module_name): Delete. | |
9200 | (windows_get_exec_module_filename): New function, mostly | |
9201 | inspired from get_module_name. | |
9202 | (windows_pid_to_exec_file): Replace call to get_module_name | |
9203 | by call to windows_get_exec_module_filename. | |
9204 | ||
1cd9feab JB |
9205 | 2014-02-20 Joel Brobecker <brobecker@adacore.com> |
9206 | ||
9207 | * windows-nat.c (handle_load_dll): Rewrite this function's | |
9208 | introductory comment. Remove code using get_module_name | |
9209 | to get the DLL's name. | |
9210 | ||
ea39ad35 JB |
9211 | 2014-02-20 Joel Brobecker <brobecker@adacore.com> |
9212 | ||
9213 | * windows-nat.c (get_windows_debug_event): Ignore | |
9214 | LOAD_DLL_DEBUG_EVENT and UNLOAD_DLL_DEBUG_EVENT | |
9215 | if windows_initialization_done == 0. | |
9216 | (windows_add_all_dlls): Renames windows_ensure_ntdll_loaded. | |
9217 | Adjust implementation to always load all DLLs. | |
9218 | (do_initial_windows_stuff): Replace call to | |
9219 | windows_ensure_ntdll_loaded by call to windows_add_all_dlls. | |
9220 | ||
95060284 JB |
9221 | 2014-02-20 Joel Brobecker <brobecker@adacore.com> |
9222 | ||
9223 | * windows-nat.c (_initialize_windows_nat): Deprecate the | |
9224 | "dll-symbols" command. Turn the "add-shared-symbol-files" | |
9225 | and "assf" aliases into commands, and deprecate them as well. | |
9226 | * NEWS: Add entry explaining that "dll-symbols" and its two | |
9227 | aliases are now deprecated. | |
9228 | ||
8d4fdb12 JB |
9229 | 2014-02-20 Joel Brobecker <brobecker@adacore.com> |
9230 | ||
9231 | * dec-thread.c (dec_thread_get_ada_task_ptid): Avoid unescaped | |
9232 | new-line in debug string. Remove trailing spaces. | |
9233 | ||
1b281443 SS |
9234 | 2014-02-19 Stan Shebs <stan@codesourcery.com> |
9235 | ||
9236 | * darwin-nat.c (darwin_xfer_partial): Fix return type. | |
9237 | ||
f7bd0f78 SC |
9238 | 2014-02-19 Siva Chandra Reddy <sivachandra@google.com> |
9239 | ||
9240 | * NEWS: Add entry for the new feature | |
9241 | * python/py-value.c (valpy_binop): Call value_x_binop for struct | |
9242 | and class values. | |
9243 | ||
399ebc3d SS |
9244 | 2014-02-19 Stan Shebs <stan@codesourcery.com> |
9245 | ||
9246 | * MAINTAINERS: List Yao Qi as nios2 maintainer. | |
9247 | ||
c658158d PA |
9248 | 2014-02-19 Pedro Alves <palves@redhat.com> |
9249 | ||
9250 | * common/ptid.h (struct ptid): Mention that process_stratum | |
9251 | targets should prefer ptid.lwp. | |
9252 | ||
ba348170 PA |
9253 | 2014-02-19 Pedro Alves <palves@redhat.com> |
9254 | ||
9255 | * remote.c (remote_thread_alive, write_ptid, read_ptid) | |
9256 | (read_ptid, remote_newthread_step, remote_threads_extra_info) | |
9257 | (remote_get_ada_task_ptid, append_resumption, remote_stop_ns) | |
9258 | (threadalive_test, remote_pid_to_str): Use the ptid.lwp field to | |
9259 | store remote thread ids rather than ptid.tid. | |
9260 | (_initialize_remote): Adjust. | |
9261 | ||
ac01945b TT |
9262 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
9263 | ||
9264 | * target.c (target_get_unwinder): Rewrite. | |
9265 | (target_get_tailcall_unwinder): Rewrite. | |
9266 | * record-btrace.c (record_btrace_to_get_unwinder): New function. | |
9267 | (record_btrace_to_get_tailcall_unwinder): New function. | |
9268 | (init_record_btrace_ops): Update. | |
9269 | * target.h (struct target_ops) <to_get_unwinder, | |
9270 | to_get_tailcall_unwinder>: Now function pointers. Use | |
9271 | TARGET_DEFAULT_RETURN. | |
9272 | ||
8476dc92 TT |
9273 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
9274 | ||
9275 | * nto-procfs.c (procfs_remove_hw_breakpoint): Add 'self' | |
9276 | argument. | |
9277 | (init_procfs_ops): Correctly set to_remove_hw_breakpoint. | |
9278 | ||
c0eca49f TT |
9279 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
9280 | ||
9281 | * record-btrace.c (record_btrace_decr_pc_after_break): Delegate | |
9282 | directly. | |
9283 | * target-delegates.c: Rebuild. | |
9284 | * target.h (struct target_ops) <to_decr_pc_after_break>: Use | |
9285 | TARGET_DEFAULT_FUNC. | |
9286 | * target.c (default_target_decr_pc_after_break): Rename from | |
9287 | forward_target_decr_pc_after_break. Simplify. | |
9288 | (target_decr_pc_after_break): Rely on delegation. | |
9289 | ||
596b6b39 TT |
9290 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
9291 | ||
9292 | * target.c (update_current_target): Do not INHERIT to_doc or | |
9293 | to_magic. Do not de_fault to_open or to_close. | |
9294 | ||
b427c1bc TT |
9295 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
9296 | ||
9297 | * gcore.h (objfile_find_memory_regions): Declare. | |
9298 | * gcore.c (objfile_find_memory_regions): No longer static. Add | |
9299 | "self" argument. | |
9300 | (_initialize_gcore): Don't call exec_set_find_memory_regions. | |
9301 | * exec.c: Include gcore.h. | |
9302 | (exec_set_find_memory_regions): Remove. | |
9303 | (exec_find_memory_regions): Remove. | |
9304 | (exec_do_find_memory_regions): Remove. | |
9305 | (init_exec_ops): Update. | |
9306 | * defs.h (exec_set_find_memory_regions): Remove. | |
9307 | ||
9b144037 TT |
9308 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
9309 | ||
9310 | * target-delegates.c: Rebuild. | |
9311 | * target.h (struct target_ops) <to_extra_thread_info, | |
9312 | to_thread_name, to_pid_to_exec_file, to_get_section_table, | |
9313 | to_memory_map, to_read_description, to_traceframe_info>: Use NULL, | |
9314 | not 0, in TARGET_DEFAULT_RETURN. | |
9315 | ||
555bbdeb TT |
9316 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
9317 | ||
9318 | * target.c (complete_target_initialization): Remove casts. Use | |
9319 | return_zero_has_execution. | |
9320 | (return_zero): Add "ignore" argument. | |
9321 | (return_zero_has_execution): New function. | |
9322 | (init_dummy_target): Remove casts. Use | |
9323 | return_zero_has_execution. | |
9324 | ||
be4ddd36 TT |
9325 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
9326 | ||
9327 | * target.c (update_current_target): Update comments. Do not | |
9328 | INHERIT to_stratum. | |
9329 | ||
2117c711 TT |
9330 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
9331 | ||
9332 | * arm-linux-nat.c (arm_linux_read_description): Delegate when | |
9333 | needed. | |
9334 | * corelow.c (core_read_description): Delegate when needed. | |
9335 | * remote.c (remote_read_description): Delegate when needed. | |
9336 | * target-delegates.c: Rebuild. | |
9337 | * target.c (target_read_description): Rewrite. | |
9338 | * target.h (struct target_ops) <to_read_description>: Update | |
9339 | comment. Use TARGET_DEFAULT_RETURN. | |
9340 | ||
e88ef65c TT |
9341 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
9342 | ||
9343 | * target-delegates.c: Rebuild. | |
9344 | * target.c (update_current_target): Don't inherit or default | |
9345 | to_can_run. | |
9346 | (find_default_run_target): Check against delegate_can_run. | |
9347 | * target.h (struct target_ops) <to_can_run>: Use | |
9348 | TARGET_DEFAULT_RETURN. | |
9349 | ||
86a0854a TT |
9350 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
9351 | ||
9352 | * target-delegates.c: Rebuild. | |
9353 | * target.c (target_disconnect): Unconditionally delegate. | |
9354 | * target.h (struct target_ops) <to_disconnect>: Use | |
9355 | TARGET_DEFAULT_NORETURN. | |
9356 | ||
ee97f592 TT |
9357 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
9358 | ||
9359 | * record.c (record_stop): Unconditionally delegate. | |
9360 | * target-delegates.c: Rebuild. | |
9361 | * target.c (target_stop_recording): Unconditionally delegate. | |
9362 | * target.h (struct target_ops) <to_stop_recording>: Use | |
9363 | TARGET_DEFAULT_IGNORE. | |
9364 | ||
6dc7fcf4 TT |
9365 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
9366 | ||
9367 | * target-delegates.c: Rebuild. | |
9368 | * target.c (target_enable_btrace): Unconditionally delegate. | |
9369 | * target.h (struct target_ops) <to_enable_btrace>: Use | |
9370 | TARGET_DEFAULT_NORETURN. | |
9371 | ||
eb5b20d4 TT |
9372 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
9373 | ||
9374 | * target-delegates.c: Rebuild. | |
9375 | * target.c (target_read_btrace): Unconditionally delegate. | |
9376 | * target.h (struct target_ops) <to_read_btrace>: Use | |
9377 | TARGET_DEFAULT_NORETURN. | |
9378 | ||
9ace480d TT |
9379 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
9380 | ||
9381 | * target-delegates.c: Rebuild. | |
9382 | * target.c (target_teardown_btrace): Unconditionally delegate. | |
9383 | * target.h (struct target_ops) <to_teardown_btrace>: Use | |
9384 | TARGET_DEFAULT_NORETURN. | |
9385 | ||
8dc292d3 TT |
9386 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
9387 | ||
9388 | * target-delegates.c: Rebuild. | |
9389 | * target.c (target_disable_btrace): Unconditionally delegate. | |
9390 | * target.h (struct target_ops) <to_disable_btrace>: Use | |
9391 | TARGET_DEFAULT_NORETURN. | |
9392 | ||
58a5184e TT |
9393 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
9394 | ||
9395 | * target-delegates.c: Rebuild. | |
9396 | * target.c (default_search_memory): New function. | |
9397 | (simple_search_memory): Update comment. | |
9398 | (target_search_memory): Unconditionally delegate. | |
9399 | * target.h (struct target_ops) <to_search_memory>: Use | |
9400 | TARGET_DEFAULT_FUNC. | |
9401 | ||
8de71aab TT |
9402 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
9403 | ||
9404 | * auxv.c (default_auxv_parse): No longer static. | |
9405 | (target_auxv_parse): Unconditionally delegate. | |
9406 | * auxv.h (default_auxv_parse): Declare. | |
9407 | * target-delegates.c: Rebuild. | |
9408 | * target.c: Include auxv.h. | |
9409 | * target.h (struct target_ops) <to_auxv_parse>: Use | |
9410 | TARGET_DEFAULT_FUNC. | |
9411 | ||
6b2c5a57 TT |
9412 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
9413 | ||
9414 | * target-delegates.c: Rebuild. | |
9415 | * target.c (target_memory_map): Unconditionally delegate. | |
9416 | * target.h (struct target_ops) <to_memory_map>: Use | |
9417 | TARGET_DEFAULT_RETURN. | |
9418 | ||
cbffc065 TT |
9419 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
9420 | ||
9421 | * target-delegates.c: Rebuild. | |
9422 | * target.c (target_thread_alive): Unconditionally delegate. | |
9423 | * target.h (struct target_ops) <to_thread_alive>: Use | |
9424 | TARGET_DEFAULT_RETURN. | |
9425 | ||
f09e2107 TT |
9426 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
9427 | ||
9428 | * target-delegates.c: Rebuild. | |
9429 | * target.c (target_save_record): Unconditionally delegate. | |
9430 | * target.h (struct target_ops) <to_save_record>: Use | |
9431 | TARGET_DEFAULT_NORETURN. | |
9432 | ||
07366925 TT |
9433 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
9434 | ||
9435 | * target-delegates.c: Rebuild. | |
9436 | * target.c (target_delete_record): Unconditionally delegate. | |
9437 | * target.h (struct target_ops) <to_delete_record>: Use | |
9438 | TARGET_DEFAULT_NORETURN. | |
9439 | ||
dd2e9d25 TT |
9440 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
9441 | ||
9442 | * target-delegates.c: Rebuild. | |
9443 | * target.c (target_record_is_replaying): Unconditionally | |
9444 | delegate. | |
9445 | * target.h (struct target_ops) <to_record_is_replaying>: Use | |
9446 | TARGET_DEFAULT_RETURN. | |
9447 | ||
671e76cc TT |
9448 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
9449 | ||
9450 | * target-delegates.c: Rebuild. | |
9451 | * target.c (target_goto_record_begin): Unconditionally delegate. | |
9452 | * target.h (struct target_ops) <to_goto_record_begin>: Use | |
9453 | TARGET_DEFAULT_NORETURN. | |
9454 | ||
e9179bb3 TT |
9455 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
9456 | ||
9457 | * target-delegates.c: Rebuild. | |
9458 | * target.c (target_goto_record_end): Unconditionally delegate. | |
9459 | * target.h (struct target_ops) <to_goto_record_end>: Use | |
9460 | TARGET_DEFAULT_NORETURN. | |
9461 | ||
05969c84 TT |
9462 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
9463 | ||
9464 | * target-delegates.c: Rebuild. | |
9465 | * target.c (target_goto_record): Unconditionally delegate. | |
9466 | * target.h (struct target_ops) <to_goto_record>: Use | |
9467 | TARGET_DEFAULT_NORETURN. | |
9468 | ||
3679abfa TT |
9469 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
9470 | ||
9471 | * target-delegates.c: Rebuild. | |
9472 | * target.c (target_insn_history): Unconditionally delegate. | |
9473 | * target.h (struct target_ops) <to_insn_history>: Use | |
9474 | TARGET_DEFAULT_NORETURN. | |
9475 | ||
8444ab58 TT |
9476 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
9477 | ||
9478 | * target-delegates.c: Rebuild. | |
9479 | * target.c (target_insn_history_from): Unconditionally delegate. | |
9480 | * target.h (struct target_ops) <to_insn_history_from>: Use | |
9481 | TARGET_DEFAULT_NORETURN. | |
9482 | ||
c29302cc TT |
9483 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
9484 | ||
9485 | * target-delegates.c: Rebuild. | |
9486 | * target.c (target_insn_history_range): Unconditionally delegate. | |
9487 | * target.h (struct target_ops) <to_insn_history_range>: Use | |
9488 | TARGET_DEFAULT_NORETURN. | |
9489 | ||
170049d4 TT |
9490 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
9491 | ||
9492 | * target-delegates.c: Rebuild. | |
9493 | * target.c (target_call_history): Unconditionally delegate. | |
9494 | * target.h (struct target_ops) <to_call_history>: Use | |
9495 | TARGET_DEFAULT_NORETURN. | |
9496 | ||
16fc27d6 TT |
9497 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
9498 | ||
9499 | * target-delegates.c: Rebuild. | |
9500 | * target.c (target_call_history_from): Unconditionally delegate. | |
9501 | * target.h (struct target_ops) <to_call_history_from>: Use | |
9502 | TARGET_DEFAULT_NORETURN. | |
9503 | ||
115d9817 TT |
9504 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
9505 | ||
9506 | * target-delegates.c: Rebuild. | |
9507 | * target.c (target_call_history_range): Unconditionally delegate. | |
9508 | * target.h (struct target_ops) <to_call_history_range>: Use | |
9509 | TARGET_DEFAULT_NORETURN. | |
9510 | ||
eb276a6b TT |
9511 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
9512 | ||
9513 | * target-delegates.c: Rebuild. | |
9514 | * target.c (target_verify_memory): Unconditionally delegate. | |
9515 | * target.h (struct target_ops) <to_verify_memory>: Use | |
9516 | TARGET_DEFAULT_NORETURN. | |
9517 | ||
9e538d0d TT |
9518 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
9519 | ||
9520 | * target-delegates.c: Rebuild. | |
9521 | * target.c (target_core_of_thread): Unconditionally delegate. | |
9522 | * target.h (struct target_ops) <to_core_of_thread>: Use | |
9523 | TARGET_DEFAULT_RETURN. | |
9524 | ||
f6fb2925 TT |
9525 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
9526 | ||
9527 | * target-delegates.c: Rebuild. | |
9528 | * target.c (target_flash_done): Unconditionally delegate. | |
9529 | * target.h (struct target_ops) <to_flash_done>: Use | |
9530 | TARGET_DEFAULT_NORETURN. | |
9531 | ||
e8a6c6ac TT |
9532 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
9533 | ||
9534 | * target-delegates.c: Rebuild. | |
9535 | * target.c (target_flash_erase): Unconditionally delegate. | |
9536 | * target.h (struct target_ops) <to_flash_erase>: Use | |
9537 | TARGET_DEFAULT_NORETURN. | |
9538 | ||
7e35c012 TT |
9539 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
9540 | ||
9541 | * target-delegates.c: Rebuild. | |
9542 | * target.c (target_get_section_table): Unconditionally delegate. | |
9543 | * target.h (struct target_ops) <to_get_section_table>: Use | |
9544 | TARGET_DEFAULT_RETURN. | |
9545 | ||
770234d3 TT |
9546 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
9547 | ||
9548 | * target-delegates.c: Rebuild. | |
9549 | * target.c (target_pid_to_str): Unconditionally delegate. | |
9550 | (init_dummy_target): Don't initialize to_pid_to_str. | |
9551 | (default_pid_to_str): Rename from dummy_pid_to_str. | |
9552 | * target.h (struct target_ops) <to_pid_to_str>: Use | |
9553 | TARGET_DEFAULT_FUNC. | |
9554 | ||
09b0dc2b TT |
9555 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
9556 | ||
9557 | * target-delegates.c: Rebuild. | |
9558 | * target.c (target_find_new_threads): Unconditionally delegate. | |
9559 | * target.h (struct target_ops) <to_find_new_threads>: Use | |
9560 | TARGET_DEFAULT_RETURN. | |
9561 | ||
7d4f8efa TT |
9562 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
9563 | ||
9564 | * target-delegates.c: Rebuild. | |
9565 | * target.c (target_program_signals): Unconditionally delegate. | |
9566 | * target.h (struct target_ops) <to_program_signals>: Use | |
9567 | TARGET_DEFAULT_IGNORE. | |
9568 | ||
035cad7f TT |
9569 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
9570 | ||
9571 | * target-delegates.c: Rebuild. | |
9572 | * target.c (target_pass_signals): Unconditionally delegate. | |
9573 | * target.h (struct target_ops) <to_pass_signals>: Use | |
9574 | TARGET_DEFAULT_IGNORE. | |
9575 | ||
8d657035 TT |
9576 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
9577 | ||
9578 | * target-delegates.c: Rebuild. | |
9579 | * target.c (default_mourn_inferior): New function. | |
9580 | (target_mourn_inferior): Unconditionally delegate. | |
9581 | * target.h (struct target_ops) <to_mourn_inferior>: Use | |
9582 | TARGET_DEFAULT_FUNC. | |
9583 | ||
098dba18 TT |
9584 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
9585 | ||
9586 | * target-delegates.c: Rebuild. | |
9587 | * target.c (default_follow_fork): New function. | |
9588 | (target_follow_fork): Unconditionally delegate. | |
9589 | * target.h (struct target_ops) <to_follow_fork>: Use | |
9590 | TARGET_DEFAULT_FUNC. | |
9591 | ||
423a4807 TT |
9592 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
9593 | ||
9594 | * target-delegates.c: Rebuild. | |
9595 | * target.c (target_kill): Unconditionally delegate. | |
9596 | * target.h (struct target_ops) <to_kill>: Use | |
9597 | TARGET_DEFAULT_NORETURN. | |
9598 | ||
6c7e5e5c TT |
9599 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
9600 | ||
9601 | * target-delegates.c: Rebuild. | |
9602 | * target.c (target_masked_watch_num_registers): Unconditionally | |
9603 | delegate. | |
9604 | * target.h (struct target_ops) <to_masked_watch_num_registers>: | |
9605 | Use TARGET_DEFAULT_RETURN. | |
9606 | ||
8b1c364c TT |
9607 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
9608 | ||
9609 | * target-delegates.c: Rebuild. | |
9610 | * target.c (target_remove_mask_watchpoint): Unconditionally | |
9611 | delegate. | |
9612 | * target.h (struct target_ops) <to_remove_mask_watchpoint>: Use | |
9613 | TARGET_DEFAULT_RETURN. | |
9614 | ||
cd4ae029 TT |
9615 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
9616 | ||
9617 | * target-delegates.c: Rebuild. | |
9618 | * target.c (target_insert_mask_watchpoint): Unconditionally | |
9619 | delegate. | |
9620 | * target.h (struct target_ops) <to_insert_mask_watchpoint>: Use | |
9621 | TARGET_DEFAULT_RETURN. | |
9622 | ||
a134316b TT |
9623 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
9624 | ||
9625 | * target-delegates.c: Rebuild. | |
9626 | * target.c (target_ranged_break_num_registers): Unconditionally | |
9627 | delegate. | |
9628 | * target.h (struct target_ops) <to_ranged_break_num_registers>: | |
9629 | Use TARGET_DEFAULT_RETURN. | |
9630 | ||
ad5989bd TT |
9631 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
9632 | ||
9633 | * target-delegates.c: Rebuild. | |
9634 | * target.c (target_fetch_registers): Unconditionally delegate. | |
9635 | * target.h (struct target_ops) <to_fetch_registers>: Use | |
9636 | TARGET_DEFAULT_NORETURN. | |
9637 | ||
46ee7e8d TT |
9638 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
9639 | ||
9640 | * target-delegates.c: Rebuild. | |
9641 | * target.c (update_current_target): Don't inherit or default | |
9642 | to_stop. | |
9643 | * target.h (struct target_ops) <to_stop>: Use | |
9644 | TARGET_DEFAULT_IGNORE. | |
9645 | ||
843f59ed TT |
9646 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
9647 | ||
9648 | * target-delegates.c: Rebuild. | |
9649 | * target.c (update_current_target): Don't inherit or default | |
9650 | to_can_run_breakpoint_commands. | |
9651 | * target.h (struct target_ops) <to_can_run_breakpoint_commands>: | |
9652 | Use TARGET_DEFAULT_RETURN. | |
9653 | ||
ccfde2a0 TT |
9654 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
9655 | ||
9656 | * target-delegates.c: Rebuild. | |
9657 | * target.c (update_current_target): Don't inherit or default | |
9658 | to_supports_evaluation_of_breakpoint_conditions. | |
9659 | * target.h (struct target_ops) | |
9660 | <to_supports_evaluation_of_breakpoint_conditions>: Use | |
9661 | TARGET_DEFAULT_RETURN. | |
9662 | ||
0de91722 TT |
9663 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
9664 | ||
9665 | * target-delegates.c: Rebuild. | |
9666 | * target.c (update_current_target): Don't inherit or default | |
9667 | to_augmented_libraries_svr4_read. | |
9668 | * target.h (struct target_ops) <to_augmented_libraries_svr4_read>: | |
9669 | Use TARGET_DEFAULT_RETURN. | |
9670 | ||
9a7d8b48 TT |
9671 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
9672 | ||
9673 | * target-delegates.c: Rebuild. | |
9674 | * target.c (update_current_target): Don't inherit or default | |
9675 | to_can_use_agent. | |
9676 | * target.h (struct target_ops) <to_can_use_agent>: Use | |
9677 | TARGET_DEFAULT_RETURN. | |
9678 | ||
d9db5b21 TT |
9679 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
9680 | ||
9681 | * target-delegates.c: Rebuild. | |
9682 | * target.c (update_current_target): Don't inherit or default | |
9683 | to_use_agent. | |
9684 | * target.h (struct target_ops) <to_use_agent>: Use | |
9685 | TARGET_DEFAULT_NORETURN. | |
9686 | ||
92155eeb TT |
9687 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
9688 | ||
9689 | * target-delegates.c: Rebuild. | |
9690 | * target.c (update_current_target): Don't inherit or default | |
9691 | to_traceframe_info. | |
9692 | (return_null): Remove. | |
9693 | * target.h (struct target_ops) <to_traceframe_info>: Use | |
9694 | TARGET_DEFAULT_RETURN. | |
9695 | ||
d6522a22 TT |
9696 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
9697 | ||
9698 | * target-delegates.c: Rebuild. | |
9699 | * target.c (update_current_target): Don't inherit or default | |
9700 | to_static_tracepoint_markers_by_strid. | |
9701 | * target.h (struct target_ops) | |
9702 | <to_static_tracepoint_markers_by_strid>: Use | |
9703 | TARGET_DEFAULT_NORETURN. | |
9704 | ||
4c3e4425 TT |
9705 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
9706 | ||
9707 | * target-delegates.c: Rebuild. | |
9708 | * target.c (update_current_target): Don't inherit or default | |
9709 | to_static_tracepoint_marker_at. | |
9710 | * target.h (struct target_ops) <to_static_tracepoint_marker_at>: | |
9711 | Use TARGET_DEFAULT_RETURN. | |
9712 | ||
dcd6917f TT |
9713 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
9714 | ||
9715 | * target-delegates.c: Rebuild. | |
9716 | * target.c (update_current_target): Don't inherit or default | |
9717 | to_set_permissions. | |
9718 | * target.h (struct target_ops) <to_set_permissions>: Use | |
9719 | TARGET_DEFAULT_IGNORE. | |
9720 | ||
22bcceee TT |
9721 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
9722 | ||
9723 | * target-delegates.c: Rebuild. | |
9724 | * target.c (update_current_target): Don't inherit or default | |
9725 | to_get_tib_address. | |
9726 | * target.h (struct target_ops) <to_get_tib_address>: Use | |
9727 | TARGET_DEFAULT_NORETURN. | |
9728 | ||
8586ccaa TT |
9729 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
9730 | ||
9731 | * target-delegates.c: Rebuild. | |
9732 | * target.c (update_current_target): Don't inherit or default | |
9733 | to_set_trace_notes. | |
9734 | * target.h (struct target_ops) <to_set_trace_notes>: Use | |
9735 | TARGET_DEFAULT_RETURN. | |
9736 | ||
91df8d1d TT |
9737 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
9738 | ||
9739 | * target-delegates.c: Rebuild. | |
9740 | * target.c (update_current_target): Don't initialize | |
9741 | to_set_trace_buffer_size. | |
9742 | * target.h (struct target_ops) <to_set_trace_buffer_size>: Use | |
9743 | TARGET_DEFAULT_IGNORE. | |
9744 | ||
8d526939 TT |
9745 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
9746 | ||
9747 | * target-delegates.c: Rebuild. | |
9748 | * target.c (update_current_target): Don't inherit or default | |
9749 | to_set_circular_trace_buffer. | |
9750 | * target.h (struct target_ops) <to_set_circular_trace_buffer>: Use | |
9751 | TARGET_DEFAULT_IGNORE. | |
9752 | ||
0bcfeddf TT |
9753 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
9754 | ||
9755 | * target-delegates.c: Rebuild. | |
9756 | * target.c (update_current_target): Don't inherit or default | |
9757 | to_set_disconnected_tracing. | |
9758 | * target.h (struct target_ops) <to_set_disconnected_tracing>: Use | |
9759 | TARGET_DEFAULT_IGNORE. | |
9760 | ||
9249843f TT |
9761 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
9762 | ||
9763 | * target-delegates.c: Rebuild. | |
9764 | * target.c (update_current_target): Don't inherit or default | |
9765 | to_get_min_fast_tracepoint_insn_len. | |
9766 | (return_minus_one): Remove. | |
9767 | * target.h (struct target_ops) | |
9768 | <to_get_min_fast_tracepoint_insn_len>: Use TARGET_DEFAULT_RETURN. | |
9769 | ||
ace92e7d TT |
9770 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
9771 | ||
9772 | * target-delegates.c: Rebuild. | |
9773 | * target.c (update_current_target): Don't inherit or default | |
9774 | to_get_raw_trace_data. | |
9775 | * target.h (struct target_ops) <to_get_raw_trace_data>: Use | |
9776 | TARGET_DEFAULT_NORETURN. | |
9777 | ||
08120467 TT |
9778 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
9779 | ||
9780 | * target-delegates.c: Rebuild. | |
9781 | * target.c (update_current_target): Don't inherit or default | |
9782 | to_upload_trace_state_variables. | |
9783 | * target.h (struct target_ops) <to_upload_trace_state_variables>: | |
9784 | Use TARGET_DEFAULT_RETURN. | |
9785 | ||
1e949b00 TT |
9786 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
9787 | ||
9788 | * target-delegates.c: Rebuild. | |
9789 | * target.c (update_current_target): Don't inherit or default | |
9790 | to_upload_tracepoints. | |
9791 | * target.h (struct target_ops) <to_upload_tracepoints>: Use | |
9792 | TARGET_DEFAULT_RETURN. | |
9793 | ||
a2e6c147 TT |
9794 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
9795 | ||
9796 | * target-delegates.c: Rebuild. | |
9797 | * target.c (update_current_target): Don't inherit or default | |
9798 | to_save_trace_data. | |
9799 | * target.h (struct target_ops) <to_save_trace_data>: Use | |
9800 | TARGET_DEFAULT_NORETURN. | |
9801 | ||
959bcd0b TT |
9802 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
9803 | ||
9804 | * target-delegates.c: Rebuild. | |
9805 | * target.c (update_current_target): Don't inherit or default | |
9806 | to_get_trace_state_variable_value. | |
9807 | * target.h (struct target_ops) | |
9808 | <to_get_trace_state_variable_value>: Use TARGET_DEFAULT_RETURN. | |
9809 | ||
afc94e66 TT |
9810 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
9811 | ||
9812 | * target-delegates.c: Rebuild. | |
9813 | * target.c (update_current_target): Don't inherit or default | |
9814 | to_trace_find. | |
9815 | * target.h (struct target_ops): Use TARGET_DEFAULT_RETURN. | |
9816 | ||
e51c07ea TT |
9817 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
9818 | ||
9819 | * target-delegates.c: Rebuild. | |
9820 | * target.c (update_current_target): Don't inherit or default | |
9821 | to_trace_stop. | |
9822 | * target.h (struct target_ops) <to_trace_stop>: Use | |
9823 | TARGET_DEFAULT_NORETURN. | |
9824 | ||
6fea14cd TT |
9825 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
9826 | ||
9827 | * target-delegates.c: Rebuild. | |
9828 | * target.c (update_current_target): Don't inherit or default | |
9829 | to_get_tracepoint_status. | |
9830 | * target.h (struct target_ops) <to_get_tracepoint_status>: Use | |
9831 | TARGET_DEFAULT_NORETURN. | |
9832 | ||
4072d4ff TT |
9833 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
9834 | ||
9835 | * target-delegates.c: Rebuild. | |
9836 | * target.c (update_current_target): Don't inherit or default | |
9837 | to_get_trace_status. | |
9838 | * target.h (struct target_ops) <to_get_trace_status>: Use | |
9839 | TARGET_DEFAULT_RETURN. | |
9840 | ||
25da2e80 TT |
9841 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
9842 | ||
9843 | * target-delegates.c: Rebuild. | |
9844 | * target.c (update_current_target): Don't inherit or default | |
9845 | to_trace_start. | |
9846 | * target.h (struct target_ops) <to_trace_start>: Use | |
9847 | TARGET_DEFAULT_NORETURN. | |
9848 | ||
86dd181d TT |
9849 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
9850 | ||
9851 | * target-delegates.c: Rebuild. | |
9852 | * target.c (update_current_target): Don't inherit or default | |
9853 | to_trace_set_readonly_regions. | |
9854 | * target.h (struct target_ops) <to_trace_set_readonly_regions>: | |
9855 | Use TARGET_DEFAULT_NORETURN. | |
9856 | ||
05c41993 TT |
9857 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
9858 | ||
9859 | * target-delegates.c: Rebuild. | |
9860 | * target.c (update_current_target): Don't inherit or default | |
9861 | to_disable_tracepoint. | |
9862 | * target.h (struct target_ops) <to_disable_tracepoint>: Use | |
9863 | TARGET_DEFAULT_NORETURN. | |
9864 | ||
151f70f1 TT |
9865 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
9866 | ||
9867 | * target-delegates.c: Rebuild. | |
9868 | * target.c (update_current_target): Don't inherit or default | |
9869 | to_enable_tracepoint. | |
9870 | * target.h (struct target_ops) <to_enable_tracepoint>: Use | |
9871 | TARGET_DEFAULT_NORETURN. | |
9872 | ||
94eb98b9 TT |
9873 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
9874 | ||
9875 | * target-delegates.c: Rebuild. | |
9876 | * target.c (update_current_target): Don't inherit or default | |
9877 | to_download_trace_state_variable. | |
9878 | * target.h (struct target_ops) <to_download_trace_state_variable>: | |
9879 | Use TARGET_DEFAULT_NORETURN. | |
9880 | ||
719acc4a TT |
9881 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
9882 | ||
9883 | * target-delegates.c: Rebuild. | |
9884 | * target.c (update_current_target): Don't inherit or default | |
9885 | to_can_download_tracepoint. | |
9886 | * target.h (struct target_ops) <to_can_download_tracepoint>: Use | |
9887 | TARGET_DEFAULT_RETURN. | |
9888 | ||
9a980a22 TT |
9889 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
9890 | ||
9891 | * target-delegates.c: Rebuild. | |
9892 | * target.c (update_current_target): Don't inherit or default | |
9893 | to_download_tracepoint. | |
9894 | * target.h (struct target_ops) <to_download_tracepoint>: Use | |
9895 | TARGET_DEFAULT_NORETURN. | |
9896 | ||
5536135b TT |
9897 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
9898 | ||
9899 | * target-delegates.c: Rebuild. | |
9900 | * target.c (update_current_target): Don't inherit or default | |
9901 | to_trace_init. | |
9902 | * target.h (struct target_ops) <to_trace_init>: Use | |
9903 | TARGET_DEFAULT_RETURN. | |
9904 | ||
9409d39e TT |
9905 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
9906 | ||
9907 | * target-delegates.c: Rebuild. | |
9908 | * target.c (update_current_target): Don't inherit or default | |
9909 | to_supports_string_tracing. | |
9910 | * target.h (struct target_ops) <to_supports_string_tracing>: Use | |
9911 | TARGET_DEFAULT_RETURN. | |
9912 | ||
aab1b22d TT |
9913 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
9914 | ||
9915 | * target-delegates.c: Rebuild. | |
9916 | * target.c (update_current_target): Don't inherit or default | |
9917 | to_supports_enable_disable_tracepoint. | |
9918 | * target.h (struct target_ops) | |
9919 | <to_supports_enable_disable_tracepoint>: Use | |
9920 | TARGET_DEFAULT_RETURN. | |
9921 | ||
a7304748 TT |
9922 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
9923 | ||
9924 | * target-delegates.c: Rebuild. | |
9925 | * target.c (update_current_target): Don't inherit or default | |
9926 | to_supports_multi_process. | |
9927 | * target.h (struct target_ops) <to_supports_multi_process>: Use | |
9928 | TARGET_DEFAULT_RETURN. | |
9929 | ||
4229b31d TT |
9930 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
9931 | ||
9932 | * target-delegates.c: Rebuild. | |
9933 | * target.c (update_current_target): Don't inherit or default | |
9934 | to_get_ada_task_ptid. | |
9935 | * target.h (struct target_ops) <to_get_ada_task_ptid>: Use | |
9936 | TARGET_DEFAULT_FUNC. | |
9937 | ||
43eba180 TT |
9938 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
9939 | ||
9940 | * target-delegates.c: Rebuild. | |
9941 | * target.c (update_current_target): Don't inherit or default | |
9942 | to_thread_architecture. | |
9943 | * target.h (struct target_ops) <to_thread_architecture>: Use | |
9944 | TARGET_DEFAULT_FUNC. | |
9945 | ||
fe31bf5b TT |
9946 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
9947 | ||
9948 | * target-delegates.c: Rebuild. | |
9949 | * target.c (update_current_target): Don't inherit or default | |
9950 | to_execution_direction. | |
9951 | * target.h (struct target_ops) <to_execution_direction>: Use | |
9952 | TARGET_DEFAULT_FUNC. | |
9953 | ||
53e1cfc7 TT |
9954 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
9955 | ||
9956 | * target-delegates.c: Rebuild. | |
9957 | * target.c (update_current_target): Don't inherit or default | |
9958 | to_can_execute_reverse. | |
9959 | * target.h (struct target_ops) <to_can_execute_reverse>: Use | |
9960 | TARGET_DEFAULT_RETURN. | |
9961 | (target_can_execute_reverse): Unconditionally delegate. | |
9962 | ||
9bb9d61d TT |
9963 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
9964 | ||
9965 | * target-delegates.c: Rebuild. | |
9966 | * target.c (update_current_target): Don't inherit or default | |
9967 | to_goto_bookmark. | |
9968 | (dummy_goto_bookmark): Remove. | |
9969 | (init_dummy_target): Don't inherit or default to_goto_bookmark. | |
9970 | * target.h (struct target_ops) <to_goto_bookmark>: Use | |
9971 | TARGET_DEFAULT_NORETURN. | |
9972 | ||
3dbafbbb TT |
9973 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
9974 | ||
9975 | * target-delegates.c: Rebuild. | |
9976 | * target.c (update_current_target): Don't inherit or default | |
9977 | to_get_bookmark. | |
9978 | (dummy_get_bookmark): Remove. | |
9979 | (init_dummy_target): Don't inherit or default to_get_bookmark. | |
9980 | * target.h (struct target_ops) <to_get_bookmark>: Use | |
9981 | TARGET_DEFAULT_NORETURN | |
9982 | ||
16f796b1 TT |
9983 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
9984 | ||
9985 | * target-delegates.c: Rebuild. | |
9986 | * target.c (update_current_target): Don't inherit or default | |
9987 | to_make_corefile_notes. | |
9988 | (init_dummy_target): Don't initialize to_make_corefile_notes. | |
9989 | * target.h (struct target_ops) <to_make_corefile_notes>: Use | |
9990 | TARGET_DEFAULT_FUNC. | |
9991 | ||
0b5a2719 TT |
9992 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
9993 | ||
9994 | * target-delegates.c: Rebuild. | |
9995 | * target.c (update_current_target): Don't inherit or default | |
9996 | to_find_memory_regions. | |
9997 | (init_dummy_target): Don't initialize to_find_memory_regions. | |
9998 | * target.h (struct target_ops) <to_find_memory_regions>: Use | |
9999 | TARGET_DEFAULT_FUNC. | |
10000 | ||
d9cb0195 TT |
10001 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
10002 | ||
10003 | * target-delegates.c: Rebuild. | |
10004 | * target.c (update_current_target): Don't inherit or default | |
10005 | to_log_command. | |
10006 | * target.h (struct target_ops) <to_log_command>: Use | |
10007 | TARGET_DEFAULT_IGNORE. | |
10008 | (target_log_command): Unconditionally delegate. | |
10009 | ||
830ca330 TT |
10010 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
10011 | ||
10012 | * target-delegates.c: Rebuild. | |
10013 | * target.c (update_current_target): Don't inherit or default | |
10014 | to_pid_to_exec_file. | |
10015 | * target.h (struct target_ops) <to_pid_to_exec_file>: Use | |
10016 | TARGET_DEFAULT_RETURN. | |
10017 | ||
825828fc TT |
10018 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
10019 | ||
10020 | * target-delegates.c: Rebuild. | |
10021 | * target.c (update_current_target): Don't inherit or default | |
10022 | to_thread_name. | |
10023 | (target_thread_name): Unconditionally delegate. | |
10024 | * target.h (struct target_ops) <to_thread_name>: Use | |
10025 | TARGET_DEFAULT_RETURN. | |
10026 | ||
4a7e6dda TT |
10027 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
10028 | ||
10029 | * target-delegates.c: Rebuild. | |
10030 | * target.c (update_current_target): Don't inherit or default | |
10031 | to_extra_thread_info. | |
10032 | * target.h (struct target_ops) <to_extra_thread_info>: Use | |
10033 | TARGET_DEFAULT_RETURN. | |
10034 | ||
0db88c1d TT |
10035 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
10036 | ||
10037 | * target-delegates.c: Rebuild. | |
10038 | * target.c (update_current_target): Don't inherit or default | |
10039 | to_has_exited. | |
10040 | * target.h (struct target_ops) <to_has_exited>: Use | |
10041 | TARGET_DEFAULT_RETURN.. | |
10042 | ||
6a9fa051 TT |
10043 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
10044 | ||
10045 | * target-delegates.c: Rebuild. | |
10046 | * target.c (update_current_target): Don't inherit or default | |
10047 | to_set_syscall_catchpoint. | |
10048 | (return_one): Remove. | |
10049 | * target.h (struct target_ops) <to_set_syscall_catchpoint>: Use | |
10050 | TARGET_DEFAULT_RETURN. | |
10051 | ||
62f64d7a TT |
10052 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
10053 | ||
10054 | * target-delegates.c: Rebuild. | |
10055 | * target.c (update_current_target): Don't inherit or default | |
10056 | to_insert_exec_catchpoint. | |
10057 | * target.h (struct target_ops) <to_insert_exec_catchpoint>: Use | |
10058 | TARGET_DEFAULT_RETURN. | |
10059 | ||
cda0f38c TT |
10060 | 2014-01-08 Tom Tromey <tromey@redhat.com> |
10061 | ||
10062 | * target-delegates.c: Rebuild. | |
10063 | * target.c (update_current_target): Don't inherit or default | |
10064 | to_insert_exec_catchpoint. | |
10065 | * target.h (struct target_ops) <to_insert_exec_catchpoint>: Use | |
10066 | TARGET_DEFAULT_RETURN. | |
10067 | ||
95c3375e TT |
10068 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
10069 | ||
10070 | * target-delegates.c: Rebuild. | |
10071 | * target.c (update_current_target): Don't inherit or default | |
10072 | to_remove_vfork_catchpoint. | |
10073 | * target.h (struct target_ops) <to_remove_vfork_catchpoint>: Use | |
10074 | TARGET_DEFAULT_RETURN. | |
10075 | ||
7e18a8dc TT |
10076 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
10077 | ||
10078 | * target-delegates.c: Rebuild. | |
10079 | * target.c (update_current_target): Don't inherit or default | |
10080 | to_insert_vfork_catchpoint. | |
10081 | * target.h (struct target_ops) <to_insert_vfork_catchpoint>: Use | |
10082 | TARGET_DEFAULT_RETURN. | |
10083 | ||
e1a21fb7 TT |
10084 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
10085 | ||
10086 | * target-delegates.c: Rebuild. | |
10087 | * target.c (update_current_target): Don't inherit or default | |
10088 | to_remove_fork_catchpoint. | |
10089 | * target.h (struct target_ops) <to_remove_fork_catchpoint>: Use | |
10090 | TARGET_DEFAULT_RETURN. | |
10091 | ||
5958ebeb TT |
10092 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
10093 | ||
10094 | * target-delegates.c: Rebuild. | |
10095 | * target.c (update_current_target): Don't inherit or default | |
10096 | to_insert_fork_catchpoint. | |
10097 | * target.h (struct target_ops) <to_insert_fork_catchpoint>: Use | |
10098 | TARGET_DEFAULT_RETURN. | |
10099 | ||
340ba4bf TT |
10100 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
10101 | ||
10102 | * target-delegates.c: Rebuild. | |
10103 | * target.c (update_current_target): Don't inherit or default | |
10104 | to_post_startup_inferior. | |
10105 | * target.h (struct target_ops) <to_post_startup_inferior>: Use | |
10106 | TARGET_DEFAULT_IGNORE. | |
10107 | ||
7634da87 TT |
10108 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
10109 | ||
10110 | * target-delegates.c: Rebuild. | |
10111 | * target.c (update_current_target): Don't inherit or default | |
10112 | to_load. | |
10113 | * target.h (struct target_ops) <to_load>: Use | |
10114 | TARGET_DEFAULT_NORETURN. | |
10115 | ||
e19e919f TT |
10116 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
10117 | ||
10118 | * target-delegates.c: Rebuild. | |
10119 | * target.c (update_current_target): Don't inherit or default | |
10120 | to_terminal_info. | |
10121 | * target.h (struct target_ops) <to_terminal_info>: Use | |
10122 | TARGET_DEFAULT_FUNC. | |
10123 | ||
c6ea8f79 TT |
10124 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
10125 | ||
10126 | * target-delegates.c: Rebuild. | |
10127 | * target.c (update_current_target): Don't inherit or default | |
10128 | to_terminal_save_ours. | |
10129 | * target.h (struct target_ops) <to_terminal_save_ours>: Use | |
10130 | TARGET_DEFAULT_IGNORE. | |
10131 | ||
e4a733f1 TT |
10132 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
10133 | ||
10134 | * target-delegates.c: Rebuild. | |
10135 | * target.c (update_current_target): Don't inherit or default | |
10136 | to_terminal_ours. | |
10137 | * target.h (struct target_ops) <to_terminal_ours>: Use | |
10138 | TARGET_DEFAULT_IGNORE. | |
10139 | ||
74fcbef9 TT |
10140 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
10141 | ||
10142 | * target-delegates.c: Rebuild. | |
10143 | * target.c (update_current_target): Don't inherit or default | |
10144 | to_terminal_ours_for_output. | |
10145 | * target.h (struct target_ops) <to_terminal_ours_for_output>: Use | |
10146 | TARGET_DEFAULT_IGNORE. | |
10147 | ||
ddeaacc9 TT |
10148 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
10149 | ||
10150 | * target-delegates.c: Rebuild. | |
10151 | * target.c (update_current_target): Don't inherit or default | |
10152 | to_terminal_inferior. | |
10153 | * target.h (struct target_ops) <to_terminal_inferior>: Use | |
10154 | TARGET_DEFAULT_IGNORE. | |
10155 | ||
0343661d TT |
10156 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
10157 | ||
10158 | * target-delegates.c: Rebuild. | |
10159 | * target.c (update_current_target): Don't inherit or default | |
10160 | to_terminal_init. | |
10161 | * target.h (struct target_ops) <to_terminal_init>: Use | |
10162 | TARGET_DEFAULT_IGNORE. | |
10163 | ||
77cdffe9 TT |
10164 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
10165 | ||
10166 | * target-delegates.c: Rebuild. | |
10167 | * target.c (update_current_target): Don't inherit or default | |
10168 | to_can_accel_watchpoint_condition. | |
10169 | * target.h (struct target_ops) | |
10170 | <to_can_accel_watchpoint_condition>: Use TARGET_DEFAULT_RETURN. | |
10171 | ||
d03655e4 TT |
10172 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
10173 | ||
10174 | * target-delegates.c: Rebuild. | |
10175 | * target.c (update_current_target): Don't inherit or default | |
10176 | to_region_ok_for_hw_watchpoint. | |
10177 | * target.h (struct target_ops) <to_region_ok_for_hw_watchpoint>: | |
10178 | Use TARGET_DEFAULT_FUNC. | |
10179 | ||
65f160a9 TT |
10180 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
10181 | ||
10182 | * target-delegates.c: Rebuild. | |
10183 | * target.c (update_current_target): Don't inherit or default | |
10184 | to_watchpoint_addr_within_range. | |
10185 | * target.h (struct target_ops) <to_watchpoint_addr_within_range>: | |
10186 | Use TARGET_DEFAULT_FUNC. | |
10187 | ||
61dd109f TT |
10188 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
10189 | ||
10190 | * target-delegates.c: Rebuild. | |
10191 | * target.c (update_current_target): Don't inherit or default | |
10192 | to_remove_watchpoint. | |
10193 | * target.h (struct target_ops) <to_remove_watchpoint>: Use | |
10194 | TARGET_DEFAULT_NORETURN. | |
10195 | ||
016facd4 TT |
10196 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
10197 | ||
10198 | * target-delegates.c: Rebuild. | |
10199 | * target.c (update_current_target): Don't inherit or default | |
10200 | to_insert_watchpoint. | |
10201 | * target.h (struct target_ops) <to_insert_watchpoint>: Use | |
10202 | TARGET_DEFAULT_RETURN. | |
10203 | ||
418dabac TT |
10204 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
10205 | ||
10206 | * target-delegates.c: Rebuild. | |
10207 | * target.c (update_current_target): Don't inherit or default | |
10208 | to_remove_hw_breakpoint. | |
10209 | * target.h (struct target_ops) <to_remove_hw_breakpoint>: Use | |
10210 | TARGET_DEFAULT_RETURN. | |
10211 | ||
61b371f9 TT |
10212 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
10213 | ||
10214 | * target-delegates.c: Rebuild. | |
10215 | * target.c (update_current_target): Don't inherit or default | |
10216 | to_insert_hw_breakpoint. | |
10217 | * target.h (struct target_ops) <to_insert_hw_breakpoint>: Use | |
10218 | TARGET_DEFAULT_RETURN. | |
10219 | ||
52b51d06 TT |
10220 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
10221 | ||
10222 | * target-delegates.c: Rebuild. | |
10223 | * target.c (update_current_target): Don't inherit or default | |
10224 | to_can_use_hw_breakpoint. | |
10225 | * target.h (struct target_ops) <to_can_use_hw_breakpoint>: Use | |
10226 | TARGET_DEFAULT_RETURN. | |
10227 | ||
f86e59b2 TT |
10228 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
10229 | ||
10230 | * target-delegates.c: Rebuild. | |
10231 | * target.c (update_current_target): Don't inherit or default | |
10232 | to_files_info. | |
10233 | * target.h (struct target_ops) <to_files_info>: Use | |
10234 | TARGET_DEFAULT_IGNORE. | |
10235 | ||
6c628163 TT |
10236 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
10237 | ||
10238 | * target-delegates.c: Rebuild. | |
10239 | * target.c (update_current_target): Don't inherit or default | |
10240 | to_store. | |
10241 | * target.h (struct target_ops) <to_store>: Use | |
10242 | TARGET_DEFAULT_NORETURN. | |
10243 | ||
bebd3233 TT |
10244 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
10245 | ||
10246 | * target-delegates.c: Rebuild. | |
10247 | * target.c (update_current_target): Don't inherit or default | |
10248 | to_post_attach. | |
10249 | * target.h (struct target_ops) <to_post_attach>: Use | |
10250 | TARGET_DEFAULT_IGNORE. | |
10251 | ||
a53f3625 TT |
10252 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
10253 | ||
10254 | * target-delegates.c: Rebuild. | |
10255 | * target.c (update_current_target): Don't inherit or default | |
10256 | to_rcmd. | |
10257 | (default_rcmd): New function. | |
10258 | (do_monitor_command): Unconditionally delegate. | |
10259 | * target.h (struct target_ops) <to_rmcd>: Use | |
10260 | TARGET_DEFAULT_FUNC. | |
10261 | ||
e9a29200 TT |
10262 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
10263 | ||
10264 | * target-delegates.c: Rebuild. | |
10265 | * target.c (init_dummy_target): Don't initialize to_attach. | |
10266 | (target_attach): Unconditionally delegate. | |
10267 | * target.h (struct target_ops) <to_attach>: Use | |
10268 | TARGET_DEFAULT_FUNC. | |
10269 | ||
09da0d0a TT |
10270 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
10271 | ||
10272 | * target-delegates.c: Rebuild. | |
10273 | * target.c (target_detach): Unconditionally delegate. | |
10274 | (init_dummy_target): Don't initialize to_detach. | |
10275 | * target.h (struct target_ops) <to_detach>: Use | |
10276 | TARGET_DEFAULT_IGNORE. | |
10277 | ||
5436ff03 TT |
10278 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
10279 | ||
10280 | * target.h (struct target_ops) <to_augmented_libraries_svr4_read>: | |
10281 | Add argument. | |
10282 | (target_augmented_libraries_svr4_read): Add argument. | |
10283 | * target.c (update_current_target): Update. | |
10284 | * remote.c (remote_augmented_libraries_svr4_read): Add 'self' | |
10285 | argument. | |
10286 | ||
f0d960ea TT |
10287 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
10288 | ||
10289 | * target.h (struct target_ops) <to_call_history_range>: Add | |
10290 | argument. | |
10291 | * target.c (target_call_history_range): Add argument. | |
10292 | * record-btrace.c (record_btrace_call_history_range): Add 'self' | |
10293 | argument. | |
10294 | (record_btrace_call_history_from): Update. | |
10295 | ||
ec0aea04 TT |
10296 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
10297 | ||
10298 | * target.h (struct target_ops) <to_call_history_from>: Add | |
10299 | argument. | |
10300 | * target.c (target_call_history_from): Add argument. | |
10301 | * record-btrace.c (record_btrace_call_history_from): Add 'self' | |
10302 | argument. | |
10303 | ||
5df2fcba TT |
10304 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
10305 | ||
10306 | * target.h (struct target_ops) <to_call_history>: Add argument. | |
10307 | * target.c (target_call_history): Add argument. | |
10308 | * record-btrace.c (record_btrace_call_history): Add 'self' | |
10309 | argument. | |
10310 | ||
4e99c6b7 TT |
10311 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
10312 | ||
10313 | * target.h (struct target_ops) <to_insn_history_range>: Add | |
10314 | argument. | |
10315 | * target.c (target_insn_history_range): Add argument. | |
10316 | * record-btrace.c (record_btrace_insn_history_range): Add 'self' | |
10317 | argument. | |
10318 | (record_btrace_insn_history_from): Update. | |
10319 | ||
9abc3ff3 TT |
10320 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
10321 | ||
10322 | * target.h (struct target_ops) <to_insn_history_from>: Add | |
10323 | argument. | |
10324 | * target.c (target_insn_history_from): Add argument. | |
10325 | * record-btrace.c (record_btrace_insn_history_from): Add 'self' | |
10326 | argument. | |
10327 | ||
7a6c5609 TT |
10328 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
10329 | ||
10330 | * target.h (struct target_ops) <to_insn_history>: Add argument. | |
10331 | * target.c (target_insn_history): Add argument. | |
10332 | * record-btrace.c (record_btrace_insn_history): Add 'self' | |
10333 | argument. | |
10334 | ||
606183ac TT |
10335 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
10336 | ||
10337 | * target.h (struct target_ops) <to_goto_record>: Add argument. | |
10338 | * target.c (target_goto_record): Add argument. | |
10339 | * record-full.c (record_full_goto): Add 'self' argument. | |
10340 | * record-btrace.c (record_btrace_goto): Add 'self' argument. | |
10341 | ||
307a1b91 TT |
10342 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
10343 | ||
10344 | * target.h (struct target_ops) <to_goto_record_end>: Add argument. | |
10345 | * target.c (target_goto_record_end): Add argument. | |
10346 | * record-full.c (record_full_goto_end): Add 'self' argument. | |
10347 | * record-btrace.c (record_btrace_goto_end): Add 'self' argument. | |
10348 | ||
08475817 TT |
10349 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
10350 | ||
10351 | * target.h (struct target_ops) <to_goto_record_begin>: Add | |
10352 | argument. | |
10353 | * target.c (target_goto_record_begin): Add argument. | |
10354 | * record-full.c (record_full_goto_begin): Add 'self' argument. | |
10355 | * record-btrace.c (record_btrace_goto_begin): Add 'self' | |
10356 | argument. | |
10357 | ||
1c63c994 TT |
10358 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
10359 | ||
10360 | * target.h (struct target_ops) <to_record_is_replaying>: Add | |
10361 | argument. | |
10362 | * target.c (target_record_is_replaying): Add argument. | |
10363 | * record-full.c (record_full_is_replaying): Add 'self' argument. | |
10364 | * record-btrace.c (record_btrace_is_replaying): Add 'self' | |
10365 | argument. | |
10366 | (record_btrace_xfer_partial, record_btrace_store_registers) | |
10367 | (record_btrace_prepare_to_store, record_btrace_resume) | |
10368 | (record_btrace_wait, record_btrace_decr_pc_after_break) | |
10369 | (record_btrace_find_new_threads, record_btrace_thread_alive): | |
10370 | Update. | |
10371 | ||
d1b55219 TT |
10372 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
10373 | ||
10374 | * target.h (struct target_ops) <to_delete_record>: Add argument. | |
10375 | * target.c (target_delete_record): Add argument. | |
10376 | * record-full.c (record_full_delete): Add 'self' argument. | |
10377 | ||
1390f529 TT |
10378 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
10379 | ||
10380 | * target.h (struct target_ops) <to_save_record>: Add argument. | |
10381 | * target.c (target_save_record): Add argument. | |
10382 | * record-full.c (record_full_save): Add 'self' argument. | |
10383 | (record_full_save): Add 'self' argument. | |
10384 | ||
630d6a4a TT |
10385 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
10386 | ||
10387 | * target.h (struct target_ops) <to_info_record>: Add argument. | |
10388 | * target.c (target_info_record): Add argument. | |
10389 | * record.c (info_record_command): Add argument. | |
10390 | * record-full.c (record_full_info): Add 'self' argument. | |
10391 | * record-btrace.c (record_btrace_info): Add 'self' argument. | |
10392 | ||
c6cd7c02 TT |
10393 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
10394 | ||
10395 | * target.h (struct target_ops) <to_stop_recording>: Add argument. | |
10396 | * target.c (target_stop_recording): Add argument. | |
10397 | * record.c (record_stop): Add argument. | |
10398 | * record-btrace.c (record_btrace_stop_recording): Add 'self' | |
10399 | argument. | |
10400 | ||
39c49f83 TT |
10401 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
10402 | ||
10403 | * target.h (struct target_ops) <to_read_btrace>: Add argument. | |
10404 | * target.c (struct target_ops) <to_read_btrace>: Add argument. | |
10405 | * remote.c (struct target_ops) <to_read_btrace>: Add 'self' | |
10406 | argument. | |
10407 | * amd64-linux-nat.c (amd64_linux_read_btrace): New function. | |
10408 | (_initialize_amd64_linux_nat): Use it. | |
10409 | * i386-linux-nat.c (i386_linux_read_btrace): New function. | |
10410 | (_initialize_i386_linux_nat): Use it. | |
10411 | ||
1777056d TT |
10412 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
10413 | ||
10414 | * target.h (struct target_ops) <to_teardown_btrace>: Add argument. | |
10415 | * target.c (target_teardown_btrace): Add argument. | |
10416 | * remote.c (remote_teardown_btrace): Add 'self' argument. | |
10417 | * i386-linux-nat.c (i386_linux_teardown_btrace): Add 'self' | |
10418 | argument. | |
10419 | * amd64-linux-nat.c (amd64_linux_teardown_btrace): Add 'self' | |
10420 | argument. | |
10421 | ||
25e95349 TT |
10422 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
10423 | ||
10424 | * target.h (struct target_ops) <to_disable_btrace>: Add argument. | |
10425 | * target.c (target_disable_btrace): Add argument. | |
10426 | * remote.c (remote_disable_btrace): Add 'self' argument. | |
10427 | * i386-linux-nat.c (i386_linux_disable_btrace): Add 'self' | |
10428 | argument. | |
10429 | * amd64-linux-nat.c (amd64_linux_disable_btrace): Add 'self' | |
10430 | argument. | |
10431 | ||
e3c49f88 TT |
10432 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
10433 | ||
10434 | * target.h (struct target_ops) <to_enable_btrace>: Add argument. | |
10435 | * target.c (target_enable_btrace): Add argument. | |
10436 | * remote.c (remote_enable_btrace): Add 'self' argument. | |
10437 | * i386-linux-nat.c (i386_linux_enable_btrace): Add 'self' | |
10438 | argument. | |
10439 | * amd64-linux-nat.c (amd64_linux_enable_btrace): Add 'self' | |
10440 | argument. | |
10441 | ||
fe38f897 TT |
10442 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
10443 | ||
10444 | * target.h (struct target_ops) <to_can_use_agent>: Add argument. | |
10445 | (target_can_use_agent): Add argument. | |
10446 | * target.c (update_current_target): Update. | |
10447 | * remote.c (remote_can_use_agent): Add 'self' argument. | |
10448 | * inf-child.c (inf_child_can_use_agent): Add 'self' argument. | |
10449 | ||
2c152180 TT |
10450 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
10451 | ||
10452 | * target.h (struct target_ops) <to_use_agent>: Add argument. | |
10453 | (target_use_agent): Add argument. | |
10454 | * target.c (update_current_target): Update. | |
10455 | * remote.c (remote_use_agent): Add 'self' argument. | |
10456 | * inf-child.c (inf_child_use_agent): Add 'self' argument. | |
10457 | ||
a893e81f TT |
10458 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
10459 | ||
10460 | * tracepoint.c (tfile_traceframe_info): Add 'self' argument. | |
10461 | * target.h (struct target_ops) <to_traceframe_info>: Add argument. | |
10462 | (target_traceframe_info): Add argument. | |
10463 | * target.c (update_current_target): Update. | |
10464 | * remote.c (remote_traceframe_info): Add 'self' argument. | |
10465 | * ctf.c (ctf_traceframe_info): Add 'self' argument. | |
10466 | ||
c686c57f TT |
10467 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
10468 | ||
10469 | * target.h (target_static_tracepoint_markers_by_strid): Add | |
10470 | argument. | |
10471 | (struct target_ops) <to_static_tracepoint_markers_by_strid>: Add | |
10472 | 'self' argument. | |
10473 | * target.c (update_current_target): Update. | |
10474 | * remote.c (struct target_ops) | |
10475 | <to_static_tracepoint_markers_by_strid>: Add 'self' argument. | |
10476 | * linux-nat.c (struct target_ops) | |
10477 | <to_static_tracepoint_markers_by_strid>: Add 'self' argument. | |
10478 | ||
61fc905d TT |
10479 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
10480 | ||
10481 | * target.h (struct target_ops) <to_static_tracepoint_marker_at>: | |
10482 | Add argument. | |
10483 | (target_static_tracepoint_marker_at): Add argument. | |
10484 | * target.c (update_current_target): Update. | |
10485 | * remote.c (remote_static_tracepoint_marker_at): Add 'self' | |
10486 | argument. | |
10487 | ||
c378d69d TT |
10488 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
10489 | ||
10490 | * target.h (struct target_ops) <to_set_permissions>: Add argument. | |
10491 | (target_set_permissions): Add argument. | |
10492 | * target.c (update_current_target): Update. | |
10493 | * remote.c (remote_set_permissions): Add 'self' argument. | |
10494 | (remote_start_remote): Update. | |
10495 | ||
bd7ae0f5 TT |
10496 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
10497 | ||
10498 | * windows-nat.c (windows_get_tib_address): Add 'self' argument. | |
10499 | * target.h (struct target_ops) <to_get_tib_address>: Add argument. | |
10500 | (target_get_tib_address): Add argument. | |
10501 | * target.c (update_current_target): Update. | |
10502 | * remote.c (remote_get_tib_address): Add 'self' argument. | |
10503 | ||
d9e68a2c TT |
10504 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
10505 | ||
10506 | * target.h (struct target_ops) <to_set_trace_notes>: Add argument. | |
10507 | (target_set_trace_notes): Add argument. | |
10508 | * target.c (update_current_target): Update. | |
10509 | * remote.c (remote_set_trace_notes): Add 'self' argument. | |
10510 | ||
4da384be TT |
10511 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
10512 | ||
10513 | * target.h (struct target_ops) <to_set_trace_buffer_size>: Add | |
10514 | argument. | |
10515 | (target_set_trace_buffer_size): Add argument. | |
10516 | * target.c (update_current_target): Update. | |
10517 | * remote.c (remote_set_trace_buffer_size): Add 'self' argument. | |
10518 | ||
736d5b1f TT |
10519 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
10520 | ||
10521 | * target.h (struct target_ops) <to_set_circular_trace_buffer>: Add | |
10522 | argument. | |
10523 | (target_set_circular_trace_buffer): Add argument. | |
10524 | * target.c (update_current_target): Update. | |
10525 | * remote.c (remote_set_circular_trace_buffer): Add 'self' | |
10526 | argument. | |
10527 | ||
37b25738 TT |
10528 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
10529 | ||
10530 | * target.h (struct target_ops) <to_set_disconnected_tracing>: Add | |
10531 | argument. | |
10532 | (target_set_disconnected_tracing): Add argument. | |
10533 | * target.c (update_current_target): Update. | |
10534 | * remote.c (remote_set_disconnected_tracing): Add 'self' argument. | |
10535 | ||
0e67620a TT |
10536 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
10537 | ||
10538 | * target.h (struct target_ops) | |
10539 | <to_get_min_fast_tracepoint_insn_len>: Add argument. | |
10540 | (target_get_min_fast_tracepoint_insn_len): Add argument. | |
10541 | * target.c (update_current_target): Update. | |
10542 | * remote.c (remote_get_min_fast_tracepoint_insn_len): Add 'self' | |
10543 | argument. | |
10544 | ||
88ee6f45 TT |
10545 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
10546 | ||
10547 | * target.h (struct target_ops) <to_get_raw_trace_data>: Add | |
10548 | argument. | |
10549 | (target_get_raw_trace_data): Add argument. | |
10550 | * target.c (update_current_target): Update. | |
10551 | * remote.c (remote_get_raw_trace_data): Add 'self' argument. | |
10552 | ||
181e3713 TT |
10553 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
10554 | ||
10555 | * target.h (struct target_ops) <to_upload_trace_state_variables>: | |
10556 | Add argument. | |
10557 | (target_upload_trace_state_variables): Add argument. | |
10558 | * target.c (update_current_target): Update. | |
10559 | * remote.c (remote_upload_trace_state_variables): Add 'self' | |
10560 | argument. | |
10561 | (remote_start_remote): Update. | |
10562 | ||
ab6617cc TT |
10563 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
10564 | ||
10565 | * target.h (struct target_ops) <to_upload_tracepoints>: Add | |
10566 | argument. | |
10567 | (target_upload_tracepoints): Add argument. | |
10568 | * target.c (update_current_target): Update. | |
10569 | * remote.c (remote_upload_tracepoints): Add 'self' argument. | |
10570 | (remote_start_remote): Update. | |
10571 | ||
dc3decaf TT |
10572 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
10573 | ||
10574 | * target.h (struct target_ops) <to_save_trace_data>: Add argument. | |
10575 | (target_save_trace_data): Add argument. | |
10576 | * target.c (update_current_target): Update. | |
10577 | * remote.c (remote_save_trace_data): Add 'self' argument. | |
10578 | ||
4011015b TT |
10579 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
10580 | ||
10581 | * tracepoint.c (tfile_get_trace_state_variable_value): Add 'self' | |
10582 | argument. | |
10583 | * target.h (struct target_ops) | |
10584 | <to_get_trace_state_variable_value>: Add argument. | |
10585 | (target_get_trace_state_variable_value): Add argument. | |
10586 | * target.c (update_current_target): Update. | |
10587 | * remote.c (remote_get_trace_state_variable_value): Add 'self' | |
10588 | argument. | |
10589 | * ctf.c (ctf_get_trace_state_variable_value): Add 'self' argument. | |
10590 | ||
bd4c6793 TT |
10591 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
10592 | ||
10593 | * tracepoint.c (tfile_trace_find): Add 'self' argument. | |
10594 | * target.h (struct target_ops) <to_trace_find>: Add argument. | |
10595 | (target_trace_find): Add argument. | |
10596 | * target.c (update_current_target): Update. | |
10597 | * remote.c (remote_trace_find): Add 'self' argument. | |
10598 | * ctf.c (ctf_trace_find): Add 'self' argument. | |
10599 | ||
74499f1b TT |
10600 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
10601 | ||
10602 | * target.h (struct target_ops) <to_trace_stop>: Add argument. | |
10603 | (target_trace_stop): Add argument. | |
10604 | * target.c (update_current_target): Update. | |
10605 | * remote.c (remote_trace_stop): Add 'self' argument. | |
10606 | ||
db90e85c TT |
10607 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
10608 | ||
10609 | * tracepoint.c (tfile_get_tracepoint_status): Add 'self' argument. | |
10610 | * target.h (struct target_ops) <to_get_tracepoint_status>: Add | |
10611 | argument. | |
10612 | (target_get_tracepoint_status): Add argument. | |
10613 | * target.c (update_current_target): Update. | |
10614 | * remote.c (remote_get_tracepoint_status): Add 'self' argument. | |
10615 | ||
8bd200f1 TT |
10616 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
10617 | ||
10618 | * tracepoint.c (tfile_get_trace_status): Add 'self' argument. | |
10619 | * target.h (struct target_ops) <to_get_trace_status>: Add | |
10620 | argument. | |
10621 | (target_get_trace_status): Add argument. | |
10622 | * target.c (update_current_target): Update. | |
10623 | * remote.c (remote_get_trace_status): Add 'self' argument. | |
10624 | (remote_start_remote, remote_can_download_tracepoint): Update. | |
10625 | * ctf.c (ctf_get_trace_status): Add 'self' argument. | |
10626 | ||
e2d1aae3 TT |
10627 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
10628 | ||
10629 | * target.h (struct target_ops) <to_trace_start>: Add argument. | |
10630 | (target_trace_start): Add argument. | |
10631 | * target.c (update_current_target): Update. | |
10632 | * remote.c (remote_trace_start): Add 'self' argument. | |
10633 | ||
583f9a86 TT |
10634 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
10635 | ||
10636 | * target.h (struct target_ops) <to_trace_set_readonly_regions>: | |
10637 | Add argument. | |
10638 | (target_trace_set_readonly_regions): Add argument. | |
10639 | * target.c (update_current_target): Update. | |
10640 | * remote.c (remote_trace_set_readonly_regions): Add 'self' | |
10641 | argument. | |
10642 | ||
780b049c TT |
10643 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
10644 | ||
10645 | * target.h (struct target_ops) <to_disable_tracepoint>: Add | |
10646 | argument. | |
10647 | (target_disable_tracepoint): Add argument. | |
10648 | * target.c (update_current_target): Update. | |
10649 | * remote.c (remote_disable_tracepoint): Add 'self' argument. | |
10650 | ||
46670d57 TT |
10651 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
10652 | ||
10653 | * target.h (struct target_ops) <to_enable_tracepoint>: Add | |
10654 | argument. | |
10655 | (target_enable_tracepoint): Add argument. | |
10656 | * target.c (update_current_target): Update. | |
10657 | * remote.c (remote_enable_tracepoint): Add 'self' argument. | |
10658 | ||
559d2b81 TT |
10659 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
10660 | ||
10661 | * target.h (struct target_ops) <to_download_trace_state_variable>: | |
10662 | Add argument. | |
10663 | (target_download_trace_state_variable): Add argument. | |
10664 | * target.c (update_current_target): Update. | |
10665 | * remote.c (remote_download_trace_state_variable): Add 'self' | |
10666 | argument. | |
10667 | ||
a52a8357 TT |
10668 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
10669 | ||
10670 | * target.h (struct target_ops) <to_can_download_tracepoint>: Add | |
10671 | argument. | |
10672 | (target_can_download_tracepoint): Add argument. | |
10673 | * target.c (update_current_target): Update. | |
10674 | * remote.c (remote_can_download_tracepoint): Add 'self' argument. | |
10675 | ||
548f7808 TT |
10676 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
10677 | ||
10678 | * target.h (struct target_ops) <to_download_tracepoint>: Add | |
10679 | argument. | |
10680 | (target_download_tracepoint): Add argument. | |
10681 | * target.c (update_current_target): Update. | |
10682 | * remote.c (remote_download_tracepoint): Add 'self' argument. | |
10683 | ||
ecae04e1 TT |
10684 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
10685 | ||
10686 | * target.h (struct target_ops) <to_trace_init>: Add argument. | |
10687 | (target_trace_init): Add argument. | |
10688 | * target.c (update_current_target): Update. | |
10689 | * remote.c (remote_trace_init): Add 'self' argument. | |
10690 | ||
fab5aa7c TT |
10691 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
10692 | ||
10693 | * target.h (struct target_ops) <to_fileio_readlink>: Add argument. | |
10694 | * target.c (target_fileio_readlink): Add argument. | |
10695 | * remote.c (remote_hostio_readlink): Add 'self' argument. | |
10696 | * inf-child.c (inf_child_fileio_readlink): Add 'self' argument. | |
10697 | ||
dbbca37d TT |
10698 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
10699 | ||
10700 | * target.h (struct target_ops) <to_fileio_unlink>: Add argument. | |
10701 | * target.c (target_fileio_unlink): Add argument. | |
10702 | * remote.c (remote_hostio_unlink): Add 'self' argument. | |
10703 | (remote_file_delete): Update. | |
10704 | * inf-child.c (inf_child_fileio_unlink): Add 'self' argument. | |
10705 | ||
df39ea25 TT |
10706 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
10707 | ||
10708 | * target.h (struct target_ops) <to_fileio_close>: Add argument. | |
10709 | * target.c (target_fileio_close): Add argument. | |
10710 | * remote.c (remote_hostio_close): Add 'self' argument. | |
10711 | (remote_hostio_close_cleanup): Update. | |
10712 | (remote_bfd_iovec_close, remote_file_put, remote_file_get): | |
10713 | Update. | |
10714 | * inf-child.c (inf_child_fileio_close): Add 'self' argument. | |
10715 | ||
a3be983c TT |
10716 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
10717 | ||
10718 | * target.h (struct target_ops) <to_fileio_pread>: Add argument. | |
10719 | * target.c (target_fileio_pread): Add argument. | |
10720 | * remote.c (remote_hostio_pread): Add 'self' argument. | |
10721 | (remote_bfd_iovec_pread, remote_file_get): Update. | |
10722 | * inf-child.c (inf_child_fileio_pread): Add 'self' argument. | |
10723 | ||
0d866f62 TT |
10724 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
10725 | ||
10726 | * target.h (struct target_ops) <to_fileio_pwrite>: Add argument. | |
10727 | * target.c (target_fileio_pwrite): Add argument. | |
10728 | * remote.c (remote_hostio_pwrite): Add 'self' argument. | |
10729 | (remote_file_put): Update. | |
10730 | * inf-child.c (inf_child_fileio_pwrite): Add 'self' argument. | |
10731 | ||
cd897586 TT |
10732 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
10733 | ||
10734 | * target.h (struct target_ops) <to_fileio_open>: Add argument. | |
10735 | * target.c (target_fileio_open): Add argument. | |
10736 | * remote.c (remote_hostio_open): Add 'self' argument. | |
10737 | (remote_bfd_iovec_open): Add 'self' argument. | |
10738 | (remote_file_put): Add 'self' argument. | |
10739 | (remote_file_get): Add 'self' argument. | |
10740 | * inf-child.c (inf_child_fileio_open): Add 'self' argument. | |
10741 | ||
78eff0ec TT |
10742 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
10743 | ||
10744 | * target.h (struct target_ops) <to_can_run_breakpoint_commands>: | |
10745 | Add argument. | |
10746 | (target_can_run_breakpoint_commands): Add argument. | |
10747 | * target.c (update_current_target): Update. | |
10748 | * remote.c (remote_can_run_breakpoint_commands): Add 'self' | |
10749 | argument. | |
10750 | (remote_insert_breakpoint): Add 'self' argument. | |
10751 | (remote_insert_hw_breakpoint): Add 'self' argument. | |
10752 | (remote_can_run_breakpoint_commands): Add 'self' argument. | |
10753 | ||
efcc2da7 TT |
10754 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
10755 | ||
10756 | * target.h (struct target_ops) | |
10757 | <to_supports_evaluation_of_breakpoint_conditions>: Add argument. | |
10758 | (target_supports_evaluation_of_breakpoint_conditions): Add | |
10759 | argument. | |
10760 | * target.c (update_current_target): Update. | |
10761 | * remote.c (remote_supports_cond_breakpoints): Add 'self' | |
10762 | argument. | |
10763 | (remote_insert_breakpoint): Add 'self' argument. | |
10764 | (remote_insert_hw_breakpoint): Add 'self' argument. | |
10765 | (remote_supports_cond_breakpoints): Add 'self' argument. | |
10766 | ||
6de37a3a TT |
10767 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
10768 | ||
10769 | * target.h (struct target_ops) <to_supports_string_tracing>: Add | |
10770 | argument. | |
10771 | (target_supports_string_tracing): Add argument. | |
10772 | * target.c (update_current_target): Update. | |
10773 | * remote.c (remote_supports_string_tracing): Add 'self' argument. | |
10774 | ||
2bfc0540 TT |
10775 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
10776 | ||
10777 | * target.h (struct target_ops) | |
10778 | <to_supports_disable_randomization>: Add argument. | |
10779 | * target.c (find_default_supports_disable_randomization): Add | |
10780 | argument. | |
10781 | (target_supports_disable_randomization): Add argument. | |
10782 | (find_default_supports_disable_randomization): Add 'self' | |
10783 | argument. | |
10784 | * remote.c (extended_remote_supports_disable_randomization): Add | |
10785 | 'self' argument. | |
10786 | (remote_supports_disable_randomization): Add 'self' argument. | |
10787 | (extended_remote_create_inferior): Update. | |
10788 | * linux-nat.c (linux_nat_supports_disable_randomization): Add | |
10789 | 'self' argument. | |
10790 | ||
7d178d6a TT |
10791 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
10792 | ||
10793 | * target.h (struct target_ops) | |
10794 | <to_supports_enable_disable_tracepoint>: Add argument. | |
10795 | (target_supports_enable_disable_tracepoint): Add argument. | |
10796 | * target.c (update_current_target): Update. | |
10797 | * remote.c (remote_supports_enable_disable_tracepoint): Add 'self' | |
10798 | argument. | |
10799 | ||
86ce2668 TT |
10800 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
10801 | ||
10802 | * target.h (struct target_ops) <to_supports_multi_process>: Add | |
10803 | argument. | |
10804 | (target_supports_multi_process): Add argument. | |
10805 | * target.c (update_current_target): Update. | |
10806 | * remote.c (remote_supports_multi_process): Add 'self' argument. | |
10807 | * linux-nat.c (linux_nat_supports_multi_process): Add 'self' | |
10808 | argument. | |
10809 | * darwin-nat.c (darwin_supports_multi_process): Add 'self' | |
10810 | argument. | |
10811 | ||
4c612759 TT |
10812 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
10813 | ||
10814 | * target.h (struct target_ops) <to_execution_direction>: Add | |
10815 | argument. | |
10816 | (target_execution_direction): Add argument. | |
10817 | * target.c (default_execution_direction): Add 'self' argument. | |
10818 | * record-full.c (record_full_execution_direction): Add 'self' | |
10819 | argument. | |
10820 | ||
19db3e69 TT |
10821 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
10822 | ||
10823 | * target.h (struct target_ops) <to_can_execute_reverse>: Add | |
10824 | argument. | |
10825 | (target_can_execute_reverse): Add argument. | |
10826 | * remote.c (remote_can_execute_reverse): Add 'self' argument. | |
10827 | * record-full.c (record_full_can_execute_reverse): Add 'self' | |
10828 | argument. | |
10829 | * record-btrace.c (record_btrace_can_execute_reverse): Add 'self' | |
10830 | argument. | |
10831 | ||
1e6b91a4 TT |
10832 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
10833 | ||
10834 | * windows-nat.c (windows_get_ada_task_ptid): Add 'self' argument. | |
10835 | * target.h (struct target_ops) <to_get_ada_task_ptid>: Add | |
10836 | argument. | |
10837 | (target_get_ada_task_ptid): Add argument. | |
10838 | * target.c (update_current_target): Update. | |
10839 | (default_get_ada_task_ptid): Add 'self' argument. | |
10840 | * sol-thread.c (sol_get_ada_task_ptid): Add 'self' argument. | |
10841 | * remote.c (remote_get_ada_task_ptid): Add 'self' argument. | |
10842 | * ravenscar-thread.c (ravenscar_get_ada_task_ptid): Add 'self' | |
10843 | argument. | |
10844 | * linux-thread-db.c (thread_db_get_ada_task_ptid): Add 'self' | |
10845 | argument. | |
10846 | * inf-ttrace.c (inf_ttrace_get_ada_task_ptid): Add 'self' | |
10847 | argument. | |
10848 | * dec-thread.c (dec_thread_get_ada_task_ptid): Add 'self' | |
10849 | argument. | |
10850 | * darwin-nat.c (darwin_get_ada_task_ptid): Add 'self' argument. | |
10851 | * aix-thread.c (aix_thread_get_ada_task_ptid): Add 'self' | |
10852 | argument. | |
10853 | ||
3c80fb48 TT |
10854 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
10855 | ||
10856 | * target.h (struct target_ops) <to_goto_bookmark>: Add argument. | |
10857 | (target_goto_bookmark): Add argument. | |
10858 | * target.c (dummy_goto_bookmark): Add 'self' argument. | |
10859 | * record-full.c (record_full_goto_bookmark): Add 'self' argument. | |
10860 | ||
dd0e2830 TT |
10861 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
10862 | ||
10863 | * target.h (struct target_ops) <to_get_bookmark>: Add argument. | |
10864 | (target_get_bookmark): Add argument. | |
10865 | * target.c (dummy_get_bookmark): Add 'self' argument. | |
10866 | * record-full.c (record_full_get_bookmark): Add 'self' argument. | |
10867 | ||
fc6691b2 TT |
10868 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
10869 | ||
10870 | * target.h (struct target_ops) <to_make_corefile_notes>: Add | |
10871 | argument. | |
10872 | (target_make_corefile_notes): Add argument. | |
10873 | * target.c (dummy_make_corefile_notes): Add 'self' argument. | |
10874 | * procfs.c (procfs_make_note_section): Add 'self' argument. | |
10875 | (procfs_make_note_section): Add 'self' argument. | |
10876 | (procfs_make_note_section): Add 'self' argument. | |
10877 | * linux-nat.c (linux_nat_make_corefile_notes): Add 'self' | |
10878 | argument. | |
10879 | * fbsd-nat.h (fbsd_make_corefile_notes): Add 'self' argument. | |
10880 | * fbsd-nat.c (fbsd_make_corefile_notes): Add 'self' argument. | |
10881 | * exec.c (exec_make_note_section): Add 'self' argument. | |
10882 | (exec_make_note_section): Add 'self' argument. | |
10883 | ||
2e73927c TT |
10884 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
10885 | ||
10886 | * target.h (struct target_ops) <to_find_memory_regions>: Add | |
10887 | argument. | |
10888 | (target_find_memory_regions): Add argument. | |
10889 | * target.c (dummy_find_memory_regions): Add 'self' argument. | |
10890 | * procfs.c (proc_find_memory_regions): Add 'self' argument. | |
10891 | * gnu-nat.c (gnu_find_memory_regions): Add 'self' argument. | |
10892 | * fbsd-nat.h (fbsd_find_memory_regions): Add 'self' argument. | |
10893 | * fbsd-nat.c (fbsd_find_memory_regions): Add 'self' argument. | |
10894 | * exec. (exec_do_find_memory_regions): New global. | |
10895 | (exec_set_find_memory_regions): Rewrite. | |
10896 | (exec_find_memory_regions): New function. | |
10897 | (init_exec_ops): Use exec_find_memory_regions. | |
10898 | ||
2a9a2795 TT |
10899 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
10900 | ||
10901 | * target.h (struct target_ops) <to_supports_non_stop>: Add | |
10902 | argument. | |
10903 | * target.c (find_default_supports_non_stop): Add argument. | |
10904 | (target_supports_non_stop): Add argument. | |
10905 | (find_default_supports_non_stop): Add 'self' argument. | |
10906 | * remote.c (remote_supports_non_stop): Add 'self' argument. | |
10907 | * linux-nat.c (linux_nat_supports_non_stop): Add 'self' argument. | |
10908 | ||
4ab76ea3 TT |
10909 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
10910 | ||
10911 | * target.h (struct target_ops) <to_log_command>: Add argument. | |
10912 | (target_log_command): Add argument. | |
10913 | * serial.h (serial_log_command): Add 'self' argument. | |
10914 | * serial.c (serial_log_command): Add 'self' argument. | |
10915 | ||
8dd27370 TT |
10916 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
10917 | ||
10918 | * windows-nat.c (windows_pid_to_exec_file): Add 'self' argument. | |
10919 | * target.h (struct target_ops) <to_pid_to_exec_file>: Add | |
10920 | argument. | |
10921 | (target_pid_to_exec_file): Add argument. | |
10922 | * target.c (debug_to_pid_to_exec_file): Add argument. | |
10923 | (update_current_target): Update. | |
10924 | * nbsd-nat.h (nbsd_pid_to_exec_file): Add 'self' argument. | |
10925 | * nbsd-nat.c (nbsd_pid_to_exec_file): Add 'self' argument. | |
10926 | * linux-nat.c (linux_child_pid_to_exec_file): Add 'self' argument. | |
10927 | (linux_handle_extended_wait): Update. | |
10928 | * inf-child.c (inf_child_pid_to_exec_file): Add 'self' argument. | |
10929 | * fbsd-nat.h (fbsd_pid_to_exec_file): Add 'self' argument. | |
10930 | * fbsd-nat.c (fbsd_pid_to_exec_file): Add 'self' argument. | |
10931 | * darwin-nat.c (darwin_pid_to_exec_file): Add 'self' argument. | |
10932 | ||
1aac633b TT |
10933 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
10934 | ||
10935 | * target.h (struct target_ops) <to_rcmd>: Add argument. | |
10936 | (target_rcmd): Add argument. | |
10937 | * target.c (debug_to_rcmd): Add argument. | |
10938 | (update_current_target, do_monitor_command): Update. | |
10939 | * remote.c (remote_rcmd): Add 'self' argument. | |
10940 | * monitor.c (monitor_rcmd): Add 'self' argument. | |
10941 | ||
1eab8a48 TT |
10942 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
10943 | ||
10944 | * windows-nat.c (windows_stop): Add 'self' argument. | |
10945 | * target.h (struct target_ops) <to_stop>: Add argument. | |
10946 | * target.c (target_stop): Add argument. | |
10947 | (debug_to_stop): Add argument. | |
10948 | (update_current_target): Update. | |
10949 | * remote.c (remote_stop): Add 'self' argument. | |
10950 | * remote-sim.c (gdbsim_stop): Add 'self' argument. | |
10951 | (gdbsim_cntrl_c): Update. | |
10952 | * remote-m32r-sdi.c (m32r_stop): Add 'self' argument. | |
10953 | * procfs.c (procfs_stop): Add 'self' argument. | |
10954 | * nto-procfs.c (procfs_stop): Add 'self' argument. | |
10955 | * monitor.c (monitor_stop): Add 'self' argument. | |
10956 | (monitor_open): Update. | |
10957 | * linux-nat.c (linux_nat_stop): Add argument. | |
10958 | * inf-ptrace.c (inf_ptrace_stop): Add 'self' argument. | |
10959 | * gnu-nat.c (gnu_stop): Add 'self' argument. | |
10960 | * darwin-nat.c (darwin_stop): Add 'self' argument. | |
10961 | ||
503a628d TT |
10962 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
10963 | ||
10964 | * target.h (struct target_ops) <to_thread_name>: Add argument. | |
10965 | * target.c (target_thread_name): Add argument. | |
10966 | (update_current_target): Update. | |
10967 | * linux-nat.c (linux_nat_thread_name): Add 'self' argument. | |
10968 | ||
c15906d8 TT |
10969 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
10970 | ||
10971 | * target.h (struct target_ops) <to_extra_thread_info>: Add | |
10972 | argument. | |
10973 | (target_extra_thread_info): Add argument. | |
10974 | * target.c (update_current_target): Update. | |
10975 | * remote.c (remote_threads_extra_info): Add 'self' argument. | |
10976 | * ravenscar-thread.c (ravenscar_extra_thread_info): Add 'self' | |
10977 | argument. | |
10978 | * nto-tdep.h (nto_extra_thread_info): Add 'self' argument. | |
10979 | * nto-tdep.c (nto_extra_thread_info): Add 'self' argument. | |
10980 | * linux-thread-db.c (thread_db_extra_thread_info): Add 'self' | |
10981 | argument. | |
10982 | * inf-ttrace.c (inf_ttrace_extra_thread_info): Add 'self' | |
10983 | argument. | |
10984 | * bsd-uthread.c (bsd_uthread_extra_thread_info): Add 'self' | |
10985 | argument. | |
10986 | * aix-thread.c (aix_thread_extra_thread_info): Add 'self' | |
10987 | argument. | |
10988 | ||
daf5e9b6 TT |
10989 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
10990 | ||
10991 | * target.h (struct target_ops) <to_program_signals>: Add argument. | |
10992 | * target.c (target_program_signals): Add argument. | |
10993 | * remote.c (remote_program_signals): Add 'self' argument. | |
10994 | ||
94bedb42 TT |
10995 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
10996 | ||
10997 | * target.h (struct target_ops) <to_pass_signals>: Add argument. | |
10998 | * target.c (target_pass_signals): Add argument. | |
10999 | * remote.c (remote_pass_signals): Add 'self' argument. | |
11000 | (remote_start_remote): Update. | |
11001 | * procfs.c (procfs_pass_signals): Add 'self' argument. | |
11002 | * nto-procfs.c (procfs_pass_signals): Add 'self' argument. | |
11003 | * linux-nat.c (linux_nat_pass_signals): Add 'self' argument. | |
11004 | (linux_nat_create_inferior, linux_nat_attach): Update. | |
11005 | ||
da82bd6b TT |
11006 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
11007 | ||
11008 | * windows-nat.c (windows_can_run): Add 'self' argument. | |
11009 | * target.h (struct target_ops) <to_can_run>: Add argument. | |
11010 | (target_can_run): Add argument. | |
11011 | * target.c (debug_to_can_run): Add argument. | |
11012 | (update_current_target): Update. | |
11013 | * nto-procfs.c (procfs_can_run): Add 'self' argument. | |
11014 | * inf-child.c (inf_child_can_run): Add 'self' argument. | |
11015 | * go32-nat.c (go32_can_run): Add 'self' argument. | |
11016 | ||
d796e1d6 TT |
11017 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
11018 | ||
11019 | * target.h (struct target_ops) <to_has_exited>: Add argument. | |
11020 | (target_has_exited): Add argument. | |
11021 | * target.c (debug_to_has_exited): Add argument. | |
11022 | (update_current_target): Update. | |
11023 | ||
ff214e67 TT |
11024 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
11025 | ||
11026 | * target.h (struct target_ops) <to_set_syscall_catchpoint>: Add | |
11027 | argument. | |
11028 | (target_set_syscall_catchpoint): Add argument. | |
11029 | * linux-nat.c (linux_child_set_syscall_catchpoint): Add 'self' | |
11030 | argument. | |
11031 | * target.c (update_current_target): Update. | |
11032 | ||
758e29d2 TT |
11033 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
11034 | ||
11035 | * target.h (struct target_ops) <to_remove_exec_catchpoint>: Add | |
11036 | argument. | |
11037 | (target_remove_exec_catchpoint): Add argument. | |
11038 | * target.c (debug_to_remove_exec_catchpoint): Add argument. | |
11039 | (update_current_target): Update. | |
11040 | * linux-nat.c (linux_child_remove_exec_catchpoint): Add 'self' | |
11041 | argument. | |
11042 | ||
ba025e51 TT |
11043 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
11044 | ||
11045 | * target.h (struct target_ops) <to_insert_exec_catchpoint>: Add | |
11046 | argument. | |
11047 | (target_insert_exec_catchpoint): Add argument. | |
11048 | * target.c (debug_to_insert_exec_catchpoint): Add argument. | |
11049 | (update_current_target): Update. | |
11050 | * linux-nat.c (linux_child_insert_exec_catchpoint): Add 'self' | |
11051 | argument. | |
11052 | ||
e98cf0cd TT |
11053 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
11054 | ||
11055 | * target.h (struct target_ops) <to_remove_vfork_catchpoint>: Add | |
11056 | argument. | |
11057 | (target_remove_vfork_catchpoint): Add argument. | |
11058 | * target.c (debug_to_remove_vfork_catchpoint): Add argument. | |
11059 | (update_current_target): Update. | |
11060 | * linux-nat.c (linux_child_remove_vfork_catchpoint): Add 'self' | |
11061 | argument. | |
11062 | ||
3ecc7da0 TT |
11063 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
11064 | ||
11065 | * target.h (struct target_ops) <to_insert_vfork_catchpoint>: Add | |
11066 | argument. | |
11067 | (target_insert_vfork_catchpoint): Add argument. | |
11068 | * target.c (debug_to_insert_vfork_catchpoint): Add argument. | |
11069 | (update_current_target): Update. | |
11070 | * linux-nat.c (linux_child_insert_vfork_catchpoint): Add 'self' | |
11071 | argument. | |
11072 | ||
973fc227 TT |
11073 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
11074 | ||
11075 | * target.h (struct target_ops) <to_remove_fork_catchpoint>: Add | |
11076 | argument. | |
11077 | (target_remove_fork_catchpoint): Add argument. | |
11078 | * target.c (debug_to_remove_fork_catchpoint): Add argument. | |
11079 | (update_current_target): Update. | |
11080 | * linux-nat.c (linux_child_remove_fork_catchpoint): Add 'self' | |
11081 | argument. | |
11082 | ||
a863b201 TT |
11083 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
11084 | ||
11085 | * target.h (struct target_ops) <to_insert_fork_catchpoint>: Add | |
11086 | argument. | |
11087 | (target_insert_fork_catchpoint): Add argument. | |
11088 | * target.c (debug_to_insert_fork_catchpoint): Add argument. | |
11089 | (update_current_target): Update. | |
11090 | * linux-nat.c (linux_child_insert_fork_catchpoint): Add 'self' | |
11091 | argument. | |
11092 | ||
2e97a79e TT |
11093 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
11094 | ||
11095 | * target.h (struct target_ops) <to_post_startup_inferior>: Add | |
11096 | argument. | |
11097 | (target_post_startup_inferior): Add argument. | |
11098 | * target.c (debug_to_post_startup_inferior): Add argument. | |
11099 | (update_current_target): Update. | |
11100 | * spu-linux-nat.c (spu_child_post_startup_inferior): Add 'self' | |
11101 | argument. | |
11102 | * linux-nat.c (linux_child_post_startup_inferior): Add 'self' | |
11103 | argument. | |
11104 | * inf-ptrace.c (inf_ptrace_post_startup_inferior): Add 'self' | |
11105 | argument. | |
11106 | * inf-child.c (inf_child_post_startup_inferior): Add 'self' | |
11107 | argument. | |
11108 | * i386-linux-nat.c (i386_linux_child_post_startup_inferior): Add | |
11109 | 'self' argument. | |
11110 | (super_post_startup_inferior): Likewise. | |
11111 | * amd64-linux-nat.c (amd64_linux_child_post_startup_inferior): Add | |
11112 | 'self' argument. | |
11113 | (super_post_startup_inferior): Likewise. | |
11114 | * aarch64-linux-nat.c (aarch64_linux_child_post_startup_inferior): | |
11115 | Add 'self' argument. | |
11116 | (super_post_startup_inferior): Likewise. | |
11117 | ||
71a9f134 TT |
11118 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
11119 | ||
11120 | * target.h (struct target_ops) <to_load>: Add argument. | |
11121 | * target.c (target_load): Add argument. | |
11122 | (debug_to_load): Add argument. | |
11123 | (update_current_target): Update. | |
11124 | * remote.c (remote_load): Add 'self' argument. | |
11125 | * remote-sim.c (gdbsim_load): Add 'self' argument. | |
11126 | * remote-mips.c (mips_load): Add 'self' argument. | |
11127 | * remote-m32r-sdi.c (m32r_load): Add 'self' argument. | |
11128 | * monitor.c (monitor_load): Add 'self' argument. | |
11129 | * m32r-rom.c (m32r_load_gen): Add 'self' argument. | |
11130 | ||
0a4f40a2 TT |
11131 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
11132 | ||
11133 | * target.h (struct target_ops) <to_terminal_info>: Add argument. | |
11134 | (target_terminal_info): Add argument. | |
11135 | * target.c (debug_to_terminal_info): Add argument. | |
11136 | (default_terminal_info): Likewise. | |
11137 | * inflow.c (child_terminal_info): Add 'self' argument. | |
11138 | * inferior.h (child_terminal_info): Add 'self' argument. | |
11139 | * go32-nat.c (go32_terminal_info): Add 'self' argument. | |
11140 | ||
ae3bd431 TT |
11141 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
11142 | ||
11143 | * target.h (struct target_ops) <to_terminal_save_ours>: Add | |
11144 | argument. | |
11145 | (target_terminal_save_ours): Add argument. | |
11146 | * target.c (debug_to_terminal_save_ours): Add argument. | |
11147 | (update_current_target): Update. | |
11148 | * inflow.c (terminal_save_ours): Add 'self' argument. | |
11149 | * inferior.h (terminal_save_ours): Add 'self' argument. | |
11150 | ||
e3594fd1 TT |
11151 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
11152 | ||
11153 | * target.h (struct target_ops) <to_terminal_ours>: Add argument. | |
11154 | (target_terminal_ours): Add argument. | |
11155 | * target.c (debug_to_terminal_ours): Add argument. | |
11156 | (update_current_target): Update. | |
11157 | * remote.c (remote_terminal_ours): Add 'self' argument. | |
11158 | (remote_close): Update. | |
11159 | * linux-nat.c (linux_nat_terminal_ours): Add 'self' argument. | |
11160 | * inflow.c (terminal_ours): Add 'self' argument. | |
11161 | * inferior.h (terminal_ours): Add 'self' argument. | |
11162 | * go32-nat.c (go32_terminal_ours): Add 'self' argument. | |
11163 | ||
2e1e1a19 TT |
11164 | 2014-02-19 Pedro Alves <palves@redhat.com> |
11165 | Tom Tromey <tromey@redhat.com> | |
11166 | ||
11167 | * target.h (struct target_ops) <to_terminal_ours_for_output>: Add | |
11168 | argument. | |
11169 | (target_terminal_ours_for_output): Add argument. | |
11170 | * target.c (debug_to_terminal_ours_for_output): Add argument. | |
11171 | (update_current_target): Update. | |
11172 | * inflow.c (terminal_ours_for_output): Add 'self' argument. | |
11173 | * inferior.h (terminal_ours_for_output): Add 'self' argument. | |
11174 | * go32-nat.c (go32_terminal_ours): Add 'self' argument. | |
11175 | ||
d2f640d4 TT |
11176 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
11177 | ||
11178 | * target.h (struct target_ops) <to_terminal_inferior>: Add | |
11179 | argument. | |
11180 | * target.c (target_terminal_inferior): Add argument. | |
11181 | (update_current_target): Update. | |
11182 | * remote.c (remote_terminal_inferior): Add 'self' argument. | |
11183 | * linux-nat.c (linux_nat_terminal_inferior): Add 'self' argument. | |
11184 | * inflow.c (terminal_inferior): Add 'self' argument. | |
11185 | * inferior.h (terminal_inferior): Add 'self' argument. | |
11186 | * go32-nat.c (go32_terminal_inferior): Add 'self' argument. | |
11187 | (go32_terminal_inferior): Add 'self' argument. | |
11188 | ||
c42bf286 TT |
11189 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
11190 | ||
11191 | * target.h (struct target_ops) <to_terminal_init>: Add argument. | |
11192 | (target_terminal_init): Add argument. | |
11193 | * target.c (debug_to_terminal_init): Add argument. | |
11194 | (update_current_target): Update. | |
11195 | * inflow.c (terminal_init_inferior): Add 'self' argument. | |
11196 | * inferior.h (terminal_init_inferior): Add 'self' argument. | |
11197 | * go32-nat.c (go32_terminal_init): Add 'self' argument. | |
11198 | * gnu-nat.c (gnu_terminal_init_inferior): Add 'self' argument. | |
11199 | ||
c3a5ff89 TT |
11200 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
11201 | ||
11202 | * target.h (struct target_ops) | |
11203 | <to_can_accel_watchpoint_condition>: Add argument. | |
11204 | (target_can_accel_watchpoint_condition): Add argument. | |
11205 | * target.c (debug_to_can_accel_watchpoint_condition): Add | |
11206 | argument. | |
11207 | (update_current_target): Update. | |
11208 | * ppc-linux-nat.c (ppc_linux_can_accel_watchpoint_condition): Add | |
11209 | 'self' argument. | |
11210 | ||
31568a15 TT |
11211 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
11212 | ||
11213 | * target.h (struct target_ops) <to_region_ok_for_hw_watchpoint>: | |
11214 | Add argument. | |
11215 | (target_region_ok_for_hw_watchpoint): Add argument. | |
11216 | * target.c (debug_to_region_ok_for_hw_watchpoint): Add argument. | |
11217 | (default_region_ok_for_hw_watchpoint): Add argument. | |
11218 | * spu-multiarch.c (spu_region_ok_for_hw_watchpoint): Add argument. | |
11219 | * s390-linux-nat.c (s390_region_ok_for_hw_watchpoint): Add 'self' | |
11220 | argument. | |
11221 | * remote.c (remote_region_ok_for_hw_watchpoint): Add 'self' | |
11222 | argument. | |
11223 | * procfs.c (procfs_region_ok_for_hw_watchpoint): Add 'self' | |
11224 | argument. | |
11225 | * ppc-linux-nat.c (ppc_linux_region_ok_for_hw_watchpoint): Add | |
11226 | 'self' argument. | |
11227 | * mips-linux-nat.c (mips_linux_region_ok_for_hw_watchpoint): Add | |
11228 | 'self' argument. | |
11229 | * inf-ttrace.c (inf_ttrace_region_ok_for_hw_watchpoint): Add | |
11230 | 'self' argument. | |
11231 | * i386-nat.c (i386_region_ok_for_watchpoint): Add 'self' argument. | |
11232 | * arm-linux-nat.c (arm_linux_region_ok_for_hw_watchpoint): Add | |
11233 | 'self' argument. | |
11234 | * aarch64-linux-nat.c (aarch64_linux_region_ok_for_hw_watchpoint): | |
11235 | Add 'self' argument. | |
11236 | ||
7bb99c53 TT |
11237 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
11238 | ||
11239 | * target.h (struct target_ops) <to_insert_watchpoint>: Add | |
11240 | argument. | |
11241 | (target_insert_watchpoint): Add argument. | |
11242 | * target.c (debug_to_insert_watchpoint): Add argument. | |
11243 | (update_current_target): Update. | |
11244 | * s390-linux-nat.c (s390_insert_watchpoint): Add 'self' argument. | |
11245 | * remote.c (remote_insert_watchpoint): Add 'self' argument. | |
11246 | * remote-mips.c (mips_insert_watchpoint): Add 'self' argument. | |
11247 | * remote-m32r-sdi.c (m32r_insert_watchpoint): Add 'self' argument. | |
11248 | * procfs.c (procfs_insert_watchpoint): Add 'self' argument. | |
11249 | * ppc-linux-nat.c (ppc_linux_insert_watchpoint): Add 'self' | |
11250 | argument. | |
11251 | * nto-procfs.c (procfs_insert_hw_watchpoint): Add 'self' argument. | |
11252 | (procfs_insert_hw_watchpoint): Add 'self' argument. | |
11253 | * mips-linux-nat.c (mips_linux_insert_watchpoint): Add 'self' | |
11254 | argument. | |
11255 | * inf-ttrace.c (inf_ttrace_insert_watchpoint): Add 'self' | |
11256 | argument. | |
11257 | * ia64-linux-nat.c (ia64_linux_insert_watchpoint): Add 'self' | |
11258 | argument. | |
11259 | * i386-nat.c (i386_insert_watchpoint): Add 'self' argument. | |
11260 | * arm-linux-nat.c (arm_linux_insert_watchpoint): Add 'self' | |
11261 | argument. | |
11262 | * aarch64-linux-nat.c (aarch64_linux_insert_watchpoint): Add | |
11263 | 'self' argument. | |
11264 | ||
11b5219a TT |
11265 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
11266 | ||
11267 | * target.h (struct target_ops) <to_remove_watchpoint>: Add | |
11268 | argument. | |
11269 | (target_remove_watchpoint): Add argument. | |
11270 | * target.c (debug_to_remove_watchpoint): Add argument. | |
11271 | (update_current_target): Update. | |
11272 | * s390-linux-nat.c (s390_remove_watchpoint): Add 'self' argument. | |
11273 | * remote.c (remote_remove_watchpoint): Add 'self' argument. | |
11274 | * remote-mips.c (mips_remove_watchpoint): Add 'self' argument. | |
11275 | * remote-m32r-sdi.c (m32r_remove_watchpoint): Add 'self' argument. | |
11276 | * procfs.c (procfs_remove_watchpoint): Add 'self' argument. | |
11277 | * ppc-linux-nat.c (ppc_linux_remove_watchpoint): Add 'self' | |
11278 | argument. | |
11279 | * nto-procfs.c (procfs_remove_hw_watchpoint): Add 'self' argument. | |
11280 | * mips-linux-nat.c (mips_linux_remove_watchpoint): Add 'self' | |
11281 | argument. | |
11282 | * inf-ttrace.c (inf_ttrace_remove_watchpoint): Add 'self' | |
11283 | argument. | |
11284 | * ia64-linux-nat.c (ia64_linux_remove_watchpoint): Add 'self' | |
11285 | argument. | |
11286 | * i386-nat.c (i386_remove_watchpoint): Add 'self' argument. | |
11287 | * arm-linux-nat.c (arm_linux_remove_watchpoint): Add 'self' | |
11288 | argument. | |
11289 | * aarch64-linux-nat.c (aarch64_linux_remove_watchpoint): Add | |
11290 | 'self' argument. | |
11291 | ||
a64dc96c TT |
11292 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
11293 | ||
11294 | * target.h (struct target_ops) <to_remove_hw_breakpoint>: Add | |
11295 | argument. | |
11296 | (target_remove_hw_breakpoint): Add argument. | |
11297 | * target.c (debug_to_remove_hw_breakpoint): Add argument. | |
11298 | (update_current_target): Update. | |
11299 | * remote.c (remote_remove_hw_breakpoint): Add 'self' argument. | |
11300 | * ppc-linux-nat.c (ppc_linux_remove_hw_breakpoint): Add 'self' | |
11301 | argument. | |
11302 | * i386-nat.c (i386_remove_hw_breakpoint): Add 'self' argument. | |
11303 | * arm-linux-nat.c (arm_linux_remove_hw_breakpoint): Add 'self' | |
11304 | argument. | |
11305 | * aarch64-linux-nat.c (aarch64_linux_remove_hw_breakpoint): Add | |
11306 | 'self' argument. | |
11307 | ||
23a26771 TT |
11308 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
11309 | ||
11310 | * target.h (struct target_ops) <to_insert_hw_breakpoint>: Add | |
11311 | argument. | |
11312 | (target_insert_hw_breakpoint): Add argument. | |
11313 | * target.c (debug_to_insert_hw_breakpoint): Add argument. | |
11314 | (update_current_target): Update. | |
11315 | * remote.c (remote_insert_hw_breakpoint): Add 'self' argument. | |
11316 | * ppc-linux-nat.c (ppc_linux_insert_hw_breakpoint): Add 'self' | |
11317 | argument. | |
11318 | * nto-procfs.c (procfs_insert_hw_breakpoint): Add 'self' argument. | |
11319 | * i386-nat.c (i386_insert_hw_breakpoint): Add 'self' argument. | |
11320 | * arm-linux-nat.c (arm_linux_insert_hw_breakpoint): Add 'self' | |
11321 | argument. | |
11322 | * aarch64-linux-nat.c (aarch64_linux_insert_hw_breakpoint): Add | |
11323 | 'self' argument. | |
11324 | ||
5461485a TT |
11325 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
11326 | ||
11327 | * target.h (struct target_ops) <to_can_use_hw_breakpoint>: Add | |
11328 | argument. | |
11329 | (target_can_use_hardware_watchpoint): Add argument. | |
11330 | * target.c (debug_to_can_use_hw_breakpoint): Add argument. | |
11331 | (update_current_target): Update. | |
11332 | * spu-linux-nat.c (spu_can_use_hw_breakpoint): Add 'self' | |
11333 | argument. | |
11334 | * s390-linux-nat.c (s390_can_use_hw_breakpoint): Add 'self' | |
11335 | argument. | |
11336 | * remote.c (remote_check_watch_resources): Add 'self' argument. | |
11337 | * remote-mips.c (mips_can_use_watchpoint): Add 'self' argument. | |
11338 | * remote-m32r-sdi.c (m32r_can_use_hw_watchpoint): Add 'self' | |
11339 | argument. | |
11340 | * procfs.c (procfs_can_use_hw_breakpoint): Add 'self' argument. | |
11341 | * ppc-linux-nat.c (ppc_linux_can_use_hw_breakpoint): Add 'self' | |
11342 | argument. | |
11343 | * nto-procfs.c (procfs_can_use_hw_breakpoint): Add 'self' | |
11344 | argument. | |
11345 | * mips-linux-nat.c (mips_linux_can_use_hw_breakpoint): Add 'self' | |
11346 | argument. | |
11347 | * inf-ttrace.c (inf_ttrace_can_use_hw_breakpoint): Add 'self' | |
11348 | argument. | |
11349 | * ia64-linux-nat.c (ia64_linux_can_use_hw_breakpoint): Add 'self' | |
11350 | argument. | |
11351 | * ia64-hpux-nat.c (ia64_hpux_can_use_hw_breakpoint): Add 'self' | |
11352 | argument. | |
11353 | * i386-nat.c (i386_can_use_hw_breakpoint): Add 'self' argument. | |
11354 | * arm-linux-nat.c (arm_linux_can_use_hw_breakpoint): Add 'self' | |
11355 | argument. | |
11356 | * aarch64-linux-nat.c (aarch64_linux_can_use_hw_breakpoint): Add | |
11357 | 'self' argument. | |
11358 | ||
f045800c TT |
11359 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
11360 | ||
11361 | * target.h (struct target_ops) <to_post_attach>: Add argument. | |
11362 | (target_post_attach): Add argument. | |
11363 | * target.c (debug_to_post_attach): Add argument. | |
11364 | (update_current_target): Update. | |
11365 | * spu-linux-nat.c (spu_child_post_attach): Add 'self' argument. | |
11366 | * nto-procfs.c (procfs_post_attach): Add 'self' argument. | |
11367 | * linux-nat.c (linux_child_post_attach): Add 'self' argument. | |
11368 | * inf-ptrace.c (inf_ptrace_post_attach): Add 'self' argument. | |
11369 | * inf-child.c (inf_child_post_attach): Add 'self' argument. | |
11370 | ||
de90e03d TT |
11371 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
11372 | ||
11373 | * windows-nat.c (windows_close): Add 'self' argument. | |
11374 | * tracepoint.c (tfile_close): Add 'self' argument. | |
11375 | * target.h (struct target_ops) <to_close>: Add argument. | |
11376 | * target.c (target_close): Add argument. | |
11377 | (update_current_target): Update. | |
11378 | * remote.c (remote_close): Add 'self' argument. | |
11379 | * remote-sim.c (gdbsim_close): Add 'self' argument. | |
11380 | * remote-mips.c (mips_close): Add 'self' argument. | |
11381 | * remote-m32r-sdi.c (m32r_close): Add 'self' argument. | |
11382 | * record-full.c (record_full_close): Add 'self' argument. | |
11383 | * record-btrace.c (record_btrace_close): Add 'self' argument. | |
11384 | * monitor.h (monitor_close): Add 'self' argument. | |
11385 | * monitor.c (monitor_close): Add 'self' argument. | |
11386 | * mips-linux-nat.c (mips_linux_close): Add 'self' argument. | |
11387 | * linux-nat.c (linux_nat_close): Add argument. | |
11388 | * go32-nat.c (go32_close): Add 'self' argument. | |
11389 | * exec.c (exec_close_1): Add 'self' argument. | |
11390 | * ctf.c (ctf_close): Add 'self' argument. | |
11391 | * corelow.c (core_close): Add 'self' argument. | |
11392 | (core_close_cleanup): Update. | |
11393 | * bsd-uthread.c (bsd_uthread_close): Add 'self' argument. | |
11394 | * bsd-kvm.c (bsd_kvm_close): Add 'self' argument. | |
11395 | ||
9dd130a0 TT |
11396 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
11397 | ||
11398 | * remote.c (remote_load): New function. | |
11399 | (init_remote_ops): Use it. | |
11400 | ||
46917d26 TT |
11401 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
11402 | ||
11403 | * common/linux-btrace.c (linux_supports_btrace): Add "ops" | |
11404 | argument. | |
11405 | * common/linux-btrace.h (linux_supports_btrace): Update. | |
11406 | * remote.c (remote_supports_btrace): Add "self" argument. | |
11407 | * target-delegates.c: Rebuild. | |
11408 | * target.c (target_supports_btrace): Remove. | |
11409 | * target.h (struct target_ops) <to_supports_btrace>: Add | |
11410 | target_ops argument. | |
11411 | (target_supports_btrace): New define. | |
11412 | ||
6b84065d TT |
11413 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
11414 | ||
11415 | * record-full.c (record_full_beneath_to_resume_ops) | |
11416 | (record_full_beneath_to_resume, record_full_beneath_to_wait_ops) | |
11417 | (record_full_beneath_to_wait) | |
11418 | (record_full_beneath_to_store_registers_ops) | |
11419 | (record_full_beneath_to_store_registers) | |
11420 | (record_full_beneath_to_xfer_partial_ops) | |
11421 | (record_full_beneath_to_xfer_partial) | |
11422 | (record_full_beneath_to_insert_breakpoint_ops) | |
11423 | (record_full_beneath_to_insert_breakpoint) | |
11424 | (record_full_beneath_to_remove_breakpoint_ops) | |
11425 | (record_full_beneath_to_remove_breakpoint) | |
11426 | (record_full_beneath_to_stopped_by_watchpoint) | |
11427 | (record_full_beneath_to_stopped_data_address) | |
11428 | (record_full_beneath_to_async, tmp_to_resume_ops, tmp_to_resume) | |
11429 | (tmp_to_wait_ops, tmp_to_wait, tmp_to_store_registers_ops) | |
11430 | (tmp_to_store_registers, tmp_to_xfer_partial_ops) | |
11431 | (tmp_to_xfer_partial, tmp_to_instmp_to_insert_breakpoint_ops) | |
11432 | (tmp_to_insert_breakpoint, tmp_to_remove_breakpoint_ops) | |
11433 | (tmp_to_remove_breakpoint, tmp_to_stopped_by_watchpoint) | |
11434 | (tmp_to_stopped_data_address, tmp_to_async): Remove. | |
11435 | (record_full_open_1, record_full_open): Update. Use RECORD_IS_USED. | |
11436 | (record_full_resume, record_full_wait_1) | |
11437 | (record_full_stopped_by_watchpoint, record_full_stopped_data_address) | |
11438 | (record_full_store_registers, record_full_xfer_partial) | |
11439 | (record_full_insert_breakpoint, record_full_remove_breakpoint) | |
11440 | (record_full_async, record_full_core_xfer_partial): Use target | |
11441 | delegation. | |
11442 | * target-delegates.c: Rebuild. | |
11443 | * target.c (current_xfer_partial): Remove. | |
11444 | (update_current_target): Do not INHERIT or de_fault | |
11445 | to_insert_breakpoint, to_remove_breakpoint, | |
11446 | to_stopped_data_address, to_stopped_by_watchpoint, to_can_async_p, | |
11447 | to_is_async_p, to_async. Do not set to_xfer_partial field. | |
11448 | (default_xfer_partial): Simplify. | |
11449 | (current_xfer_partial): Remove. | |
11450 | (target_wait, target_resume): Simplify. | |
11451 | (find_default_can_async_p, find_default_is_async_p): Update. | |
11452 | (init_dummy_target): Don't set to_can_async_p, to_is_async_p, | |
11453 | to_xfer_partial, to_stopped_by_watchpoint, | |
11454 | to_stopped_data_address. | |
11455 | (target_store_registers): Simplify. | |
11456 | (forward_target_remove_breakpoint) | |
11457 | (forward_target_insert_breakpoint): Remove. | |
11458 | (target_remove_breakpoint, target_insert_breakpoint) | |
11459 | (debug_to_insert_breakpoint, debug_to_remove_breakpoint): Update. | |
11460 | * target.h (struct target_ops) <to_resume, to_wait, | |
11461 | to_store_registers, to_insert_breakpoint, to_remove_breakpoint, | |
11462 | to_stopped_by_watchpoint, to_stopped_data_address, to_can_async_p, | |
11463 | to_is_async_p, to_async, to_xfer_partial>: Add TARGET_DEFAULT | |
11464 | markup. | |
11465 | (forward_target_remove_breakpoint) | |
11466 | (forward_target_insert_breakpoint): Remove. | |
11467 | * record-btrace.c (record_btrace_remove_breakpoint): Delegate | |
11468 | directly. | |
11469 | (record_btrace_insert_breakpoint): Delegate directly. | |
11470 | ||
1101cb7b TT |
11471 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
11472 | ||
11473 | PR build/7701: | |
11474 | * target-delegates.c: New file. | |
11475 | * target.c: Include target-delegates.c. | |
11476 | (init_dummy_target): Call install_dummy_methods. | |
11477 | (complete_target_initialization): Call install_delegators. | |
11478 | * target.h (TARGET_DEFAULT_IGNORE, TARGET_DEFAULT_NORETURN) | |
11479 | (TARGET_DEFAULT_RETURN, TARGET_DEFAULT_FUNC): New defines. | |
11480 | * make-target-delegates: New file. | |
11481 | ||
8b06beed TT |
11482 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
11483 | ||
11484 | * record.c (find_record_target): Use find_target_at. | |
11485 | * target.c (find_target_at): New function. | |
11486 | * target.h (find_target_at): Declare. | |
11487 | ||
6a109b6b TT |
11488 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
11489 | ||
11490 | * aarch64-linux-nat.c (aarch64_linux_stopped_by_watchpoint): | |
11491 | Add 'ops' argument. | |
11492 | * arm-linux-nat.c (arm_linux_stopped_by_watchpoint): Add | |
11493 | 'ops' argument. | |
11494 | * i386-nat.c (i386_stopped_by_watchpoint): Add 'ops' argument. | |
11495 | * ia64-linux-nat.c (ia64_linux_stopped_by_watchpoint): Add | |
11496 | 'ops' argument. | |
11497 | * inf-ttrace.c (inf_ttrace_stopped_by_watchpoint): Add 'ops' | |
11498 | argument. | |
11499 | * linux-nat.c (save_sigtrap): Update. | |
11500 | (linux_nat_stopped_by_watchpoint, linux_nat_is_async_p) | |
11501 | (linux_nat_can_async_p, linux_nat_async): Add 'ops' argument. | |
11502 | (linux_nat_close): Update. | |
11503 | * mips-linux-nat.c (mips_linux_stopped_by_watchpoint): Add 'ops' | |
11504 | argument. | |
11505 | * ppc-linux-nat.c (ppc_linux_stopped_by_watchpoint): Add 'ops' | |
11506 | argument. | |
11507 | * procfs.c (procfs_stopped_by_watchpoint): Add 'ops' argument. | |
11508 | * record-full.c (record_full_beneath_to_stopped_by_watchpoint) | |
11509 | (record_full_beneath_to_async, tmp_to_stopped_by_watchpoint) | |
11510 | (tmp_to_async): Add 'ops' argument. | |
11511 | (record_full_stopped_by_watchpoint, record_full_async) | |
11512 | (record_full_can_async_p, record_full_is_async_p): Add 'ops' | |
11513 | argument. | |
11514 | * remote-m32r-sdi.c (m32r_insert_breakpoint, m32r_remove_breakpoint) | |
11515 | (m32r_stopped_by_watchpoint): Add 'ops' argument. | |
11516 | * remote-mips.c (mips_stopped_by_watchpoint): Add 'ops' argument. | |
11517 | * remote.c (remote_stopped_by_watchpoint_p, remote_can_async_p) | |
11518 | (remote_is_async_p, remote_async): Add 'ops' argument. | |
11519 | (remote_stopped_data_address): Update. | |
11520 | * s390-nat.c (s390_stopped_by_watchpoint): Add 'ops' argument. | |
11521 | * target.c (update_current_target) | |
11522 | (find_default_can_async_p, find_default_is_async_p): Update. | |
11523 | (init_dummy_target): Update. | |
11524 | (debug_to_stopped_by_watchpoint): Add 'ops' argument. | |
11525 | * target.h (struct target_ops) <to_stopped_by_watchpoint, | |
11526 | to_can_async_p, to_is_async_p, to_async>: Add 'ops' argument. | |
11527 | (target_can_async_p, target_is_async_p, target_async) | |
11528 | (target_stopped_by_watchpoint): Update. | |
11529 | ||
e095146b YQ |
11530 | 2014-02-19 Yao Qi <yao@codesourcery.com> |
11531 | ||
11532 | PR gdb/16220 | |
11533 | * gdbarch.sh: Remove startup_gdbarch. | |
11534 | * gdbarch.c: Regenerated. | |
11535 | * gdbarch.h: Likewise. | |
11536 | ||
bc3c6b36 KB |
11537 | 2014-02-17 Kevin Buettner <kevinb@redhat.com> |
11538 | ||
11539 | * rl78-tdep.c (rl78_g10_register_name): New function. | |
11540 | (rl78_return_value): Add g10 support. | |
11541 | (rl78_gdbarch_init): Register rl78_g10_register_name for the | |
11542 | g10. | |
11543 | ||
98dc0167 | 11544 | 2014-02-17 Doug Evans <xdje42@gmail.com> |
f01c1940 DE |
11545 | |
11546 | * Makefile.in (SUBDIR_GUILE_OBS): Resort alphabetically. | |
11547 | (SUBDIR_GUILE_SRCS): Ditto. | |
11548 | (scm-gsmob.o): Ditto. | |
11549 | ||
842c05cd YQ |
11550 | 2014-02-17 Yao Qi <yao@codesourcery.com> |
11551 | ||
11552 | * gnu-nat.c (ILL_RPC): Declare defined function. | |
11553 | ||
25c0bd04 YQ |
11554 | 2014-02-17 Yao Qi <yao@codesourcery.com> |
11555 | ||
11556 | * gnu-nat.c (gnu_read_inferior): Change 'copy_count' type to | |
11557 | mach_msg_type_number_t. | |
11558 | (gnu_write_inferior): Likewise. | |
11559 | ||
a9a758e3 YQ |
11560 | 2014-02-17 Yao Qi <yao@codesourcery.com> |
11561 | ||
11562 | * gnu-nat.c (proc_get_exception_port): Use 'lu' insetad of 'd' | |
11563 | in format string. | |
11564 | (proc_steal_exc_port, make_proc, inf_set_pid): Likewise. | |
11565 | (inf_validate_procs, inf_signal): Likewise. | |
11566 | (S_exception_raise_request): Likewise. | |
11567 | (do_mach_notify_dead_name): Likewise. | |
11568 | (steal_exc_port): Likewise. | |
11569 | (gnu_read_inferior): Change 'copy_count''s type to | |
11570 | mach_msg_type_number_t. | |
11571 | (gnu_write_inferior): Likewise. Use 'lx' instead of 'x' in | |
11572 | format string. | |
11573 | ||
bae8023e TS |
11574 | 2014-02-16 Thomas Schwinge <thomas@codesourcery.com> |
11575 | ||
c82f56d9 TS |
11576 | * gnu-nat.c (struct inf): Change pending_execs member to a 1-bit |
11577 | flag. Adjust all users; in particular... | |
11578 | (gnu_wait): ..., don't decrement its value in here... | |
11579 | (gnu_create_inferior): ..., and instead set the flag in here, | |
11580 | around the startup_inferior call, and call that one with | |
11581 | START_INFERIOR_TRAPS_EXPECTED. | |
11582 | ||
3398af6a TS |
11583 | * gnu-nat.c (ill_rpc): Remove function; replaced with this... |
11584 | (ILL_RPC): ... new macro. | |
11585 | (do_mach_notify_no_senders, do_mach_notify_port_deleted) | |
11586 | (do_mach_notify_msg_accepted, do_mach_notify_port_destroyed) | |
11587 | (do_mach_notify_send_once, S_proc_setmsgport_reply) | |
11588 | (S_proc_getmsgport_reply, S_msg_sig_post_reply): Generate stub | |
11589 | functions with ILL_RPC macro. | |
11590 | (S_proc_pid2task_reply, S_proc_task2pid_reply) | |
11591 | (S_proc_task2proc_reply, S_proc_proc2task_reply) | |
11592 | (S_proc_pid2proc_reply, S_proc_getprocinfo_reply) | |
11593 | (S_proc_getprocargs_reply, S_proc_getprocenv_reply) | |
11594 | (S_proc_getloginid_reply, S_proc_getloginpids_reply) | |
11595 | (S_proc_getlogin_reply, S_proc_getsid_reply) | |
11596 | (S_proc_getsessionpgids_reply, S_proc_getsessionpids_reply) | |
11597 | (S_proc_getsidport_reply, S_proc_getpgrp_reply) | |
11598 | (S_proc_getpgrppids_reply, S_proc_get_tty_reply) | |
11599 | (S_proc_getnports_reply, S_proc_is_important_reply) | |
11600 | (S_proc_get_code_reply): New stub functions, generated with | |
11601 | ILL_RPC macro. | |
11602 | ||
d47642c9 TS |
11603 | * reply_mig_hack.awk: In phase 5, keep going if we have not yet |
11604 | collected the type check structures. | |
11605 | ||
bae8023e TS |
11606 | * reply_mig_hack.awk: Don't expect to see the auto keyword. |
11607 | ||
8a55ffb0 DE |
11608 | 2014-02-14 Doug Evans <dje@google.com> |
11609 | ||
11610 | * target.c (target_write_partial): Fix result type. | |
11611 | ||
c2853f3d JM |
11612 | 2014-02-14 Jose E. Marchesi <jose.marchesi@oracle.com> |
11613 | ||
11614 | * sparc64-linux-nat.c (_initialize_sparc64_linux_nat): Register | |
11615 | the proper offsets to access fpregset_t. | |
11616 | ||
ac61d2db SA |
11617 | 2014-02-13 Sanimir Agovic <sanimir.agovic@intel.com> |
11618 | ||
11619 | * cris-tdep.c (cris_supply_gregset): Remove zerobuf. | |
11620 | (_initialize_cris_tdep): Remove cris_set_cmdlist, cris_show_cmdlist. | |
11621 | * h8300-tdep.c (setmachinelist): Remove global. | |
11622 | * hppa-tdep.c (hppa_sigtramp): Remove global. | |
11623 | * mipsnbsd-tdep.c (sigtramp_retcode_mipsel, sigtramp_retcode_mipseb | |
11624 | RETCODE_NWORDS, RETCODE_SIZE): Wrap code with #if 0. | |
11625 | * ravenscar-thread.c (update_target_observer): Remove global. | |
11626 | * rs6000-tdep.c (rs6000_gdbarch_init): Remove segment_regs. | |
11627 | ||
9d2d0b8b TT |
11628 | 2014-02-12 Tom Tromey <tromey@redhat.com> |
11629 | ||
11630 | * common/rsp-low.c: Update comments. | |
11631 | * common/rsp-low.h: Update comments. | |
11632 | ||
a7191e8b TT |
11633 | 2014-02-12 Tom Tromey <tromey@redhat.com> |
11634 | ||
11635 | * common/rsp-low.c (convert_ascii_to_int): Remove. | |
11636 | * common/rsp-low.h (convert_ascii_to_int): Don't declare. | |
11637 | ||
ff0e980e TT |
11638 | 2014-02-12 Tom Tromey <tromey@redhat.com> |
11639 | ||
11640 | * common/rsp-low.h (unhexify): Don't declare. | |
11641 | * common/rsp-low.c (unhexify): Remove. | |
11642 | ||
e9371aff TT |
11643 | 2014-02-12 Tom Tromey <tromey@redhat.com> |
11644 | ||
11645 | * common/rsp-low.h (convert_int_to_ascii): Don't declare. | |
11646 | * common/rsp-low.c (convert_int_to_ascii): Remove. | |
11647 | ||
971dc0b8 TT |
11648 | 2014-02-12 Tom Tromey <tromey@redhat.com> |
11649 | ||
11650 | * common/rsp-low.h (hexify): Don't declare. | |
11651 | * common/rsp-low.c (hexify): Remove. | |
11652 | ||
0a822afb TT |
11653 | 2014-02-12 Tom Tromey <tromey@redhat.com> |
11654 | ||
11655 | * common/rsp-low.c (hexify): Never take strlen of argument. | |
11656 | ||
9f1b45b0 TT |
11657 | 2014-02-12 Tom Tromey <tromey@redhat.com> |
11658 | ||
11659 | * common/rsp-low.c (bin2hex): Never take strlen of argument. | |
11660 | * remote.c (extended_remote_run, remote_rcmd) | |
11661 | (remote_download_trace_state_variable, remote_save_trace_data) | |
11662 | (remote_set_trace_notes): Update. | |
11663 | * tracepoint.c (encode_source_string, tfile_write_status) | |
11664 | (tfile_write_uploaded_tsv): Update. | |
11665 | ||
9c3d6531 TT |
11666 | 2014-02-12 Tom Tromey <tromey@redhat.com> |
11667 | ||
11668 | * tracepoint.c: Include rsp-low.h. | |
11669 | * remote.h (hex2bin, bin2hex, unpack_varlen_hex): Don't declare. | |
11670 | * remote.c: Include rsp-low.h. | |
11671 | (hexchars, ishex, unpack_varlen_hex, pack_nibble, pack_hex_byte) | |
11672 | (fromhex, hex2bin, tohex, bin2hex, remote_escape_output) | |
11673 | (remote_unescape_input): Move to common/rsp-low.c. | |
11674 | * common/rsp-low.h: New file. | |
11675 | * common/rsp-low.c: New file. | |
11676 | * Makefile.in (SFILES): Add common/rsp-low.c. | |
11677 | (HFILES_NO_SRCDIR): Add common/rsp-low.h. | |
11678 | (COMMON_OBS): Add rsp-low.o. | |
11679 | (rsp-low.o): New target. | |
11680 | ||
01fd3ea5 TT |
11681 | 2014-02-12 Tom Tromey <tromey@redhat.com> |
11682 | ||
11683 | * utils.h: Include print-utils.h. | |
11684 | (host_address_to_string, plongest, pulongest, phex, phex_nz) | |
11685 | (int_string, core_addr_to_string, core_addr_to_string_nz) | |
11686 | (hex_string, hex_string_custom): Don't declare. | |
11687 | * utils.c (NUMCELLS, CELLSIZE, get_cell, decimal2str, pulongest) | |
11688 | (plongest, thirty_two, phex, phex_nz, octal2str, hex_string) | |
11689 | (hex_string_custom, int_string, core_addr_to_string) | |
11690 | (core_addr_to_string_nz, host_address_to_string): Move to | |
11691 | common/print-utils.c. | |
11692 | * common/print-utils.h: New file. | |
11693 | * common/print-utils.c: New file | |
11694 | * Makefile.in (SFILES): Add common/print-utils.c. | |
11695 | (HFILES_NO_SRCDIR): Add common/print-utils.h. | |
11696 | (COMMON_OBS): Add print-utils.o. | |
11697 | (print-utils.o): New target. | |
11698 | ||
9fb50108 TT |
11699 | 2014-02-12 Tom Tromey <tromey@redhat.com> |
11700 | ||
11701 | * nios2-tdep.c (nios2_stub_frame_base_address): Remove. | |
11702 | ||
0548b5db MK |
11703 | 2014-02-12 Mark Kettenis <kettenis@gnu.org> |
11704 | ||
11705 | * sparc64obsd-tdep.c (sparc64obsd_init_abi): Call obsd_init_abi. | |
11706 | ||
493443a4 MK |
11707 | 2014-02-12 Mark Kettenis <kettenis@gnu.org> |
11708 | ||
11709 | * inf-ptrace.c (inf_ptrace_xfer_partial): Return TARGET_XFER_EOF | |
11710 | if a PT_IO ptrace request returns sucessfully but indicates that 0 | |
11711 | bytes were transferred. | |
11712 | ||
706d0883 PA |
11713 | 2014-02-12 Pedro Alves <palves@redhat.com> |
11714 | Kevin Buettner <kevinb@redhat.com> | |
11715 | ||
11716 | * gnu-v3-abi.c (build_gdb_vtable_type): Return a type marked with | |
11717 | TYPE_INSTANCE_FLAG_CODE_SPACE. | |
11718 | ||
5caa2f0b PA |
11719 | 2014-02-12 Pedro Alves <palves@redhat.com> |
11720 | ||
11721 | * h8300-tdep.c (pseudo_from_raw_register) | |
11722 | (raw_from_pseudo_register): New functions. | |
11723 | (h8300_pseudo_register_read, h8300_pseudo_register_write): Use | |
11724 | them. | |
11725 | ||
76fd5f74 PA |
11726 | 2014-02-12 Pedro Alves <palves@redhat.com> |
11727 | ||
11728 | * h8300-tdep.c (h8300_register_sim_regno): New function. | |
11729 | (h8300_gdbarch_init): Install h8300_register_sim_regno as | |
11730 | gdbarch_register_sim_regno hook. | |
11731 | ||
8f008406 SA |
11732 | 2014-02-12 Sanimir Agovic <sanimir.agovic@intel.com> |
11733 | ||
11734 | * nios2-tdep.c (nios2_stub_frame_base): Remove global. | |
11735 | ||
195abc10 SA |
11736 | 2014-02-12 Sanimir Agovic <sanimir.agovic@intel.com> |
11737 | ||
11738 | * tic6x-tdep.c (tic6x_gdbarch_init): Call frame_base_set_default. | |
11739 | ||
93ffa5b9 MK |
11740 | 2014-02-12 Mark Kettenis <kettenis@gnu.org> |
11741 | ||
11742 | * obsd-tdep.h (obsd_init_abi): New prototype. | |
11743 | * obsd-tdep.c: Define enum with OpenBSD signal numbers. | |
11744 | (obsd_gdb_signal_from_target, obsd_gdb_signal_to_target) | |
11745 | (obsd_init_abi): New functions. | |
11746 | * i386obsd-tdep.c: Include "obsd-tdep.h". | |
11747 | (i386obsd_init_abi): Call obsd_init_abi. | |
11748 | * amd64obsd-tdep.c: Include "obsd-tdep.h". | |
11749 | (amd64obsd_init_abi): Call obsd_init_abi. | |
11750 | * configure.tgt (i[34567]86-*-openbsd*, x86_64-*-openbsd*): Add | |
11751 | obsd-tdep.c to gdb_target_obs. | |
11752 | ||
49caec94 JM |
11753 | 2014-02-11 Jose E. Marchesi <jose.marchesi@oracle.com> |
11754 | ||
11755 | * sparc64-tdep.c (sparc64_store_arguments): Do not align complex | |
11756 | double float arguments to 16-byte in the argument slots. | |
11757 | ||
e1402065 DE |
11758 | 2014-02-11 Doug Evans <xdje42@gmail.com> |
11759 | ||
11760 | * configure.ac: Don't crash if pkg-config is not found and guile | |
11761 | wasn't explicitly requested. Use AC_MSG_ERROR instead of AC_ERROR | |
11762 | in guile checks. | |
11763 | * configure: Regenerate. | |
11764 | ||
edcc890f YQ |
11765 | 2014-02-11 Yao Qi <yao@codesourcery.com> |
11766 | ||
11767 | * aix-thread.c (aix_thread_xfer_partial): Update comments. | |
11768 | * auxv.c (procfs_xfer_auxv, memory_xfer_auxv): Likewise. | |
11769 | * bsd-uthread.c (bsd_uthread_xfer_partial): Likewise. | |
11770 | * gnu-nat.c (gnu_xfer_memory): Likewise. | |
11771 | * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise. | |
11772 | * rs6000-nat.c (rs6000_xfer_partial): Likewise. | |
11773 | * sparc-nat.c (sparc_xfer_wcookie): Likewise. | |
11774 | * spu-linux-nat.c (spu_proc_xfer_spu): Likewise. | |
11775 | ||
9b409511 YQ |
11776 | 2014-02-11 Yao Qi <yao@codesourcery.com> |
11777 | ||
11778 | * target.h (enum target_xfer_error): Rename to ... | |
11779 | (enum target_xfer_status): ... it. New. All users updated. | |
11780 | (enum target_xfer_status) <TARGET_XFER_OK>, <TARGET_XFER_EOF>: | |
11781 | New. | |
11782 | (TARGET_XFER_STATUS_ERROR_P): New macro. | |
11783 | (target_xfer_error_to_string): Remove declaration. | |
11784 | (target_xfer_status_to_string): Declare. | |
11785 | (target_xfer_partial_ftype): Adjust it. | |
11786 | (struct target_ops) <to_xfer_partial>: Return | |
11787 | target_xfer_status. Add argument xfered_len. Update | |
11788 | comments. | |
11789 | * target.c (target_xfer_error_to_string): Rename to ... | |
11790 | (target_xfer_status_to_string): ... it. New. All callers | |
11791 | updated. | |
11792 | (target_read_live_memory): Likewise. Call target_xfer_partial | |
11793 | instead of target_read. | |
11794 | (memory_xfer_live_readonly_partial): Return | |
11795 | target_xfer_status. Add argument xfered_len. | |
11796 | (raw_memory_xfer_partial): Likewise. | |
11797 | (memory_xfer_partial_1): Likewise. | |
11798 | (memory_xfer_partial): Likewise. | |
11799 | (target_xfer_partial): Likewise. Check *XFERED_LEN is set | |
11800 | properly. Update debug message. | |
11801 | (default_xfer_partial, current_xfer_partial): Likewise. | |
11802 | (target_write_partial): Likewise. | |
11803 | (target_read_partial): Likewise. All callers updated. | |
11804 | (read_whatever_is_readable): Likewise. | |
11805 | (target_write_with_progress): Likewise. | |
11806 | (target_read_alloc_1): Likewise. | |
11807 | ||
11808 | * aix-thread.c (aix_thread_xfer_partial): Likewise. | |
11809 | * auxv.c (procfs_xfer_auxv): Likewise. | |
11810 | (ld_so_xfer_auxv, memory_xfer_auxv): Likewise. | |
11811 | * bfd-target.c (target_bfd_xfer_partial): Likewise. | |
11812 | * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise. | |
11813 | * bsd-uthread.c (bsd_uthread_xfer_partia): Likewise. | |
11814 | * corefile.c (read_memory): Adjust. | |
11815 | * corelow.c (core_xfer_partial): Likewise. | |
11816 | * ctf.c (ctf_xfer_partial): Likewise. | |
11817 | * darwin-nat.c (darwin_read_dyld_info): Likewise. All callers | |
11818 | updated. | |
11819 | (darwin_xfer_partial): Likewise. | |
11820 | * exec.c (section_table_xfer_memory_partial): Likewise. All | |
11821 | callers updated. | |
11822 | (exec_xfer_partial): Likewise. | |
11823 | * exec.h (section_table_xfer_memory_partial): Update | |
11824 | declaration. | |
11825 | * gnu-nat.c (gnu_xfer_memory): Likewise. Assert 'res' is not | |
11826 | negative. | |
11827 | (gnu_xfer_partial): Likewise. | |
11828 | * ia64-hpux-nat.c (ia64_hpux_xfer_memory_no_bs): Likewise. | |
11829 | (ia64_hpux_xfer_memory, ia64_hpux_xfer_uregs): Likewise. | |
11830 | (ia64_hpux_xfer_solib_got): Likewise. | |
11831 | * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise. Change | |
11832 | type of 'partial_len' to ULONGEST. | |
11833 | * inf-ttrace.c (inf_ttrace_xfer_partial): Likewise. | |
11834 | * linux-nat.c (linux_xfer_siginfo ): Likewise. | |
11835 | (linux_nat_xfer_partial): Likewise. | |
11836 | (linux_proc_xfer_partial, linux_xfer_partial): Likewise. | |
11837 | (linux_proc_xfer_spu, linux_nat_xfer_osdata): Likewise. | |
11838 | * monitor.c (monitor_xfer_memory): Likewise. | |
11839 | (monitor_xfer_partial): Likewise. | |
11840 | * procfs.c (procfs_xfer_partial): Likewise. | |
11841 | * record-btrace.c (record_btrace_xfer_partial): Likewise. | |
11842 | * record-full.c (record_full_xfer_partial): Likewise. | |
11843 | (record_full_core_xfer_partial): Likewise. | |
11844 | * remote-sim.c (gdbsim_xfer_memory): Likewise. | |
11845 | (gdbsim_xfer_partial): Likewise. | |
11846 | * remote.c (remote_write_bytes_aux): Likewise. All callers | |
11847 | updated. | |
11848 | (remote_write_bytes, remote_read_bytes): Likewise. All | |
11849 | callers updated. | |
11850 | (remote_flash_erase): Likewise. All callers updated. | |
11851 | (remote_write_qxfer): Likewise. All callers updated. | |
11852 | (remote_read_qxfer): Likewise. All callers updated. | |
11853 | (remote_xfer_partial): Likewise. | |
11854 | * rs6000-nat.c (rs6000_xfer_partial): Likewise. | |
11855 | (rs6000_xfer_shared_libraries): Likewise. | |
11856 | * sol-thread.c (sol_thread_xfer_partial): Likewise. | |
11857 | (sol_thread_xfer_partial): Likewise. | |
11858 | * sparc-nat.c (sparc_xfer_wcookie): Likewise. | |
11859 | (sparc_xfer_partial): Likewise. | |
11860 | * spu-linux-nat.c (spu_proc_xfer_spu): Likewise. All callers | |
11861 | updated. | |
11862 | (spu_xfer_partial): Likewise. | |
11863 | * spu-multiarch.c (spu_xfer_partial): Likewise. | |
11864 | * tracepoint.c (tfile_xfer_partial): Likewise. | |
11865 | * windows-nat.c (windows_xfer_memory): Likewise. | |
11866 | (windows_xfer_shared_libraries): Likewise. | |
11867 | (windows_xfer_partial): Likewise. | |
11868 | * valprint.c: Replace 'target_xfer_error' with | |
11869 | 'target_xfer_status' in comments. | |
11870 | ||
a8e63083 JB |
11871 | 2014-02-11 Simon Marchi <simon.marchi@ericsson.com> (tiny patch) |
11872 | ||
11873 | Checked in by Joel Brobecker <brobecker@adacore.com>. | |
11874 | * mi/mi-main.c (mi_cmd_data_write_memory_bytes): Fix comment. | |
11875 | ||
e86b67d3 JB |
11876 | 2014-02-11 Joel Brobecker <brobecker@adacore.com> |
11877 | ||
11878 | * symfile-debug.c (debug_qf_expand_symtabs_matching): Reformat | |
11879 | function parameters. | |
11880 | ||
4b7d1f7f WN |
11881 | 2014-02-10 Will Newton <will.newton@linaro.org> |
11882 | ||
11883 | * elfread.c (elf_rel_plt_read): Look for a .got section if | |
11884 | looking up .got.plt fails. | |
11885 | (elf_gnu_ifunc_resolve_by_got): Call gdbarch_addr_bits_remove | |
11886 | on address passed to elf_gnu_ifunc_record_cache. | |
11887 | (elf_gnu_ifunc_resolve_addr): Likewise. | |
11888 | (elf_gnu_ifunc_resolver_return_stop): Likewise. | |
11889 | ||
961842b2 JM |
11890 | 2014-02-10 Jose E. Marchesi <jose.marchesi@oracle.com> |
11891 | ||
11892 | * sparc-tdep.c (sparc_in_function_epilogue_p): New function. | |
11893 | (X_RETTURN): New macro. | |
11894 | * sparc-tdep.h: sparc_in_function_epilogue_p prototype. | |
11895 | ||
11896 | * sparc64-tdep.c (sparc64_init_abi): Hook | |
11897 | sparc_in_function_epilogue_p. | |
11898 | ||
3f03e7b1 GB |
11899 | 2014-02-10 Gary Benson <gbenson@redhat.com> |
11900 | ||
11901 | * symfile-debug.c (debug_qf_expand_symtabs_matching): | |
11902 | Rename name_matcher to symbol_matcher. | |
11903 | ||
96f861ef GB |
11904 | 2014-02-10 Gary Benson <gbenson@redhat.com> |
11905 | ||
11906 | * symfile-debug.c (debug_qf_expand_symtabs_matching): | |
11907 | Use expand_symtabs_file_matcher_ftype and | |
11908 | expand_symtabs_symbol_matcher_ftype. | |
11909 | ||
ee01b665 JB |
11910 | 2014-02-10 Joel Brobecker <brobecker@adacore.com> |
11911 | ||
11912 | * ada-lang.c (struct cache_entry, HASH_SIZE): Move definition up. | |
11913 | (struct ada_symbol_cache): New. | |
11914 | (ada_free_symbol_cache): Forward declare. | |
11915 | (struct ada_pspace_data): New. | |
11916 | (ada_pspace_data_handle): New static global. | |
11917 | (get_ada_pspace_data, ada_pspace_data_cleanup) | |
11918 | (ada_init_symbol_cache, ada_free_symbol_cache): New functions. | |
11919 | (cache_space, cache): Delete, now folded inside struct | |
11920 | ada_pspace_data. | |
11921 | (ada_get_symbol_cache): New function. | |
11922 | (ada_clear_symbol_cache, find_entry, cache_symbol): Adjust | |
11923 | implementation. | |
11924 | (_initialize_ada_language): Remove initialization of cache_space. | |
11925 | Move call to observer_attach_inferior_exit up, grouping it | |
11926 | with the other observer registrations inside this function. | |
11927 | Rename command to be more general. Add call to | |
11928 | register_program_space_data_with_cleanup. | |
11929 | ||
143adbbf JB |
11930 | 2014-02-10 Joel Brobecker <brobecker@adacore.com> |
11931 | ||
11932 | * ada-tasks.c (ada_tasks_new_objfile_observer): Renames | |
11933 | ada_new_objfile_observer. | |
11934 | (ada_tasks_normal_stop_observer): Renames ada_normal_stop_observer. | |
11935 | (_initialize_tasks): Update uses of ada_new_objfile_observer | |
11936 | and ada_tasks_normal_stop_observer. | |
11937 | ||
aa4fb036 JB |
11938 | 2014-02-10 Joel Brobecker <brobecker@adacore.com> |
11939 | ||
11940 | * ada-lang.c (ada_evaluate_subexp): Set the type of the value | |
11941 | returned by the 'Length attribute to integer. | |
11942 | ||
9dee8cc6 JB |
11943 | 2014-02-10 Joel Brobecker <brobecker@adacore.com> |
11944 | ||
11945 | * ada-lang.c (_initialize_ada_language): Initialize | |
11946 | cache_space obstack. | |
11947 | ||
3d9434b5 JB |
11948 | 2014-02-10 Joel Brobecker <brobecker@adacore.com> |
11949 | ||
11950 | * ada-lang.c (HASH_SIZE): New macro. | |
11951 | (struct cache_entry): New type. | |
11952 | (cache_space, cache): New static globals. | |
11953 | (ada_clear_symbol_cache, find_entry): New functions. | |
11954 | (lookup_cached_symbol, cache_symbol): Implement. | |
11955 | (ada_new_objfile_observer, ada_free_objfile_observer): New. | |
11956 | (_initialize_ada_language): Attach ada_new_objfile_observer | |
11957 | and ada_free_objfile_observer. | |
11958 | ||
f0c5f9b2 JB |
11959 | 2014-02-10 Joel Brobecker <brobecker@adacore.com> |
11960 | ||
11961 | * ada-lang.c (ada_add_block_symbols, add_defn_to_vec) | |
11962 | (lookup_cached_symbol, ada_add_local_symbols): Add "const" to | |
11963 | struct block * parameter. | |
11964 | (ada_lookup_symbol_list_worker): Constify local variable "block". | |
11965 | Remove cast which is no longer necessary. | |
11966 | ||
ed3ef339 DE |
11967 | 2014-02-10 Doug Evans <xdje42@gmail.com> |
11968 | ||
11969 | Add Guile as an extension language. | |
11970 | * NEWS: Mention Guile scripting. | |
11971 | * Makefile.in (SUBDIR_GUILE_OBS): New variable. | |
11972 | (SUBDIR_GUILE_SRCS, SUBDIR_GUILE_DEPS): New variables | |
11973 | (SUBDIR_GUILE_LDFLAGS, SUBDIR_GUILE_CFLAGS): New variables. | |
11974 | (INTERNAL_CPPFLAGS): Add GUILE_CPPFLAGS. | |
11975 | (CLIBS): Add GUILE_LIBS. | |
11976 | (install-guile): New rule. | |
11977 | (guile.o): New rule. | |
11978 | (scm-arch.o, scm-auto-load.o, scm-block.o): New rules. | |
11979 | (scm-breakpoint.o, scm-disasm.o, scm-exception.o): New rules. | |
11980 | (scm-frame.o, scm-iterator.o, scm-lazy-string.o): New rules. | |
11981 | (scm-math.o, scm-objfile.o, scm-ports.o): New rules. | |
11982 | (scm-pretty-print.o, scm-safe-call.o, scm-gsmob.o): New rules. | |
11983 | (scm-string.o, scm-symbol.o, scm-symtab.o): New rules. | |
11984 | (scm-type.o, scm-utils.o, scm-value.o): New rules. | |
11985 | * configure.ac: New option --with-guile. | |
11986 | * configure: Regenerate. | |
11987 | * config.in: Regenerate. | |
11988 | * auto-load.c: Remove #include "python/python.h". Add #include | |
11989 | "gdb/section-scripts.h". | |
11990 | (source_section_scripts): Handle Guile scripts. | |
11991 | (_initialize_auto_load): Add name of Guile objfile script to | |
11992 | scripts-directory help text. | |
11993 | * breakpoint.c (condition_command): Tweak comment to include Scheme. | |
11994 | * breakpoint.h (gdbscm_breakpoint_object): Add forward decl. | |
11995 | (struct breakpoint): New member scm_bp_object. | |
11996 | * defs.h (enum command_control_type): New value guile_control. | |
11997 | * cli/cli-cmds.c: Remove #include "python/python.h". Add #include | |
11998 | "extension.h". | |
11999 | (show_user): Update comment. | |
12000 | (_initialize_cli_cmds): Update help text for "show user". Update help | |
12001 | text for max-user-call-depth. | |
12002 | * cli/cli-script.c: Remove #include "python/python.h". Add #include | |
12003 | "extension.h". | |
12004 | (multi_line_command_p): Add guile_control. | |
12005 | (print_command_lines): Handle guile_control. | |
12006 | (execute_control_command, recurse_read_control_structure): Ditto. | |
12007 | (process_next_line): Recognize "guile" commands. | |
12008 | * disasm.c (gdb_disassemble_info): Make non-static. | |
12009 | * disasm.h: #include "dis-asm.h". | |
12010 | (struct gdbarch): Add forward decl. | |
12011 | (gdb_disassemble_info): Declare. | |
12012 | * extension.c: #include "guile/guile.h". | |
12013 | (extension_languages): Add guile. | |
12014 | (get_ext_lang_defn): Handle EXT_LANG_GDB. | |
12015 | * extension.h (enum extension_language): New value EXT_LANG_GUILE. | |
12016 | * gdbtypes.c (get_unsigned_type_max): New function. | |
12017 | (get_signed_type_minmax): New function. | |
12018 | * gdbtypes.h (get_unsigned_type_max): Declare. | |
12019 | (get_signed_type_minmax): Declare. | |
12020 | * guile/README: New file. | |
12021 | * guile/guile-internal.h: New file. | |
12022 | * guile/guile.c: New file. | |
12023 | * guile/guile.h: New file. | |
12024 | * guile/scm-arch.c: New file. | |
12025 | * guile/scm-auto-load.c: New file. | |
12026 | * guile/scm-block.c: New file. | |
12027 | * guile/scm-breakpoint.c: New file. | |
12028 | * guile/scm-disasm.c: New file. | |
12029 | * guile/scm-exception.c: New file. | |
12030 | * guile/scm-frame.c: New file. | |
12031 | * guile/scm-gsmob.c: New file. | |
12032 | * guile/scm-iterator.c: New file. | |
12033 | * guile/scm-lazy-string.c: New file. | |
12034 | * guile/scm-math.c: New file. | |
12035 | * guile/scm-objfile.c: New file. | |
12036 | * guile/scm-ports.c: New file. | |
12037 | * guile/scm-pretty-print.c: New file. | |
12038 | * guile/scm-safe-call.c: New file. | |
12039 | * guile/scm-string.c: New file. | |
12040 | * guile/scm-symbol.c: New file. | |
12041 | * guile/scm-symtab.c: New file. | |
12042 | * guile/scm-type.c: New file. | |
12043 | * guile/scm-utils.c: New file. | |
12044 | * guile/scm-value.c: New file. | |
12045 | * guile/lib/gdb.scm: New file. | |
12046 | * guile/lib/gdb/boot.scm: New file. | |
12047 | * guile/lib/gdb/experimental.scm: New file. | |
12048 | * guile/lib/gdb/init.scm: New file. | |
12049 | * guile/lib/gdb/iterator.scm: New file. | |
12050 | * guile/lib/gdb/printing.scm: New file. | |
12051 | * guile/lib/gdb/types.scm: New file. | |
12052 | * data-directory/Makefile.in (GUILE_SRCDIR): New variable. | |
12053 | (VPATH): Add $(GUILE_SRCDIR). | |
12054 | (GUILE_DIR): New variable. | |
12055 | (GUILE_INSTALL_DIR, GUILE_FILES): New variables. | |
12056 | (all): Add stamp-guile dependency. | |
12057 | (stamp-guile): New rule. | |
12058 | (clean-guile, install-guile, uninstall-guile): New rules. | |
12059 | (install-only): Add install-guile dependency. | |
12060 | (uninstall): Add uninstall-guile dependency. | |
12061 | (clean): Add clean-guile dependency. | |
12062 | ||
ac020ec5 DE |
12063 | 2014-02-09 Doug Evans <xdje42@gmail.com> |
12064 | ||
12065 | Revert this patch (which I approved, mea culpa). | |
12066 | ||
12067 | 2014-02-08 Mark Kettenis <kettenis@gnu.org> | |
12068 | ||
12069 | * Makefile.in (all-lib): Remove. | |
12070 | ($(LIBGNU) $(GNULIB_H)): Replace with gits of remove all-lib target. | |
12071 | ||
2a081c59 JK |
12072 | 2014-02-09 Jan Kratochvil <jan.kratochvil@redhat.com> |
12073 | ||
12074 | Fix Python stack corruption. | |
12075 | * python/py-linetable.c (ltpy_get_pcs_for_line, ltpy_has_line): Use | |
12076 | gdb_py_longest. | |
12077 | ||
0a6bd22d MK |
12078 | 2014-02-08 Mark Kettenis <kettenis@gnu.org> |
12079 | ||
12080 | * Makefile.in (all-lib): Remove. | |
12081 | ($(LIBGNU) $(GNULIB_H)): Replace with gits of remove all-lib target. | |
12082 | ||
1a860409 DE |
12083 | 2014-02-07 Doug Evans <dje@google.com> |
12084 | ||
12085 | * extension-priv.h (extension_language_script_ops): Add comment. | |
12086 | (extension_language_ops): Add comment. | |
caf5a491 | 12087 | (active_ext_lang_state): Fix typo in comment. |
1a860409 | 12088 | |
d137e6dc PA |
12089 | 2014-02-07 Pedro Alves <palves@redhat.com> |
12090 | ||
0dcb32c3 | 12091 | PR breakpoints/16292 |
d137e6dc PA |
12092 | * infrun.c (handle_signal_stop) <signal arrives while stepping |
12093 | over a breakpoint>: Switch back to the stepping thread. | |
12094 | ||
ce6d0892 YQ |
12095 | 2014-02-07 Yao Qi <yao@codesourcery.com> |
12096 | ||
12097 | * target.c (target_xfer_partial): Return zero if LEN is zero. | |
12098 | ||
2ed4b548 YQ |
12099 | 2014-02-07 Yao Qi <yao@codesourcery.com> |
12100 | ||
12101 | * auxv.c (procfs_xfer_auxv): Replace -1 with TARGET_XFER_E_IO. | |
12102 | (ld_so_xfer_auxv): Likewise. | |
12103 | * bfd-target.c (target_bfd_xfer_partial): Likewise. | |
12104 | * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise. | |
12105 | * corelow.c (core_xfer_partial): Likewise. | |
12106 | * ctf.c (ctf_xfer_partial): Likewise. | |
12107 | * darwin-nat.c (darwin_read_dyld_info): Likewise. | |
12108 | (darwin_xfer_partial): Likewise. | |
12109 | * exec.c (exec_xfer_partial): Likewise. | |
12110 | * gnu-nat.c (gnu_xfer_partial): Likewise. | |
12111 | * ia64-hpux-nat.c (ia64_hpux_xfer_uregs): Likewise. | |
12112 | * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise. | |
12113 | * inf-ttrace.c (inf_ttrace_xfer_partial): Likewise. | |
12114 | * linux-nat.c (linux_xfer_siginfo): Likewise. | |
12115 | (linux_proc_xfer_spu): Likewise. | |
12116 | * procfs.c (procfs_xfer_partial): Likewise. | |
12117 | * record-full.c (record_full_xfer_partial): Likewise. | |
12118 | (record_full_core_xfer_partial): Likewise. | |
12119 | * remote-sim.c (gdbsim_xfer_partial): Likewise. | |
12120 | * remote.c (remote_write_qxfer): Likewise. | |
12121 | (remote_write_qxfer, remote_read_qxfer): Likewise. | |
12122 | (remote_xfer_partial): Likewise. | |
12123 | * rs6000-nat.c (rs6000_xfer_partial): Likewise. | |
12124 | (rs6000_xfer_shared_libraries): Likewise. | |
12125 | * sparc-nat.c (sparc_xfer_wcookie): Likewise. | |
12126 | * spu-linux-nat.c (spu_proc_xfer_spu): Likewise. | |
12127 | (spu_xfer_partial): Likewise. | |
12128 | * target.c (memory_xfer_partial_1): Likewise. | |
12129 | * tracepoint.c (tfile_xfer_partial): Likewise. | |
12130 | * windows-nat.c (windows_xfer_shared_libraries): Likewise. | |
12131 | (windows_xfer_partial): Likewise. | |
12132 | ||
c09f20e4 YQ |
12133 | 2014-02-07 Yao Qi <yao@codesourcery.com> |
12134 | ||
12135 | * gdbarch.sh (core_xfer_shared_libraries): Returns ULONGEST. Add | |
12136 | comments. | |
12137 | (core_xfer_shared_libraries_aix): Likewise. | |
12138 | * gdbarch.c, gdbarch.h: Regenerated. | |
12139 | * i386-cygwin-tdep.c (windows_core_xfer_shared_libraries): Return | |
12140 | ULONGEST. Change 'len_avail' type to ULONGEST. | |
12141 | * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise. | |
12142 | * rs6000-aix-tdep.h (rs6000_aix_ld_info_to_xml): Update | |
12143 | declaration. | |
12144 | (rs6000_aix_core_xfer_shared_libraries_aix): Return ULONGEST. | |
12145 | ||
8635b3bf YQ |
12146 | 2014-02-07 Yao Qi <yao@codesourcery.com> |
12147 | ||
12148 | * corefile.c (memory_error): Get 'exception' from ERR and pass | |
12149 | 'exception' to throw_error. | |
12150 | ||
6dddc817 DE |
12151 | 2014-02-06 Doug Evans <xdje42@gmail.com> |
12152 | ||
12153 | * configure.ac (libpython checking): Remove all but python.o from | |
12154 | CONFIG_OBS. Remove all but python.c from CONFIG_SRCS. | |
12155 | * configure: Regenerate. | |
12156 | ||
12157 | * Makefile.in (SFILES): Add extension.c. | |
12158 | (HFILES_NO_SRCDIR): Add extension.h, extension-priv.h | |
12159 | (COMMON_OBS): Add extension.o. | |
12160 | * extension.h: New file. | |
12161 | * extension-priv.h: New file. | |
12162 | * extension.c: New file. | |
12163 | ||
12164 | * python/python-internal.h: #include "extension.h". | |
12165 | (gdbpy_auto_load_enabled): Declare. | |
12166 | (gdbpy_apply_val_pretty_printer): Declare. | |
12167 | (gdbpy_apply_frame_filter): Declare. | |
12168 | (gdbpy_preserve_values): Declare. | |
12169 | (gdbpy_breakpoint_cond_says_stop): Declare. | |
12170 | (gdbpy_breakpoint_has_cond): Declare. | |
12171 | (void source_python_script_for_objfile): Delete. | |
12172 | * python/python.c: #include "extension-priv.h". | |
12173 | Delete inclusion of "observer.h". | |
12174 | (extension_language_python): Moved here and renamed from | |
12175 | script_language_python in py-auto-load.c. | |
12176 | Redefined to be of type extension_language_defn. | |
12177 | (python_extension_script_ops): New global. | |
12178 | (python_extension_ops): New global. | |
12179 | (struct python_env): New member previous_active. | |
12180 | (restore_python_env): Call restore_active_ext_lang. | |
12181 | (ensure_python_env): Call set_active_ext_lang. | |
12182 | (gdbpy_clear_quit_flag): Renamed from clear_quit_flag, made static. | |
12183 | New arg extlang. | |
12184 | (gdbpy_set_quit_flag): Renamed from set_quit_flag, made static. | |
12185 | New arg extlang. | |
12186 | (gdbpy_check_quit_flag): Renamed from check_quit_flag, made static. | |
12187 | New arg extlang. | |
12188 | (gdbpy_eval_from_control_command): Renamed from | |
12189 | eval_python_from_control_command, made static. New arg extlang. | |
12190 | (gdbpy_source_script) Renamed from source_python_script, made static. | |
12191 | New arg extlang. | |
12192 | (gdbpy_before_prompt_hook): Renamed from before_prompt_hook. Change | |
12193 | result to int. New arg extlang. | |
12194 | (gdbpy_source_objfile_script): Renamed from | |
12195 | source_python_script_for_objfile, made static. New arg extlang. | |
12196 | (gdbpy_start_type_printers): Renamed from start_type_printers, made | |
12197 | static. New args extlang, extlang_printers. Change result type to | |
12198 | "void". | |
12199 | (gdbpy_apply_type_printers): Renamed from apply_type_printers, made | |
12200 | static. New arg extlang. Rename arg printers to extlang_printers | |
12201 | and change type to ext_lang_type_printers *. | |
12202 | (gdbpy_free_type_printers): Renamed from free_type_printers, made | |
12203 | static. Replace argument arg with extlang, extlang_printers. | |
12204 | (!HAVE_PYTHON, eval_python_from_control_command): Delete. | |
12205 | (!HAVE_PYTHON, source_python_script): Delete. | |
12206 | (!HAVE_PYTHON, gdbpy_should_stop): Delete. | |
12207 | (!HAVE_PYTHON, gdbpy_breakpoint_has_py_cond): Delete. | |
12208 | (!HAVE_PYTHON, start_type_printers): Delete. | |
12209 | (!HAVE_PYTHON, apply_type_printers): Delete. | |
12210 | (!HAVE_PYTHON, free_type_printers): Delete. | |
12211 | (_initialize_python): Delete call to observer_attach_before_prompt. | |
12212 | (finalize_python): Set/restore active extension language. | |
12213 | (gdbpy_finish_initialization) Renamed from | |
12214 | finish_python_initialization, made static. New arg extlang. | |
12215 | (gdbpy_initialized): New function. | |
12216 | * python/python.h: #include "extension.h". Delete #include | |
12217 | "value.h", "mi/mi-cmds.h". | |
12218 | (extension_language_python): Declare. | |
12219 | (GDBPY_AUTO_FILE_NAME): Delete. | |
12220 | (enum py_bt_status): Moved to extension.h and renamed to | |
12221 | ext_lang_bt_status. | |
12222 | (enum frame_filter_flags): Moved to extension.h. | |
12223 | (enum py_frame_args): Moved to extension.h and renamed to | |
12224 | ext_lang_frame_args. | |
12225 | (finish_python_initialization): Delete. | |
12226 | (eval_python_from_control_command): Delete. | |
12227 | (source_python_script): Delete. | |
12228 | (apply_val_pretty_printer): Delete. | |
12229 | (apply_frame_filter): Delete. | |
12230 | (preserve_python_values): Delete. | |
12231 | (gdbpy_script_language_defn): Delete. | |
12232 | (gdbpy_should_stop, gdbpy_breakpoint_has_py_cond): Delete. | |
12233 | (start_type_printers, apply_type_printers, free_type_printers): Delete. | |
12234 | ||
12235 | * auto-load.c: #include "extension.h". | |
12236 | (GDB_AUTO_FILE_NAME): Delete. | |
12237 | (auto_load_gdb_scripts_enabled): Make public. New arg extlang. | |
12238 | (script_language_gdb): Delete, moved to extension.c and renamed to | |
12239 | extension_language_gdb. | |
12240 | (source_gdb_script_for_objfile): Delete. | |
12241 | (auto_load_pspace_info): New member unsupported_script_warning_printed. | |
12242 | (loaded_script): Change type of language member to | |
12243 | struct extension_language_defn *. | |
12244 | (init_loaded_scripts_info): Initialize | |
12245 | unsupported_script_warning_printed. | |
12246 | (maybe_add_script): Make static. Change type of language arg to | |
12247 | struct extension_language_defn *. | |
12248 | (clear_section_scripts): Reset unsupported_script_warning_printed. | |
12249 | (auto_load_objfile_script_1): Rewrite to use extension language API. | |
12250 | (auto_load_objfile_script): Make public. Remove support-compiled-in | |
12251 | and auto-load-enabled checks, moved to auto_load_scripts_for_objfile. | |
12252 | (source_section_scripts): Rewrite to use extension language API. | |
12253 | (load_auto_scripts_for_objfile): Rewrite to use | |
12254 | auto_load_scripts_for_objfile. | |
12255 | (collect_matching_scripts_data): Change type of language member to | |
12256 | struct extension_language_defn *. | |
12257 | (auto_load_info_scripts): Change type of language arg to | |
12258 | struct extension_language_defn *. | |
12259 | (unsupported_script_warning_print): New function. | |
12260 | (script_not_found_warning_print): Make static. | |
12261 | (_initialize_auto_load): Rewrite construction of scripts-directory | |
12262 | help. | |
12263 | * auto-load.h (struct objfile): Add forward decl. | |
12264 | (struct script_language): Delete. | |
12265 | (struct auto_load_pspace_info): Add forward decl. | |
12266 | (struct extension_language_defn): Add forward decl. | |
12267 | (maybe_add_script): Delete. | |
12268 | (auto_load_objfile_script): Declare. | |
12269 | (script_not_found_warning_print): Delete. | |
12270 | (auto_load_info_scripts): Update prototype. | |
12271 | (auto_load_gdb_scripts_enabled): Declare. | |
12272 | * python/py-auto-load.c (gdbpy_auto_load_enabled): Renamed from | |
12273 | auto_load_python_scripts_enabled and made public. | |
12274 | (script_language_python): Delete, moved to python.c. | |
12275 | (gdbpy_script_language_defn): Delete. | |
12276 | (info_auto_load_python_scripts): Update to use | |
12277 | extension_language_python. | |
12278 | ||
12279 | * breakpoint.c (condition_command): Replace call to | |
12280 | gdbpy_breakpoint_has_py_cond with call to get_breakpoint_cond_ext_lang. | |
12281 | (bpstat_check_breakpoint_conditions): Replace call to gdbpy_should_stop | |
12282 | with call to breakpoint_ext_lang_cond_says_stop. | |
12283 | * python/py-breakpoint.c (gdbpy_breakpoint_cond_says_stop): Renamed | |
12284 | from gdbpy_should_stop. Change result type to enum scr_bp_stop. | |
12285 | New arg slang. Return SCR_BP_STOP_UNSET if py_bp_object is NULL. | |
12286 | (gdbpy_breakpoint_has_cond): Renamed from gdbpy_breakpoint_has_py_cond. | |
12287 | New arg slang. | |
12288 | (local_setattro): Print name of extension language with existing | |
12289 | stop condition. | |
12290 | ||
12291 | * valprint.c (val_print, value_print): Update to call | |
12292 | apply_ext_lang_val_pretty_printer. | |
12293 | * cp-valprint.c (cp_print_value): Update call to | |
12294 | apply_ext_lang_val_pretty_printer. | |
12295 | * python/py-prettyprint.c: Remove #ifdef HAVE_PYTHON. | |
12296 | (gdbpy_apply_val_pretty_printer): Renamed from | |
12297 | apply_val_pretty_printer. New arg extlang. | |
12298 | (!HAVE_PYTHON, apply_val_pretty_printer): Delete. | |
12299 | ||
12300 | * cli/cli-cmds.c (source_script_from_stream): Rewrite to use | |
12301 | extension language API. | |
12302 | * cli/cli-script.c (execute_control_command): Update to call | |
12303 | eval_ext_lang_from_control_command. | |
12304 | ||
12305 | * mi/mi-cmd-stack.c (mi_cmd_stack_list_frames): Update to use | |
12306 | enum ext_lang_bt_status values. Update call to | |
12307 | apply_ext_lang_frame_filter. | |
12308 | (mi_cmd_stack_list_locals): Ditto. | |
12309 | (mi_cmd_stack_list_args): Ditto. | |
12310 | (mi_cmd_stack_list_variables): Ditto. | |
12311 | * mi/mi-main.c: Delete #include "python/python-internal.h". | |
12312 | Add #include "extension.h". | |
12313 | (mi_cmd_list_features): Replace reference to python internal variable | |
12314 | gdb_python_initialized with call to ext_lang_initialized_p. | |
12315 | ||
12316 | * stack.c (backtrace_command_1): Update to use enum ext_lang_bt_status. | |
12317 | Update to use enum ext_lang_frame_args. Update to call | |
12318 | apply_ext_lang_frame_filter. | |
12319 | * python/py-framefilter.c (extract_sym): Update to use enum | |
12320 | ext_lang_bt_status. | |
12321 | (extract_value, py_print_type, py_print_value): Ditto. | |
12322 | (py_print_single_arg, enumerate_args, enumerate_locals): Ditto. | |
12323 | (py_mi_print_variables, py_print_locals, py_print_args): Ditto. | |
12324 | (py_print_frame): Ditto. | |
12325 | (gdbpy_apply_frame_filter): Renamed from apply_frame_filter. | |
12326 | New arg extlang. Update to use enum ext_lang_bt_status. | |
12327 | ||
12328 | * top.c (gdb_init): Delete #ifdef HAVE_PYTHON call to | |
12329 | finish_python_initialization. Replace with call to | |
12330 | finish_ext_lang_initialization. | |
12331 | ||
12332 | * typeprint.c (do_free_global_table): Update to call | |
12333 | free_ext_lang_type_printers. | |
12334 | (create_global_typedef_table): Update to call | |
12335 | start_ext_lang_type_printers. | |
12336 | (find_global_typedef): Update to call apply_ext_lang_type_printers. | |
12337 | * typeprint.h (struct ext_lang_type_printers): Add forward decl. | |
12338 | (type_print_options): Change type of global_printers from "void *" | |
12339 | to "struct ext_lang_type_printers *". | |
12340 | ||
12341 | * value.c (preserve_values): Update to call preserve_ext_lang_values. | |
12342 | * python/py-value.c: Remove #ifdef HAVE_PYTHON. | |
12343 | (gdbpy_preserve_values): Renamed from preserve_python_values. | |
12344 | New arg extlang. | |
12345 | (!HAVE_PYTHON, preserve_python_values): Delete. | |
12346 | ||
12347 | * utils.c (quit_flag): Delete, moved to extension.c. | |
12348 | (clear_quit_flag, set_quit_flag, check_quit_flag): Delete, moved to | |
12349 | extension.c. | |
12350 | ||
12351 | * eval.c: Delete #include "python/python.h". | |
12352 | * main.c: Delete #include "python/python.h". | |
12353 | ||
12354 | * defs.h: Update comment. | |
12355 | ||
6af79985 JB |
12356 | 2014-02-06 Joel Brobecker <brobecker@adacore.com> |
12357 | ||
12358 | GDB 7.7 released. | |
12359 | ||
12c5175d MK |
12360 | 2014-02-05 Mark Kettenis <kettenis@gnu.org> |
12361 | ||
12362 | * c-exp.y (YYPRINT, c_print_token): Only define if YYBISON is | |
12363 | defined. | |
12364 | ||
8dc5b319 YQ |
12365 | 2014-02-05 Yao Qi <yao@codesourcery.com> |
12366 | ||
12367 | * remote.c (remote_pass_signals): Remove local 'buf' and use | |
12368 | rs->buf. | |
12369 | (remote_program_signals): Likewise. | |
12370 | ||
de7b2893 YQ |
12371 | 2014-02-05 Yao Qi <yao@codesourcery.com> |
12372 | ||
12373 | * ctf.c: Include "inferior.h" and "gdbthread.h". | |
12374 | (CTF_PID): A new macro. | |
12375 | (ctf_open): Call inferior_appeared and add_thread_silent. | |
12376 | (ctf_close): Call exit_inferior_silent and set inferior_ptid. | |
12377 | (ctf_thread_alive): New function. | |
12378 | (init_ctf_ops): Install ctf_thread_alive to to_thread_alive. | |
12379 | ||
66d032ac YQ |
12380 | 2014-02-05 Yao Qi <yao@codesourcery.com> |
12381 | ||
12382 | Revert this patch: | |
12383 | ||
12384 | 2013-05-24 Yao Qi <yao@codesourcery.com> | |
12385 | ||
12386 | * tracepoint.c (TFILE_PID): Remove. | |
12387 | (tfile_open): Don't add thread and inferior. | |
12388 | (tfile_close): Don't set 'inferior_ptid'. Don't call | |
12389 | exit_inferior_silent. | |
12390 | (tfile_thread_alive): Remove. | |
12391 | (init_tfile_ops): Don't set field 'to_thread_alive' of | |
12392 | tfile_ops. | |
12393 | ||
f4ccffad CE |
12394 | 2014-02-04 Christian Eggers <ceggers@gmx.de> (tiny change) |
12395 | ||
12396 | * remote.c (remote_start_remote): Call remote_check_symbols even | |
12397 | if only symbol-file (not file) has been given. | |
12398 | ||
591a12a1 UW |
12399 | 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com> |
12400 | ||
12401 | * gdbarch.sh (skip_entrypoint): New callback. | |
12402 | * gdbarch.c, gdbarch.h: Regenerate. | |
12403 | * symtab.c (skip_prologue_sal): Call gdbarch_skip_entrypoint. | |
12404 | * infrun.c (fill_in_stop_func): Likewise. | |
12405 | * ppc-linux-tdep.c: Include "elf/ppc64.h". | |
12406 | (ppc_elfv2_elf_make_msymbol_special): New function. | |
12407 | (ppc_elfv2_skip_entrypoint): Likewise. | |
12408 | (ppc_linux_init_abi): Install them for ELFv2. | |
12409 | ||
cc0e89c5 UW |
12410 | 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com> |
12411 | ||
12412 | * ppc-sysv-tdep.c (ppc64_aggregate_candidate): New routine. | |
12413 | (ppc64_elfv2_abi_homogeneous_aggregate): Likewise. | |
12414 | (ppc64_sysv_abi_push_param): Handle ELFv2 homogeneous structs. | |
12415 | (ppc64_sysv_abi_return_value): Likewise. Also, handle small | |
12416 | structures returned in GPRs. | |
12417 | ||
52f548e4 UW |
12418 | 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com> |
12419 | ||
12420 | * ppc-sysv-tdep.c (ppc64_sysv_abi_push_dummy_call): Use correct | |
12421 | offset to the stack parameter list for the ELFv2 ABI. | |
12422 | ||
d4094b6a UW |
12423 | 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com> |
12424 | ||
12425 | * ppc-linux-tdep.c (ppc_linux_init_abi): Only call | |
12426 | set_gdbarch_convert_from_func_ptr_addr and | |
12427 | set_gdbarch_elf_make_msymbol_special for ELFv1. | |
12428 | * ppc-sysv-tdep.c (ppc64_sysv_abi_push_param): Only handle | |
12429 | function descriptors on ELFv1. | |
12430 | (ppc64_sysv_abi_push_dummy_call): Likewise. On ELFv2, | |
12431 | set up r12 at function entry. | |
12432 | ||
cd453cd0 UW |
12433 | 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com> |
12434 | ||
12435 | * ppc-tdep.h (enum powerpc_elf_abi): New data type. | |
12436 | (struct gdbarch_tdep): New member elf_abi. | |
12437 | ||
12438 | * rs6000-tdep.c: Include "elf/ppc64.h". | |
12439 | (rs6000_gdbarch_init): Detect ELF ABI version. | |
12440 | ||
0ff3e01f UW |
12441 | 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com> |
12442 | ||
12443 | * ppc-sysv-tdep.c (ppc64_sysv_abi_push_freg): Use correct order | |
12444 | within a register pair holding a DFP 128-bit value on little-endian. | |
12445 | (ppc64_sysv_abi_return_value_base): Likewise. | |
12446 | * rs6000-tdep.c (dfp_pseudo_register_read): Likewise. | |
12447 | (dfp_pseudo_register_write): Likewise. | |
12448 | ||
5b757e5d UW |
12449 | 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com> |
12450 | ||
12451 | * ppc-sysv-tdep.c (ppc64_sysv_abi_push_freg): Use correct | |
12452 | offset on little-endian when passing _Decimal32. | |
12453 | (ppc64_sysv_abi_return_value_base): Likewise for return values. | |
12454 | ||
084ee545 UW |
12455 | 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com> |
12456 | ||
12457 | * rs6000-tdep.c (efpr_pseudo_register_read): Use correct offset | |
12458 | of the overlapped FP register within the VSX register on little- | |
12459 | endian platforms. | |
12460 | (efpr_pseudo_register_write): Likewise. | |
12461 | ||
d63167af UW |
12462 | 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com> |
12463 | ||
12464 | * ppc-sysv-tdep.c (ppc64_sysv_abi_push_val): Use correct | |
12465 | offset on little-endian when passing small structures. | |
12466 | ||
e765b44c UW |
12467 | 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com> |
12468 | ||
12469 | * ppc-sysv-tdep.c (get_decimal_float_return_value): Update comment. | |
12470 | (struct ppc64_sysv_argpos): New data structure. | |
12471 | (ppc64_sysv_abi_push_float): Remove. | |
12472 | (ppc64_sysv_abi_push_val): New function. | |
12473 | (ppc64_sysv_abi_push_integer): Likewise. | |
12474 | (ppc64_sysv_abi_push_freg): Likewise. | |
12475 | (ppc64_sysv_abi_push_vreg): Likewise. | |
12476 | (ppc64_sysv_abi_push_param): Likewise. | |
12477 | (ppc64_sysv_abi_push_dummy_call): Refactor to use those new routines. | |
12478 | (ppc64_sysv_abi_return_value_base): New function. | |
12479 | (ppc64_sysv_abi_return_value): Refactor to use it. | |
12480 | ||
36c24d95 UW |
12481 | 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com> |
12482 | ||
12483 | * NEWS: Document new target powerpc64le-*-linux*. | |
12484 | ||
26fd9228 MK |
12485 | 2014-02-04 Mark Kettenis <kettenis@gnu.org> |
12486 | ||
12487 | * sparc64obsd-tdep.c (sparc64obsd_gregset): New variable. | |
12488 | (sparc64obsd_supply_gregset): Handle registers sets used in ELF | |
12489 | core dumps. | |
12490 | (sparc64obsd_init_abi): Adjust minimum size of the general purpose | |
12491 | register set used in ELF core dumps. Add floating-point register set. | |
12492 | ||
c5bb7362 KB |
12493 | 2014-02-03 Kevin Buettner <kevinb@redhat.com> |
12494 | ||
74228e77 | 12495 | * mn10300-tdep.c (mn10300_dwarf2_reg_to_regnum): Rewrite |
c5bb7362 KB |
12496 | dwarf2_to_gdb[] table using symbolic constants. Adjust |
12497 | penultimate entry from number representing the PC register | |
12498 | to symbolic constant representing the MDR register. Add | |
12499 | constant for the PC register to the end of the table. | |
12500 | ||
af09351e MK |
12501 | 2014-02-03 Mark Kettenis <kettenis@gnu.org> |
12502 | ||
12503 | * bsd-kvm.c: Include <sys/param.h> | |
12504 | ||
8507e05d MK |
12505 | 2014-02-03 Mark Kettenis <kettenis@gnu.org> |
12506 | ||
12507 | * sparc64nbsd-nat.c (sparc64nbsd_supply_fpregset): Fix prototype. | |
12508 | ||
ae56bfb8 JB |
12509 | 2014-01-31 Joel Brobecker <brobecker@adacore.com> |
12510 | ||
12511 | * ada-lang.h (clear_ada_sym_cache): Delete. | |
12512 | ||
718ee4dc UW |
12513 | 2014-01-30 Ulrich Weigand <uweigand@de.ibm.com> |
12514 | ||
12515 | * auxv.c (fprint_target_auxv): Handle AT_HWCAP2. | |
12516 | ||
401e27fd JM |
12517 | 2014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com> |
12518 | ||
12519 | * sparc64-linux-tdep.c (sparc64_linux_step_trap): Get PC from | |
12520 | the sigreturn register save area only if the syscall is | |
12521 | sigreturn. | |
12522 | ||
a7c88acd JB |
12523 | 2014-01-29 Joel Brobecker <brobecker@adacore.com> |
12524 | ||
12525 | * valops.c (value_slice): Minor reformatting. | |
12526 | ||
fa0079ea UW |
12527 | 2014-01-28 Ulrich Weigand <uweigand@de.ibm.com> |
12528 | ||
12529 | * ppc64-tdep.c (ppc64_standard_linkage7): Fix typo. | |
12530 | ||
c6044dd1 JB |
12531 | 2014-01-28 Joel Brobecker <brobecker@adacore.com> |
12532 | ||
12533 | * ada-lang.c (maint_set_ada_cmdlist, maint_show_ada_cmdlist): | |
12534 | New static globals. | |
12535 | (maint_set_ada_cmd, maint_show_ada_cmd): New functions. | |
12536 | (ada_ignore_descriptive_types_p): New static global. | |
12537 | (find_parallel_type_by_descriptive_type): Return immediately | |
12538 | if ada_ignore_descriptive_types_p is set. | |
12539 | (_initialize_ada_language): Register new commands "maintenance | |
12540 | set ada", "maintenance show ada", "maintenance set ada | |
12541 | ignore-descriptive-types" and "maintenance show ada | |
12542 | ignore-descriptive-types". | |
12543 | * NEWS: Add entry for new "maint ada set/show | |
12544 | ignore-descriptive-types" commands. | |
12545 | ||
568e808b MM |
12546 | 2014-01-27 Markus Metzger <markus.t.metzger@intel.com> |
12547 | ||
12548 | * record-btrace.c (record_btrace_close): Call btrace_teardown | |
12549 | for all threads. | |
12550 | ||
467d141b JB |
12551 | 2014-01-27 Joel Brobecker <brobecker@adacore.com> |
12552 | ||
12553 | * ada-lang.c: Remove "#ifdef UI_OUT" condition for including | |
12554 | "ui-out.h". | |
12555 | ||
fb151210 JB |
12556 | 2014-01-27 Joel Brobecker <brobecker@adacore.com> |
12557 | ||
12558 | * ada-typeprint (type_is_full_subrange_of_target_type): | |
12559 | New function. | |
12560 | (print_range): Add parameter bounds_prefered_p. If not set, | |
12561 | try printing range types using the name of their base type. | |
12562 | (print_range_type): Add parameter bounds_prefered_p. | |
12563 | Use it in call to print_range. | |
12564 | (print_array_type, ada_print_type): Update calls to print_range | |
12565 | and print_range_type. | |
12566 | ||
aba02109 JB |
12567 | 2014-01-27 Joel Brobecker <brobecker@adacore.com> |
12568 | ||
12569 | * ada-typeprint.c (print_array_type, print_choices, print_range) | |
12570 | (print_range_bound, print_dynamic_range_bound, print_range_type): | |
12571 | Remove declaration. | |
12572 | ||
e62e21fd JB |
12573 | 2014-01-27 Joel Brobecker <brobecker@adacore.com> |
12574 | ||
12575 | * ada-typeprint.c (print_range): Add missing empty line | |
12576 | after local declaration. | |
12577 | ||
859cf5d1 JB |
12578 | 2014-01-27 Joel Brobecker <brobecker@adacore.com> |
12579 | ||
12580 | * ada-valprint.c (print_optional_low_bound): Get index_type's | |
12581 | target type for as long as it is a TYPE_CODE_RANGE. | |
12582 | ||
25790f6f JB |
12583 | 2014-01-27 Joel Brobecker <brobecker@adacore.com> |
12584 | ||
12585 | * procfs.c (procfs_make_note_section): Remove assertion and | |
12586 | associated comment. | |
12587 | ||
6b6aa828 YQ |
12588 | 2014-01-24 Yao Qi <yao@codesourcery.com> |
12589 | ||
12590 | * remote.c (remote_read_bytes): Change type of len to ULONGEST. | |
12591 | * corelow.c (get_core_siginfo): Likewise. | |
12592 | ||
5d6df423 YQ |
12593 | 2014-01-24 Yao Qi <yao@codesourcery.com> |
12594 | ||
12595 | * remote.c (remote_write_bytes_aux): Change type of 'len' to | |
12596 | ULONGEST. Don't check 'len' is negative. | |
12597 | (remote_write_bytes): Change type of 'len' to ULONGEST. | |
12598 | ||
83b645b8 TT |
12599 | 2014-01-23 Tom Tromey <tromey@redhat.com> |
12600 | ||
12601 | PR python/16485: | |
12602 | * python/lib/gdb/FrameDecorator.py: (FrameVars.fetch_frame_args): | |
12603 | Handle exception from frame.block. | |
12604 | (FrameVars.fetch_frame_locals): Likewise. | |
12605 | ||
0740f8d8 TT |
12606 | 2014-01-23 Tom Tromey <tromey@redhat.com> |
12607 | ||
12608 | PR python/16487: | |
12609 | * python/py-framefilter.c (py_print_frame): Don't call Py_DECREF | |
12610 | on a NULL pointer. Move "goto error" to correct place. | |
12611 | ||
21909fa1 TT |
12612 | 2014-01-23 Tom Tromey <tromey@redhat.com> |
12613 | ||
12614 | PR python/16491: | |
12615 | * python/py-framefilter.c (apply_frame_filter): Call | |
12616 | ensure_python_env after computing gdbarch. | |
12617 | ||
17fde6d0 YQ |
12618 | 2014-01-23 Yao Qi <yao@codesourcery.com> |
12619 | ||
12620 | * target.c (raw_memory_xfer_partial): Change argument type | |
12621 | from void * to gdb_byte *. | |
12622 | (memory_xfer_partial_1, memory_xfer_partial): Likewise. | |
12623 | ||
87ce2a04 DE |
12624 | 2014-01-22 Doug Evans <dje@google.com> |
12625 | ||
12626 | New gdbserver option --debug-format=timestamp. | |
12627 | * NEWS: Mention it. | |
12628 | ||
237b092b AA |
12629 | 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com> |
12630 | ||
12631 | * syscalls/s390x-linux.xml: New file. | |
12632 | * syscalls/s390-linux.xml: New file. | |
12633 | * s390-linux-tdep.c (XML_SYSCALL_FILENAME_S390): New macro. | |
12634 | (XML_SYSCALL_FILENAME_S390X): Likewise. | |
12635 | (op_svc): New enum value for SVC opcode. | |
12636 | (s390_sigtramp_frame_sniffer): Replace literal by 'op_svc'. | |
12637 | (s390_linux_get_syscall_number): New function. | |
12638 | (s390_gdbarch_init): Register '*get_syscall_number' and the | |
12639 | syscall xml file name. | |
12640 | * data-directory/Makefile.in (SYSCALLS_FILES): Add | |
12641 | "s390-linux.xml" and "s390x-linux.xml". | |
12642 | * NEWS: Announce new feature. | |
12643 | ||
54bff650 BS |
12644 | 2014-01-22 Baruch Siach <baruch@tkos.co.il> |
12645 | ||
12646 | * xtensa-tdep.h (xtensa_elf_greg_t): Change type to uint32_t. | |
12647 | ||
14e361d7 PA |
12648 | 2014-01-22 Pedro Alves <palves@redhat.com> |
12649 | ||
12650 | * xtensa-config.c: Include defs.h. | |
12651 | ||
46bbb3ed JB |
12652 | 2014-01-22 Joel Brobecker <brobecker@adacore.com> |
12653 | ||
12654 | * common/common-utils.h: Add "ARI:" comment beside __func__ | |
12655 | reference. | |
12656 | ||
3a80edfc JB |
12657 | 2014-01-22 Joel Brobecker <brobecker@adacore.com> |
12658 | ||
12659 | * common/common-utils.h (FUNCTION_NAME): Expand the macro's | |
12660 | documentation a bit. | |
12661 | ||
4869db5e RM |
12662 | 2014-01-21 Roland McGrath <mcgrathr@google.com> |
12663 | ||
12664 | * configure.ac: Call AM_PROG_INSTALL_STRIP. | |
12665 | * configure: Regenerate. | |
12666 | * aclocal.m4: Regenerate. | |
12667 | * Makefile.in (install_sh, INSTALL_STRIP_PROGRAM, STRIP): | |
12668 | New substituted variables. | |
12669 | (install-strip): New target. | |
12670 | (INSTALL_SCRIPT): New substituted variable. | |
12671 | (FLAGS_TO_PASS): Add it. | |
12672 | (install-only): Use $(INSTALL_SCRIPT) rather than | |
12673 | $(INSTALL_PROGRAM) for gcore. | |
12674 | ||
9ea4267d TT |
12675 | 2014-01-20 Tom Tromey <tromey@redhat.com> |
12676 | ||
12677 | * cli/cli-decode.h (struct cmd_list_element): Move all bitfields | |
12678 | together. | |
12679 | ||
1f2bdf09 TT |
12680 | 2014-01-20 Tom Tromey <tromey@redhat.com> |
12681 | ||
12682 | * cli/cli-decode.c (add_cmd, deprecate_cmd, add_alias_cmd) | |
12683 | (add_setshow_cmd_full, delete_cmd, lookup_cmd_1) | |
12684 | (deprecated_cmd_warning, complete_on_cmdlist): Update. | |
12685 | * cli/cli-decode.h (CMD_DEPRECATED, DEPRECATED_WARN_USER) | |
12686 | (MALLOCED_REPLACEMENT, DOC_ALLOCATED): Remove. | |
12687 | (struct cmd_list_element) <flags>: Remove. | |
12688 | <cmd_deprecated, deprecated_warn_user, malloced_replacement, | |
12689 | doc_allocated>: New fields. | |
12690 | <hook_in, allow_unknown, abbrev_flag, type, var_type>: Now | |
12691 | bitfields. | |
12692 | * maint.c (maintenance_do_deprecate): Update. | |
12693 | * top.c (execute_command): Update. | |
12694 | ||
e671835b BS |
12695 | 2014-01-20 Baruch Siach <baruch@tkos.co.il> |
12696 | ||
12697 | * xtensa-linux-nat.c: Include asm/ptrace.h. | |
12698 | ||
50367cd2 IB |
12699 | 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org> |
12700 | ||
12701 | * Makefile.in (SFILES): Add d-support.c. | |
12702 | (COMMON_OBS): Add d-support.o. | |
12703 | * d-lang.h (d_parse_symbol): Add comment, now defined in | |
12704 | d-support.c. | |
12705 | * d-lang.c (parse_call_convention) | |
12706 | (parse_attributes, parse_function_types) | |
12707 | (parse_function_args, parse_type, parse_identifier) | |
12708 | (call_convention_p, d_parse_symbol): Move functions to ... | |
12709 | * d-support.c: ... New file. | |
12710 | ||
ec9f644a IB |
12711 | 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org> |
12712 | ||
12713 | * d-lang.h (d_parse_symbol): Add declaration. | |
12714 | * d-lang.c (extract_identifiers) | |
12715 | (extract_type_info): Remove functions. | |
12716 | (parse_call_convention, parse_attributes) | |
12717 | (parse_function_types, parse_function_args) | |
12718 | (parse_type, parse_identifier, call_convention_p) | |
12719 | (d_parse_symbol): New functions. | |
12720 | (d_demangle): Use d_parse_symbol to demangle D symbols. | |
12721 | ||
94b1b47e IB |
12722 | 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org> |
12723 | ||
12724 | * d-lang.h (struct builtin_d_type): New data type. | |
12725 | (builtin_d_type): Add declaration. | |
12726 | * d-lang.c (d_language_arch_info, build_d_types) | |
12727 | (builtin_d_type): New functions. | |
12728 | (enum d_primitive_types): New data type. | |
12729 | (d_language_defn): Change c_language_arch_info to | |
12730 | d_language_arch_info. | |
12731 | (d_type_data): New static variable. | |
12732 | (_initialize_d_language): Initialize d_type_data. | |
12733 | ||
63778547 IB |
12734 | 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org> |
12735 | ||
12736 | * d-lang.h (d_main_name): Add declaration. | |
12737 | * d-lang.c (d_main_name): New function. | |
12738 | * symtab.c (find_main_name): Add call to d_main_name. | |
12739 | ||
3271ba66 IB |
12740 | 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org> |
12741 | ||
12742 | * d-lang.c (d_language_defn): Change macro_expansion_c to | |
12743 | macro_expansion_no. | |
12744 | ||
d36b3012 IB |
12745 | 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org> |
12746 | ||
12747 | * MAINTAINERS: Add myself as a write-after-approval maintainer. | |
12748 | ||
c90a6fb7 SDJ |
12749 | 2014-01-17 Sergio Durigan Junior <sergiodj@redhat.com> |
12750 | ||
12751 | * breakpoint.c (insert_bp_location): Add "volatile" keyword to "struct | |
12752 | gdb_exception" declaration. | |
12753 | * remote.c (getpkt_or_notif_sane): Likewise. | |
12754 | ||
749234e5 DE |
12755 | 2014-01-17 Doug Evans <dje@google.com> |
12756 | ||
12757 | * common/gdb_vecs.c (delim_string_to_char_ptr_vec_append): New | |
12758 | function, contents of dirnames_to_char_ptr_vec_append moved here. | |
12759 | (delim_string_to_char_ptr_vec): New function. | |
12760 | (dirnames_to_char_ptr_vec_append): Rewrite. | |
12761 | * common/gdb_vecs.h (delim_string_to_char_ptr_vec): Declare. | |
12762 | ||
df049a58 DE |
12763 | 2014-01-17 Doug Evans <dje@google.com> |
12764 | ||
12765 | * common/common-utils.h (FUNCTION_NAME): Renamed from ASSERT_FUNCTION, | |
12766 | and moved here ... | |
12767 | * common/gdb_assert.h (ASSERT_FUNCTION): ... from here. | |
12768 | #include "common-utils.h". | |
12769 | (gdb_assert, gdb_assert_fail, gdb_assert_not_reached): Update. | |
12770 | * common/vec.h (VEC_ASSERT_PASS): Update. | |
12771 | * darwin-nat.h: Replace #include of gdb_assert.h with common-utils.h. | |
12772 | (MACH_CHECK_ERROR): Update. | |
12773 | ||
69f97648 SM |
12774 | 2014-01-17 Simon Marchi <simon.marchi@ericsson.com> |
12775 | ||
12776 | * gdbarch.sh (gdbarch_address_class_name_to_type_flags): Add | |
12777 | comments. | |
12778 | * gdbarch.h: Regenerate. | |
12779 | ||
98b1cfdc TT |
12780 | 2014-01-16 Tom Tromey <tromey@redhat.com> |
12781 | ||
12782 | * value.c (struct value) <regnum>: Move earlier. | |
12783 | ||
77a19445 TT |
12784 | 2014-01-16 Tom Tromey <tromey@redhat.com> |
12785 | ||
12786 | * remote.c (extended_remote_create_inferior): Rename from | |
12787 | extended_remote_create_inferior_1. Add "ops" argument. Remove | |
12788 | old implementation. | |
12789 | ||
62261490 PA |
12790 | 2014-01-16 Pedro Alves <palves@redhat.com> |
12791 | ||
12792 | * s390-linux-tdep.c (s390_frame_unwind_cache): Swallow | |
12793 | NOT_AVAILABLE_ERROR errors while parsing the prologue or reading | |
12794 | the backchain. | |
12795 | ||
4d65956b DE |
12796 | 2014-01-16 Doug Evans <dje@google.com> |
12797 | ||
12798 | * dwarf2read.c (open_and_init_dwp_file): Fix typo in comment. | |
12799 | ||
52834460 MM |
12800 | 2014-01-16 Markus Metzger <markus.t.metzger@intel.com> |
12801 | ||
12802 | * btrace.h (btrace_thread_flag): New. | |
12803 | (struct btrace_thread_info) <flags>: New. | |
12804 | * record-btrace.c (record_btrace_resume_thread) | |
12805 | (record_btrace_find_thread_to_move, btrace_step_no_history) | |
12806 | (btrace_step_stopped, record_btrace_start_replaying) | |
12807 | (record_btrace_step_thread, record_btrace_decr_pc_after_break) | |
12808 | (record_btrace_find_resume_thread): New. | |
12809 | (record_btrace_resume, record_btrace_wait): Extend. | |
12810 | (record_btrace_can_execute_reverse): New. | |
12811 | (record_btrace_open): Fail in non-stop mode. | |
12812 | (record_btrace_set_replay): Split into this, ... | |
12813 | (record_btrace_stop_replaying): ... this, ... | |
12814 | (record_btrace_clear_histories): ... and this. | |
12815 | (init_record_btrace_ops): Init to_can_execute_reverse. | |
12816 | * NEWS: Announce it. | |
12817 | ||
118e6252 MM |
12818 | 2014-01-16 Markus Metzger <markus.t.metzger@intel.com> |
12819 | ||
12820 | * target.h (struct target_ops) <to_decr_pc_after_break>: New. | |
12821 | (forward_target_decr_pc_after_break) | |
12822 | (target_decr_pc_after_break): New. | |
12823 | * target.c (forward_target_decr_pc_after_break) | |
12824 | (target_decr_pc_after_break): New. | |
12825 | * aix-thread.c (aix_thread_wait): Call target_decr_pc_after_break | |
12826 | instead of gdbarch_decr_pc_after_break. | |
12827 | * darwin-nat.c (cancel_breakpoint): Call target_decr_pc_after_break | |
12828 | instead of gdbarch_decr_pc_after_break. | |
12829 | * infrun.c (adjust_pc_after_break): Call target_decr_pc_after_break | |
12830 | instead of gdbarch_decr_pc_after_break. | |
12831 | * linux-nat.c (cancel_breakpoint): Call target_decr_pc_after_break | |
12832 | instead of gdbarch_decr_pc_after_break. | |
12833 | * linux-thread-db.c (check_event): Call target_decr_pc_after_break | |
12834 | instead of gdbarch_decr_pc_after_break. | |
12835 | * record-full.c (record_full_wait_1): Call target_decr_pc_after_break | |
12836 | instead of gdbarch_decr_pc_after_break. | |
12837 | ||
6e07b1d2 MM |
12838 | 2014-01-16 Markus Metzger <markus.t.metzger@intel.com> |
12839 | ||
12840 | * btrace.c: Include regcache.h. | |
12841 | (btrace_add_pc): New. | |
12842 | (btrace_enable): Call btrace_add_pc. | |
12843 | (btrace_is_empty): New. | |
12844 | * btrace.h (btrace_is_empty): New. | |
12845 | * record-btrace.c (require_btrace, record_btrace_info): Call | |
12846 | btrace_is_empty. | |
12847 | ||
969c39fb MM |
12848 | 2014-01-16 Markus Metzger <markus.t.metzger@intel.com> |
12849 | ||
12850 | * common/linux-btrace.c (perf_event_read_bts, linux_read_btrace): | |
12851 | Support delta reads. | |
12852 | (linux_disable_btrace): Change return type. | |
12853 | * common/linux-btrace.h (linux_read_btrace): Change parameters | |
12854 | and return type to allow error reporting. Update users. | |
12855 | (linux_disable_btrace): Change return type. Update users. | |
12856 | * common/btrace-common.h (btrace_read_type) <BTRACE_READ_DELTA>: | |
12857 | New. | |
12858 | (btrace_error): New. | |
12859 | (btrace_block) <begin>: Comment on BEGIN == 0. | |
12860 | * btrace.c (btrace_compute_ftrace): Start from the end of | |
12861 | the current trace. | |
12862 | (btrace_stitch_trace, btrace_clear_history): New. | |
12863 | (btrace_fetch): Read delta trace, return if replaying. | |
12864 | (btrace_clear): Move clear history code to btrace_clear_history. | |
12865 | (parse_xml_btrace): Throw an error if parsing failed. | |
12866 | * target.h (struct target_ops) <to_read_btrace>: Change parameters | |
12867 | and return type to allow error reporting. | |
12868 | (target_read_btrace): Change parameters and return type to allow | |
12869 | error reporting. | |
12870 | * target.c (target_read_btrace): Update. | |
12871 | * remote.c (remote_read_btrace): Support delta reads. Pass | |
12872 | errors on. | |
12873 | * NEWS: Announce it. | |
12874 | ||
0b722aec MM |
12875 | 2014-01-16 Markus Metzger <markus.t.metzger@intel.com> |
12876 | ||
12877 | * record.h (record_btrace_frame_unwind) | |
12878 | (record_btrace_tailcall_frame_unwind): New declarations. | |
12879 | * dwarf2-frame: Include record.h | |
12880 | (dwarf2_frame_cfa): Throw an error for btrace frames. | |
12881 | * record-btrace.c: Include hashtab.h. | |
12882 | (btrace_get_bfun_name): New. | |
12883 | (btrace_call_history): Call btrace_get_bfun_name. | |
12884 | (struct btrace_frame_cache): New. | |
12885 | (bfcache): New. | |
12886 | (bfcache_hash, bfcache_eq, bfcache_new): New. | |
12887 | (btrace_get_frame_function): New. | |
12888 | (record_btrace_frame_unwind_stop_reason): Allow unwinding. | |
12889 | (record_btrace_frame_this_id): Compute own id. | |
12890 | (record_btrace_frame_prev_register): Provide PC, throw_error | |
12891 | for all other registers. | |
12892 | (record_btrace_frame_sniffer): Detect btrace frames. | |
12893 | (record_btrace_tailcall_frame_sniffer): New. | |
12894 | (record_btrace_frame_dealloc_cache): New. | |
12895 | (record_btrace_frame_unwind): Add new functions. | |
12896 | (record_btrace_tailcall_frame_unwind): New. | |
12897 | (_initialize_record_btrace): Allocate cache. | |
12898 | * btrace.c (btrace_clear): Call reinit_frame_cache. | |
12899 | * NEWS: Announce it. | |
12900 | ||
066ce621 MM |
12901 | 2014-01-16 Markus Metzger <markus.t.metzger@intel.com> |
12902 | ||
12903 | * record-btrace.c (record_btrace_set_replay) | |
12904 | (record_btrace_goto_begin, record_btrace_goto_end) | |
12905 | (record_btrace_goto): New. | |
12906 | (init_record_btrace_ops): Initialize them. | |
12907 | * NEWS: Announce it. | |
12908 | ||
e2887aa3 MM |
12909 | 2014-01-16 Markus Metzger <markus.t.metzger@intel.com> |
12910 | ||
12911 | * record-btrace.c (record_btrace_find_new_threads) | |
12912 | (record_btrace_thread_alive): New. | |
12913 | (init_record_btrace_ops): Initialize to_find_new_threads and | |
12914 | to_thread_alive. | |
12915 | ||
b2f4cfde MM |
12916 | 2014-01-16 Markus Metzger <markus.t.metzger@intel.com> |
12917 | ||
12918 | * record-btrace.c (record_btrace_resume): New. | |
12919 | (record_btrace_wait): New. | |
12920 | (init_record_btrace_ops): Initialize to_wait and to_resume. | |
12921 | ||
633785ff MM |
12922 | 2014-01-16 Markus Metzger <markus.t.metzger@intel.com> |
12923 | ||
12924 | * record-btrace.c (record_btrace_xfer_partial) | |
12925 | (record_btrace_insert_breakpoint, record_btrace_remove_breakpoint) | |
12926 | (record_btrace_allow_memory_access): New. | |
12927 | (init_record_btrace_ops): Initialize new methods. | |
12928 | * target.c (raw_memory_xfer_partial): Bail out if target reports | |
12929 | that this memory is not available. | |
12930 | ||
3db08215 MM |
12931 | 2014-01-16 Markus Metzger <markus.t.metzger@intel.com> |
12932 | ||
12933 | * target.h (target_ops) <to_insert_breakpoint> | |
12934 | <to_remove_breakpoint>: Add target_ops parameter. | |
12935 | (forward_target_insert_breakpoint): New. | |
12936 | (forward_target_remove_breakpoint): New. | |
12937 | (memory_remove_breakpoint, memory_insert_breakpoint): | |
12938 | Add target_ops parameter. | |
12939 | * target.c (target_insert_breakpoint): Split into this and ... | |
12940 | (forward_target_insert_breakpoint): ... this. | |
12941 | (target_remove_breakpoint): Split into this and ... | |
12942 | (forward_target_remove_breakpoint): ... this. | |
12943 | (debug_to_insert_breakpoint): Add target_ops parameter. | |
12944 | Call forward_target_insert_breakpoint. | |
12945 | (debug_to_remove_breakpoint): Add target_ops parameter. | |
12946 | Call forward_target_remove_breakpoint. | |
12947 | (update_current_target): Do not inherit or default to_insert_breakpoint | |
12948 | and to_remove_breakpoint. | |
12949 | * corelow.c (ignore): Add target_ops parameter. | |
12950 | * exec.c (ignore): Add target_ops parameter. | |
12951 | * mem-break.c (memory_insert_breakpoint, memory_remove_breakpoint): | |
12952 | Add target_ops parameter. | |
12953 | * monitor.c (monitor_insert_breakpoint, monitor_remove_breakpoint): | |
12954 | Add target_ops parameter. | |
12955 | * nto-procfs.c (procfs_insert_breakpoint, procfs_remove_breakpoint): | |
12956 | Add target_ops parameter. | |
12957 | * record-full.c (record_full_beneath_to_insert_breakpoint) | |
12958 | (record_full_beneath_to_remove_breakpoint, tmp_to_insert_breakpoint) | |
12959 | (tmp_to_remove_breakpoint, record_full_insert_breakpoint) | |
12960 | (record_full_remove_breakpoint, record_full_core_insert_breakpoint) | |
12961 | (record_full_core_remove_breakpoint): Add target_ops parameter. | |
12962 | Update users. | |
12963 | (record_full_beneath_to_insert_breakpoint_ops) | |
12964 | (record_full_beneath_to_remove_breakpoint_ops) | |
12965 | (tmp_to_insert_breakpoint_ops, tmp_to_remove_breakpoint_ops): New. | |
12966 | (record_full_open): Initialize tmp_to_insert_breakpoint_ops, | |
12967 | tmp_to_remove_breakpoint_ops, | |
12968 | record_full_beneath_to_insert_breakpoint_ops, and | |
12969 | record_full_beneath_to_remove_breakpoint_ops. | |
12970 | * remote-m32r-sdi.c (m32r_insert_breakpoint) | |
12971 | (m32r_remove_breakpoint): Add target_ops parameter. | |
12972 | * remote-mips.c (mips_insert_breakpoint, mips_remove_breakpoint): | |
12973 | Add target_ops parameter. | |
12974 | * remote.c (remote_insert_breakpoint, remote_remove_breakpoint): | |
12975 | Add target_ops parameter. | |
12976 | ||
cecac1ab MM |
12977 | 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com> |
12978 | Markus Metzger <markus.t.metzger@intel.com> | |
12979 | ||
12980 | * record-btrace.c: Include frame-unwind.h. | |
12981 | (record_btrace_frame_unwind_stop_reason) | |
12982 | (record_btrace_frame_this_id, record_btrace_frame_prev_register) | |
12983 | (record_btrace_frame_sniffer, record_btrace_frame_unwind): | |
12984 | New. | |
12985 | (init_record_btrace_ops): Install it. | |
12986 | ||
824344ca MM |
12987 | 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com> |
12988 | ||
12989 | * frame.c (get_frame_unwind_stop_reason): Unconditionally call | |
12990 | get_prev_frame_1. | |
12991 | ||
32261e52 MM |
12992 | 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com> |
12993 | ||
12994 | * dwarf2-frame.c (dwarf2_frame_cfa): Move UNWIND_UNAVAILABLE check | |
12995 | earlier. | |
12996 | ||
ea001bdc MM |
12997 | 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com> |
12998 | ||
12999 | * frame-unwind.c: Include target.h. | |
13000 | (frame_unwind_try_unwinder): New function with code from ... | |
13001 | (frame_unwind_find_by_frame): ... here. New variable | |
13002 | unwinder_from_target, call also target_get_unwinder) | |
13003 | (target_get_tailcall_unwinder, and frame_unwind_try_unwinder for it. | |
13004 | * target.c (target_get_unwinder, target_get_tailcall_unwinder): New. | |
13005 | * target.h (struct target_ops): New fields to_get_unwinder and | |
13006 | to_get_tailcall_unwinder. | |
13007 | (target_get_unwinder, target_get_tailcall_unwinder): New declarations. | |
13008 | ||
1f3ef581 MM |
13009 | 2014-01-16 Markus Metzger <markus.t.metzger@intel.com> |
13010 | ||
13011 | * record-btrace.c (record_btrace_fetch_registers) | |
13012 | (record_btrace_store_registers) | |
13013 | (record_btrace_to_prepare_to_store): New. | |
13014 | (init_record_btrace_ops): Add the above. | |
13015 | ||
f32dbf8c MM |
13016 | 2014-01-16 Tom Tromey <tromey@redhat.com> |
13017 | ||
13018 | * windows-nat.c (windows_prepare_to_store): Add 'self' argument. | |
13019 | * target.h (struct target_ops) <to_prepare_to_store>: Add | |
13020 | argument. | |
13021 | (target_prepare_to_store): Add argument. | |
13022 | * target.c (debug_to_prepare_to_store): Add argument. | |
13023 | (update_current_target): Update. | |
13024 | * remote.c (remote_prepare_to_store): Add 'self' argument. | |
13025 | * remote-sim.c (gdbsim_prepare_to_store): Add 'self' argument. | |
13026 | * remote-mips.c (mips_prepare_to_store): Add 'self' argument. | |
13027 | * remote-m32r-sdi.c (m32r_prepare_to_store): Add 'self' argument. | |
13028 | * record-full.c (record_full_core_prepare_to_store): Add 'self' | |
13029 | argument. | |
13030 | * ravenscar-thread.c (ravenscar_prepare_to_store): Add argument. | |
13031 | * nto-procfs.c (procfs_prepare_to_store): Add 'self' argument. | |
13032 | * monitor.c (monitor_prepare_to_store): Add 'self' argument. | |
13033 | * inf-child.c (inf_child_prepare_to_store): Add 'self' argument. | |
13034 | * go32-nat.c (go32_prepare_to_store): Add 'self' argument. | |
13035 | ||
07bbe694 MM |
13036 | 2014-01-16 Markus Metzger <markus.t.metzger@intel.com> |
13037 | ||
13038 | * btrace.h (replay) <replay>: New. | |
13039 | (btrace_is_replaying): New. | |
13040 | * btrace.c (btrace_clear): Free replay iterator. | |
13041 | (btrace_is_replaying): New. | |
13042 | * record-btrace.c (record_btrace_is_replaying): New. | |
13043 | (record_btrace_info): Print insn number if replaying. | |
13044 | (record_btrace_insn_history): Start at replay position. | |
13045 | (record_btrace_call_history): Start at replay position. | |
13046 | (init_record_btrace_ops): Init to_record_is_replaying. | |
13047 | ||
0688d04e MM |
13048 | 2014-01-16 Markus Metzger <markus.t.metzger@intel.com> |
13049 | ||
13050 | * record-btrace.c (record_btrace_insn_history_range): Include | |
13051 | end. | |
13052 | (record_btrace_insn_history_from): Adjust range. | |
13053 | (record_btrace_call_history_range): Include | |
13054 | end. | |
13055 | (record_btrace_call_history_from): Adjust range. | |
13056 | * NEWS: Announce changes. | |
13057 | ||
8710b709 MM |
13058 | 2014-01-16 Markus Metzger <markus.t.metzger@intel.com> |
13059 | ||
13060 | * record.h (enum record_print_flag) | |
13061 | <record_print_indent_calls>: New. | |
13062 | * record.c (get_call_history_modifiers): Recognize /c modifier. | |
13063 | (_initialize_record): Document /c modifier. | |
13064 | * record-btrace.c (btrace_call_history): Add btinfo parameter. | |
13065 | Reorder fields. Optionally indent the function name. Update | |
13066 | all users. | |
13067 | * NEWS: Announce changes. | |
13068 | ||
d0fa7535 MM |
13069 | 2014-01-16 Markus Metzger <markus.t.metzger@intel.com> |
13070 | ||
13071 | * common/linux-btrace.c (linux_enable_btrace): Enlarge buffer. | |
13072 | ||
5de9129b MM |
13073 | 2014-01-16 Markus Metzger <markus.t.metzger@intel.com> |
13074 | ||
13075 | * btrace.c (ftrace_new_function): Start counting at one. | |
13076 | * record-btrace.c (record_btrace_info): Adjust number of calls | |
13077 | and insns. | |
13078 | * NEWS: Announce it. | |
13079 | ||
7acbe133 MM |
13080 | 2014-01-16 Markus Metzger <markus.t.metzger@intel.com> |
13081 | ||
13082 | * record-btrace.c (btrace_call_history_insn_range): Print | |
13083 | insn range as [begin, end]. | |
13084 | ||
23a7fe75 MM |
13085 | 2014-01-16 Markus Metzger <markus.t.metzger@intel.com> |
13086 | ||
13087 | * btrace.h (struct btrace_func_link): New. | |
13088 | (enum btrace_function_flag): New. | |
13089 | (struct btrace_inst): Rename to ... | |
13090 | (struct btrace_insn): ...this. Update all users. | |
13091 | (struct btrace_func) <ibegin, iend>: Remove. | |
13092 | (struct btrace_func_link): New. | |
13093 | (struct btrace_func): Rename to ... | |
13094 | (struct btrace_function): ...this. Update all users. | |
13095 | (struct btrace_function) <segment, flow, up, insn, insn_offset) | |
13096 | (number, level, flags>: New. | |
13097 | (struct btrace_insn_iterator): Rename to ... | |
13098 | (struct btrace_insn_history): ...this. | |
13099 | Update all users. | |
13100 | (struct btrace_insn_iterator, btrace_call_iterator): New. | |
13101 | (struct btrace_target_info) <btrace, itrace, ftrace>: Remove. | |
13102 | (struct btrace_target_info) <begin, end, level> | |
13103 | <insn_history, call_history>: New. | |
13104 | (btrace_insn_get, btrace_insn_number, btrace_insn_begin) | |
13105 | (btrace_insn_end, btrace_insn_prev, btrace_insn_next) | |
13106 | (btrace_insn_cmp, btrace_find_insn_by_number, btrace_call_get) | |
13107 | (btrace_call_number, btrace_call_begin, btrace_call_end) | |
13108 | (btrace_call_prev, btrace_call_next, btrace_call_cmp) | |
13109 | (btrace_find_function_by_number, btrace_set_insn_history) | |
13110 | (btrace_set_call_history): New. | |
13111 | * btrace.c (btrace_init_insn_iterator) | |
13112 | (btrace_init_func_iterator, compute_itrace): Remove. | |
13113 | (ftrace_print_function_name, ftrace_print_filename) | |
13114 | (ftrace_skip_file): Change | |
13115 | parameter to const. | |
13116 | (ftrace_init_func): Remove. | |
13117 | (ftrace_debug): Use new btrace_function fields. | |
13118 | (ftrace_function_switched): Also consider gaining and | |
13119 | losing symbol information). | |
13120 | (ftrace_print_insn_addr, ftrace_new_call, ftrace_new_return) | |
13121 | (ftrace_new_switch, ftrace_find_caller, ftrace_new_function) | |
13122 | (ftrace_update_caller, ftrace_fixup_caller, ftrace_new_tailcall): | |
13123 | New. | |
13124 | (ftrace_new_function): Move. Remove debug print. | |
13125 | (ftrace_update_lines, ftrace_update_insns): New. | |
13126 | (ftrace_update_function): Check for call, ret, and jump. | |
13127 | (compute_ftrace): Renamed to ... | |
13128 | (btrace_compute_ftrace): ...this. Rewritten to compute call | |
13129 | stack. | |
13130 | (btrace_fetch, btrace_clear): Updated. | |
13131 | (btrace_insn_get, btrace_insn_number, btrace_insn_begin) | |
13132 | (btrace_insn_end, btrace_insn_prev, btrace_insn_next) | |
13133 | (btrace_insn_cmp, btrace_find_insn_by_number, btrace_call_get) | |
13134 | (btrace_call_number, btrace_call_begin, btrace_call_end) | |
13135 | (btrace_call_prev, btrace_call_next, btrace_call_cmp) | |
13136 | (btrace_find_function_by_number, btrace_set_insn_history) | |
13137 | (btrace_set_call_history): New. | |
13138 | * record-btrace.c (require_btrace): Use new btrace thread | |
13139 | info fields. | |
13140 | (record_btrace_info, btrace_insn_history) | |
13141 | (record_btrace_insn_history, record_btrace_insn_history_range): | |
13142 | Use new btrace thread info fields and new iterator. | |
13143 | (btrace_func_history_src_line): Rename to ... | |
13144 | (btrace_call_history_src_line): ...this. Use new btrace | |
13145 | thread info fields. | |
13146 | (btrace_func_history): Rename to ... | |
13147 | (btrace_call_history): ...this. Use new btrace thread info | |
13148 | fields and new iterator. | |
13149 | (record_btrace_call_history, record_btrace_call_history_range): | |
13150 | Use new btrace thread info fields and new iterator. | |
13151 | ||
8372a7cb MM |
13152 | 2014-01-16 Markus Metzger <markus.t.metzger@intel.com> |
13153 | ||
13154 | * frame.h (frame_id_build_unavailable_stack_special): New. | |
13155 | * frame.c (frame_id_build_unavailable_stack_special): New. | |
13156 | ||
c2170eef MM |
13157 | 2014-01-16 Markus Metzger <markus.t.metzger@intel.com> |
13158 | ||
13159 | * amd64-tdep.c (amd64_classify_insn_at, amd64_insn_is_call) | |
13160 | (amd64_insn_is_ret, amd64_insn_is_jump, amd64_jmp_p): New. | |
13161 | (amd64_init_abi): Add insn_is_call, insn_is_ret, and insn_is_jump | |
13162 | to gdbarch. | |
13163 | * i386-tdep.c (i386_insn_is_call, i386_insn_is_ret) | |
13164 | (i386_insn_is_jump, i386_jmp_p): New. | |
13165 | (i386_gdbarch_init): Add insn_is_call, insn_is_ret, and | |
13166 | insn_is_jump to gdbarch. | |
13167 | * gdbarch.sh (insn_is_call, insn_is_ret, insn_is_jump): New. | |
13168 | * gdbarch.h: Regenerated. | |
13169 | * gdbarch.c: Regenerated. | |
13170 | * arch-utils.h (default_insn_is_call, default_insn_is_ret) | |
13171 | (default_insn_is_jump): New. | |
13172 | * arch-utils.c (default_insn_is_call, default_insn_is_ret) | |
13173 | (default_insn_is_jump): New. | |
13174 | ||
864089d2 MM |
13175 | 2014-01-16 Markus Metzger <markus.t.metzger@intel.com> |
13176 | ||
13177 | * common/btrace-common.h (btrace_read_type) <btrace_read_all>: | |
13178 | Change to ... | |
13179 | (btrace_read_type) <BTRACE_READ_ALL>: ... this. Update users. | |
13180 | (btrace_read_type) <btrace_read_new>: Change to ... | |
13181 | (btrace_read_type) <BTRACE_READ_NEW>: ... this. Update users. | |
13182 | ||
ed9edfb5 MM |
13183 | 2014-01-16 Markus Metzger <markus.t.metzger@intel.com> |
13184 | ||
13185 | * common/linux-btrace.c (linux_read_btrace): Free trace from | |
13186 | previous iteration. | |
13187 | ||
fbcbc3fd DE |
13188 | 2014-01-15 Doug Evans <dje@google.com> |
13189 | ||
13190 | * dwarf2read.c (open_and_init_dwp_file): Use pulongest to print | |
13191 | uint32_t. | |
13192 | ||
3d548a53 TT |
13193 | 2014-01-15 Tom Tromey <tromey@redhat.com> |
13194 | ||
13195 | * dbxread.c (process_one_symbol): Use set_objfile_main_name. | |
13196 | * dwarf2read.c (read_partial_die): Use set_objfile_main_name. | |
13197 | * objfiles.c (get_objfile_bfd_data): Initialize language_of_main. | |
13198 | (set_objfile_main_name): New function. | |
13199 | * objfiles.h (struct objfile_per_bfd_storage) <name_of_main, | |
13200 | language_of_main>: New fields. | |
13201 | (set_objfile_main_name): Declare. | |
13202 | * symtab.c (find_main_name): Loop over objfiles to find the main | |
13203 | name and language. | |
13204 | (set_main_name): Now static. | |
13205 | (get_main_info): Add comment. | |
13206 | * symtab.h (set_main_name): Don't declare. | |
13207 | ||
32ac0d11 TT |
13208 | 2014-01-15 Tom Tromey <tromey@redhat.com> |
13209 | ||
13210 | * symtab.c (main_progspace_key): New global. | |
13211 | (struct main_info): New. | |
13212 | (name_of_main, language_of_main): Remove. | |
13213 | (get_main_info, main_info_cleanup): New function. | |
13214 | (set_main_name, main_name, main_language): Use get_main_info. | |
13215 | (_initialize_symtab): Initialize main_progspace_key. | |
13216 | ||
9e6c82ad TT |
13217 | 2014-01-15 Tom Tromey <tromey@redhat.com> |
13218 | ||
13219 | * dbxread.c (process_one_symbol): Update. | |
13220 | * dwarf2read.c (read_partial_die): Update. | |
13221 | * symfile.c (set_initial_language): Call main_language. | |
13222 | * symtab.c (language_of_main): Now static. | |
13223 | (set_main_name): Add 'lang' parameter. | |
13224 | (find_main_name): Update. | |
13225 | (main_language): New function. | |
13226 | (symtab_observer_executable_changed): Update. | |
13227 | * symtab.h (set_main_name): Update. | |
13228 | (language_of_main): Remove. | |
13229 | (main_language): Declare. | |
13230 | ||
6ef55de7 TT |
13231 | 2014-01-15 Tom Tromey <tromey@redhat.com> |
13232 | ||
13233 | * symfile.c (init_entry_point_info): Use new "initialized" field. | |
13234 | Update. | |
13235 | * objfiles.h (struct entry_point) <initialized>: New field. | |
13236 | (struct objfile_per_bfd_storage) <ei>: New field, moved from... | |
13237 | (struct objfile) <ei>: ...here. Remove. | |
13238 | * objfiles.c (entry_point_address_query): Update. | |
13239 | ||
53eddfa6 TT |
13240 | 2014-01-15 Tom Tromey <tromey@redhat.com> |
13241 | ||
13242 | * objfiles.c (entry_point_address_query): Relocate entry point | |
13243 | address. | |
13244 | (objfile_relocate1): Do not relocate entry point address. | |
13245 | * objfiles.h (struct entry_info) <entry_point>: Update comment. | |
13246 | <the_bfd_section_index>: New field. | |
13247 | * symfile.c (init_entry_point_info): Find the entry point's | |
13248 | section. | |
13249 | ||
d56e56aa TT |
13250 | 2014-01-15 Tom Tromey <tromey@redhat.com> |
13251 | ||
13252 | * solib-frv.c (enable_break): Use entry_point_address_query. | |
13253 | ||
33a97bbe OJ |
13254 | 2014-01-15 Omair Javaid <omair.javaid@linaro.org> |
13255 | ||
13256 | * NEWS: Add note on improved process record-replay on | |
13257 | arm*-linux* targets. | |
13258 | ||
c6ec2b30 OJ |
13259 | 2014-01-15 Omair Javaid <omair.javaid@linaro.org> |
13260 | ||
13261 | * arm-tdep.c (enum arm_record_result): New enum. | |
13262 | (arm_record_unsupported_insn): New function. | |
13263 | (arm_record_coproc_data_proc): Removed. | |
13264 | (thumb2_record_ld_st_multiple): New function. | |
13265 | (thumb2_record_ld_st_dual_ex_tbb): New function. | |
13266 | (thumb2_record_data_proc_sreg_mimm): New function. | |
13267 | (thumb2_record_ps_dest_generic): New function. | |
13268 | (thumb2_record_branch_misc_cntrl): New function. | |
13269 | (thumb2_record_str_single_data): New function. | |
13270 | (thumb2_record_ld_mem_hints): New function. | |
13271 | (thumb2_record_ld_word): New function. | |
13272 | (thumb2_record_lmul_lmla_div): New function. | |
13273 | (thumb2_record_decode_insn_handler): New function. | |
13274 | (decode_insn): Add thumb32 instruction handlers. | |
13275 | ||
97dfe206 OJ |
13276 | 2014-01-15 Omair Javaid <omair.javaid@linaro.org> |
13277 | ||
13278 | * arm-linux-tdep.c: Include "record-full.h" and "linux-record.h". | |
13279 | (struct arm_linux_record_tdep): Declare. | |
13280 | (arm_canonicalize_syscall): New function. | |
13281 | (arm_all_but_pc_registers_record): New function. | |
13282 | (arm_linux_syscall_record): New function. | |
13283 | (arm_linux_init_abi): Add syscall recording constructs. | |
13284 | * arm-tdep.c (thumb_record_ldm_stm_swi): Update thumb syscall | |
13285 | decoding. (arm_record_coproc_data_proc): Update arm syscall | |
13286 | decoding. | |
13287 | * arm-tdep.h (struct gdbarch_tdep) <arm_swi_record>: Remove. | |
13288 | <arm_syscall_record>: New field. | |
13289 | * configure.tgt (arm*-*-linux*): Add linux-record.o to | |
13290 | gdb_target_obs. | |
13291 | ||
9904a494 OJ |
13292 | 2014-01-15 Omair Javaid <omair.javaid@linaro.org> |
13293 | ||
13294 | * arm-tdep.c (thumb_record_misc): Update to use sp as base | |
13295 | register for push instruction recording. | |
13296 | ||
f969241e OJ |
13297 | 2014-01-15 Omair Javaid <omair.javaid@linaro.org> |
13298 | ||
13299 | * arm-tdep.c (thumb_record_misc): Update to correct logical | |
13300 | error while recording ldm, ldmia and pop instructions. | |
13301 | ||
bfbbec00 OJ |
13302 | 2014-01-15 Omair Javaid <omair.javaid@linaro.org> |
13303 | ||
13304 | * arm-tdep.c (struct arm_mem_r) <addr>: Change type to uint32_t. | |
13305 | ||
e40adcc9 PA |
13306 | 2014-01-15 Pedro Alves <palves@redhat.com> |
13307 | ||
13308 | * go32-nat.c (go32_open, go32_close, go32_attach, go32_detach) | |
13309 | (go32_resume, go32_fetch_registers, store_register) | |
13310 | (go32_store_registers, go32_prepare_to_store) | |
13311 | (go32_xfer_memory, go32_files_info, go32_kill_inferior) | |
13312 | (go32_create_inferior, go32_can_run, go32_terminal_init) | |
13313 | (go32_terminal_inferior, go32_terminal_ours): Delete forward | |
13314 | declarations. | |
13315 | ||
b0a16e66 TT |
13316 | 2014-01-15 Tom Tromey <tromey@redhat.com> |
13317 | ||
13318 | * target.h (async_callback_ftype): New typedef. | |
13319 | (struct target_ops) <to_async>: Use it. | |
13320 | ||
bf7105a4 JB |
13321 | 2014-01-15 Joel Brobecker <brobecker@adacore.com> |
13322 | ||
13323 | * python/py-value.c (get_field_type): Remove unnecessary curly | |
13324 | braces for single-statement if block. | |
13325 | ||
a8f35c2e JB |
13326 | 2014-01-15 Joel Brobecker <brobecker@adacore.com> |
13327 | ||
13328 | * python/py-type.c (convert_field): Add missing empty line | |
13329 | after declarations. | |
13330 | ||
bb4142cf DE |
13331 | 2014-01-14 Doug Evans <dje@google.com> |
13332 | ||
13333 | * symfile.h (expand_symtabs_matching): Renamed from | |
13334 | expand_partial_symbol_names. Update prototype. | |
13335 | (map_symbol_filenames): Renamed from map_partial_symbol_filenames. | |
13336 | * symfile.c (expand_symtabs_matching): Renamed from | |
13337 | expand_partial_symbol_names. New args file_matcher, kind. | |
13338 | Rename arg fun to symbol_matcher. | |
13339 | (map_symbol_filenames): Renamed from map_partial_symbol_filenames. | |
13340 | * ada-lang.c (ada_complete_symbol_matcher): Renamed from | |
13341 | ada_expand_partial_symbol_name. | |
13342 | (ada_make_symbol_completion_list): Update to call | |
13343 | expand_symtabs_matching. | |
13344 | (ada_add_global_exceptions): Call expand_symtabs_matching. | |
13345 | * mi/mi-cmd-file.c (mi_cmd_file_list_exec_source_files): Update to | |
13346 | call map_symbol_filenames. | |
13347 | * symtab.c (sources_info): Update to call map_symbol_filenames. | |
13348 | (search_symbols): Call expand_symtabs_matching. | |
13349 | (symbol_completion_matcher): Renamed from expand_partial_symbol_name. | |
13350 | (default_make_symbol_completion_list_break_on): Update to call | |
13351 | expand_symtabs_matching. | |
13352 | (make_source_files_completion_list): Update to call | |
13353 | map_symbol_filenames. | |
13354 | ||
206f2a57 DE |
13355 | 2014-01-14 Doug Evans <dje@google.com> |
13356 | ||
13357 | * symfile.h (expand_symtabs_file_matcher_ftype): New typedef. | |
13358 | (expand_symtabs_symbol_matcher_ftype): New typedef. | |
13359 | (quick_symbol_functions.expand_symtabs_matching): Update to use. | |
13360 | expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype. | |
13361 | * symfile.c (expand_partial_symbol_names): Update to use | |
13362 | expand_symtabs_symbol_matcher_ftype. | |
13363 | * dwarf2read.c (dw2_expand_symtabs_matching): Update to use | |
13364 | expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype. | |
13365 | Arg name_matcher renamed to symbol_matcher. | |
13366 | * psymtab.c (recursively_search_psymtabs): Update to use | |
13367 | expand_symtabs_symbol_matcher_ftype. Arg name_matcher renamed to | |
13368 | sym_matcher. | |
13369 | (expand_symtabs_matching_via_partial): Update to use | |
13370 | expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype. | |
13371 | Arg name_matcher renamed to symbol_matcher. | |
13372 | ||
540c2971 DE |
13373 | 2014-01-14 Doug Evans <dje@google.com> |
13374 | ||
13375 | * psymtab.c (expand_partial_symbol_names): Delete, moved to symfile.c. | |
13376 | (map_partial_symbol_filenames): Ditto. | |
13377 | * psymtab.h (expand_partial_symbol_names): Delete, moved to symfile.h. | |
13378 | (map_partial_symbol_filenames): Ditto. | |
13379 | * symfile.c (expand_partial_symbol_names): Moved here from psymtab.c. | |
13380 | (map_partial_symbol_filenames): Ditto. | |
13381 | * symfile.h (expand_partial_symbol_names): Moved here from psymtab.h. | |
13382 | (map_partial_symbol_filenames): Ditto. | |
13383 | * symtab.c: Delete #include "psymtab.h". | |
13384 | ||
8213266a PA |
13385 | 2014-01-14 Pedro Alves <palves@redhat.com> |
13386 | Tom Tromey <tromey@redhat.com> | |
13387 | ||
13388 | * infrun.c (use_displaced_stepping): Use find_record_target | |
13389 | instead of RECORD_IS_USED. | |
13390 | (adjust_pc_after_break): Use record_full_is_used instead of | |
13391 | RECORD_IS_USED. | |
13392 | * record-btrace.c (record_btrace_open): Call record_preopen | |
13393 | instead of checking RECORD_IS_USED. | |
13394 | * record-full.c (record_full_shortname) | |
13395 | (record_full_core_shortname): New globals. | |
13396 | (record_full_is_used): New function. | |
13397 | (find_full_open): Call record_preopen instead of checking | |
13398 | RECORD_IS_USED. | |
13399 | (init_record_full_ops): Set the target's shortname to | |
13400 | record_full_shortname. | |
13401 | (init_record_full_core_ops): Set the target's shortname to | |
13402 | record_full_core_shortname. | |
13403 | * record-full.h (record_full_is_used): Declare. | |
13404 | * record.c (find_record_target): Make extern. | |
13405 | (record_preopen): New function. | |
13406 | * record.h (RECORD_IS_USED): Delete macro. | |
13407 | (find_record_target, record_preopen): Declare functions. | |
13408 | ||
7ec1862d YQ |
13409 | 2014-01-14 Yao Qi <yao@codesourcery.com> |
13410 | ||
13411 | * gdbarch.sh (core_xfer_shared_libraries): Change its argument | |
13412 | 'len''s type to ULONGEST. | |
13413 | (core_xfer_shared_libraries_aix): Likewise. | |
13414 | * gdbarch.c, gdbarch.h: Regenerated. | |
13415 | * i386-cygwin-tdep.c (windows_core_xfer_shared_libraries): | |
13416 | Change type of 'len' to ULONGEST. | |
13417 | * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise. | |
13418 | (rs6000_aix_core_xfer_shared_libraries_aix): Likewise. | |
13419 | ||
dea80a27 YQ |
13420 | 2014-01-14 Yao Qi <yao@codesourcery.com> |
13421 | ||
13422 | * common/linux-osdata.c (linux_xfer_osdata_processes): Change | |
13423 | type of 'len' to ULONGEST. | |
13424 | (linux_xfer_osdata_processgroups): Likewise. | |
13425 | (linux_xfer_osdata_threads): Likewise. | |
13426 | (linux_xfer_osdata_fds): Likewise. | |
13427 | (linux_xfer_osdata_isockets): Likewise. | |
13428 | (linux_xfer_osdata_shm): Likewise. | |
13429 | (linux_xfer_osdata_sem): Likewise. | |
13430 | (linux_xfer_osdata_msg): Likewise. | |
13431 | (linux_common_xfer_osdata): Likewise. | |
13432 | (struct osdata_type) <getter>: Likewise. | |
13433 | * common/linux-osdata.h (linux_common_xfer_osdata): Update | |
13434 | the declaration. | |
13435 | ||
b55e14c7 YQ |
13436 | 2014-01-14 Yao Qi <yao@codesourcery.com> |
13437 | ||
13438 | * target.h (target_xfer_partial_ftype): Update. | |
13439 | (struct target_ops) <to_xfer_partial>: Change 'len' type to | |
13440 | ULONGEST. | |
13441 | * aix-thread.c (aix_thread_xfer_partial): Change type of | |
13442 | argument 'len' to ULONGEST. | |
13443 | * auxv.c (procfs_xfer_auxv): Likewise. | |
13444 | (ld_so_xfer_auxv): Likewise. | |
13445 | (memory_xfer_auxv): Likewise. | |
13446 | * bfd-target.c (target_bfd_xfer_partial): Likewise. | |
13447 | * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise. | |
13448 | * bsd-uthread.c (bsd_uthread_xfer_partial): Likewise. | |
13449 | * corelow.c (core_xfer_partial): Likewise. | |
13450 | * ctf.c (ctf_xfer_partial): Likewise. | |
13451 | * darwin-nat.c (darwin_read_write_inferior): Likewise. Use | |
13452 | '%u'. | |
13453 | (darwin_read_dyld_info): Likewise. | |
13454 | (darwin_xfer_partial): Likewise. | |
13455 | * exec.c (section_table_xfer_memory_partial): Likewise. | |
13456 | (exec_xfer_partial): Likewise. | |
13457 | * exec.h (section_table_xfer_memory_partial): Update | |
13458 | declaration. | |
13459 | * gnu-nat.c (gnu_xfer_memory): Likewise. Call pulongest | |
13460 | instead of plongest. | |
13461 | (gnu_xfer_partial): Likewise. | |
13462 | * ia64-hpux-nat.c (ia64_hpux_xfer_memory): Likewise. | |
13463 | (ia64_hpux_xfer_solib_got): Likewise. | |
13464 | (ia64_hpux_xfer_partial): Likewise. | |
13465 | * ia64-linux-nat.c (ia64_linux_xfer_partial): | |
13466 | * inf-ptrace.c (inf_ptrace_xfer_partial): | |
13467 | * inf-ttrace.c (inf_ttrace_xfer_partial): | |
13468 | * linux-nat.c (linux_xfer_siginfo): Likewise. | |
13469 | (linux_nat_xfer_partial): Likewise. | |
13470 | (spu_enumerate_spu_ids, linux_proc_xfer_spu): Likewise. | |
13471 | (linux_nat_xfer_osdata, linux_xfer_partial): Likewise. | |
13472 | * monitor.c (monitor_xfer_memory): Likewise. | |
13473 | (monitor_xfer_partial): Likewise. | |
13474 | * procfs.c (procfs_xfer_partial): Likewise. | |
13475 | * record-full.c (record_full_xfer_partial): Likewise. | |
13476 | (record_full_core_xfer_partial): Likewise. | |
13477 | * remote-sim.c (gdbsim_xfer_memory): Likewise. Call pulongest | |
13478 | instead of plongest. | |
13479 | (gdbsim_xfer_partial): Likewise. | |
13480 | * remote.c (remote_xfer_partial): Likewise. | |
13481 | * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise. | |
13482 | * rs6000-aix-tdep.h (rs6000_aix_ld_info_to_xml): Update | |
13483 | declaration. | |
13484 | * rs6000-nat.c (rs6000_xfer_partial): Likewise. | |
13485 | (rs6000_xfer_shared_libraries): Likewise. | |
13486 | * sol-thread.c (sol_thread_xfer_partial): Likewise. | |
13487 | * sparc-nat.c (sparc_xfer_wcookie): Likewise. | |
13488 | (sparc_xfer_partial): Likewise. | |
13489 | * spu-linux-nat.c (spu_proc_xfer_spu): Likewise. | |
13490 | (spu_xfer_partial): Likewise. | |
13491 | * spu-multiarch.c (spu_xfer_partial): Likewise. | |
13492 | * target.c (target_read_live_memory): Likewise. | |
13493 | (memory_xfer_live_readonly_partial): Likewise. | |
13494 | (memory_xfer_partial, memory_xfer_partial_1): Likewise. | |
13495 | (target_xfer_partial, default_xfer_partial): Likewise. | |
13496 | (current_xfer_partial): Likewise. | |
13497 | * tracepoint.c (tfile_xfer_partial): Likewise. | |
13498 | * windows-nat.c (windows_xfer_memory): Likewise. Call | |
13499 | pulongest instead of plongest. | |
13500 | (windows_xfer_partial): Likewise. | |
13501 | (windows_xfer_shared_libraries): Likewise. | |
13502 | ||
05804640 YQ |
13503 | 2014-01-14 Yao Qi <yao@codesourcery.com> |
13504 | ||
13505 | * rs6000-nat.c (rs6000_xfer_shared_libraries): Use | |
13506 | target_xfer_partial_ftype. | |
13507 | ||
b5b08fb4 SC |
13508 | 2014-01-13 Siva Chandra Reddy <sivachandra@google.com> |
13509 | ||
13510 | PR python/15464 | |
13511 | PR python/16113 | |
13512 | * valops.c (value_struct_elt_bitpos): New function | |
13513 | * py-type.c (convert_field): Set 'name' attribute of a gdb.Field | |
13514 | object to 'None' if the field name is an empty string (""). | |
13515 | * python/py-value.c (valpy_getitem): Use 'bitpos' and 'type' | |
13516 | attribute to look for a field when 'name' is 'None'. | |
13517 | (get_field_type): New function | |
13518 | ||
13aaf454 DE |
13519 | 2014-01-13 Doug Evans <dje@google.com> |
13520 | ||
13521 | PR symtab/16426 | |
13522 | * dwarf2read.c (dwarf2_get_dwz_file): Call gdb_bfd_record_inclusion. | |
13523 | (try_open_dwop_file): Ditto. | |
13524 | * gdb_bfd.c: #include "vec.h". | |
13525 | (bfdp): New typedef. | |
13526 | (struct gdb_bfd_data): New member included_bfds. | |
13527 | (gdb_bfd_unref): Unref all included bfds. | |
13528 | (gdb_bfd_record_inclusion): New function. | |
13529 | * gdb_bfd.h (gdb_bfd_record_inclusion): Declare. | |
13530 | ||
c2cec97c TT |
13531 | 2014-01-13 Tom Tromey <tromey@redhat.com> |
13532 | ||
13533 | * gdbcore.h (deprecated_core_resize_section_table): Remove. | |
13534 | ||
78e5999d TT |
13535 | 2014-01-13 Tom Tromey <tromey@redhat.com> |
13536 | ||
13537 | * defs.h (use_windows): Remove. | |
13538 | * gdb.c (main): Update. | |
13539 | * main.c (captured_main, gdb_main): Update. | |
13540 | * main.h (struct captured_main_args) <use_windows>: Remove. | |
13541 | * top.c (use_windows): Remove. | |
13542 | ||
f2052bbe TT |
13543 | 2014-01-13 Tom Tromey <tromey@redhat.com> |
13544 | ||
13545 | * defs.h (deprecated_flush_hook): Remove. | |
13546 | ||
fde4f8ed JK |
13547 | 2014-01-13 Jan Kratochvil <jan.kratochvil@redhat.com> |
13548 | ||
13549 | PR threads/16216 | |
13550 | * linux-thread-db.c (try_thread_db_load): Add parameter | |
13551 | check_auto_load_safe. Move here the file_is_auto_load_safe call. | |
13552 | (try_thread_db_load_from_pdir_1): Move it there from here. | |
13553 | (try_thread_db_load_from_sdir): Update caller. | |
13554 | (try_thread_db_load_from_dir): Move it there from here. | |
13555 | ||
bdf61915 PP |
13556 | 2014-01-13 Patrick Palka <patrick@parcs.ath.cx> |
13557 | ||
13558 | * regformats/regdat.sh: Always rewrite the register file. | |
13559 | ||
f71e1a8d PA |
13560 | 2014-01-13 Pedro Alves <palves@redhat.com> |
13561 | ||
13562 | * Makefile.in (CHECK_HEADERS): New variable. | |
13563 | (check-headers:): New rule. | |
13564 | ||
42c85435 TT |
13565 | 2014-01-13 Tom Tromey <tromey@redhat.com> |
13566 | ||
13567 | * cli/cli-setshow.c (do_set_command): Update. | |
13568 | * defs.h (deprecated_set_hook): Remove. | |
13569 | * top.c (deprecated_set_hook): Remove. | |
13570 | ||
f8de5129 PA |
13571 | 2014-01-13 Pedro Alves <palves@redhat.com> |
13572 | ||
13573 | * tracepoint.c (tfile_fetch_registers): Don't infer the PC from | |
13574 | the tracepoint if the PC is a pseudo-register. | |
13575 | ||
fc270c35 TT |
13576 | 2014-01-13 Tom Tromey <tromey@redhat.com> |
13577 | ||
13578 | * defs.h (XCALLOC): Remove. | |
13579 | * bcache.c (bcache_xmalloc): Use XCNEW, not XCALLOC. | |
13580 | (print_bcache_statistics): Use XCNEWVEC, not XCALLOC. | |
13581 | * dwarf2loc.c (allocate_piece_closure): Likewise. | |
13582 | * elfread.c (elf_symfile_segments): Likewise. | |
13583 | (elf_symfile_segments): Likewise. | |
13584 | * gdbtypes.c (copy_type_recursive): Likewise. | |
13585 | * i386-tdep.c (i386_gdbarch_init): Use XCNEW, not XCALLOC. | |
13586 | * jit.c (jit_frame_sniffer): Use XCNEWVEC, not XCALLOC. | |
13587 | * minsyms.c (prim_record_minimal_symbol_full): Use XCNEW, not | |
13588 | XCALLOC. | |
13589 | * mt-tdep.c (mt_gdbarch_init): Likewise. | |
13590 | * opencl-lang.c (allocate_lval_closure): Use XCNEWVEC, not | |
13591 | XCALLOC. | |
13592 | * psymtab.c (psymbol_compare): Use XCNEW, not XCALLOC. | |
13593 | * regcache.c (regcache_xmalloc_1): Use XCNEWVEC, not XCALLOC. | |
13594 | * registry.c (registry_alloc_data): Likewise. | |
13595 | * rs6000-tdep.c (rs6000_gdbarch_init): Use XCNEW, not XCALLOC. | |
13596 | * s390-linux-tdep.c (s390_gdbarch_init): Likewise. | |
13597 | * serial.c (serial_fdopen_ops): Likewise. | |
13598 | * solib-aix.c (solib_aix_get_section_offsets): Use XCNEWVEC, not | |
13599 | XCALLOC. | |
13600 | * spu-tdep.c (spu_gdbarch_init): Use XCNEW, not XCALLOC. | |
13601 | * symfile.c (default_symfile_segments): Use XCNEW and XCNEWVEC, | |
13602 | not XCALLOC. | |
13603 | ||
70ba0933 TT |
13604 | 2014-01-13 Tom Tromey <tromey@redhat.com> |
13605 | ||
13606 | * defs.h (XMALLOC): Remove. | |
13607 | * avr-tdep.c (avr_gdbarch_init): Use XNEW, not XMALLOC. | |
13608 | * bfin-tdep.c (bfin_gdbarch_init): Likewise. | |
13609 | * cli-out.c (struct ui_out *): Likewise. | |
13610 | * cli/cli-dump.c (add_dump_command): Likewise. | |
13611 | (add_dump_command): Likewise. | |
13612 | * complaints.c (get_complaints): Likewise. | |
13613 | (find_complaint): Likewise. | |
13614 | * dwarf2-frame.c (execute_cfa_program): Likewise. | |
13615 | * dwarf2read.c (abbrev_table_read_table): Likewise. | |
13616 | * gdbarch.sh: Likewise. | |
13617 | * gdbarch.c: Rebuild. | |
13618 | * inf-ttrace.c (inf_ttrace_add_page): Likewise. | |
13619 | * interps.c (interp_new): Likewise. | |
13620 | * lm32-tdep.c (lm32_gdbarch_init): Likewise. | |
13621 | * m32r-tdep.c (m32r_gdbarch_init): Likewise. | |
13622 | * mi/mi-console.c (mi_console_file_new): Likewise. | |
13623 | * mi/mi-interp.c (mi_interpreter_init): Likewise. | |
13624 | * mi/mi-out.c (mi_out_new): Likewise. | |
13625 | * mi/mi-parse.c (mi_parse): Likewise. | |
13626 | * microblaze-tdep.c (microblaze_gdbarch_init): Likewise. | |
13627 | * moxie-tdep.c (moxie_gdbarch_init): Likewise. | |
13628 | * observer.c (xalloc_observer_list_node): Likewise. | |
13629 | * regcache.c (regcache_xmalloc_1): Likewise. | |
13630 | * reggroups.c (reggroup_new): Likewise. | |
13631 | (_initialize_reggroup): Likewise. | |
13632 | * registry.c (register_data_with_cleanup): Likewise. | |
13633 | * remote.c (remote_notif_stop_alloc_reply): Likewise. | |
13634 | * ser-base.c (serial_ttystate): Likewise. | |
13635 | * ser-mingw.c (make_pipe_state): Likewise. | |
13636 | * ser-pipe.c (pipe_open): Likewise. | |
13637 | * serial.c (serial_open): Likewise. | |
13638 | * sh64-tdep.c (sh64_gdbarch_init): Likewise. | |
13639 | * tui/tui-data.c (tui_alloc_generic_win_info): Likewise. | |
13640 | (tui_alloc_win_info): Likewise. | |
13641 | (tui_add_content_elements): Likewise. | |
13642 | * tui/tui-file.c (tui_file_new): Likewise. | |
13643 | * tui/tui-out.c (tui_out_new): Likewise. | |
13644 | * ui-file.c (mem_file_new): Likewise. | |
13645 | * ui-out.c (push_level): Likewise. | |
13646 | (make_cleanup_ui_out_end): Likewise. | |
13647 | (append_header_to_list): Likewise. | |
13648 | (ui_out_new): Likewise. | |
13649 | * user-regs.c (user_reg_add_builtin): Likewise. | |
13650 | ||
41bf6aca TT |
13651 | 2014-01-13 Tom Tromey <tromey@redhat.com> |
13652 | ||
13653 | * defs.h (XZALLOC): Remove. | |
13654 | * ada-lang.c (get_ada_inferior_data): Use XCNEW, not XZALLOC. | |
13655 | * ada-tasks.c (get_ada_tasks_pspace_data): Likewise. | |
13656 | (get_ada_tasks_inferior_data): Likewise. | |
13657 | * auto-load.c (get_auto_load_pspace_data): Likewise. | |
13658 | * auxv.c (get_auxv_inferior_data): Likewise. | |
13659 | * bfd-target.c (target_bfd_reopen): Likewise. | |
13660 | * breakpoint.c (get_catch_syscall_inferior_data): Likewise. | |
13661 | (deprecated_insert_raw_breakpoint): Likewise. | |
13662 | * bsd-uthread.c (bsd_uthread_pid_to_str): Likewise. | |
13663 | * corelow.c (core_open): Likewise. | |
13664 | * darwin-nat.c (darwin_check_new_threads): Likewise. | |
13665 | (darwin_attach_pid): Likewise. | |
13666 | * dummy-frame.c (dummy_frame_push): Likewise. | |
13667 | * dwarf2-frame.c (dwarf2_frame_cache): Likewise. | |
13668 | * dwarf2loc.c (allocate_piece_closure): Likewise. | |
13669 | * elfread.c (elf_symfile_segments): Likewise. | |
13670 | * eval.c (ptrmath_type_p): Likewise. | |
13671 | * exceptions.c (EXCEPTIONS_SIGJMP_BUF): Likewise. | |
13672 | * gdbtypes.c (alloc_type_arch): Likewise. | |
13673 | (alloc_type_instance): Likewise. | |
13674 | * hppa-tdep.c (hppa_gdbarch_init): Likewise. | |
13675 | * inf-child.c (inf_child_can_use_agent): Likewise. | |
13676 | * inflow.c (get_inflow_inferior_data): Likewise. | |
13677 | * infrun.c (save_infcall_suspend_state): Likewise. | |
13678 | * jit.c (jit_reader_load): Likewise. | |
13679 | (get_jit_objfile_data): Likewise. | |
13680 | (get_jit_program_space_data): Likewise. | |
13681 | (jit_object_open_impl): Likewise. | |
13682 | (jit_symtab_open_impl): Likewise. | |
13683 | (jit_block_open_impl): Likewise. | |
13684 | (jit_frame_sniffer): Likewise. | |
13685 | * linux-fork.c (add_fork): Likewise. | |
13686 | * maint.c (make_command_stats_cleanup): Likewise. | |
13687 | * objfiles.c (get_objfile_pspace_data): Likewise. | |
13688 | * opencl-lang.c (struct lval_closure): Likewise. | |
13689 | * osdata.c (osdata_start_osdata): Likewise. | |
13690 | * progspace.c (new_address_space): Likewise. | |
13691 | (add_program_space): Likewise. | |
13692 | * remote-sim.c (get_sim_inferior_data): Likewise. | |
13693 | * sh-tdep.c (sh_gdbarch_init): Likewise. | |
13694 | * skip.c (Ignore): Likewise. | |
13695 | (skip_delete_command): Likewise. | |
13696 | * solib-aix.c (get_solib_aix_inferior_data): Likewise. | |
13697 | (library_list_start_library): Likewise. | |
13698 | (solib_aix_current_sos): Likewise. | |
13699 | * solib-darwin.c (get_darwin_info): Likewise. | |
13700 | (darwin_current_sos): Likewise. | |
13701 | * solib-dsbt.c (get_dsbt_info): Likewise. | |
13702 | * solib-ia64-hpux.c (new_so_list): Likewise. | |
13703 | (ia64_hpux_get_solib_linkage_addr): Likewise. | |
13704 | * solib-spu.c (append_ocl_sos): Likewise. | |
13705 | (spu_current_sos): Likewise. | |
13706 | * solib-svr4.c (get_svr4_info): Likewise. | |
13707 | (svr4_keep_data_in_core): Likewise. | |
13708 | (library_list_start_library): Likewise. | |
13709 | (svr4_default_sos): Likewise. | |
13710 | (svr4_read_so_list): Likewise. | |
13711 | * solib-target.c (library_list_start_library): Likewise. | |
13712 | (solib_target_current_sos): Likewise. | |
13713 | * sparc-tdep.c (sparc32_gdbarch_init): Likewise. | |
13714 | * symfile-debug.c (install_symfile_debug_logging): Likewise. | |
13715 | * symfile.c (default_symfile_segments): Likewise. | |
13716 | * target-descriptions.c (tdesc_data_init): Likewise. | |
13717 | (tdesc_create_reg): Likewise. | |
13718 | (struct tdesc_type *): Likewise. | |
13719 | (tdesc_create_vector): Likewise. | |
13720 | (tdesc_set_struct_size): Likewise. | |
13721 | (struct tdesc_type *): Likewise. | |
13722 | (tdesc_free_feature): Likewise. | |
13723 | (tdesc_create_feature): Likewise. | |
13724 | * windows-nat.c (windows_add_thread): Likewise. | |
13725 | (windows_make_so): Likewise. | |
13726 | * xml-support.c (gdb_xml_body_text): Likewise. | |
13727 | (gdb_xml_create_parser_and_cleanup): Likewise. | |
13728 | (xml_process_xincludes): Likewise. | |
13729 | * xml-syscall.c (allocate_syscalls_info): Likewise. | |
13730 | (syscall_create_syscall_desc): Likewise. | |
13731 | ||
5acfdbae SDJ |
13732 | 2014-01-12 Sergio Durigan Junior <sergiodj@redhat.com> |
13733 | ||
13734 | * i386-tdep.c (i386_stap_parse_special_token_triplet): New | |
13735 | function, with code from i386_stap_parse_special_token. | |
13736 | (i386_stap_parse_special_token_three_arg_disp): Likewise. | |
13737 | (i386_stap_parse_special_token): Move code to the two functions | |
13738 | above; simplify it. | |
13739 | ||
0000e5cc PA |
13740 | 2014-01-09 Pedro Alves <palves@redhat.com> |
13741 | Hui Zhu <hui@codesourcery.com> | |
13742 | ||
13743 | PR gdb/16101 | |
13744 | * breakpoint.c (insert_bp_location): Rename hw_bp_err_string to | |
13745 | bp_err_string. Don't mark the location shlib_disabled if the | |
13746 | error thrown wasn't a generic or memory error. Catch errors | |
13747 | thrown while inserting breakpoints in overlayed code. Output | |
13748 | error message of software breakpoints. | |
13749 | * remote.c (remote_insert_breakpoint): If this breakpoint has | |
13750 | target-side commands but this stub doesn't support Z0 packets, | |
13751 | throw NOT_SUPPORTED_ERROR error. | |
13752 | * exceptions.h (enum errors) <NOT_SUPPORTED_ERROR>: New error. | |
13753 | * target.h (target_insert_breakpoint): Extend comment. | |
13754 | (target_insert_hw_breakpoint): Add comment. | |
13755 | ||
b7ea362b PA |
13756 | 2014-01-08 Pedro Alves <palves@redhat.com> |
13757 | ||
13758 | * remote.c (remote_add_thread): Add threads silently if starting | |
13759 | up. | |
13760 | (remote_notice_new_inferior): If in all-stop, and starting up, | |
13761 | don't call notice_new_inferior. | |
13762 | (get_current_thread): New function, factored out from ... | |
13763 | (add_current_inferior_and_thread): ... this. Adjust. | |
13764 | (remote_start_remote) <all-stop>: Fetch the thread list. If we | |
13765 | found any thread, then select the remote's current thread as GDB's | |
13766 | current thread too. | |
13767 | ||
b7bba001 JB |
13768 | 2014-01-08 Joel Brobecker <brobecker@adacore.com> |
13769 | ||
13770 | * NEWS: Create a new section for the next release branch. | |
13771 | Rename the section of the current branch, now that it has | |
13772 | been cut. | |
13773 | ||
16dfbded JB |
13774 | 2014-01-08 Joel Brobecker <brobecker@adacore.com> |
13775 | ||
13776 | GDB 7.7 branch created (79301218fa0f074c5656db0ec8972a5ddcf91fb5): | |
13777 | * version.in: Bump version to 7.7.50.DATE-cvs. | |
13778 | ||
22c90ac1 YQ |
13779 | 2014-01-08 Yao Qi <yao@codesourcery.com> |
13780 | ||
13781 | * spu-linux-nat.c (spu_symbol_file_add_from_memory): Change | |
13782 | type of 'id' to gdb_byte. Cast 'id' to 'const char *'. | |
13783 | (spu_xfer_partial): Cast 'buf' to 'const char *'. | |
13784 | ||
d64ad97c YQ |
13785 | 2014-01-08 Yao Qi <yao@codesourcery.com> |
13786 | ||
13787 | * spu-linux-nat.c (spu_symbol_file_add_from_memory): Pass | |
13788 | return value of bfd_get_filename to symbol_file_add_from_bfd. | |
13789 | ||
f93ba80c PM |
13790 | 2014-01-08 Pierre Muller <muller@sourceware.org> |
13791 | ||
13792 | Fix PR16201. | |
13793 | * coff-pe-read.c (struct read_pe_section_data): Add index field. | |
13794 | (add_pe_exported_sym): Use SECTION_DATA->INDEX for call | |
13795 | to prim_record_mininal_symbol_and_info. | |
13796 | (add_pe_forwarded_sym): Use known section number of forwarded symbol | |
13797 | in call to prim_record_minimal_symbol_and_info. | |
13798 | (read_pe_exported_syms): Set index field of section_data. | |
13799 | ||
a4d9ba85 AP |
13800 | 2014-01-07 Andrew Pinski <apinski@cavium.com> |
13801 | ||
13802 | * features/aarch64-core.xml (cpsr): Change to be 64bit. | |
13803 | * features/aarch64.c: Regenerate. | |
13804 | ||
1b67eb02 AS |
13805 | 2014-01-07 Andreas Schwab <schwab@linux-m68k.org> |
13806 | ||
13807 | * target.c (return_null): Define. | |
13808 | (update_current_target): Use it instead of return_zero for | |
13809 | functions that return a pointer. | |
13810 | ||
5e3f4fab EBM |
13811 | 2014-01-07 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com> |
13812 | ||
13813 | * source.c (add_path): Fix check for duplicated paths in the previously | |
13814 | included paths. | |
13815 | ||
e2616788 HK |
13816 | 2014-01-07 Honggyu Kim <hong.gyu.kim@lge.com> |
13817 | ||
13818 | * ada-lang.c: Remove duplicated include statements. | |
13819 | * alphabsd-nat.c: Ditto. | |
13820 | * amd64-darwin-tdep.c: Ditto. | |
13821 | * amd64fbsd-nat.c: Ditto. | |
13822 | * auto-load.c: Ditto. | |
13823 | * ax-gdb.c: Ditto. | |
13824 | * breakpoint.c: Ditto. | |
13825 | * dbxread.c: Ditto. | |
13826 | * fork-child.c: Ditto. | |
13827 | * gdb_usleep.c: Ditto. | |
13828 | * i386-darwin-tdep.c: Ditto. | |
13829 | * i386fbsd-nat.c: Ditto. | |
13830 | * infcmd.c: Ditto. | |
13831 | * inferior.c: Ditto. | |
13832 | * jv-lang.c: Ditto. | |
13833 | * linux-nat.c: Ditto. | |
13834 | * linux-tdep.c: Ditto. | |
13835 | * m68kbsd-nat.c: Ditto. | |
13836 | * m68klinux-nat.c: Ditto. | |
13837 | * microblaze-tdep.c: Ditto. | |
13838 | * mips-linux-tdep.c: Ditto. | |
13839 | * mn10300-tdep.c: Ditto. | |
13840 | * nto-tdep.c: Ditto. | |
13841 | * opencl-lang.c: Ditto. | |
13842 | * osdata.c: Ditto. | |
13843 | * printcmd.c: Ditto. | |
13844 | * regcache.c: Ditto. | |
13845 | * remote-m32r-sdi.c: Ditto. | |
13846 | * remote.c: Ditto. | |
13847 | * symfile.c: Ditto. | |
13848 | * symtab.c: Ditto. | |
13849 | * tilegx-linux-nat.c: Ditto. | |
13850 | * tilegx-tdep.c: Ditto. | |
13851 | * tracepoint.c: Ditto. | |
13852 | * valops.c: Ditto. | |
13853 | * vaxbsd-nat.c: Ditto. | |
13854 | * windows-nat.c: Ditto. | |
13855 | * xtensa-tdep.c: Ditto. | |
13856 | ||
bd1f7788 YQ |
13857 | 2014-01-07 Yao Qi <yao@codesourcery.com> |
13858 | ||
13859 | * spu-linux-nat.c (_initialize_spu_nat): Declare. | |
13860 | ||
79301218 JB |
13861 | 2014-01-07 Yao Qi <yao@codesourcery.com> |
13862 | Joel Brobecker <brobecker@adacore.com> | |
13863 | ||
13864 | * aix-thread.c (pdc_read_regs): Cast parameter to uintptr_t. | |
13865 | (pdc_write_regs): Likewise. | |
13866 | (fetch_regs_kernel_thread): Likewise. | |
13867 | (store_regs_kernel_thread): Likewise. | |
13868 | ||
13869 | 2014-01-07 Joel Brobecker <brobecker@adacore.com> | |
13870 | ||
13871 | * ada-varobj.c (ada_varobj_adjust_for_child_access): Convert | |
13872 | tagged type objects to their actual type. | |
13873 | ||
8e355c5d JB |
13874 | 2014-01-07 Joel Brobecker <brobecker@adacore.com> |
13875 | ||
13876 | * ada-valprint.c (print_field_values): Add "language" parameter. | |
13877 | Update calls to print_field_values and print_variant_part. | |
13878 | Pass new parameter "language" in call to val_print instead | |
13879 | of "current_language". Replace call to ada_val_print by call | |
13880 | to val_print. | |
13881 | (print_variant_part): Add "language" parameter. | |
13882 | (ada_val_print_struct_union): Update call to print_field_values. | |
13883 | ||
4fbf5aa5 JB |
13884 | 2014-01-07 Joel Brobecker <brobecker@adacore.com> |
13885 | ||
13886 | * ada-valprint.c (ui_memcpy): Delete. | |
13887 | (ada_print_floating): Update documentation. Add empty line | |
13888 | between between function documentation and implementation. | |
13889 | Delete variable "buffer". Use ui_file_xstrdup in place of | |
13890 | ui_file_put. Minor adjustments following this change. | |
13891 | ||
71855601 JB |
13892 | 2014-01-07 Joel Brobecker <brobecker@adacore.com> |
13893 | ||
13894 | * ada-valprint.c (ada_val_print_string): New function, | |
13895 | extracted from ada_val_print_array. | |
13896 | (ada_val_print_array): Replace extracted code by call | |
13897 | to ada_val_print_string followed by a return. Move | |
13898 | "else" branch to the function's top block. | |
13899 | ||
4eb27a30 JB |
13900 | 2014-01-07 Joel Brobecker <brobecker@adacore.com> |
13901 | ||
13902 | * ada-valprint.c (ada_val_print_array): Move implementation | |
13903 | down. Rename parameter "offset" and "val" into "offset_aligned" | |
13904 | and "original_value" respectively. Add parameter "offset". | |
13905 | ||
34b27950 JB |
13906 | 2014-01-07 Joel Brobecker <brobecker@adacore.com> |
13907 | ||
13908 | * ada-valprint.c (ada_val_print_ref): Rewrite by mostly | |
13909 | re-organizing the code. Change the "???" message printed | |
13910 | when target type is a TYPE_CODE_UNDEF into | |
13911 | "<ref to undefined type>". | |
13912 | ||
079e4591 JB |
13913 | 2014-01-07 Joel Brobecker <brobecker@adacore.com> |
13914 | ||
13915 | * ada-valprint.c (print_record): Delete, implementation inlined... | |
13916 | (ada_val_print_struct_union): ... here. Remove call to | |
13917 | ada_check_typedef in inlined implementation. | |
13918 | ||
8004dfd1 JB |
13919 | 2014-01-07 Joel Brobecker <brobecker@adacore.com> |
13920 | ||
13921 | * ada-valprint.c (ada_val_print_gnat_array): New function, | |
13922 | extracted from ada_val_print_1; | |
13923 | (ada_val_print_ptr, ada_val_print_num, ada_val_print_enum) | |
13924 | (ada_val_print_flt, ada_val_print_struct_union) | |
13925 | (ada_val_print_ref): Likewise. | |
13926 | (ada_val_print_1): Delete variables i and elttype. | |
13927 | Replace extracted-out code by call to corresponding | |
13928 | new functions. | |
13929 | ||
760a2db0 JB |
13930 | 2014-01-07 Joel Brobecker <brobecker@adacore.com> |
13931 | ||
13932 | * ada-valprint.c (ada_val_print_1): Remove call to gdb_flush. | |
13933 | ||
3a92c861 JB |
13934 | 2014-01-07 Joel Brobecker <brobecker@adacore.com> |
13935 | ||
13936 | * ada-valprint.c (ada_val_print_1): Replace calls to | |
13937 | ada_val_print_1 by calls to val_print. | |
13938 | ||
cd1630f9 JB |
13939 | 2014-01-07 Joel Brobecker <brobecker@adacore.com> |
13940 | ||
13941 | * ada-valprint.c (ada_val_print_1): Add parameter "language". | |
13942 | Update calls to self accordingly. Replace calls to c_val_print | |
13943 | by calls to val_print. | |
13944 | ||
bdf779a0 JB |
13945 | 2014-01-07 Joel Brobecker <brobecker@adacore.com> |
13946 | ||
13947 | * ada-valprint.c (print_record): Delete declaration. | |
13948 | (adjust_type_signedness, ada_val_print_1): Likewise. | |
13949 | (ada_val_print): Move function implementation down. | |
13950 | (print_variant_part, print_field_values, print_record): | |
13951 | Move function implementation up. | |
13952 | ||
c0d48811 JB |
13953 | 2014-01-07 Joel Brobecker <brobecker@adacore.com> |
13954 | ||
13955 | * python/py-type.c (typy_get_name): New function. | |
13956 | (type_object_getset): Add entry for attribute "name". | |
13957 | * NEWS: Add entry mentioning this new attribute. | |
13958 | ||
c26e9cbb YQ |
13959 | 2014-01-07 Yao Qi <yao@codesourcery.com> |
13960 | ||
13961 | * gnu-nat.c (set_exceptions_cmd): Remove an empty body 'if' | |
13962 | statement. | |
13963 | ||
0cc6f43d YQ |
13964 | 2014-01-07 Yao Qi <yao@codesourcery.com> |
13965 | ||
13966 | * gnu-nat.c (info_port_rights): Add qualifier const to | |
13967 | argument args. | |
13968 | ||
eec03155 YQ |
13969 | 2014-01-07 Yao Qi <yao@codesourcery.com> |
13970 | ||
13971 | * gnu-nat.c (trace_me): Use 'void' for empty argument list. | |
13972 | ||
f04a82ef YQ |
13973 | 2014-01-07 Yao Qi <yao@codesourcery.com> |
13974 | ||
13975 | * gnu-nat.c (make_inf) Update declaration. | |
13976 | (make_inf): Make it static. | |
13977 | (inf_set_traced): Likewise. | |
13978 | (inf_port_to_thread, inf_task_died_status): Likewise. | |
13979 | ||
d57dda0a YQ |
13980 | 2014-01-07 Yao Qi <yao@codesourcery.com> |
13981 | ||
13982 | * gnu-nat.c (inf_tid_to_proc): Remove declaration. | |
13983 | ||
3aa8c969 YQ |
13984 | 2014-01-07 Yao Qi <yao@codesourcery.com> |
13985 | ||
13986 | * gnu-nat.c (_initialize_gnu_nat): Declare. | |
13987 | ||
94123b4f YQ |
13988 | 2014-01-07 Yao Qi <yao@codesourcery.com> |
13989 | ||
13990 | * gdbarch.sh (byte_order, byte_order_for_code): Change type to | |
13991 | 'enum bfd_endian'. | |
13992 | (struct gdbarch_info) <byte_order>: Change type to | |
13993 | 'enum bfd_endian'. | |
13994 | <byte_order_for_code>: Likewise. | |
13995 | * gdbarch.c, gdbarch.h: Regenerated. | |
13996 | ||
dc81d70a TT |
13997 | 2014-01-06 Sasha Smundak <asmundak@google.com> |
13998 | ||
13999 | * jit.c: (jit_reader_load_command): Fix JIT reader path creation. | |
14000 | ||
cc2f3c35 TT |
14001 | 2014-01-06 Tom Tromey <tromey@redhat.com> |
14002 | ||
14003 | * doublest.c (convert_doublest_to_floatformat): Use const, not | |
14004 | CONST. | |
14005 | * somread.c (som_symtab_read): Likewise. | |
14006 | ||
adcf2eed HZ |
14007 | 2014-01-07 Hui Zhu <hui@codesourcery.com> |
14008 | ||
14009 | * gdb_bfd.c (gdb_bfd_stash_filename): Removed. | |
14010 | (gdb_bfd_open): Removed gdb_bfd_stash_filename. | |
14011 | (gdb_bfd_fopen): Ditto. | |
14012 | (gdb_bfd_openr): Ditto. | |
14013 | (gdb_bfd_openw): Ditto. | |
14014 | (gdb_bfd_openr_iovec): Ditto. | |
14015 | (gdb_bfd_fdopenr): Ditto. | |
14016 | * gdb_bfd.h (gdb_bfd_stash_filename): Removed. | |
14017 | * solib-aix.c (solib_aix_bfd_open): Alloc object_bfd->filename | |
14018 | with xstrdup. | |
14019 | * solib-darwin.c (darwin_bfd_open): Alloc res->filename | |
14020 | with xstrdup. | |
14021 | * symfile-mem.c (symbol_file_add_from_memory): Removed | |
14022 | gdb_bfd_stash_filename. | |
14023 | ||
50722198 DE |
14024 | 2014-01-03 Doug Evans <dje@google.com> |
14025 | ||
14026 | * nat/linux-waitpid.c (linux_debug): Remove extraneous \n from | |
14027 | output. | |
14028 | ||
2fa4b862 JB |
14029 | 2014-01-01 Joel Brobecker <brobecker@adacore.com> |
14030 | ||
14031 | Update year range in copyright notice of all files. | |
14032 | ||
28498c42 JB |
14033 | 2014-01-01 Joel Brobecker <brobecker@adacore.com> |
14034 | ||
14035 | * top.c (print_gdb_version): Set copyright year to 2014. | |
14036 | ||
7b6e1046 JB |
14037 | 2014-01-01 Joel Brobecker <brobecker@adacore.com> |
14038 | ||
14039 | * config/djgpp/fnchange.lst: Add entry for gdb/ChangeLog-2013. | |
14040 | ||
df96af55 | 14041 | For older changes see ChangeLog-2013. |
c906108c SS |
14042 | \f |
14043 | Local Variables: | |
14044 | mode: change-log | |
14045 | left-margin: 8 | |
14046 | fill-column: 74 | |
14047 | version-control: never | |
57da7796 | 14048 | coding: utf-8 |
c906108c | 14049 | End: |