Commit | Line | Data |
---|---|---|
33a97bbe OJ |
1 | 2014-01-15 Omair Javaid <omair.javaid@linaro.org> |
2 | ||
3 | * NEWS: Add note on improved process record-replay on | |
4 | arm*-linux* targets. | |
5 | ||
c6ec2b30 OJ |
6 | 2014-01-15 Omair Javaid <omair.javaid@linaro.org> |
7 | ||
8 | * arm-tdep.c (enum arm_record_result): New enum. | |
9 | (arm_record_unsupported_insn): New function. | |
10 | (arm_record_coproc_data_proc): Removed. | |
11 | (thumb2_record_ld_st_multiple): New function. | |
12 | (thumb2_record_ld_st_dual_ex_tbb): New function. | |
13 | (thumb2_record_data_proc_sreg_mimm): New function. | |
14 | (thumb2_record_ps_dest_generic): New function. | |
15 | (thumb2_record_branch_misc_cntrl): New function. | |
16 | (thumb2_record_str_single_data): New function. | |
17 | (thumb2_record_ld_mem_hints): New function. | |
18 | (thumb2_record_ld_word): New function. | |
19 | (thumb2_record_lmul_lmla_div): New function. | |
20 | (thumb2_record_decode_insn_handler): New function. | |
21 | (decode_insn): Add thumb32 instruction handlers. | |
22 | ||
97dfe206 OJ |
23 | 2014-01-15 Omair Javaid <omair.javaid@linaro.org> |
24 | ||
25 | * arm-linux-tdep.c: Include "record-full.h" and "linux-record.h". | |
26 | (struct arm_linux_record_tdep): Declare. | |
27 | (arm_canonicalize_syscall): New function. | |
28 | (arm_all_but_pc_registers_record): New function. | |
29 | (arm_linux_syscall_record): New function. | |
30 | (arm_linux_init_abi): Add syscall recording constructs. | |
31 | * arm-tdep.c (thumb_record_ldm_stm_swi): Update thumb syscall | |
32 | decoding. (arm_record_coproc_data_proc): Update arm syscall | |
33 | decoding. | |
34 | * arm-tdep.h (struct gdbarch_tdep) <arm_swi_record>: Remove. | |
35 | <arm_syscall_record>: New field. | |
36 | * configure.tgt (arm*-*-linux*): Add linux-record.o to | |
37 | gdb_target_obs. | |
38 | ||
9904a494 OJ |
39 | 2014-01-15 Omair Javaid <omair.javaid@linaro.org> |
40 | ||
41 | * arm-tdep.c (thumb_record_misc): Update to use sp as base | |
42 | register for push instruction recording. | |
43 | ||
f969241e OJ |
44 | 2014-01-15 Omair Javaid <omair.javaid@linaro.org> |
45 | ||
46 | * arm-tdep.c (thumb_record_misc): Update to correct logical | |
47 | error while recording ldm, ldmia and pop instructions. | |
48 | ||
bfbbec00 OJ |
49 | 2014-01-15 Omair Javaid <omair.javaid@linaro.org> |
50 | ||
51 | * arm-tdep.c (struct arm_mem_r) <addr>: Change type to uint32_t. | |
52 | ||
e40adcc9 PA |
53 | 2014-01-15 Pedro Alves <palves@redhat.com> |
54 | ||
55 | * go32-nat.c (go32_open, go32_close, go32_attach, go32_detach) | |
56 | (go32_resume, go32_fetch_registers, store_register) | |
57 | (go32_store_registers, go32_prepare_to_store) | |
58 | (go32_xfer_memory, go32_files_info, go32_kill_inferior) | |
59 | (go32_create_inferior, go32_can_run, go32_terminal_init) | |
60 | (go32_terminal_inferior, go32_terminal_ours): Delete forward | |
61 | declarations. | |
62 | ||
b0a16e66 TT |
63 | 2014-01-15 Tom Tromey <tromey@redhat.com> |
64 | ||
65 | * target.h (async_callback_ftype): New typedef. | |
66 | (struct target_ops) <to_async>: Use it. | |
67 | ||
bf7105a4 JB |
68 | 2014-01-15 Joel Brobecker <brobecker@adacore.com> |
69 | ||
70 | * python/py-value.c (get_field_type): Remove unnecessary curly | |
71 | braces for single-statement if block. | |
72 | ||
a8f35c2e JB |
73 | 2014-01-15 Joel Brobecker <brobecker@adacore.com> |
74 | ||
75 | * python/py-type.c (convert_field): Add missing empty line | |
76 | after declarations. | |
77 | ||
bb4142cf DE |
78 | 2014-01-14 Doug Evans <dje@google.com> |
79 | ||
80 | * symfile.h (expand_symtabs_matching): Renamed from | |
81 | expand_partial_symbol_names. Update prototype. | |
82 | (map_symbol_filenames): Renamed from map_partial_symbol_filenames. | |
83 | * symfile.c (expand_symtabs_matching): Renamed from | |
84 | expand_partial_symbol_names. New args file_matcher, kind. | |
85 | Rename arg fun to symbol_matcher. | |
86 | (map_symbol_filenames): Renamed from map_partial_symbol_filenames. | |
87 | * ada-lang.c (ada_complete_symbol_matcher): Renamed from | |
88 | ada_expand_partial_symbol_name. | |
89 | (ada_make_symbol_completion_list): Update to call | |
90 | expand_symtabs_matching. | |
91 | (ada_add_global_exceptions): Call expand_symtabs_matching. | |
92 | * mi/mi-cmd-file.c (mi_cmd_file_list_exec_source_files): Update to | |
93 | call map_symbol_filenames. | |
94 | * symtab.c (sources_info): Update to call map_symbol_filenames. | |
95 | (search_symbols): Call expand_symtabs_matching. | |
96 | (symbol_completion_matcher): Renamed from expand_partial_symbol_name. | |
97 | (default_make_symbol_completion_list_break_on): Update to call | |
98 | expand_symtabs_matching. | |
99 | (make_source_files_completion_list): Update to call | |
100 | map_symbol_filenames. | |
101 | ||
206f2a57 DE |
102 | 2014-01-14 Doug Evans <dje@google.com> |
103 | ||
104 | * symfile.h (expand_symtabs_file_matcher_ftype): New typedef. | |
105 | (expand_symtabs_symbol_matcher_ftype): New typedef. | |
106 | (quick_symbol_functions.expand_symtabs_matching): Update to use. | |
107 | expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype. | |
108 | * symfile.c (expand_partial_symbol_names): Update to use | |
109 | expand_symtabs_symbol_matcher_ftype. | |
110 | * dwarf2read.c (dw2_expand_symtabs_matching): Update to use | |
111 | expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype. | |
112 | Arg name_matcher renamed to symbol_matcher. | |
113 | * psymtab.c (recursively_search_psymtabs): Update to use | |
114 | expand_symtabs_symbol_matcher_ftype. Arg name_matcher renamed to | |
115 | sym_matcher. | |
116 | (expand_symtabs_matching_via_partial): Update to use | |
117 | expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype. | |
118 | Arg name_matcher renamed to symbol_matcher. | |
119 | ||
540c2971 DE |
120 | 2014-01-14 Doug Evans <dje@google.com> |
121 | ||
122 | * psymtab.c (expand_partial_symbol_names): Delete, moved to symfile.c. | |
123 | (map_partial_symbol_filenames): Ditto. | |
124 | * psymtab.h (expand_partial_symbol_names): Delete, moved to symfile.h. | |
125 | (map_partial_symbol_filenames): Ditto. | |
126 | * symfile.c (expand_partial_symbol_names): Moved here from psymtab.c. | |
127 | (map_partial_symbol_filenames): Ditto. | |
128 | * symfile.h (expand_partial_symbol_names): Moved here from psymtab.h. | |
129 | (map_partial_symbol_filenames): Ditto. | |
130 | * symtab.c: Delete #include "psymtab.h". | |
131 | ||
8213266a PA |
132 | 2014-01-14 Pedro Alves <palves@redhat.com> |
133 | Tom Tromey <tromey@redhat.com> | |
134 | ||
135 | * infrun.c (use_displaced_stepping): Use find_record_target | |
136 | instead of RECORD_IS_USED. | |
137 | (adjust_pc_after_break): Use record_full_is_used instead of | |
138 | RECORD_IS_USED. | |
139 | * record-btrace.c (record_btrace_open): Call record_preopen | |
140 | instead of checking RECORD_IS_USED. | |
141 | * record-full.c (record_full_shortname) | |
142 | (record_full_core_shortname): New globals. | |
143 | (record_full_is_used): New function. | |
144 | (find_full_open): Call record_preopen instead of checking | |
145 | RECORD_IS_USED. | |
146 | (init_record_full_ops): Set the target's shortname to | |
147 | record_full_shortname. | |
148 | (init_record_full_core_ops): Set the target's shortname to | |
149 | record_full_core_shortname. | |
150 | * record-full.h (record_full_is_used): Declare. | |
151 | * record.c (find_record_target): Make extern. | |
152 | (record_preopen): New function. | |
153 | * record.h (RECORD_IS_USED): Delete macro. | |
154 | (find_record_target, record_preopen): Declare functions. | |
155 | ||
7ec1862d YQ |
156 | 2014-01-14 Yao Qi <yao@codesourcery.com> |
157 | ||
158 | * gdbarch.sh (core_xfer_shared_libraries): Change its argument | |
159 | 'len''s type to ULONGEST. | |
160 | (core_xfer_shared_libraries_aix): Likewise. | |
161 | * gdbarch.c, gdbarch.h: Regenerated. | |
162 | * i386-cygwin-tdep.c (windows_core_xfer_shared_libraries): | |
163 | Change type of 'len' to ULONGEST. | |
164 | * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise. | |
165 | (rs6000_aix_core_xfer_shared_libraries_aix): Likewise. | |
166 | ||
dea80a27 YQ |
167 | 2014-01-14 Yao Qi <yao@codesourcery.com> |
168 | ||
169 | * common/linux-osdata.c (linux_xfer_osdata_processes): Change | |
170 | type of 'len' to ULONGEST. | |
171 | (linux_xfer_osdata_processgroups): Likewise. | |
172 | (linux_xfer_osdata_threads): Likewise. | |
173 | (linux_xfer_osdata_fds): Likewise. | |
174 | (linux_xfer_osdata_isockets): Likewise. | |
175 | (linux_xfer_osdata_shm): Likewise. | |
176 | (linux_xfer_osdata_sem): Likewise. | |
177 | (linux_xfer_osdata_msg): Likewise. | |
178 | (linux_common_xfer_osdata): Likewise. | |
179 | (struct osdata_type) <getter>: Likewise. | |
180 | * common/linux-osdata.h (linux_common_xfer_osdata): Update | |
181 | the declaration. | |
182 | ||
b55e14c7 YQ |
183 | 2014-01-14 Yao Qi <yao@codesourcery.com> |
184 | ||
185 | * target.h (target_xfer_partial_ftype): Update. | |
186 | (struct target_ops) <to_xfer_partial>: Change 'len' type to | |
187 | ULONGEST. | |
188 | * aix-thread.c (aix_thread_xfer_partial): Change type of | |
189 | argument 'len' to ULONGEST. | |
190 | * auxv.c (procfs_xfer_auxv): Likewise. | |
191 | (ld_so_xfer_auxv): Likewise. | |
192 | (memory_xfer_auxv): Likewise. | |
193 | * bfd-target.c (target_bfd_xfer_partial): Likewise. | |
194 | * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise. | |
195 | * bsd-uthread.c (bsd_uthread_xfer_partial): Likewise. | |
196 | * corelow.c (core_xfer_partial): Likewise. | |
197 | * ctf.c (ctf_xfer_partial): Likewise. | |
198 | * darwin-nat.c (darwin_read_write_inferior): Likewise. Use | |
199 | '%u'. | |
200 | (darwin_read_dyld_info): Likewise. | |
201 | (darwin_xfer_partial): Likewise. | |
202 | * exec.c (section_table_xfer_memory_partial): Likewise. | |
203 | (exec_xfer_partial): Likewise. | |
204 | * exec.h (section_table_xfer_memory_partial): Update | |
205 | declaration. | |
206 | * gnu-nat.c (gnu_xfer_memory): Likewise. Call pulongest | |
207 | instead of plongest. | |
208 | (gnu_xfer_partial): Likewise. | |
209 | * ia64-hpux-nat.c (ia64_hpux_xfer_memory): Likewise. | |
210 | (ia64_hpux_xfer_solib_got): Likewise. | |
211 | (ia64_hpux_xfer_partial): Likewise. | |
212 | * ia64-linux-nat.c (ia64_linux_xfer_partial): | |
213 | * inf-ptrace.c (inf_ptrace_xfer_partial): | |
214 | * inf-ttrace.c (inf_ttrace_xfer_partial): | |
215 | * linux-nat.c (linux_xfer_siginfo): Likewise. | |
216 | (linux_nat_xfer_partial): Likewise. | |
217 | (spu_enumerate_spu_ids, linux_proc_xfer_spu): Likewise. | |
218 | (linux_nat_xfer_osdata, linux_xfer_partial): Likewise. | |
219 | * monitor.c (monitor_xfer_memory): Likewise. | |
220 | (monitor_xfer_partial): Likewise. | |
221 | * procfs.c (procfs_xfer_partial): Likewise. | |
222 | * record-full.c (record_full_xfer_partial): Likewise. | |
223 | (record_full_core_xfer_partial): Likewise. | |
224 | * remote-sim.c (gdbsim_xfer_memory): Likewise. Call pulongest | |
225 | instead of plongest. | |
226 | (gdbsim_xfer_partial): Likewise. | |
227 | * remote.c (remote_xfer_partial): Likewise. | |
228 | * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise. | |
229 | * rs6000-aix-tdep.h (rs6000_aix_ld_info_to_xml): Update | |
230 | declaration. | |
231 | * rs6000-nat.c (rs6000_xfer_partial): Likewise. | |
232 | (rs6000_xfer_shared_libraries): Likewise. | |
233 | * sol-thread.c (sol_thread_xfer_partial): Likewise. | |
234 | * sparc-nat.c (sparc_xfer_wcookie): Likewise. | |
235 | (sparc_xfer_partial): Likewise. | |
236 | * spu-linux-nat.c (spu_proc_xfer_spu): Likewise. | |
237 | (spu_xfer_partial): Likewise. | |
238 | * spu-multiarch.c (spu_xfer_partial): Likewise. | |
239 | * target.c (target_read_live_memory): Likewise. | |
240 | (memory_xfer_live_readonly_partial): Likewise. | |
241 | (memory_xfer_partial, memory_xfer_partial_1): Likewise. | |
242 | (target_xfer_partial, default_xfer_partial): Likewise. | |
243 | (current_xfer_partial): Likewise. | |
244 | * tracepoint.c (tfile_xfer_partial): Likewise. | |
245 | * windows-nat.c (windows_xfer_memory): Likewise. Call | |
246 | pulongest instead of plongest. | |
247 | (windows_xfer_partial): Likewise. | |
248 | (windows_xfer_shared_libraries): Likewise. | |
249 | ||
05804640 YQ |
250 | 2014-01-14 Yao Qi <yao@codesourcery.com> |
251 | ||
252 | * rs6000-nat.c (rs6000_xfer_shared_libraries): Use | |
253 | target_xfer_partial_ftype. | |
254 | ||
b5b08fb4 SC |
255 | 2014-01-13 Siva Chandra Reddy <sivachandra@google.com> |
256 | ||
257 | PR python/15464 | |
258 | PR python/16113 | |
259 | * valops.c (value_struct_elt_bitpos): New function | |
260 | * py-type.c (convert_field): Set 'name' attribute of a gdb.Field | |
261 | object to 'None' if the field name is an empty string (""). | |
262 | * python/py-value.c (valpy_getitem): Use 'bitpos' and 'type' | |
263 | attribute to look for a field when 'name' is 'None'. | |
264 | (get_field_type): New function | |
265 | ||
13aaf454 DE |
266 | 2014-01-13 Doug Evans <dje@google.com> |
267 | ||
268 | PR symtab/16426 | |
269 | * dwarf2read.c (dwarf2_get_dwz_file): Call gdb_bfd_record_inclusion. | |
270 | (try_open_dwop_file): Ditto. | |
271 | * gdb_bfd.c: #include "vec.h". | |
272 | (bfdp): New typedef. | |
273 | (struct gdb_bfd_data): New member included_bfds. | |
274 | (gdb_bfd_unref): Unref all included bfds. | |
275 | (gdb_bfd_record_inclusion): New function. | |
276 | * gdb_bfd.h (gdb_bfd_record_inclusion): Declare. | |
277 | ||
c2cec97c TT |
278 | 2014-01-13 Tom Tromey <tromey@redhat.com> |
279 | ||
280 | * gdbcore.h (deprecated_core_resize_section_table): Remove. | |
281 | ||
78e5999d TT |
282 | 2014-01-13 Tom Tromey <tromey@redhat.com> |
283 | ||
284 | * defs.h (use_windows): Remove. | |
285 | * gdb.c (main): Update. | |
286 | * main.c (captured_main, gdb_main): Update. | |
287 | * main.h (struct captured_main_args) <use_windows>: Remove. | |
288 | * top.c (use_windows): Remove. | |
289 | ||
f2052bbe TT |
290 | 2014-01-13 Tom Tromey <tromey@redhat.com> |
291 | ||
292 | * defs.h (deprecated_flush_hook): Remove. | |
293 | ||
fde4f8ed JK |
294 | 2014-01-13 Jan Kratochvil <jan.kratochvil@redhat.com> |
295 | ||
296 | PR threads/16216 | |
297 | * linux-thread-db.c (try_thread_db_load): Add parameter | |
298 | check_auto_load_safe. Move here the file_is_auto_load_safe call. | |
299 | (try_thread_db_load_from_pdir_1): Move it there from here. | |
300 | (try_thread_db_load_from_sdir): Update caller. | |
301 | (try_thread_db_load_from_dir): Move it there from here. | |
302 | ||
bdf61915 PP |
303 | 2014-01-13 Patrick Palka <patrick@parcs.ath.cx> |
304 | ||
305 | * regformats/regdat.sh: Always rewrite the register file. | |
306 | ||
f71e1a8d PA |
307 | 2014-01-13 Pedro Alves <palves@redhat.com> |
308 | ||
309 | * Makefile.in (CHECK_HEADERS): New variable. | |
310 | (check-headers:): New rule. | |
311 | ||
42c85435 TT |
312 | 2014-01-13 Tom Tromey <tromey@redhat.com> |
313 | ||
314 | * cli/cli-setshow.c (do_set_command): Update. | |
315 | * defs.h (deprecated_set_hook): Remove. | |
316 | * top.c (deprecated_set_hook): Remove. | |
317 | ||
f8de5129 PA |
318 | 2014-01-13 Pedro Alves <palves@redhat.com> |
319 | ||
320 | * tracepoint.c (tfile_fetch_registers): Don't infer the PC from | |
321 | the tracepoint if the PC is a pseudo-register. | |
322 | ||
fc270c35 TT |
323 | 2014-01-13 Tom Tromey <tromey@redhat.com> |
324 | ||
325 | * defs.h (XCALLOC): Remove. | |
326 | * bcache.c (bcache_xmalloc): Use XCNEW, not XCALLOC. | |
327 | (print_bcache_statistics): Use XCNEWVEC, not XCALLOC. | |
328 | * dwarf2loc.c (allocate_piece_closure): Likewise. | |
329 | * elfread.c (elf_symfile_segments): Likewise. | |
330 | (elf_symfile_segments): Likewise. | |
331 | * gdbtypes.c (copy_type_recursive): Likewise. | |
332 | * i386-tdep.c (i386_gdbarch_init): Use XCNEW, not XCALLOC. | |
333 | * jit.c (jit_frame_sniffer): Use XCNEWVEC, not XCALLOC. | |
334 | * minsyms.c (prim_record_minimal_symbol_full): Use XCNEW, not | |
335 | XCALLOC. | |
336 | * mt-tdep.c (mt_gdbarch_init): Likewise. | |
337 | * opencl-lang.c (allocate_lval_closure): Use XCNEWVEC, not | |
338 | XCALLOC. | |
339 | * psymtab.c (psymbol_compare): Use XCNEW, not XCALLOC. | |
340 | * regcache.c (regcache_xmalloc_1): Use XCNEWVEC, not XCALLOC. | |
341 | * registry.c (registry_alloc_data): Likewise. | |
342 | * rs6000-tdep.c (rs6000_gdbarch_init): Use XCNEW, not XCALLOC. | |
343 | * s390-linux-tdep.c (s390_gdbarch_init): Likewise. | |
344 | * serial.c (serial_fdopen_ops): Likewise. | |
345 | * solib-aix.c (solib_aix_get_section_offsets): Use XCNEWVEC, not | |
346 | XCALLOC. | |
347 | * spu-tdep.c (spu_gdbarch_init): Use XCNEW, not XCALLOC. | |
348 | * symfile.c (default_symfile_segments): Use XCNEW and XCNEWVEC, | |
349 | not XCALLOC. | |
350 | ||
70ba0933 TT |
351 | 2014-01-13 Tom Tromey <tromey@redhat.com> |
352 | ||
353 | * defs.h (XMALLOC): Remove. | |
354 | * avr-tdep.c (avr_gdbarch_init): Use XNEW, not XMALLOC. | |
355 | * bfin-tdep.c (bfin_gdbarch_init): Likewise. | |
356 | * cli-out.c (struct ui_out *): Likewise. | |
357 | * cli/cli-dump.c (add_dump_command): Likewise. | |
358 | (add_dump_command): Likewise. | |
359 | * complaints.c (get_complaints): Likewise. | |
360 | (find_complaint): Likewise. | |
361 | * dwarf2-frame.c (execute_cfa_program): Likewise. | |
362 | * dwarf2read.c (abbrev_table_read_table): Likewise. | |
363 | * gdbarch.sh: Likewise. | |
364 | * gdbarch.c: Rebuild. | |
365 | * inf-ttrace.c (inf_ttrace_add_page): Likewise. | |
366 | * interps.c (interp_new): Likewise. | |
367 | * lm32-tdep.c (lm32_gdbarch_init): Likewise. | |
368 | * m32r-tdep.c (m32r_gdbarch_init): Likewise. | |
369 | * mi/mi-console.c (mi_console_file_new): Likewise. | |
370 | * mi/mi-interp.c (mi_interpreter_init): Likewise. | |
371 | * mi/mi-out.c (mi_out_new): Likewise. | |
372 | * mi/mi-parse.c (mi_parse): Likewise. | |
373 | * microblaze-tdep.c (microblaze_gdbarch_init): Likewise. | |
374 | * moxie-tdep.c (moxie_gdbarch_init): Likewise. | |
375 | * observer.c (xalloc_observer_list_node): Likewise. | |
376 | * regcache.c (regcache_xmalloc_1): Likewise. | |
377 | * reggroups.c (reggroup_new): Likewise. | |
378 | (_initialize_reggroup): Likewise. | |
379 | * registry.c (register_data_with_cleanup): Likewise. | |
380 | * remote.c (remote_notif_stop_alloc_reply): Likewise. | |
381 | * ser-base.c (serial_ttystate): Likewise. | |
382 | * ser-mingw.c (make_pipe_state): Likewise. | |
383 | * ser-pipe.c (pipe_open): Likewise. | |
384 | * serial.c (serial_open): Likewise. | |
385 | * sh64-tdep.c (sh64_gdbarch_init): Likewise. | |
386 | * tui/tui-data.c (tui_alloc_generic_win_info): Likewise. | |
387 | (tui_alloc_win_info): Likewise. | |
388 | (tui_add_content_elements): Likewise. | |
389 | * tui/tui-file.c (tui_file_new): Likewise. | |
390 | * tui/tui-out.c (tui_out_new): Likewise. | |
391 | * ui-file.c (mem_file_new): Likewise. | |
392 | * ui-out.c (push_level): Likewise. | |
393 | (make_cleanup_ui_out_end): Likewise. | |
394 | (append_header_to_list): Likewise. | |
395 | (ui_out_new): Likewise. | |
396 | * user-regs.c (user_reg_add_builtin): Likewise. | |
397 | ||
41bf6aca TT |
398 | 2014-01-13 Tom Tromey <tromey@redhat.com> |
399 | ||
400 | * defs.h (XZALLOC): Remove. | |
401 | * ada-lang.c (get_ada_inferior_data): Use XCNEW, not XZALLOC. | |
402 | * ada-tasks.c (get_ada_tasks_pspace_data): Likewise. | |
403 | (get_ada_tasks_inferior_data): Likewise. | |
404 | * auto-load.c (get_auto_load_pspace_data): Likewise. | |
405 | * auxv.c (get_auxv_inferior_data): Likewise. | |
406 | * bfd-target.c (target_bfd_reopen): Likewise. | |
407 | * breakpoint.c (get_catch_syscall_inferior_data): Likewise. | |
408 | (deprecated_insert_raw_breakpoint): Likewise. | |
409 | * bsd-uthread.c (bsd_uthread_pid_to_str): Likewise. | |
410 | * corelow.c (core_open): Likewise. | |
411 | * darwin-nat.c (darwin_check_new_threads): Likewise. | |
412 | (darwin_attach_pid): Likewise. | |
413 | * dummy-frame.c (dummy_frame_push): Likewise. | |
414 | * dwarf2-frame.c (dwarf2_frame_cache): Likewise. | |
415 | * dwarf2loc.c (allocate_piece_closure): Likewise. | |
416 | * elfread.c (elf_symfile_segments): Likewise. | |
417 | * eval.c (ptrmath_type_p): Likewise. | |
418 | * exceptions.c (EXCEPTIONS_SIGJMP_BUF): Likewise. | |
419 | * gdbtypes.c (alloc_type_arch): Likewise. | |
420 | (alloc_type_instance): Likewise. | |
421 | * hppa-tdep.c (hppa_gdbarch_init): Likewise. | |
422 | * inf-child.c (inf_child_can_use_agent): Likewise. | |
423 | * inflow.c (get_inflow_inferior_data): Likewise. | |
424 | * infrun.c (save_infcall_suspend_state): Likewise. | |
425 | * jit.c (jit_reader_load): Likewise. | |
426 | (get_jit_objfile_data): Likewise. | |
427 | (get_jit_program_space_data): Likewise. | |
428 | (jit_object_open_impl): Likewise. | |
429 | (jit_symtab_open_impl): Likewise. | |
430 | (jit_block_open_impl): Likewise. | |
431 | (jit_frame_sniffer): Likewise. | |
432 | * linux-fork.c (add_fork): Likewise. | |
433 | * maint.c (make_command_stats_cleanup): Likewise. | |
434 | * objfiles.c (get_objfile_pspace_data): Likewise. | |
435 | * opencl-lang.c (struct lval_closure): Likewise. | |
436 | * osdata.c (osdata_start_osdata): Likewise. | |
437 | * progspace.c (new_address_space): Likewise. | |
438 | (add_program_space): Likewise. | |
439 | * remote-sim.c (get_sim_inferior_data): Likewise. | |
440 | * sh-tdep.c (sh_gdbarch_init): Likewise. | |
441 | * skip.c (Ignore): Likewise. | |
442 | (skip_delete_command): Likewise. | |
443 | * solib-aix.c (get_solib_aix_inferior_data): Likewise. | |
444 | (library_list_start_library): Likewise. | |
445 | (solib_aix_current_sos): Likewise. | |
446 | * solib-darwin.c (get_darwin_info): Likewise. | |
447 | (darwin_current_sos): Likewise. | |
448 | * solib-dsbt.c (get_dsbt_info): Likewise. | |
449 | * solib-ia64-hpux.c (new_so_list): Likewise. | |
450 | (ia64_hpux_get_solib_linkage_addr): Likewise. | |
451 | * solib-spu.c (append_ocl_sos): Likewise. | |
452 | (spu_current_sos): Likewise. | |
453 | * solib-svr4.c (get_svr4_info): Likewise. | |
454 | (svr4_keep_data_in_core): Likewise. | |
455 | (library_list_start_library): Likewise. | |
456 | (svr4_default_sos): Likewise. | |
457 | (svr4_read_so_list): Likewise. | |
458 | * solib-target.c (library_list_start_library): Likewise. | |
459 | (solib_target_current_sos): Likewise. | |
460 | * sparc-tdep.c (sparc32_gdbarch_init): Likewise. | |
461 | * symfile-debug.c (install_symfile_debug_logging): Likewise. | |
462 | * symfile.c (default_symfile_segments): Likewise. | |
463 | * target-descriptions.c (tdesc_data_init): Likewise. | |
464 | (tdesc_create_reg): Likewise. | |
465 | (struct tdesc_type *): Likewise. | |
466 | (tdesc_create_vector): Likewise. | |
467 | (tdesc_set_struct_size): Likewise. | |
468 | (struct tdesc_type *): Likewise. | |
469 | (tdesc_free_feature): Likewise. | |
470 | (tdesc_create_feature): Likewise. | |
471 | * windows-nat.c (windows_add_thread): Likewise. | |
472 | (windows_make_so): Likewise. | |
473 | * xml-support.c (gdb_xml_body_text): Likewise. | |
474 | (gdb_xml_create_parser_and_cleanup): Likewise. | |
475 | (xml_process_xincludes): Likewise. | |
476 | * xml-syscall.c (allocate_syscalls_info): Likewise. | |
477 | (syscall_create_syscall_desc): Likewise. | |
478 | ||
5acfdbae SDJ |
479 | 2014-01-12 Sergio Durigan Junior <sergiodj@redhat.com> |
480 | ||
481 | * i386-tdep.c (i386_stap_parse_special_token_triplet): New | |
482 | function, with code from i386_stap_parse_special_token. | |
483 | (i386_stap_parse_special_token_three_arg_disp): Likewise. | |
484 | (i386_stap_parse_special_token): Move code to the two functions | |
485 | above; simplify it. | |
486 | ||
0000e5cc PA |
487 | 2014-01-09 Pedro Alves <palves@redhat.com> |
488 | Hui Zhu <hui@codesourcery.com> | |
489 | ||
490 | PR gdb/16101 | |
491 | * breakpoint.c (insert_bp_location): Rename hw_bp_err_string to | |
492 | bp_err_string. Don't mark the location shlib_disabled if the | |
493 | error thrown wasn't a generic or memory error. Catch errors | |
494 | thrown while inserting breakpoints in overlayed code. Output | |
495 | error message of software breakpoints. | |
496 | * remote.c (remote_insert_breakpoint): If this breakpoint has | |
497 | target-side commands but this stub doesn't support Z0 packets, | |
498 | throw NOT_SUPPORTED_ERROR error. | |
499 | * exceptions.h (enum errors) <NOT_SUPPORTED_ERROR>: New error. | |
500 | * target.h (target_insert_breakpoint): Extend comment. | |
501 | (target_insert_hw_breakpoint): Add comment. | |
502 | ||
b7ea362b PA |
503 | 2014-01-08 Pedro Alves <palves@redhat.com> |
504 | ||
505 | * remote.c (remote_add_thread): Add threads silently if starting | |
506 | up. | |
507 | (remote_notice_new_inferior): If in all-stop, and starting up, | |
508 | don't call notice_new_inferior. | |
509 | (get_current_thread): New function, factored out from ... | |
510 | (add_current_inferior_and_thread): ... this. Adjust. | |
511 | (remote_start_remote) <all-stop>: Fetch the thread list. If we | |
512 | found any thread, then select the remote's current thread as GDB's | |
513 | current thread too. | |
514 | ||
b7bba001 JB |
515 | 2014-01-08 Joel Brobecker <brobecker@adacore.com> |
516 | ||
517 | * NEWS: Create a new section for the next release branch. | |
518 | Rename the section of the current branch, now that it has | |
519 | been cut. | |
520 | ||
16dfbded JB |
521 | 2014-01-08 Joel Brobecker <brobecker@adacore.com> |
522 | ||
523 | GDB 7.7 branch created (79301218fa0f074c5656db0ec8972a5ddcf91fb5): | |
524 | * version.in: Bump version to 7.7.50.DATE-cvs. | |
525 | ||
22c90ac1 YQ |
526 | 2014-01-08 Yao Qi <yao@codesourcery.com> |
527 | ||
528 | * spu-linux-nat.c (spu_symbol_file_add_from_memory): Change | |
529 | type of 'id' to gdb_byte. Cast 'id' to 'const char *'. | |
530 | (spu_xfer_partial): Cast 'buf' to 'const char *'. | |
531 | ||
d64ad97c YQ |
532 | 2014-01-08 Yao Qi <yao@codesourcery.com> |
533 | ||
534 | * spu-linux-nat.c (spu_symbol_file_add_from_memory): Pass | |
535 | return value of bfd_get_filename to symbol_file_add_from_bfd. | |
536 | ||
f93ba80c PM |
537 | 2014-01-08 Pierre Muller <muller@sourceware.org> |
538 | ||
539 | Fix PR16201. | |
540 | * coff-pe-read.c (struct read_pe_section_data): Add index field. | |
541 | (add_pe_exported_sym): Use SECTION_DATA->INDEX for call | |
542 | to prim_record_mininal_symbol_and_info. | |
543 | (add_pe_forwarded_sym): Use known section number of forwarded symbol | |
544 | in call to prim_record_minimal_symbol_and_info. | |
545 | (read_pe_exported_syms): Set index field of section_data. | |
546 | ||
a4d9ba85 AP |
547 | 2014-01-07 Andrew Pinski <apinski@cavium.com> |
548 | ||
549 | * features/aarch64-core.xml (cpsr): Change to be 64bit. | |
550 | * features/aarch64.c: Regenerate. | |
551 | ||
1b67eb02 AS |
552 | 2014-01-07 Andreas Schwab <schwab@linux-m68k.org> |
553 | ||
554 | * target.c (return_null): Define. | |
555 | (update_current_target): Use it instead of return_zero for | |
556 | functions that return a pointer. | |
557 | ||
5e3f4fab EBM |
558 | 2014-01-07 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com> |
559 | ||
560 | * source.c (add_path): Fix check for duplicated paths in the previously | |
561 | included paths. | |
562 | ||
e2616788 HK |
563 | 2014-01-07 Honggyu Kim <hong.gyu.kim@lge.com> |
564 | ||
565 | * ada-lang.c: Remove duplicated include statements. | |
566 | * alphabsd-nat.c: Ditto. | |
567 | * amd64-darwin-tdep.c: Ditto. | |
568 | * amd64fbsd-nat.c: Ditto. | |
569 | * auto-load.c: Ditto. | |
570 | * ax-gdb.c: Ditto. | |
571 | * breakpoint.c: Ditto. | |
572 | * dbxread.c: Ditto. | |
573 | * fork-child.c: Ditto. | |
574 | * gdb_usleep.c: Ditto. | |
575 | * i386-darwin-tdep.c: Ditto. | |
576 | * i386fbsd-nat.c: Ditto. | |
577 | * infcmd.c: Ditto. | |
578 | * inferior.c: Ditto. | |
579 | * jv-lang.c: Ditto. | |
580 | * linux-nat.c: Ditto. | |
581 | * linux-tdep.c: Ditto. | |
582 | * m68kbsd-nat.c: Ditto. | |
583 | * m68klinux-nat.c: Ditto. | |
584 | * microblaze-tdep.c: Ditto. | |
585 | * mips-linux-tdep.c: Ditto. | |
586 | * mn10300-tdep.c: Ditto. | |
587 | * nto-tdep.c: Ditto. | |
588 | * opencl-lang.c: Ditto. | |
589 | * osdata.c: Ditto. | |
590 | * printcmd.c: Ditto. | |
591 | * regcache.c: Ditto. | |
592 | * remote-m32r-sdi.c: Ditto. | |
593 | * remote.c: Ditto. | |
594 | * symfile.c: Ditto. | |
595 | * symtab.c: Ditto. | |
596 | * tilegx-linux-nat.c: Ditto. | |
597 | * tilegx-tdep.c: Ditto. | |
598 | * tracepoint.c: Ditto. | |
599 | * valops.c: Ditto. | |
600 | * vaxbsd-nat.c: Ditto. | |
601 | * windows-nat.c: Ditto. | |
602 | * xtensa-tdep.c: Ditto. | |
603 | ||
bd1f7788 YQ |
604 | 2014-01-07 Yao Qi <yao@codesourcery.com> |
605 | ||
606 | * spu-linux-nat.c (_initialize_spu_nat): Declare. | |
607 | ||
79301218 JB |
608 | 2014-01-07 Yao Qi <yao@codesourcery.com> |
609 | Joel Brobecker <brobecker@adacore.com> | |
610 | ||
611 | * aix-thread.c (pdc_read_regs): Cast parameter to uintptr_t. | |
612 | (pdc_write_regs): Likewise. | |
613 | (fetch_regs_kernel_thread): Likewise. | |
614 | (store_regs_kernel_thread): Likewise. | |
615 | ||
616 | 2014-01-07 Joel Brobecker <brobecker@adacore.com> | |
617 | ||
618 | * ada-varobj.c (ada_varobj_adjust_for_child_access): Convert | |
619 | tagged type objects to their actual type. | |
620 | ||
8e355c5d JB |
621 | 2014-01-07 Joel Brobecker <brobecker@adacore.com> |
622 | ||
623 | * ada-valprint.c (print_field_values): Add "language" parameter. | |
624 | Update calls to print_field_values and print_variant_part. | |
625 | Pass new parameter "language" in call to val_print instead | |
626 | of "current_language". Replace call to ada_val_print by call | |
627 | to val_print. | |
628 | (print_variant_part): Add "language" parameter. | |
629 | (ada_val_print_struct_union): Update call to print_field_values. | |
630 | ||
4fbf5aa5 JB |
631 | 2014-01-07 Joel Brobecker <brobecker@adacore.com> |
632 | ||
633 | * ada-valprint.c (ui_memcpy): Delete. | |
634 | (ada_print_floating): Update documentation. Add empty line | |
635 | between between function documentation and implementation. | |
636 | Delete variable "buffer". Use ui_file_xstrdup in place of | |
637 | ui_file_put. Minor adjustments following this change. | |
638 | ||
71855601 JB |
639 | 2014-01-07 Joel Brobecker <brobecker@adacore.com> |
640 | ||
641 | * ada-valprint.c (ada_val_print_string): New function, | |
642 | extracted from ada_val_print_array. | |
643 | (ada_val_print_array): Replace extracted code by call | |
644 | to ada_val_print_string followed by a return. Move | |
645 | "else" branch to the function's top block. | |
646 | ||
4eb27a30 JB |
647 | 2014-01-07 Joel Brobecker <brobecker@adacore.com> |
648 | ||
649 | * ada-valprint.c (ada_val_print_array): Move implementation | |
650 | down. Rename parameter "offset" and "val" into "offset_aligned" | |
651 | and "original_value" respectively. Add parameter "offset". | |
652 | ||
34b27950 JB |
653 | 2014-01-07 Joel Brobecker <brobecker@adacore.com> |
654 | ||
655 | * ada-valprint.c (ada_val_print_ref): Rewrite by mostly | |
656 | re-organizing the code. Change the "???" message printed | |
657 | when target type is a TYPE_CODE_UNDEF into | |
658 | "<ref to undefined type>". | |
659 | ||
079e4591 JB |
660 | 2014-01-07 Joel Brobecker <brobecker@adacore.com> |
661 | ||
662 | * ada-valprint.c (print_record): Delete, implementation inlined... | |
663 | (ada_val_print_struct_union): ... here. Remove call to | |
664 | ada_check_typedef in inlined implementation. | |
665 | ||
8004dfd1 JB |
666 | 2014-01-07 Joel Brobecker <brobecker@adacore.com> |
667 | ||
668 | * ada-valprint.c (ada_val_print_gnat_array): New function, | |
669 | extracted from ada_val_print_1; | |
670 | (ada_val_print_ptr, ada_val_print_num, ada_val_print_enum) | |
671 | (ada_val_print_flt, ada_val_print_struct_union) | |
672 | (ada_val_print_ref): Likewise. | |
673 | (ada_val_print_1): Delete variables i and elttype. | |
674 | Replace extracted-out code by call to corresponding | |
675 | new functions. | |
676 | ||
760a2db0 JB |
677 | 2014-01-07 Joel Brobecker <brobecker@adacore.com> |
678 | ||
679 | * ada-valprint.c (ada_val_print_1): Remove call to gdb_flush. | |
680 | ||
3a92c861 JB |
681 | 2014-01-07 Joel Brobecker <brobecker@adacore.com> |
682 | ||
683 | * ada-valprint.c (ada_val_print_1): Replace calls to | |
684 | ada_val_print_1 by calls to val_print. | |
685 | ||
cd1630f9 JB |
686 | 2014-01-07 Joel Brobecker <brobecker@adacore.com> |
687 | ||
688 | * ada-valprint.c (ada_val_print_1): Add parameter "language". | |
689 | Update calls to self accordingly. Replace calls to c_val_print | |
690 | by calls to val_print. | |
691 | ||
bdf779a0 JB |
692 | 2014-01-07 Joel Brobecker <brobecker@adacore.com> |
693 | ||
694 | * ada-valprint.c (print_record): Delete declaration. | |
695 | (adjust_type_signedness, ada_val_print_1): Likewise. | |
696 | (ada_val_print): Move function implementation down. | |
697 | (print_variant_part, print_field_values, print_record): | |
698 | Move function implementation up. | |
699 | ||
c0d48811 JB |
700 | 2014-01-07 Joel Brobecker <brobecker@adacore.com> |
701 | ||
702 | * python/py-type.c (typy_get_name): New function. | |
703 | (type_object_getset): Add entry for attribute "name". | |
704 | * NEWS: Add entry mentioning this new attribute. | |
705 | ||
c26e9cbb YQ |
706 | 2014-01-07 Yao Qi <yao@codesourcery.com> |
707 | ||
708 | * gnu-nat.c (set_exceptions_cmd): Remove an empty body 'if' | |
709 | statement. | |
710 | ||
0cc6f43d YQ |
711 | 2014-01-07 Yao Qi <yao@codesourcery.com> |
712 | ||
713 | * gnu-nat.c (info_port_rights): Add qualifier const to | |
714 | argument args. | |
715 | ||
eec03155 YQ |
716 | 2014-01-07 Yao Qi <yao@codesourcery.com> |
717 | ||
718 | * gnu-nat.c (trace_me): Use 'void' for empty argument list. | |
719 | ||
f04a82ef YQ |
720 | 2014-01-07 Yao Qi <yao@codesourcery.com> |
721 | ||
722 | * gnu-nat.c (make_inf) Update declaration. | |
723 | (make_inf): Make it static. | |
724 | (inf_set_traced): Likewise. | |
725 | (inf_port_to_thread, inf_task_died_status): Likewise. | |
726 | ||
d57dda0a YQ |
727 | 2014-01-07 Yao Qi <yao@codesourcery.com> |
728 | ||
729 | * gnu-nat.c (inf_tid_to_proc): Remove declaration. | |
730 | ||
3aa8c969 YQ |
731 | 2014-01-07 Yao Qi <yao@codesourcery.com> |
732 | ||
733 | * gnu-nat.c (_initialize_gnu_nat): Declare. | |
734 | ||
94123b4f YQ |
735 | 2014-01-07 Yao Qi <yao@codesourcery.com> |
736 | ||
737 | * gdbarch.sh (byte_order, byte_order_for_code): Change type to | |
738 | 'enum bfd_endian'. | |
739 | (struct gdbarch_info) <byte_order>: Change type to | |
740 | 'enum bfd_endian'. | |
741 | <byte_order_for_code>: Likewise. | |
742 | * gdbarch.c, gdbarch.h: Regenerated. | |
743 | ||
dc81d70a TT |
744 | 2014-01-06 Sasha Smundak <asmundak@google.com> |
745 | ||
746 | * jit.c: (jit_reader_load_command): Fix JIT reader path creation. | |
747 | ||
cc2f3c35 TT |
748 | 2014-01-06 Tom Tromey <tromey@redhat.com> |
749 | ||
750 | * doublest.c (convert_doublest_to_floatformat): Use const, not | |
751 | CONST. | |
752 | * somread.c (som_symtab_read): Likewise. | |
753 | ||
adcf2eed HZ |
754 | 2014-01-07 Hui Zhu <hui@codesourcery.com> |
755 | ||
756 | * gdb_bfd.c (gdb_bfd_stash_filename): Removed. | |
757 | (gdb_bfd_open): Removed gdb_bfd_stash_filename. | |
758 | (gdb_bfd_fopen): Ditto. | |
759 | (gdb_bfd_openr): Ditto. | |
760 | (gdb_bfd_openw): Ditto. | |
761 | (gdb_bfd_openr_iovec): Ditto. | |
762 | (gdb_bfd_fdopenr): Ditto. | |
763 | * gdb_bfd.h (gdb_bfd_stash_filename): Removed. | |
764 | * solib-aix.c (solib_aix_bfd_open): Alloc object_bfd->filename | |
765 | with xstrdup. | |
766 | * solib-darwin.c (darwin_bfd_open): Alloc res->filename | |
767 | with xstrdup. | |
768 | * symfile-mem.c (symbol_file_add_from_memory): Removed | |
769 | gdb_bfd_stash_filename. | |
770 | ||
50722198 DE |
771 | 2014-01-03 Doug Evans <dje@google.com> |
772 | ||
773 | * nat/linux-waitpid.c (linux_debug): Remove extraneous \n from | |
774 | output. | |
775 | ||
2fa4b862 JB |
776 | 2014-01-01 Joel Brobecker <brobecker@adacore.com> |
777 | ||
778 | Update year range in copyright notice of all files. | |
779 | ||
28498c42 JB |
780 | 2014-01-01 Joel Brobecker <brobecker@adacore.com> |
781 | ||
782 | * top.c (print_gdb_version): Set copyright year to 2014. | |
783 | ||
7b6e1046 JB |
784 | 2014-01-01 Joel Brobecker <brobecker@adacore.com> |
785 | ||
786 | * config/djgpp/fnchange.lst: Add entry for gdb/ChangeLog-2013. | |
787 | ||
df96af55 | 788 | For older changes see ChangeLog-2013. |
c906108c SS |
789 | \f |
790 | Local Variables: | |
791 | mode: change-log | |
792 | left-margin: 8 | |
793 | fill-column: 74 | |
794 | version-control: never | |
57da7796 | 795 | coding: utf-8 |
c906108c | 796 | End: |