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