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