* aarch64-tdep.c (aarch64_analyze_prologue): ARI fix:
[deliverable/binutils-gdb.git] / gdb / ChangeLog
CommitLineData
14ac654f
MS
12013-02-05 Marcus Shawcroft <marcus.shawcroft@arm.com>
2
3 * aarch64-tdep.c (aarch64_analyze_prologue): ARI fix:
4 Refactor if statement to avoid trailing || operator.
5
543bf33d
AT
62013-02-05 Andreas Tobler <andreast@fgznet.ch>
7
8 * NEWS: Add PowerPC FreeBSD as a new native configuration.
9
dc18f110
AT
102013-02-04 Andreas Tobler <andreast@fgznet.ch>
11
12 * Makefile.in (ALL_TARGET_OBS): Add powerpc FreeBSD files.
13 * configure.host: Add powerpc*-*-freebsd* target.
14 * configure.tgt: Add target info for powerpc*-*-freebsd*.
15 * ppcfbsd-nat.c, ppcfbsd-tdep.h, ppcfbsd-tdep.c: New files.
16 * config/powerpc/fbsd.mh: New file.
17
b3ac9c77
SDJ
182013-02-04 Sergio Durigan Junior <sergiodj@redhat.com>
19 Denys Vlasenko <dvlasenk@redhat.com>
20 Pedro Alves <palves@redhat.com>
21
22 * gdbarch.sh (elfcore_write_linux_prpsinfo): New F hook.
23 (struct elf_internal_linux_prpsinfo): Forward declare.
24 * gdbarch.h, gdbarch.c: Regenerate.
25 * linux-tdep.c: Include `cli/cli-utils.h'.
26 (linux_fill_prpsinfo): New function.
27 (linux_make_corefile_notes): Use linux_fill_prpsinfo. If there's
28 an elfcore_write_linux_prpsinfo hook, use it, otherwise, use
29 elfcore_write_linux_prpsinfo32 or elfcore_write_linux_prpsinfo64
30 depending on gdbarch pointer bitness.
31 * ppc-linux-tdep.c: Include elf-bfd.h.
32 (ppc_linux_init_abi): Hook in elfcore_write_ppc_linux_prpsinfo32
33 on 32-bit.
34
176eb98c
MS
352013-02-04 Jim MacArthur <jim.macarthur@arm.com>
36 Marcus Shawcroft <marcus.shawcroft@arm.com>
37 Nigel Stephens <nigel.stephens@arm.com>
38 Yufeng Zhang <yufeng.zhang@arm.com>
39
40 * configure.tgt (aarch64*-*-linux*): Set build_gdbserver=yes.
41
cf0dbd6f
MS
422013-02-04 Jim MacArthur <jim.macarthur@arm.com>
43 Marcus Shawcroft <marcus.shawcroft@arm.com>
44 Nigel Stephens <nigel.stephens@arm.com>
45 Yufeng Zhang <yufeng.zhang@arm.com>
46
47 * aarch64-newlib-tdep.c: New file.
48 * configure.tgt: Add aarch64-newlib-tdep.o to gdb_target_obs of
49 aarch64*-*-elf.
50 * defs.h (enum gdb_osabi): Add GDB_OSABI_NEWLIB.
51 * Makefile.in (ALL_64_TARGET_OBS): Add aarch64-newlib-tdep.o.
52 (ALLDEPFILES): Add aarch64-newlib-tdep.c.
53 * osabi.c (gdb_osabi_names): Add "Newlib".
54
1ae3db19
MS
552013-02-04 Jim MacArthur <jim.macarthur@arm.com>
56 Marcus Shawcroft <marcus.shawcroft@arm.com>
57 Nigel Stephens <nigel.stephens@arm.com>
58 Yufeng Zhang <yufeng.zhang@arm.com>
59
60 * Makefile.in (ALL_64_TARGET_OBS): Add aarch64-linux-tdep.o.
61 (ALLDEPFILES): Add aarch64-linux-tdep.c.
62 * aarch64-linux-tdep.c: New file.
63 * aarch64-linux-tdep.h: New file.
64 * aarch64-tdep.h (gdbarch_tdep): Define gregset and fpregset.
65 * configure.tgt: Add aarch64-none-linux-gnu.
66
07b287a0
MS
672013-02-04 Jim MacArthur <jim.macarthur@arm.com>
68 Marcus Shawcroft <marcus.shawcroft@arm.com>
69 Nigel Stephens <nigel.stephens@arm.com>
70 Yufeng Zhang <yufeng.zhang@arm.com>
71
72 * Makefile.in (ALL_64_TARGET_OBS): Add arch64-tdep.o.
73 (HFILES_NO_SRCDIR): Add aarch64-tdep.h.
74 (ALLDEPFILES): Add aarch64-tdep.c.
75 * aarch64-tdep.c: New file.
76 * aarch64-tdep.h: New file.
77 * configure.tgt: Add AArch64.
78 * features/Makefile (WHICH): Add aarch64 and aarch64-without-fpu.
79 (aarch64-expedite): New definition.
80 * features/aarch64-core.xml: New file.
81 * features/aarch64-fpu.xml: New file.
82 * features/aarch64-without-fpu.c: New file (generated).
83 * features/aarch64-without-fpu.xml: New file.
84 * features/aarch64.c: New file (generated).
85 * features/aarch64.xml: New file.
86 * regformats/aarch64-without-fpu.dat: New file (generated).
87 * regformats/aarch64.dat: New file (generated).
88
0f1b18ab
JK
892013-02-03 Jan Kratochvil <jan.kratochvil@redhat.com>
90
91 * contrib/expect-read1.c: New file.
92 * contrib/expect-read1.sh: New file.
93
233d95b5
JK
942013-02-03 Jan Kratochvil <jan.kratochvil@redhat.com>
95
96 * dwarf2read.c (file_file_name): New function with code from
97 file_full_name.
98 (file_full_name): Move most of the code to file_file_name.
99 (macro_start_file): Rename variable full_name to file_name and use
100 file_file_name for it. Add comp_dir parameter to new_macro_table.
101 * macrocmd.c (show_pp_source_pos): New variable fullname. Replace any
102 macro_source_file->filename access by macro_source_fullname call.
103 * macroscope.c (_initialize_macroscope): Update the new_macro_table
104 caller.
105 * macrotab.c (struct macro_table): New field comp_dir.
106 (macro_include): New variables link_fullname and source_fullname.
107 Replace any macro_source_file->filename access by macro_source_fullname
108 call.
109 (macro_lookup_inclusion): Remove the partial filenames checking code.
110 (check_for_redefinition): New variables source_fullname and
111 found_key_fullname. Replace any macro_source_file->filename access by
112 macro_source_fullname call.
113 (macro_undef): New variables source_fullname and key_fullname. Replace
114 any macro_source_file->filename access by macro_source_fullname call.
115 (macro_lookup_definition): New variables retval and source_fullname.
116 Replace any macro_source_file->filename access by macro_source_fullname
117 call.
118 (foreach_macro): New variable key_fullname. Replace any
119 macro_source_file->filename access by macro_source_fullname call.
120 (foreach_macro_in_scope): New variable datum_fullname. Replace any
121 macro_source_file->filename access by macro_source_fullname call.
122 (new_macro_table): Add parameter comp_dir. Initialize T with it.
123 (macro_source_fullname): New function.
124 * macrotab.h (struct macro_source_file): Extent the filename field
125 comment.
126 (new_macro_table): New parameter comp_dir, add a comment for it.
127 (macro_source_fullname): new declaration.
128
da235a7c
JK
1292013-02-03 Jan Kratochvil <jan.kratochvil@redhat.com>
130
131 * dwarf2read.c (dw2_map_symtabs_matching_filename): Move variable
132 this_real_name to outer block. Use it also for
133 compare_filenames_for_search.
134 (dw2_expand_symtabs_matching): New variable this_real_name. Use it
135 with dw2_get_real_path for file_matcher, considering also
136 BASENAMES_MAY_DIFFER.
137 (file_full_name): Prepend COMP_DIR even for relative lh->INCLUDE_DIRS.
138
fbd9ab74
JK
1392013-02-03 Jan Kratochvil <jan.kratochvil@redhat.com>
140
141 * dwarf2read.c (dw2_expand_symtabs_matching): Add basenames parameter
142 to the file_matcher parameter. Pass 0 to it.
143 (dwarf2_create_include_psymtab): Copy also DIRNAME.
144 * psymtab.c (partial_map_symtabs_matching_filename): Drop handling of
145 NULL psymtab_to_fullname result.
146 (psymtab_to_fullname): Remove variable r. Never return NULL, assemble
147 an expected filename instead.
148 (expand_symtabs_matching_via_partial): Add basenames parameter to the
149 file_matcher parameter. Call also psymtab_to_fullname, after newly
150 considering BASENAMES_MAY_DIFFER.
151 * source.c (rewrite_source_path): Remove static.
152 * source.h (rewrite_source_path): New declaration.
153 * symfile.h (struct quick_symbol_functions): Add basenames parameter to
154 the expand_symtabs_matching field. Comment it.
155 * symtab.c (file_matches): New function comment. Add parameter
156 basenames, implement it.
157 (search_symbols_file_matches): Add basenames parameter. Update the
158 file_matches caller.
159 (search_symbols): Match FILES also against symtab_to_fullname.
160 Optimize it for BASENAMES_MAY_DIFFER.
161
56d397a3
JK
1622013-02-03 Jan Kratochvil <jan.kratochvil@redhat.com>
163
164 * source.c (print_source_lines_base): Print for TUI also "fullname".
165 * tui/tui-data.c (init_content_element): Change tui_locator_element
166 field to full_name.
167 * tui/tui-data.h (struct tui_locator_element): Likewise.
168 * tui/tui-disasm.c (tui_show_disassem_and_update_source): Rename
169 tui_update_locator_filename calls to tui_update_locator_fullname.
170 Replace symtab->filename refererence by symtab_to_fullname call.
171 * tui/tui-out.c (tui_field_string): Check for "fullname" now.
172 * tui/tui-source.c (tui_set_source_content): Change tui_locator_element
173 field to full_name. Replace symtab->filename refererence by
174 symtab_to_fullname call.
175 (tui_show_symtab_source): Rename parameter to fullname. Change
176 tui_locator_element field to full_name.
177 * tui/tui-stack.c: Include source.h.
178 (tui_set_locator_filename): Rename the declaration to ...
179 (tui_set_locator_fullname): ... here. Rename its parameter to
180 fullname, updates its comment.
181 (tui_set_locator_info): Rename its parameter to fullname.
182 (tui_set_locator_filename): Rename the definition to ...
183 (tui_set_locator_fullname): ... here. Rename its parameter to
184 fullname, updates its comment. Change tui_locator_element field to
185 full_name.
186 (tui_set_locator_info): Rename its parameter to fullname.
187 (tui_set_locator_info): Rename callee to tui_set_locator_fullname.
188 (tui_update_locator_filename): Rename to ...
189 (tui_update_locator_fullname): ... here. Rename callee to
190 tui_set_locator_fullname.
191 (tui_show_frame_info): Replace symtab->filename refererence by
192 symtab_to_fullname call.
193 * tui/tui-stack.h (tui_update_locator_filename): Rename to ...
194 (tui_update_locator_fullname): ... here.
195 * tui/tui-winsource.c (tui_display_main): Rename the callee to
196 tui_update_locator_fullname. Replace symtab->filename refererence by
197 symtab_to_fullname call.
198 * tui/tui.c (tui_show_source): Rename its parameter to fullname.
199 Rename the callee to tui_update_locator_fullname.
200 * tui/tui.h (tui_show_source): Rename its parameter to fullname.
201
05cba821
JK
2022013-02-03 Jan Kratochvil <jan.kratochvil@redhat.com>
203
204 * ada-lang.c (user_select_syms): Replace symtab->filename refererences
205 by symtab_to_filename_for_display calls.
206 * breakpoint.c (print_breakpoint_location, resolve_sal_pc): Likewise.
207 (clear_command): New variable sal_fullname, initialize it. Replace
208 compare_filenames_for_search by filename_cmp with sal_fullname.
209 (say_where, update_static_tracepoint): Replace symtab->filename
210 refererences by symtab_to_filename_for_display calls.
211 * cli/cli-cmds.c (edit_command, list_command, ambiguous_line_spec):
212 Likewise.
213 * dwarf2read.c: Include source.h.
214 (fixup_go_packaging): Replace symtab->filename refererences by
215 symtab_to_filename_for_display calls.
216 * linespec.c (add_sal_to_sals): Rename variable filename to fullname.
217 Replace symtab->filename refererences by symtab_to_filename_for_display
218 calls.
219 (create_sals_line_offset, convert_linespec_to_sals): New variable
220 fullname, initialize it, replace symtab->filename reference by the
221 variable.
222 * linux-fork.c: Include source.h.
223 (info_checkpoints_command): Replace symtab->filename refererences by
224 symtab_to_filename_for_display calls.
225 * macroscope.c (sal_macro_scope): Replace symtab->filename refererences
226 by symtab_to_filename_for_display calls.
227 * mdebugread.c: Include source.h.
228 (psymtab_to_symtab_1): Replace symtab->filename refererences by
229 symtab_to_filename_for_display calls.
230 * mi/mi-cmd-file.c (mi_cmd_file_list_exec_source_file)
231 (mi_cmd_file_list_exec_source_files): Likewise.
232 * printcmd.c: Include source.h.
233 (build_address_symbolic): Replace symtab->filename refererences by
234 symtab_to_filename_for_display calls.
235 * psymtab.c (partial_map_symtabs_matching_filename)
236 (read_psymtabs_with_fullname): Call compare_filenames_for_search also
237 with psymtab_to_fullname.
238 * python/py-symtab.c (stpy_str): Replace symtab->filename refererences
239 by symtab_to_filename_for_display calls.
240 (stpy_get_filename): New variable filename, initialize it, use instead
241 of symtab->filename refererences.
242 (salpy_str): Make variable filename const char *. Replace
243 symtab->filename refererences by symtab_to_filename_for_display calls.
244 * skip.c: Include source.h and filenames.h.
245 (skip_file_command): Remove const from the symtab variable. Replace
246 symtab->filename refererences by symtab_to_fullname call.
247 (function_name_is_marked_for_skip): New variables searched_for_fullname
248 and fullname. Use them to search also with symtab's fullname.
249 * source.c (find_source_lines): Replace symtab->filename refererences
250 by symtab_to_filename_for_display calls.
251 (print_source_lines_base): New variable filename, use it instead of
252 symtab->filename. Replace symtab->filename refererences by
253 symtab_to_filename_for_display calls.
254 (line_info, forward_search_command): Replace symtab->filename
255 refererences by symtab_to_filename_for_display calls.
256 (reverse_search_command): Replace symtab->filename refererences by
257 symtab_to_filename_for_display calls. New variable filename for it.
258 * stack.c (frame_info): Likewise.
259 * symmisc.c: Include source.h.
260 (dump_objfile, dump_symtab_1, maintenance_print_symbols)
261 (maintenance_info_symtabs): Replace symtab->filename refererences by
262 symtab_to_filename_for_display calls.
263 * symtab.c (iterate_over_some_symtabs): Call
264 compare_filenames_for_search also with symtab_to_fullname.
265 (lookup_symbol_aux_quick, basic_lookup_transparent_type_quick): Replace
266 symtab->filename refererences by symtab_to_filename_for_display calls.
267 (find_line_symtab): Replace symtab->filename refererences by
268 symtab_to_filename_for_display calls.
269 (file_matches): Replace filename_cmp by compare_filenames_for_search.
270 (print_symbol_info): Make the last parameter const char *. New
271 variable s_filename. Use it in the function.
272 (symtab_symbol_info): Make the last_filename variable const char *.
273 Replace symtab->filename refererences by symtab_to_filename_for_display
274 calls.
275 (rbreak_command): New variable fullname. Use it. Replace
276 symtab->filename refererence by symtab_to_filename_for_display call.
277 * tracepoint.c (set_traceframe_context, trace_find_line_command)
278 (print_one_static_tracepoint_marker): Replace symtab->filename
279 refererences by symtab_to_filename_for_display calls.
280 * tui/tui-source.c (tui_set_source_content): New variables filename and
281 s_filename. Replace symtab->filename refererences by this variable.
282 Replace other symtab->filename refererences by
283 symtab_to_filename_for_display calls.
284
1b56eb55
JK
2852013-02-03 Eldar Gaynetdinov <hal9000ed2k@gmail.com>
286 Jan Kratochvil <jan.kratochvil@redhat.com>
287
288 Add a new variable that controls a way in which filenames are
289 displayed.
290 * NEWS (set filename-display): New entry.
291 * source.c (filename_display_basename, filename_display_relative)
292 (filename_display_absolute, filename_display_kind_names)
293 (filename_display_string, show_filename_display_string)
294 (symtab_to_filename_for_display): New.
295 (_initialize_source): Added initialization of 'filename-display'
296 variable.
297 * source.h (symtab_to_filename_for_display): Added declaration.
298 * stack.c (print_frame): Added new variable and calling of a new
299 function and condition with this variable. Changed third argument of
300 calling of a function.
301
aa079c93
JK
3022013-02-03 Jan Kratochvil <jan.kratochvil@redhat.com>
303
304 * tui/tui-data.c (init_win_info, tui_del_window, tui_free_window):
305 Rename field reference filename to fullname.
306 * tui/tui-data.h (struct tui_source_info): Rename field filename to
307 fullname. New comment for it.
308 * tui/tui-source.c (tui_set_source_content): Rename field reference
309 filename to fullname. Initialize field by symtab_to_fullname now.
310 * tui/tui-winsource.c (tui_update_breakpoint_info): Rename field
311 reference filename to fullname. Use symtab_to_fullname during
312 comparison.
313
652a8996
JK
3142013-02-03 Jan Kratochvil <jan.kratochvil@redhat.com>
315
316 Code cleanup.
317 * dwarf2read.c (dw2_expand_symtabs_with_filename): Rename to ...
318 (dw2_expand_symtabs_with_fullname): ... here. Rename parameter
319 filename to fullname. Rename variable this_name to this_fullname.
320 Lowercase FILENAME_CMP call.
321 (dw2_find_symbol_file): New comment for the returned string.
322 (dwarf2_gdb_index_functions): Rename the function to
323 dw2_expand_symtabs_with_fullname.
324 * psymtab.c (read_psymtabs_with_filename): Rename to ...
325 (read_psymtabs_with_fullname): ... here. Rename parameter filename to
326 fullname.
327 (psym_functions): Rename the function to read_psymtabs_with_fullname.
328 * symfile.h (struct quick_symbol_functions): Rename field
329 expand_symtabs_with_filename to expand_symtabs_with_fullname and its
330 parameter filename to fullname. Document returned string meaning for
331 find_symbol_file.
332 * symtab.c (find_line_symtab): Rename the called function to
333 expand_symtabs_with_fullname.
334
af529f8f
JK
3352013-02-03 Jan Kratochvil <jan.kratochvil@redhat.com>
336
337 Code cleanup.
338 * breakpoint.c (clear_command): Remove variable is_abs, unify the
339 call of filename_cmp with compare_filenames_for_search.
340 * dwarf2read.c (dw2_map_symtabs_matching_filename): Remove variable
341 is_abs, unify the call of FILENAME_CMP with
342 compare_filenames_for_search. New gdb_asserts for real_path and name.
343 Unify the call of compare_filenames_for_search with FILENAME_CMP.
344 * psymtab.c (partial_map_symtabs_matching_filename): Likewise.
345 * symfile.h (struct quick_symbol_functions): Extend the comment for
346 map_symtabs_matching_filename.
347 * symtab.c (compare_filenames_for_search): Remove the function comment
348 relative path requirement. Handle absolute filenames, with a comment.
349 (iterate_over_some_symtabs): Remove variable is_abs, unify the call of
350 FILENAME_CMP with compare_filenames_for_search. New gdb_asserts for
351 real_path and name. Unify the call of compare_filenames_for_search
352 with FILENAME_CMP.
353 (iterate_over_symtabs): New gdb_assert on REAL_PATH.
354
2f202fde
JK
3552013-02-03 Jan Kratochvil <jan.kratochvil@redhat.com>
356
357 Code cleanup.
358 * breakpoint.c (print_breakpoint_location): Replace bp_location field
359 source_file references by symtab field references. Remove variables
360 sal and fullname.
361 (momentary_breakpoint_from_master, add_location_to_breakpoint):
362 (clear_command, say_where): Replace bp_location field source_file
363 references by symtab field references.
364 (bp_location_dtor): Remove the source_file reference.
365 (update_static_tracepoint): Replace bp_location field source_file
366 references by symtab field references.
367 (breakpoint_free_objfile): New function.
368 * breakpoint.h (struct bp_location): Extend the comment for line_number.
369 Replace the field source_file by field symtab, extend its comment.
370 (breakpoint_free_objfile): New declaration.
371 * objfiles.c (free_objfile): Call breakpoint_free_objfile.
372 * tui/tui-winsource.c (tui_update_breakpoint_info): Replace bp_location
373 field source_file references by symtab field references.
374
f5b95b50
JK
3752013-02-03 Jan Kratochvil <jan.kratochvil@redhat.com>
376
377 Replace xfullpath calls by gdb_realpath calls.
378 * cli/cli-cmds.c (find_and_open_script): Remove xfullpath from the
379 function comment.
380 * dwarf2read.c (dw2_map_expand_apply): Remove parameter full_path.
381 Remove it from the iterate_over_some_symtabs call.
382 (dw2_map_symtabs_matching_filename): Remove parameter full_path.
383 Remove it from the dw2_map_expand_apply calls, remove a block handling
384 it.
385 * psymtab.c (partial_map_expand_apply): Remove parameter full_path.
386 Remove it from the iterate_over_some_symtabs call.
387 (partial_map_symtabs_matching_filename): Remove parameter full_path.
388 Remove it from the partial_map_expand_apply calls, remove a block
389 handling it. Drop gdb_realpath call and cleanups from the real_path
390 handling.
391 * source.c (openp): Drop the comment part about xfullpath. Replace
392 xfullpath calls by gdb_realpath calls.
393 (find_and_open_source): Replace xfullpath call by gdb_realpath call.
394 * symfile.h (struct quick_symbol_functions): Remove parameter full_path
395 from method map_symtabs_matching_filename and its comment.
396 * symmisc.c (maintenance_print_msymbols): Replace xfullpath call by
397 gdb_realpath call.
398 * symtab.c (iterate_over_some_symtabs): Remove parameter full_path,
399 remove it also from the function comment, remove a block handling it.
400 Drop gdb_realpath call and cleanups from the real_path handling.
401 (iterate_over_symtabs): Drop variable full_path and its use.
402 * symtab.h (iterate_over_some_symtabs): Remove parameter full_path.
403 * utils.c (xfullpath): Remove.
404 * utils.h (xfullpath): Remove.
405
d78489bf
AT
4062013-02-01 Andreas Tobler <andreast@fgznet.ch>
407
408 * Makefile.in (ALL_TARGET_OBS): Add ppc64-tdep.o.
409 (HFILES_NO_SRCDIR): Add ppc64-tdep.h.
410 (ALLDEPFILES): Add ppc64-tdep.c.
411 * configure.tgt (powerpc-*-linux* | powerpc64-*-linux*): Add
412 ppc64-tdep.o to gdb_target_obs.
413 * ppc64-tdep.h: New file.
414 * ppc64-tdep.c: New file.
415 (insn_d, insn_ds, insn_xfx, ppc64_desc_entry_point): Move from
416 ppc-linux-tdep.c to here.
417 (PPC64_STANDARD_LINKAGE1_LEN, PPC64_STANDARD_LINKAGE2_LEN)
418 (PPC64_STANDARD_LINKAGE2_LEN): Likewise and use ARRAY_SIZE macro.
419 (ppc64_standard_linkage1_target, ppc64_standard_linkage2_target)
420 (ppc64_standard_linkage3_target, ppc64_skip_trampoline_code): Move
421 from ppc-linux-tdep.c to here.
422 (ppc64_convert_from_func_ptr_addr): Rename from
423 ppc64_linux_convert_from_func_ptr_addr to
424 ppc64_convert_from_func_ptr_addr and move from ppc-linux-tdep.c to
425 here.
426 * rs6000-tdep.c:
427 (read_insn): Move from ppc-linux-tdep.c to here.
428 (insns_match_pattern, insn_d_field, insn_ds_field): Move
429 from ppc-linux-tdep.c to here and rename them with the ppc_ prefix.
430 * ppc-linux-tdep.c: Include ppc64-tdep.h.
431 Removed above functions.
432 (ppc_linux_init_abi): Adjust.
433
8db60374
AR
4342013-02-01 Aleksandar Ristovski <aristovski@qnx.com>
435
436 * ada-valprint.c (ada_print_floating): Remove unused 'len'.
437
f2e5f4ce
AR
4382013-02-01 Aleksandar Ristovski <aristovski@qnx.com>
439
440 * ada-lang.c (assign_aggregate): Remove unused 'is_array_aggregate'.
441
c1f7d745
PA
4422013-02-01 Pedro Alves <palves@redhat.com>
443
444 * dummy-frame.c (deprecated_pc_in_call_dummy): Delete function.
445 * frame.h (deprecated_pc_in_call_dummy): Delete declaration.
446
8a92335b
JK
4472013-02-01 Jan Kratochvil <jan.kratochvil@redhat.com>
448
449 * elfread.c (elf_symfile_read): Limit separate debug info additions to
450 files with no separate debug info.
451 * objfiles.c (add_separate_debug_objfile): Add gdb_assert calls.
452 * symfile.c (read_symbols): Call find_separate_debug_file_in_section
453 only for files with no separate debug info.
454
8eacb197
TT
4552013-01-31 Tom Tromey <tromey@redhat.com>
456
457 * jit.c (jit_program_space_data): Rename from jit_inferior_data;
458 change type.
459 (struct jit_program_space_data): Rename from jit_inferior_data.
460 Update comments.
461 (get_jit_program_space_data): Rename from get_jit_inferior_data.
462 Change return type. Attach data to program space.
463 (jit_program_space_data_cleanup): Rename from
464 jit_inferior_data_cleanup; change argument type.
465 (jit_read_descriptor): Change 'inf_data' argument to 'ps_data',
466 change type.
467 (jit_register_code): Update.
468 (jit_update_inferior_cache): Remove.
469 (jit_breakpoint_deleted): Get jit data from the location's program
470 space.
471 (jit_breakpoint_re_set_internal): Rename 'inf_data' argument to
472 'ps_data', change type.
473 (jit_inferior_init, jit_breakpoint_re_set_internal)
474 (jit_event_handler): Update.
475 (free_objfile_data): Get data from objfile's program space.
476 (_initialize_jit): Update.
477
f25c0135
TT
4782013-01-31 Tom Tromey <tromey@redhat.com>
479
480 PR gdb/13987:
481 * jit.c (struct jit_inferior_data) <cached_code_address,
482 jit_breakpoint>: New fields.
483 (jit_breakpoint_re_set_internal): Fix logging. Only create
484 breakpoint if cached address has changed.
485 (jit_update_inferior_cache, jit_breakpoint_deleted): New
486 functions.
487 (_initialize_jit): Register breakpoint deleted observer.
488
974a734b
AR
4892013-01-31 Aleksandar Ristovski <aristovski@qnx.com>
490
491 * infrun.c (handle_syscall_event): Remove unused gdbarch.
492 (save_infcall_suspend_state): Ifdef out unused inf.
493 (restore_infcall_suspend_state): Ifdef out unused inf.
494 * jit.c (jit_register_code): Remove unused i, b, inf_data.
495 (jit_frame_sniffer): Remove unused inf_data.
496
df54f8eb
AR
4972013-01-31 Aleksandar Ristovski <aristovski@qnx.com>
498
499 * c-exp.y (classify_inner_name): Remove unused type.
500 * c-lang.c (c_printstr): Remove unused byte_order, i, things_printed,
501 in_quotes, need_comma, wchar_buf, output, cleanup, iter, finished,
502 need_escape.
503 (c_get_string): Remove unused kind.
504 * c-typeprint.c (c_type_print_args): Remove unused i, len, args, table2.
505
5799c0b9
AR
5062013-01-31 Aleksandar Ristovski <aristovski@qnx.com>
507
508 * charset.c (intermediate_encoding): Remove unused i.
509 * completer.c (signal_completer): Remove unused i.
510 * continuations.c (discard_my_continuations_1): Remove unused
511 continuation_ptr.
512 * corelow.c (core_close): Remove unuseD name.
513 (get_core_siginfo): Remove unused pid.
514 * cp-namespace.c (cp_lookup_symbol_imports_or_template): Remove unused
515 i, cps.
516 * dwarf2loc.c (dwarf2_compile_expr_to_ax): Remove unused base_offset.
517 (loclist_describe_location): Remove unused first.
518 * event-top.c (command_line_handler): Remove unused got_eof.
519 * exec.c (exec_close_1): Remove unused need_symtab_cleanup.
520 (resize_section_table): Remove unused old_value.
521 * gdb_bfd.c (gdb_bfd_map_section): Remove unused header.
522 * gnu-v3-abi.c (compute_vtable_size): Remove unused addr.
523 * i386-tdep.c (i386_process_record): Remove unused rex.
524 * infcmd.c (get_return_value): Remove unused uiout.
525 * jv-lang.c (type_from_class): Remove unused is_array.
526 * jv-valprint.c (java_val_print): Remove unused i.
527 * linux-nat.c (linux_nat_stop_lwp): Remove unused ptid.
528 * linux-thread-db.c (thread_db_find_new_threads_2): Remove unuseD pid.
529 * m2-typeprint.c (m2_print_type): Remove unused code.
530 * macroexp.c (get_character_constant): Remove unused body_start.
531 (macro_stringify): Remove unused result.
532 * objc-lang.c (find_methods): Remove unused gdbarch.
533 * objfiles.c (filter_overlapping_sections): Remove unused abfd1, abfd2.
534 * regcache.c (regcache_cooked_read): Remove unused gdbarch.
535 * stack.c (print_frame_args): Remove unused summary.
536 * thread.c (thread_apply_command): Remove unused p.
537 * valarith.c (value_x_unop): Remove unused mangle_ptr.
538 * valops.c (search_struct_method): Remove unused skip.
539 * valprint.c (generic_val_print): Remove unused byte_order.
540 * varobj.c (varobj_update): Remove unused changed.
541 * cli/cli-cmds.c (complete_command): Remove unused next_item.
542 (alias_command): Remove unused c.
543 * mi/mi-cmd-catch.c (mi_catch_load_unload): Remove unused c.
544 * mi/mi-main.c (mi_cmd_data_write_register_values): Remove unused
545 format.
546 (mi_cmd_data_write_memory): Remove unused word_format.
547 (mi_cmd_data_write_memory_bytes): Remove unused r.
548 * python/py-gdb-readline.c (gdbpy_readline_wrapper): Remove unused
549 p_start, p_end.
550 * python/python.c (_initialize_python): Remove unused cmd_name, cmd.
551 * tui/tui-disasm.c (tui_set_disassem_content): Remove unused
552 line_width.
553
c656bca5
AR
5542013-01-31 Aleksandar Ristovski <aristovski@qnx.com>
555
556 * dwarf2-frame.c (dwarf2_compile_cfa_to_ax): Remove unused num_regs.
557 * symtab.c (iterate_over_symtabs): Remove unused s.
558 (find_pc_sect_symtab): Remove unused pspAce.
559 (find_pc_sect_line): Remove unused alt_symtab.
560 (find_pcs_for_symtab_line): Remove unused ix, previous_function.
561 (completion_list_add_name): Remove unused newsize.
562
7078baeb
TT
5632013-01-31 Tom Tromey <tromey@redhat.com>
564
565 PR c++/14998:
566 * dwarf2read.c (read_tag_ptr_to_member_type): Handle
567 TYPE_CODE_FUNC.
568
c2e8b827
AR
5692013-01-31 Aleksandar Ristovski <aristovski@qnx.com>
570
571 * target.c (target_read_string): Remove unused origlen.
572
0e43993a
AR
5732013-01-31 Aleksandar Ristovski <aristovski@qnx.com>
574
575 * auto-load.c (auto_load_expand_dir_vars): Remove unused dir_vec.
576 * ax-gdb.c (gen_printf): Remove unused expr, i, bot, fr, flen, fmt.
577 * ax-general.c (ax_print): Remove unused is_float.
578 * blockframe.c (block_innermost_frame): Remove unused start, end.
579 * break-catch-sig.c (catch_signal_command): Remove unused gdbarch.
580
765a97ab
AR
5812013-01-31 Aleksandar Ristovski <aristovski@qnx.com>
582
583 * solib-svr4.c (svr4_keep_data_in_core): Remove unused lmo.
584 (svr4_read_so_list): Remove unused lmo.
585 * solib-target.c (solib_target_relocate_section_addresses): Remove
586 unused flags.
587
a99dad3d
TT
5882013-01-30 Tom Tromey <tromey@redhat.com>
589
590 * hppa-tdep.c (read_unwind_info): Use SECT_OFF_TEXT, not "0".
591
3bff1ecd
TT
5922013-01-30 Tom Tromey <tromey@redhat.com>
593
594 * symfile.c (get_file_crc): Use bfd_calc_gnu_debuglink_crc32.
595 * utils.c (gnu_debuglink_crc32): Remove.
596 * utils.h (gnu_debuglink_crc32): Don't declare.
597
7d455152
TT
5982013-01-30 Tom Tromey <tromey@redhat.com>
599
600 * dwarf2read.c (compute_delayed_physnames, read_call_site_scope)
601 (read_structure_type, read_enumeration_type): Remove cast.
602
abee88f2
TT
6032013-01-30 Tom Tromey <tromey@redhat.com>
604
605 * dwarf2read.c (read_namespace_type): Remove cast.
606 (read_typedef): Likewise.
607
8d9878a4
TT
6082013-01-29 Tom Tromey <tromey@redhat.com>
609
610 * dwarf2read.c (free_dwo_file): Remove assert.
611
a543d2a9
TT
6122013-01-29 Tom Tromey <tromey@redhat.com>
613
614 * value.c (deprecated_set_value_modifiable): Remove.
615 * value.h (deprecated_set_value_modifiable): Remove.
616
bed911e5
DE
6172013-01-28 Doug Evans <dje@google.com>
618
619 * dwarf2loc.c (dwarf2_find_location_expression): Don't add base address
620 to addresses from dwo files.
621
28c64fc2
SCR
6222013-01-25 Siva Chandra Reddy <sivachandra@google.com>
623
624 * valops.c (find_overload_match): Remove unused argument 'lax'.
625 * value.h: Remove unused argument 'lax' from the declaration of
626 find_overload_match.
627 * eval.c (value_subexp_standard): Do not pass a 'lax' argument
628 to find_overload_match.
629 * valarith.c (value_user_defined_cpp_op): Do not pass a 'lax'
630 argument to find_overload_match.
631
4d4ec4e5
TT
6322013-01-25 Tom Tromey <tromey@redhat.com>
633
634 * dwarf2read.c (processing_has_namespace_info): Remove.
635 (struct dwarf2_cu) <processing_has_namespace_info>: New field.
636 (process_die, read_func_scope, dwarf2_start_symtab)
637 (new_symbol_full): Update.
638
195a3f6c
TT
6392013-01-25 Tom Tromey <tromey@redhat.com>
640
641 * cp-namespace.c (cp_set_block_scope): Remove.
642 * cp-support.h (cp_set_block_scope): Remove.
643 * dbxread.c: Include block.h.
644 (cp_set_block_scope): New function.
645 (process_one_symbol): Update.
646 * dwarf2read.c (read_func_scope): Use block_set_scope.
647
8ba0730a
PA
6482013-01-25 Pedro Alves <palves@redhat.com>
649
650 * remote.c (add_current_inferior_and_thread): Tweak comment.
651
12aaed36
TT
6522013-01-25 Tom Tromey <tromey@redhat.com>
653
654 * cp-namespace.c (cp_scan_for_anonymous_namespaces): Update.
655 (cp_add_using_directive): Add 'copy_names' argument.
656 * cp-support.h (cp_add_using_directive): Update.
657 (struct using_direct) <import_src, import_dest, alias,
658 declaration>: Now const.
659 * dwarf2read.c (read_import_statement): Use obconcat.
660 Don't copy names passed to cp_add_using_directive.
661
7fc75ca7
TT
6622013-01-25 Tom Tromey <tromey@redhat.com>
663
664 * c-exp.y (qualified_name): Use TYPE_SAFE_NAME.
665
3405876a
PA
6662013-01-25 Pedro Alves <palves@redhat.com>
667
668 * remote.c (stop_reply_extract_thread): New.
669 (add_current_inferior_and_thread): New parameter 'wait_status'.
670 Handle it.
671 (remote_start_remote): Pass wait status to
672 add_current_inferior_and_thread.
673 (extended_remote_run): Update comment.
674 (extended_remote_create_inferior_1): Pass wait status to
675 add_current_inferior_and_thread.
676
8954db33
AB
6772013-01-25 Andrew Burgess <aburgess@broadcom.com>
678 Ulrich Weigand <uweigand@de.ibm.com>
679
680 * valarith.c (value_vector_widen): New function for replicating a
681 scalar into a vector.
682 (value_binop): Use value_vector_widen to widen scalar to vector
683 rather than casting, this better matches gcc C behaviour.
684 * valops.c (value_casst): Update logic for casting between vector
685 types, and for casting from scalar to vector, try to match gcc C
686 behaviour.
687 * value.h (value_vector_widen): Declare.
688 * opencl-lang.c (opencl_value_cast): New opencl specific casting
689 function, handle special case for casting scalar to vector.
690 (opencl_relop): Use opencl_value_cast.
691 (evaluate_subexp_opencl): Use opencl_value_cast instead of
692 value_cast, and handle BINOP_ASSIGN, UNOP_CAST, and UNOP_CAST_TYPE
693 in order to use opencl_value_cast.
694
843b20dc
YQ
6952013-01-25 Yao Qi <yao@codesourcery.com>
696
697 * event-loop.c: Include "queue.h".
698 (gdb_event_p): New typedef.
699 (DECLARE_QUEUE_P): Use.
700 (DEFINE_QUEUE_P): Use.
701 (async_queue_event): Remove.
702 (gdb_event_xfree): New.
703 (initialize_event_loop): New.
704 (process_event): Use QUEUE macros.
705 (event_queue): Remove.
706 (gdb_wait_for_event): Caller update.
707 (check_async_event_handlers): Likewise.
708 (poll_timers): Likewise.
709 * event-loop.h (initialize_event_loop): Declare.
710 * event-loop.c (gdb_event_xfree): New.
711 * top.c (gdb_init): Call initialize_event_loop.
712
20ad8856
YQ
7132013-01-25 Yao Qi <yao@codesourcery.com>
714
715 * event-loop.c (async_queue_event): Remove one parameter
716 'position'. Remove code handling 'position' == TAIL.
717 (gdb_wait_for_event): Caller update.
718 (check_async_event_handlers): Caller update.
719 (poll_timers): Caller update.
720 * event-loop.h (enum queue_position): Remove.
721
3bbbe775
MK
7222013-01-25 Maxim Kuvyrkov <maxim@kugelworks.com>
723
724 * MAINTAINERS: Update my email.
725
a87d9ac4
YQ
7262013-01-25 Yao Qi <yao@codesourcery.com>
727
728 * main.c (print_gdb_help): Remove "--epoch" from the help
729 message.
730
2077afdd
TD
7312013-01-24 Ulrich Weigand  <uweigand@de.ibm.com>
732
733 * symtab.c (skip_prologue_using_sal): Consider a file
734 change the same as an increased line number
735
63da4037
TD
7362013-01-24 Tiago Stürmer Daitx  <tdaitx@linux.vnet.ibm.com>
737
738 * MAINTAINERS (Write After Approval): Add myself to the list.
739
45e6c716
TT
7402013-01-24 Tom Tromey <tromey@redhat.com>
741
742 * ada-lang.h (ada_decode_symbol): Make return type const.
743 * ada-lang.c (ada_decode_symbol): Likewise.
744
b1ae631a
DE
7452013-01-23 Doug Evans <dje@google.com>
746
747 * linespec.c (find_linespec_symbols): Make static.
748
55a78401
SDJ
7492013-01-23 Tiago Stürmer Daitx <tdaitx@linux.vnet.ibm.com>
750
751 * ppc-sysv-tdep.c (ppc64_sysv_abi_return_value): Set correct
752 type on float conversion for complex type.
753
bea883fd
SCR
7542013-01-23 Siva Chandra Reddy <sivachandra@google.com>
755
756 Add a new class gdb.Architecture which exposes GDB's
757 internal representation of architecture via GDB Python API.
758 * Makefile.in: Add entries corresponding to the new file
759 python/py-arch.c.
760 * NEWS (Python Scripting): Add entries for the new class
761 gdb.Architecture and the new method gdb.Frame.architecture.
762 * python/py-arch.c: Implement gdb.Architecture class.
763 * python/py-frame.c (frapy_arch): Implement the method
764 gdb.Frame.architecture().
765 (frame_object_methods): Add 'architecture' to the method table.
766 * python/python-internal.h: Add declarations of new utility
767 functions.
768 * python/python.c (_initialize_python): Initialize
769 gdb.Architecture class.
770
796a7ff8
DE
7712013-01-23 Doug Evans <dje@google.com>
772
773 Work around binutils/15021.
774 * dwarf2read.c (dwarf2_per_cu_data): Split imported_symtabs and
775 type_unit_group out of union s. All uses updated.
776 (read_index_from_section): Watch for index version 8.
777 (follow_die_sig): If using .gdb_index version <= 7, record the TU as
778 an imported symtab.
779 (write_psymtabs_to_index): Increment version number to 8.
780
0928e93d
PA
7812013-01-22 Pedro Alves <palves@redhat.com>
782
783 * annotate.c (breakpoint_changed): Skip if breakpoint is not
784 user-visible.
785
9c97429f
PA
7862013-01-22 Pedro Alves <palves@redhat.com>
787
788 * annotate.c (annotate_breakpoints_changed): Rename to ...
789 (annotate_breakpoints_invalid): ... this. Make static.
790 (breakpoint_changed): Adjust.
791 (_initialize_annotate): Always install the observers. Install a
792 "breakpoint_created" observer.
793 * annotate.h (annotate_breakpoints_changed): Delete declaration.
794 * breakpoint.c (set_breakpoint_condition)
795 (breakpoint_set_commands, do_map_commands_command)
796 (init_raw_breakpoint, clear_command, set_ignore_count)
797 (enable_breakpoint_disp): No longer call
798 annotate_breakpoints_changed.
799
bd00c694
PA
8002013-01-22 Pedro Alves <palves@redhat.com>
801
802 * annotate.c: Include "inferior.h".
803 (frames_invalid_emitted)
804 (breakpoints_invalid_emitted): New globals.
805 (async_background_execution_p): New function.
806 (annotate_breakpoints_changed, annotate_frames_invalid): Skip
807 emitting the annotation if it has already been emitted.
808 (annotate_display_prompt): New function.
809 * annotate.h (annotate_display_prompt): New declaration.
810 * event-top.c: Include annotate.h.
811 (display_gdb_prompt): Call annotate_display_prompt.
812
187d10dd
PA
8132013-01-22 Pedro Alves <palves@redhat.com>
814
815 * annotate.c (ignore_count_changed): Delete.
816 (annotate_breakpoints_changed): Don't clear ignore_count_changed.
817 (annotate_ignore_count_change): Delete.
818 (annotate_stopped): Don't emit a delayed breakpoints-changed
819 annotation.
820 * annotate.h (annotate_ignore_count_change): Delete.
821 * breakpoint.c (bpstat_check_breakpoint_conditions): Don't call
822 annotate_ignore_count_change.
823
d84cf7eb
TT
8242013-01-22 Tom Tromey <tromey@redhat.com>
825
826 * dwarf2loc.c (dwarf2_compile_expr_to_ax) <DW_OP_fbreg>: Only
827 require_rvalue for a register location.
828
8f1d5693
MK
8292013-01-21 Marc Khouzam <marc.khouzam@ericsson.com>
830
831 * breakpoint.c (print_one_breakpoint_location): Add MI
832 field 'thread-groups' when printing a breakpoint.
833 (output_thread_groups): New function.
834
aa6199c6
SCR
8352013-01-21 Siva Chandra Reddy <sivachandra@google.com>
836
837 * python/lib/gdb/commands/explore.py
838 (CompoundExplorer.explore_expr): Correct the name of a method
839 being invoked.
840 (ExploreTypeCommand.invoke): Add a missing 'return'.
841
d2afef13
TT
8422013-01-21 Tom Tromey <tromey@redhat.com>
843
844 * gdb_obstack.h (obconcat): Move declaration here, from...
845 * symfile.h (obconcat): ... here.
846 * gdb_obstack.c: New file.
847 (obconcat): Move from...
848 * symfile.c (obconcat): ... here.
849 * Makefile.in (SFILES): Add gdb_obstack.c.
850 (COMMON_OBS): Add gdb_obstack.o.
851
10f0c4bb
TT
8522013-01-21 Tom Tromey <tromey@redhat.com>
853
854 * symfile.h (obsavestring): Don't declare.
855 * symfile.c (obsavestring): Remove.
856 * ada-exp.y: Use obstack_copy0, not obsavestring.
857 * ada-lang.c: Use obstack_copy0, not obsavestring.
858 * coffread.c: Use obstack_copy0, not obsavestring.
859 * cp-namespace.c: Use obstack_copy0, not obsavestring.
860 * dbxread.c: Use obstack_copy0, not obsavestring.
861 * dwarf2read.c: Use obstack_copy0, not obsavestring.
862 * jit.c: Use obstack_copy0, not obsavestring.
863 * mdebugread.c: Use obstack_copy0, not obsavestring.
864 * psymtab.c: Use obstack_copy0, not obsavestring.
865 * stabsread.c: Use obstack_copy0, not obsavestring.
866 * xcoffread.c: Use obstack_copy0, not obsavestring.
867
86f62fd7
TT
8682013-01-21 Tom Tromey <tromey@redhat.com>
869
870 * dwarf2read.c (fixup_go_packaging): Save package name
871 on objfile obstack.
872 * gdbtypes.c (init_type): Don't copy name.
873
15d034d0
TT
8742013-01-21 Tom Tromey <tromey@redhat.com>
875
876 * dwarf2read.c (struct partial_die_info) <name, scope>: Now
877 const.
878 (struct attribute) <u.str>: Now const.
879 (struct fnfieldlist) <name>: Now const.
880 (dw2_get_file_names_reader, init_cutu_and_read_dies): Update.
881 (partial_die_parent_scope): Make return type const.
882 (partial_die_full_name, add_partial_symbol): Update.
883 (dwarf2_compute_name, dwarf2_full_name, dwarf2_physname): Make
884 'name' const.
885 (find_file_and_directory): Make 'name' and 'comp_dir' const.
886 (read_file_scope, read_func_scope, dwarf2_add_field)
887 (dwarf2_add_member_fn, read_structure_type)
888 (process_enumeration_scope, read_array_type, read_module_type)
889 (read_base_type, read_subrange_type): Update.
890 (dwarf2_start_symtab): Make 'name' and 'comp_dir' const.
891 (new_symbol_full, guess_full_die_structure_name): Update.
892 (dwarf2_canonicalize_name): Return const type. Make 'name' const.
893 (dwarf2_name): Return const type.
894 (dwarf_decode_macro_bytes, dwarf_decode_macros): Make 'comp_dir'
895 const.
896
748e18ae
TT
8972013-01-21 Tom Tromey <tromey@redhat.com>
898
899 * gdbtypes.c (init_type): Make 'name' const.
900 * gdbtypes.h (init_type): Update.
901
46212e0b
TT
9022013-01-21 Tom Tromey <tromey@redhat.com>
903
904 * buildsym.c (patch_subfile_names): Use set_last_source_file.
905 (start_symtab): Make 'name' and 'dirname' const. Use
906 set_last_source_file.
907 (restart_symtab, reset_symtab_globals): Use set_last_source_file.
908 (last_source_file): Define. Now static.
909 (set_last_source_file, get_last_source_file): New functions.
910 * buildsym.h (last_source_file): Don't declare.
911 (start_symtab): Update.
912 (set_last_source_file, get_last_source_file): Declare.
913 * coffread.c (complete_symtab): Use set_last_source_file.
914 (coff_end_symtab): Likewise.
915 (coff_symtab_read): Use set_last_source_file, get_last_source_file.
916 * dbxread.c (read_dbx_symtab, read_ofile_symtab): Use
917 set_last_source_file.
918 (process_one_symbol): Use get_last_source_file.
919 * mdebugread.c (parse_partial_symbols): Use set_last_source_file.
920 (psymtab_to_symtab_1): Use get_last_source_file.
921 * xcoffread.c (process_linenos): Use get_last_source_file.
922 (complete_symtab): Use set_last_source_file.
923 (read_xcoff_symtab): Use set_last_source_file, get_last_source_file.
924 (scan_xcoff_symtab): Use set_last_source_file.
925
9d2ceabe
TT
9262013-01-21 Tom Tromey <tromey@redhat.com>
927
928 * symtab.c (struct demangled_name_entry) <mangled>: Now const.
929 (symbol_set_names): Remove casts. Handle field const-ness.
930
cfc594ee
TT
9312013-01-21 Tom Tromey <tromey@redhat.com>
932
933 * dwarf2read.c (new_symbol_full): Remove cast.
934 * symtab.c (symbol_set_demangled_name): Make 'name' const.
935 * symtab.h (symbol_set_demangled_name): Update.
936
5484b13a
TT
9372013-01-21 Tom Tromey <tromey@redhat.com>
938
939 * main.c (captured_main): Call bfd_init.
940
1605ef26
TT
9412013-01-21 Tom Tromey <tromey@redhat.com>
942
943 * gnu-v2-abi.c (_initialize_gnu_v2_abi): Don't set default ABI.
944 * gnu-v3-abi.c (_initialize_gnu_v3_abi): Set default ABI.
945 * minsyms.c (install_minimal_symbols): Don't check for _Z symbols.
946 * NEWS: Update.
947
3b74cdc3
JK
9482013-01-21 Jan Kratochvil <jan.kratochvil@redhat.com>
949
950 * symmisc.c (maintenance_print_msymbols): Check also ST_DEV.
951
5a352474
JK
9522013-01-21 Jan Kratochvil <jan.kratochvil@redhat.com>
953
954 Fix gdb.fortran/common-block.exp crash in PIE mode.
955 * dwarf2read.c (new_symbol_full) <DW_TAG_common_block>: Use
956 LOC_COMMON_BLOCK.
957 * f-valprint.c (info_common_command_for_block): Expect
958 LOC_COMMON_BLOCK in gdb_assert.
959 * symtab.h (struct general_symbol_info): Update comment for the
960 common_block member.
961 (domain_enum): Extend comment for the COMMON_BLOCK_DOMAIN member.
962 (enum address_class): New member LOC_COMMON_BLOCK.
963
c60797fd
DB
9642013-01-18 David Blaikie <dblaikie@gmail.com>
965
966 * MAINTAINERS (Write After Approval): Add "David Blaikie".
0cae7dfb 967
46f35228
TT
9682013-01-18 Tom Tromey <tromey@redhat.com>
969
970 PR c++/14999:
971 * dwarf2loc.c (dwarf2_compile_expr_to_ax) <DW_OP_fbreg>:
972 Call require_rvalue.
973
257e7a09
YQ
9742013-01-18 Yao Qi <yao@codesourcery.com>
975
976 * dbxread.c (dbx_psymtab_to_symtab): Delete the declaration.
977 (dbx_read_symtab): New declaration.
978 (dbx_psymtab_to_symtab): Delete.
979 (dbx_read_symtab): Rename from dbx_psymtab_to_symtab.
980 Rename parameter PST to SELF. Exchanged two parameters.
981 (start_psymtab): Caller update.
982 * dwarf2read.c (dwarf2_psymtab_to_symtab): Delete the declaration.
983 (dwarf2_read_symtab): New declaration.
984 (dwarf2_psymtab_to_symtab): Delete.
985 (dwarf2_read_symtab): Rename from dwarf2_psymtab_to_symtab.
986 Rename parameter PST to SELF. Exchanged two parameters.
987 (create_partial_symtab): Caller update.
988 * mdebugread.c (mdebug_psymtab_to_symtab): Delete.
989 (mdebug_read_symtab): Rename from mdebug_psymtab_to_symtab.
990 Rename parameter PST to SELF. Exchanged two parameters.
991 (parse_partial_symbols, new_psymtab): Caller update.
992 * psympriv.h (struct partial_symtab) <read_symtab>: Exchange
993 two parameters.
994 * psymtab.c (psymtab_to_symtab): Caller update.
995 * xcoffread.c (xcoff_psymtab_to_symtab): Delete.
996 (xcoff_read_symtab): Rename from xcoff_psymtab_to_symtab.
997 Rename parameter PST to SELF. Exchanged two parameters.
998 (xcoff_start_psymtab): Caller update.
999
0de5618e
YQ
10002013-01-18 Yao Qi <yao@codesourcery.com>
1001
1002 * infrun.c (proceed): Rename local variable 'oneproc' to
1003 'force_step'.
1004
5c04624b
DE
10052013-01-17 Doug Evans <dje@google.com>
1006
848e3e78
DE
1007 * dwarf2read.c (dw2_build_type_unit_groups_reader): Delete.
1008 (dw2_build_type_unit_groups): Delete. All uses updated.
1009
5c04624b
DE
1010 * symtab.h (struct symbol_search): Add comment.
1011
d84fca2c
JK
10122013-01-17 Jan Kratochvil <jan.kratochvil@redhat.com>
1013
1014 * symtab.c (compare_filenames_for_search): New comment for
1015 HAS_DRIVE_SPEC.
1016
6108433d
TT
10172013-01-17 Tom Tromey <tromey@redhat.com>
1018
1019 * cp-abi.c (cp_abi_completer): Fix typo in assignment.
1020
c89ffd86
JK
10212013-01-17 Jan Kratochvil <jan.kratochvil@redhat.com>
1022
1023 * symtab.c (iterate_over_some_symtabs): New variable cleanups,
1024 initialize it by existing make_cleanup. Call new do_cleanups.
1025
db2b2972
TT
10262013-01-17 Tom Tromey <tromey@redhat.com>
1027
1028 * cp-abi.c (cp_abi_completer): New function.
1029 (_initialize_cp_abi): Set completer for "set cp-abi".
1030
be7d37a2
TT
10312013-01-17 Tom Tromey <tromey@redhat.com>
1032
1033 * mem-break.c: Remove obsolete comment.
1034 * bfin-tdep.c (bfin_breakpoint_from_pc): Fix comment.
1035
c9fb1240
SD
10362012-01-17 Sanjoy Das <sanjoy@playingwithpointers.com>
1037
1038 * jit.c (jit_reader_load_command): Interpret the jit reader name
1039 as an absolute path if it begins with a forward slash.
1040
db334a01
SD
10412012-01-17 Sanjoy Das <sanjoy@playingwithpointers.com>
1042
1043 PR gdb/14550
1044
1045 * jit.c (finalize_symtab): Ensure that only the global block has a
1046 NULL superblock.
1047
7d928dac
PA
10482013-01-17 Pedro Alves <palves@redhat.com>
1049
1050 * acinclude.m4: Include ../config/plugins.m4,
1051 ../config/largefile.m4 and ../config/lead-dot.m4. Add comments.
1052 * Makefile.in (aclocal_m4_deps): Update.
1053 * aclocal.m4: Renegerate.
1054
fb8cf7c5
DE
10552013-01-16 Doug Evans <dje@google.com>
1056
1057 * contrib/cc-with-tweaks.sh: Add references to Fission docs.
1058
ab04a2af
TT
10592013-01-16 Pedro Alves <palves@redhat.com>
1060 Tom Tromey <tromey@redhat.com>
1061
1062 PR cli/7221:
1063 * NEWS: Add "catch signal".
1064 * breakpoint.c (base_breakpoint_ops): No longer static.
1065 (bpstat_explains_signal): New function.
1066 (init_catchpoint): No longer static.
1067 (base_breakpoint_explains_signal): New function.
1068 (base_breakpoint_ops): Initialize new field.
1069 * breakpoint.h (enum bpstat_signal_value): New.
1070 (struct breakpoint_ops) <explains_signal>: New field.
1071 (bpstat_explains_signal): Remove macro, declare as function.
1072 (base_breakpoint_ops, init_catchpoint): Declare.
1073 * break-catch-sig.c: New file.
1074 * inferior.h (signal_catch_update): Declare.
1075 * infrun.c (signal_catch): New global.
1076 (handle_syscall_event): Update for change to
1077 bpstat_explains_signal.
1078 (handle_inferior_event): Likewise. Always handle random signals
1079 via bpstats.
1080 (signal_cache_update): Check signal_catch.
1081 (signal_catch_update): New function.
1082 (_initialize_infrun): Initialize signal_catch.
1083 * Makefile.in (SFILES): Add break-catch-sig.c.
1084 (COMMON_OBS): Add break-catch-sig.o.
1085
8ac3646f
TT
10862013-01-16 Tom Tromey <tromey@redhat.com>
1087
1088 * breakpoint.c (print_one_catch_fork, print_one_catch_vfork)
1089 (print_one_catch_solib, print_one_catch_syscall)
1090 (print_one_catch_exec, print_one_exception_catchpoint): Emit
1091 "catch-type".
1092
5a18e302
YQ
10932013-01-16 Yao Qi <yao@codesourcery.com>
1094
1095 * printcmd.c (current_display_number): Make it static.
1096
3f01d0d0
YQ
10972013-01-16 Yao Qi <yao@codesourcery.com>
1098
1099 * infcmd.c (step_once): Don't check '!single_inst' as it was
1100 checked before.
1101
1ed59174
JK
11022013-01-15 Jan Kratochvil <jan.kratochvil@redhat.com>
1103
1104 * dwarf2read.c (psymtab_include_file_name): Extend the function comment.
1105
44478ab3
TT
11062013-01-14 Tom Tromey <tromey@redhat.com>
1107
1108 * cli/cli-decode.c (add_setshow_string_noescape_cmd): Return the
1109 set command.
1110 * command.h (add_setshow_string_noescape_cmd): Update.
1111 * corefile.c (set_gnutarget_command): Remove trailing whitespace.
1112 (complete_set_gnutarget): New function.
1113 (_initialize_core): Set the "set gnutarget" completer.
1114
06d66ee9
TT
11152013-01-14 Tom Tromey <tromey@redhat.com>
1116
1117 PR symtab/14442:
1118 * c-typeprint.c (cp_type_print_method_args): Handle 'restrict'.
1119 (c_type_print_modifier): Likewise.
1120 * dwarf2read.c (read_tag_restrict_type): New function.
1121 (read_type_die_1): Handle DW_TAG_restrict_type.
1122 * gdbtypes.c (make_restrict_type): New function.
1123 (recursive_dump_type): Handle TYPE_RESTRICT.
1124 * gdbtypes.h (enum type_flag_values): Renumber.
1125 (enum type_instance_flag_value): Add
1126 TYPE_INSTANCE_FLAG_RESTRICT.
1127 (TYPE_RESTRICT): New macro.
1128 (make_restrict_type): Declare.
1129
c9bf0622
TT
11302013-01-14 Tom Tromey <tromey@redhat.com>
1131
1132 PR symtab/14931:
1133 * psymtab.c (struct psymtab_state): New.
1134 (discard_psymtabs_upto, make_cleanup_discard_psymtabs): New
1135 functions.
1136 * psympriv.h (make_cleanup_discard_psymtabs): Declare.
1137 * dwarf2read.c (dwarf2_build_psymtabs): Catch exceptions.
1138
44d594fd
PA
11392013-01-14 Richard Sharman <richard_sharman@mitel.com>
1140 Pedro Alves <palves@redhat.com>
1141
1142 PR remote/14786
1143
1144 * remote.c (remote_threads_info): Make a copy of the reply from
1145 qfThreadInfo and use that instead of rs->buf.
1146
442e4d9c
YQ
11472013-01-14 Yao Qi <yao@codesourcery.com>
1148
1149 * dbxread.c (dbx_psymtab_to_symtab_1): Don't check PST is NULL.
1150 (dbx_psymtab_to_symtab): Likewise.
1151 * dwarf2read.c (dwarf2_psymtab_to_symtab): Likewise.
1152 * mdebugread.c (mdebug_psymtab_to_symtab): Likewise.
1153 * xcoffread.c (xcoff_psymtab_to_symtab_1): Likewise.
1154
5b12a61c
JK
11552013-01-13 Jan Kratochvil <jan.kratochvil@redhat.com>
1156
1157 * parse.c (parse_exp_in_context): New variable inner_chain. Call
1158 make_cleanup_restore_current_language. Call set_language. Move
1159 OLD_CHAIN and INNER_CHAIN cleanups.
1160 * utils.c (do_restore_current_language)
1161 (make_cleanup_restore_current_language): New functions.
1162 * utils.h (make_cleanup_restore_current_language): New declaration.
1163
f0a4b570
JK
11642013-01-13 Jan Kratochvil <jan.kratochvil@redhat.com>
1165
1166 * source.c (symtab_to_fullname): Apply rewrite_source_path also for
1167 non-existing files.
1168
57b3c00c
JK
1169 * source.c (symtab_to_fullname): Do not prepend DIRNAME for
1170 non-existing files if FILENAME is already absolute.
1171
daefa854
JK
11722013-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
1173
1174 * macrocmd.c (macro_inform_no_debuginfo): Use puts_filtered instead of
1175 fputs_filtered. Append trailing newline.
1176
ca9c6ee2
YQ
11772013-01-11 Yao Qi <yao@codesourcery.com>
1178 Stan Shebs <stan@codesourcery.com>
1179
1180 * psymtab.c (init_psymbol_list): Clarify the comment.
1181
f28045c2
YQ
11822013-01-11 Yao Qi <yao@codesourcery.com>
1183
1184 * breakpoint.c (print_one_breakpoint_location): Remove dead code.
1185 (update_dprintf_command_list): Assert that 'printf_line' is
1186 non-null. Remove condition check.
1187
da5132d3
JK
11882013-01-10 Jan Kratochvil <jan.kratochvil@redhat.com>
1189
1190 Code cleanup.
1191 * psymtab.c (psymtab_to_fullname, psymtab_to_fullname): Make the return
1192 type const char *.
1193 * tui/tui-source.c (tui_source_is_displayed): Make the parameter fname
1194 const char *.
1195 * tui/tui-source.h (tui_source_is_displayed): Likewise.
1196
843e694d
AG
11972013-01-09 Anthony Green <green@moxielogic.com>
1198
1199 * cp-abi.c (cplus_print_vtable): Don't return value from void
1200 function.
1201 * ada-lang.c (re_set_catch_assert): Ditto.
1202
da51c347
DE
12032013-01-09 Doug Evans <dje@google.com>
1204
1205 * symfile.h (quick_symbol_functions): Delete member
1206 pre_expand_symtabs_matching. All uses removed.
1207 * dwarf2read.c (dw2_lookup_symbol): Implement.
1208 (dw2_do_expand_symtabs_matching): Delete.
1209 (dw2_pre_expand_symtabs_matching): Delete.
1210 (struct dw2_symtab_iterator): New type.
1211 (dw2_symtab_iter_init, dw2_symtab_iter_next): New functions.
1212 (dw2_expand_symtabs_for_function): Rewrite.
1213 (dwarf2_gdb_index_functions): Update.
1214 * psymtab.c (pre_expand_symtabs_matching_psymtabs): Delete.
1215 (psym_functions): Update.
1216
b2259038
TT
12172013-01-09 Tom Tromey <tromey@redhat.com>
1218
1219 * config/pa/hpux.mh (NATDEPFILES): Remove somread.o.
1220 * configure: Rebuild.
1221 * configure.ac: Add somread.o to the build if BFD has SOM
1222 support.
1223 * somread.c: Include som/aout.h, not syms.h.
1224 (som_symtab_read): Use som_external_symbol_dictionary_record.
1225 Unpack records manually.
1226 (_initialize_somread): Declare.
1227
bdad4180
MF
12282012-01-08 Mike Frysinger <vapier@gentoo.org>
1229
1230 * common/linux-ptrace.c (linux_ptrace_test_ret_to_nx) [__x86_64__]:
1231 Cast return_address to 64bits.
1232
03cdf680
HZ
12332013-01-08 Hui Zhu <hui_zhu@mentor.com>
1234
1235 * printcmd.c: Remove define of function output_command.
1236 * tracepoint.c: Remove extern of function output_command.
1237 * valprint.h: (output_command): New extern.
1238
8a808554
TT
12392013-01-07 Tom Tromey <tromey@redhat.com>
1240
1241 * objc-lang.c (objc_emit_char, objc_printchar, objc_printstr):
1242 Remove.
1243 (objc_language_defn): Use c_printchar, c_printstr,
1244 c_emit_char.
1245
e93a8774
TT
12462013-01-07 Tom Tromey <tromey@redhat.com>
1247
1248 PR cli/7719:
1249 * NEWS: Update.
1250 * ada-valprint.c (printstr, print_field_values): Remove
1251 "inspect_it" code.
1252 * cp-valprint.c (cp_print_value_fields): Remove "inspect_it"
1253 code.
1254 * jv-valprint.c (java_print_value_fields): Remove "inspect_it"
1255 code.
1256 * m2-lang.c (m2_printstr): Remove "inspect_it" code.
1257 * main.c (captured_main): Remove "epoch" argument.
1258 * objc-lang.c (objc_printstr): Remove "inspect_it" code.
1259 * p-lang.c (pascal_printstr): Remove "inspect_it" code.
1260 * p-valprint.c (pascal_object_print_value_fields): Remove
1261 "inspect_it" code.
1262 * printcmd.c (print_command_1): Remove 'inspect' argument.
1263 (print_command, call_command): Update.
1264 (inspect_command): Remove.
1265 (_initialize_printcmd): Make "inspect" an alias for "print".
1266 * top.c (epoch_interface): Remove.
1267 * top.h (epoch_interface): Remove.
1268 * valprint.c (user_print_options): Update.
1269 (print_converted_chars_to_obstack): Remove "inspect_it" code.
1270 * valprint.h (struct value_print_options) <inspect_it>: Remove
1271 field.
1272
12732013-01-04 Tom Tromey <tromey@redhat.com>
1274
1275 * valprint.h (read_string): Add 'extern'.
1276
b967eb24
JB
12772013-01-07 Joel Brobecker <brobecker@adacore.com>
1278
1279 * darwin-nat.c: Fix typo in TASK_DYLD_INFO_COUNT macro test
1280 used to decide whether to define darwin_read_dyld_info or not.
1281
78a8b30e
PM
12822013-01-03 Pierre Muller <muller@sourceware.org>
1283
1284 * main.c (relocate_gdb_directory): Avoid calling stat function
1285 if DIR is empty.
1286
50da2f25
YQ
12872013-01-03 Yao Qi <yao@codesourcery.com>
1288
1289 * psymtab.c (fixup_psymbol_section): Update declaration.
1290 (fixup_psymbol_section): Remove code returning value.
1291
e7e8980f
YQ
12922013-01-03 Yao Qi <yao@codesourcery.com>
1293
1294 * symtab.h: Remove some out of date comments.
1295 (enum exception_event_kind): Move it ...
1296 * breakpoint.c: ... here.
1297
569283d4
MF
12982013-01-02 Iain Sandoe <developer@sandoe-acoustics.co.uk>
1299
9f9d9a96 1300 PR gdb/14405
569283d4
MF
1301 * darwin-nat.c (darwin_read_dyld_info): Only build if
1302 TASK_DYLD_INFO_COUNT is defined.
1303 (darwin_xfer_partial): Call darwin_read_dyld_info only if
1304 TASK_DYLD_INFO_COUNT is defined.
1305
2e36fbea
TT
13062013-01-02 Tom Tromey <tromey@redhat.com>
1307
1308 * symfile.h (struct ecoff_debug_hack): Remove.
1309 * objfiles.c: Don't include mdebugread.h.
1310
4f05add4
TT
13112013-01-02 Tom Tromey <tromey@redhat.com>
1312
1313 * config/i386/darwin.mh (NATDEPFILES): Remove machoread.o.
1314 * configure.ac: Check for Mach-O support in BFD. Update
1315 CONFIG_OBS.
1316 * configure: Rebuild.
1317
def63ff0
TT
13182013-01-02 Tom Tromey <tromey@redhat.com>
1319
1320 * acinclude.m4 (GDB_AC_CHECK_BFD): New macro.
1321 * configure.ac: Use GDB_AC_CHECK_BFD.
1322 * configure: Rebuild.
1323
60c5dd93
MK
13242013-01-01 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
1325
1326 * MAINTAINERS: Update my email.
1327
6e58437e
JB
13282013-01-01 Joel Brobecker <brobecker@adacore.com>
1329
1330 * cli/cli-script.h (make_cleanup_free_command_lines): Make extern.
1331
627fe805
JB
13322013-01-01 Joel Brobecker <brobecker@adacore.com>
1333
1334 * rs6000-nat.c (bss_data_overlap): New function.
1335 (vmap_symtab): Use it to adjust the .bss section's offset.
1336
28e7fd62
JB
13372013-01-01 Joel Brobecker <brobecker@adacore.com>
1338
1339 Update year range in copyright notice of all files.
1340
e93a8774 13412013-01-01, 13 Joel Brobecker <brobecker@adacore.com>
b9786c74
JB
1342
1343 * top.c (print_gdb_version): Update copyright year.
1344
72b20e9c 1345For older changes see ChangeLog-2012.
c906108c
SS
1346\f
1347Local Variables:
1348mode: change-log
1349left-margin: 8
1350fill-column: 74
1351version-control: never
57da7796 1352coding: utf-8
c906108c 1353End:
This page took 1.534444 seconds and 4 git commands to generate.