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