gdb/
[deliverable/binutils-gdb.git] / gdb / ChangeLog
CommitLineData
05cba821
JK
12013-02-03 Jan Kratochvil <jan.kratochvil@redhat.com>
2
3 * ada-lang.c (user_select_syms): Replace symtab->filename refererences
4 by symtab_to_filename_for_display calls.
5 * breakpoint.c (print_breakpoint_location, resolve_sal_pc): Likewise.
6 (clear_command): New variable sal_fullname, initialize it. Replace
7 compare_filenames_for_search by filename_cmp with sal_fullname.
8 (say_where, update_static_tracepoint): Replace symtab->filename
9 refererences by symtab_to_filename_for_display calls.
10 * cli/cli-cmds.c (edit_command, list_command, ambiguous_line_spec):
11 Likewise.
12 * dwarf2read.c: Include source.h.
13 (fixup_go_packaging): Replace symtab->filename refererences by
14 symtab_to_filename_for_display calls.
15 * linespec.c (add_sal_to_sals): Rename variable filename to fullname.
16 Replace symtab->filename refererences by symtab_to_filename_for_display
17 calls.
18 (create_sals_line_offset, convert_linespec_to_sals): New variable
19 fullname, initialize it, replace symtab->filename reference by the
20 variable.
21 * linux-fork.c: Include source.h.
22 (info_checkpoints_command): Replace symtab->filename refererences by
23 symtab_to_filename_for_display calls.
24 * macroscope.c (sal_macro_scope): Replace symtab->filename refererences
25 by symtab_to_filename_for_display calls.
26 * mdebugread.c: Include source.h.
27 (psymtab_to_symtab_1): Replace symtab->filename refererences by
28 symtab_to_filename_for_display calls.
29 * mi/mi-cmd-file.c (mi_cmd_file_list_exec_source_file)
30 (mi_cmd_file_list_exec_source_files): Likewise.
31 * printcmd.c: Include source.h.
32 (build_address_symbolic): Replace symtab->filename refererences by
33 symtab_to_filename_for_display calls.
34 * psymtab.c (partial_map_symtabs_matching_filename)
35 (read_psymtabs_with_fullname): Call compare_filenames_for_search also
36 with psymtab_to_fullname.
37 * python/py-symtab.c (stpy_str): Replace symtab->filename refererences
38 by symtab_to_filename_for_display calls.
39 (stpy_get_filename): New variable filename, initialize it, use instead
40 of symtab->filename refererences.
41 (salpy_str): Make variable filename const char *. Replace
42 symtab->filename refererences by symtab_to_filename_for_display calls.
43 * skip.c: Include source.h and filenames.h.
44 (skip_file_command): Remove const from the symtab variable. Replace
45 symtab->filename refererences by symtab_to_fullname call.
46 (function_name_is_marked_for_skip): New variables searched_for_fullname
47 and fullname. Use them to search also with symtab's fullname.
48 * source.c (find_source_lines): Replace symtab->filename refererences
49 by symtab_to_filename_for_display calls.
50 (print_source_lines_base): New variable filename, use it instead of
51 symtab->filename. Replace symtab->filename refererences by
52 symtab_to_filename_for_display calls.
53 (line_info, forward_search_command): Replace symtab->filename
54 refererences by symtab_to_filename_for_display calls.
55 (reverse_search_command): Replace symtab->filename refererences by
56 symtab_to_filename_for_display calls. New variable filename for it.
57 * stack.c (frame_info): Likewise.
58 * symmisc.c: Include source.h.
59 (dump_objfile, dump_symtab_1, maintenance_print_symbols)
60 (maintenance_info_symtabs): Replace symtab->filename refererences by
61 symtab_to_filename_for_display calls.
62 * symtab.c (iterate_over_some_symtabs): Call
63 compare_filenames_for_search also with symtab_to_fullname.
64 (lookup_symbol_aux_quick, basic_lookup_transparent_type_quick): Replace
65 symtab->filename refererences by symtab_to_filename_for_display calls.
66 (find_line_symtab): Replace symtab->filename refererences by
67 symtab_to_filename_for_display calls.
68 (file_matches): Replace filename_cmp by compare_filenames_for_search.
69 (print_symbol_info): Make the last parameter const char *. New
70 variable s_filename. Use it in the function.
71 (symtab_symbol_info): Make the last_filename variable const char *.
72 Replace symtab->filename refererences by symtab_to_filename_for_display
73 calls.
74 (rbreak_command): New variable fullname. Use it. Replace
75 symtab->filename refererence by symtab_to_filename_for_display call.
76 * tracepoint.c (set_traceframe_context, trace_find_line_command)
77 (print_one_static_tracepoint_marker): Replace symtab->filename
78 refererences by symtab_to_filename_for_display calls.
79 * tui/tui-source.c (tui_set_source_content): New variables filename and
80 s_filename. Replace symtab->filename refererences by this variable.
81 Replace other symtab->filename refererences by
82 symtab_to_filename_for_display calls.
83
1b56eb55
JK
842013-02-03 Eldar Gaynetdinov <hal9000ed2k@gmail.com>
85 Jan Kratochvil <jan.kratochvil@redhat.com>
86
87 Add a new variable that controls a way in which filenames are
88 displayed.
89 * NEWS (set filename-display): New entry.
90 * source.c (filename_display_basename, filename_display_relative)
91 (filename_display_absolute, filename_display_kind_names)
92 (filename_display_string, show_filename_display_string)
93 (symtab_to_filename_for_display): New.
94 (_initialize_source): Added initialization of 'filename-display'
95 variable.
96 * source.h (symtab_to_filename_for_display): Added declaration.
97 * stack.c (print_frame): Added new variable and calling of a new
98 function and condition with this variable. Changed third argument of
99 calling of a function.
100
aa079c93
JK
1012013-02-03 Jan Kratochvil <jan.kratochvil@redhat.com>
102
103 * tui/tui-data.c (init_win_info, tui_del_window, tui_free_window):
104 Rename field reference filename to fullname.
105 * tui/tui-data.h (struct tui_source_info): Rename field filename to
106 fullname. New comment for it.
107 * tui/tui-source.c (tui_set_source_content): Rename field reference
108 filename to fullname. Initialize field by symtab_to_fullname now.
109 * tui/tui-winsource.c (tui_update_breakpoint_info): Rename field
110 reference filename to fullname. Use symtab_to_fullname during
111 comparison.
112
652a8996
JK
1132013-02-03 Jan Kratochvil <jan.kratochvil@redhat.com>
114
115 Code cleanup.
116 * dwarf2read.c (dw2_expand_symtabs_with_filename): Rename to ...
117 (dw2_expand_symtabs_with_fullname): ... here. Rename parameter
118 filename to fullname. Rename variable this_name to this_fullname.
119 Lowercase FILENAME_CMP call.
120 (dw2_find_symbol_file): New comment for the returned string.
121 (dwarf2_gdb_index_functions): Rename the function to
122 dw2_expand_symtabs_with_fullname.
123 * psymtab.c (read_psymtabs_with_filename): Rename to ...
124 (read_psymtabs_with_fullname): ... here. Rename parameter filename to
125 fullname.
126 (psym_functions): Rename the function to read_psymtabs_with_fullname.
127 * symfile.h (struct quick_symbol_functions): Rename field
128 expand_symtabs_with_filename to expand_symtabs_with_fullname and its
129 parameter filename to fullname. Document returned string meaning for
130 find_symbol_file.
131 * symtab.c (find_line_symtab): Rename the called function to
132 expand_symtabs_with_fullname.
133
af529f8f
JK
1342013-02-03 Jan Kratochvil <jan.kratochvil@redhat.com>
135
136 Code cleanup.
137 * breakpoint.c (clear_command): Remove variable is_abs, unify the
138 call of filename_cmp with compare_filenames_for_search.
139 * dwarf2read.c (dw2_map_symtabs_matching_filename): Remove variable
140 is_abs, unify the call of FILENAME_CMP with
141 compare_filenames_for_search. New gdb_asserts for real_path and name.
142 Unify the call of compare_filenames_for_search with FILENAME_CMP.
143 * psymtab.c (partial_map_symtabs_matching_filename): Likewise.
144 * symfile.h (struct quick_symbol_functions): Extend the comment for
145 map_symtabs_matching_filename.
146 * symtab.c (compare_filenames_for_search): Remove the function comment
147 relative path requirement. Handle absolute filenames, with a comment.
148 (iterate_over_some_symtabs): Remove variable is_abs, unify the call of
149 FILENAME_CMP with compare_filenames_for_search. New gdb_asserts for
150 real_path and name. Unify the call of compare_filenames_for_search
151 with FILENAME_CMP.
152 (iterate_over_symtabs): New gdb_assert on REAL_PATH.
153
2f202fde
JK
1542013-02-03 Jan Kratochvil <jan.kratochvil@redhat.com>
155
156 Code cleanup.
157 * breakpoint.c (print_breakpoint_location): Replace bp_location field
158 source_file references by symtab field references. Remove variables
159 sal and fullname.
160 (momentary_breakpoint_from_master, add_location_to_breakpoint):
161 (clear_command, say_where): Replace bp_location field source_file
162 references by symtab field references.
163 (bp_location_dtor): Remove the source_file reference.
164 (update_static_tracepoint): Replace bp_location field source_file
165 references by symtab field references.
166 (breakpoint_free_objfile): New function.
167 * breakpoint.h (struct bp_location): Extend the comment for line_number.
168 Replace the field source_file by field symtab, extend its comment.
169 (breakpoint_free_objfile): New declaration.
170 * objfiles.c (free_objfile): Call breakpoint_free_objfile.
171 * tui/tui-winsource.c (tui_update_breakpoint_info): Replace bp_location
172 field source_file references by symtab field references.
173
f5b95b50
JK
1742013-02-03 Jan Kratochvil <jan.kratochvil@redhat.com>
175
176 Replace xfullpath calls by gdb_realpath calls.
177 * cli/cli-cmds.c (find_and_open_script): Remove xfullpath from the
178 function comment.
179 * dwarf2read.c (dw2_map_expand_apply): Remove parameter full_path.
180 Remove it from the iterate_over_some_symtabs call.
181 (dw2_map_symtabs_matching_filename): Remove parameter full_path.
182 Remove it from the dw2_map_expand_apply calls, remove a block handling
183 it.
184 * psymtab.c (partial_map_expand_apply): Remove parameter full_path.
185 Remove it from the iterate_over_some_symtabs call.
186 (partial_map_symtabs_matching_filename): Remove parameter full_path.
187 Remove it from the partial_map_expand_apply calls, remove a block
188 handling it. Drop gdb_realpath call and cleanups from the real_path
189 handling.
190 * source.c (openp): Drop the comment part about xfullpath. Replace
191 xfullpath calls by gdb_realpath calls.
192 (find_and_open_source): Replace xfullpath call by gdb_realpath call.
193 * symfile.h (struct quick_symbol_functions): Remove parameter full_path
194 from method map_symtabs_matching_filename and its comment.
195 * symmisc.c (maintenance_print_msymbols): Replace xfullpath call by
196 gdb_realpath call.
197 * symtab.c (iterate_over_some_symtabs): Remove parameter full_path,
198 remove it also from the function comment, remove a block handling it.
199 Drop gdb_realpath call and cleanups from the real_path handling.
200 (iterate_over_symtabs): Drop variable full_path and its use.
201 * symtab.h (iterate_over_some_symtabs): Remove parameter full_path.
202 * utils.c (xfullpath): Remove.
203 * utils.h (xfullpath): Remove.
204
d78489bf
AT
2052013-02-01 Andreas Tobler <andreast@fgznet.ch>
206
207 * Makefile.in (ALL_TARGET_OBS): Add ppc64-tdep.o.
208 (HFILES_NO_SRCDIR): Add ppc64-tdep.h.
209 (ALLDEPFILES): Add ppc64-tdep.c.
210 * configure.tgt (powerpc-*-linux* | powerpc64-*-linux*): Add
211 ppc64-tdep.o to gdb_target_obs.
212 * ppc64-tdep.h: New file.
213 * ppc64-tdep.c: New file.
214 (insn_d, insn_ds, insn_xfx, ppc64_desc_entry_point): Move from
215 ppc-linux-tdep.c to here.
216 (PPC64_STANDARD_LINKAGE1_LEN, PPC64_STANDARD_LINKAGE2_LEN)
217 (PPC64_STANDARD_LINKAGE2_LEN): Likewise and use ARRAY_SIZE macro.
218 (ppc64_standard_linkage1_target, ppc64_standard_linkage2_target)
219 (ppc64_standard_linkage3_target, ppc64_skip_trampoline_code): Move
220 from ppc-linux-tdep.c to here.
221 (ppc64_convert_from_func_ptr_addr): Rename from
222 ppc64_linux_convert_from_func_ptr_addr to
223 ppc64_convert_from_func_ptr_addr and move from ppc-linux-tdep.c to
224 here.
225 * rs6000-tdep.c:
226 (read_insn): Move from ppc-linux-tdep.c to here.
227 (insns_match_pattern, insn_d_field, insn_ds_field): Move
228 from ppc-linux-tdep.c to here and rename them with the ppc_ prefix.
229 * ppc-linux-tdep.c: Include ppc64-tdep.h.
230 Removed above functions.
231 (ppc_linux_init_abi): Adjust.
232
8db60374
AR
2332013-02-01 Aleksandar Ristovski <aristovski@qnx.com>
234
235 * ada-valprint.c (ada_print_floating): Remove unused 'len'.
236
f2e5f4ce
AR
2372013-02-01 Aleksandar Ristovski <aristovski@qnx.com>
238
239 * ada-lang.c (assign_aggregate): Remove unused 'is_array_aggregate'.
240
c1f7d745
PA
2412013-02-01 Pedro Alves <palves@redhat.com>
242
243 * dummy-frame.c (deprecated_pc_in_call_dummy): Delete function.
244 * frame.h (deprecated_pc_in_call_dummy): Delete declaration.
245
8a92335b
JK
2462013-02-01 Jan Kratochvil <jan.kratochvil@redhat.com>
247
248 * elfread.c (elf_symfile_read): Limit separate debug info additions to
249 files with no separate debug info.
250 * objfiles.c (add_separate_debug_objfile): Add gdb_assert calls.
251 * symfile.c (read_symbols): Call find_separate_debug_file_in_section
252 only for files with no separate debug info.
253
8eacb197
TT
2542013-01-31 Tom Tromey <tromey@redhat.com>
255
256 * jit.c (jit_program_space_data): Rename from jit_inferior_data;
257 change type.
258 (struct jit_program_space_data): Rename from jit_inferior_data.
259 Update comments.
260 (get_jit_program_space_data): Rename from get_jit_inferior_data.
261 Change return type. Attach data to program space.
262 (jit_program_space_data_cleanup): Rename from
263 jit_inferior_data_cleanup; change argument type.
264 (jit_read_descriptor): Change 'inf_data' argument to 'ps_data',
265 change type.
266 (jit_register_code): Update.
267 (jit_update_inferior_cache): Remove.
268 (jit_breakpoint_deleted): Get jit data from the location's program
269 space.
270 (jit_breakpoint_re_set_internal): Rename 'inf_data' argument to
271 'ps_data', change type.
272 (jit_inferior_init, jit_breakpoint_re_set_internal)
273 (jit_event_handler): Update.
274 (free_objfile_data): Get data from objfile's program space.
275 (_initialize_jit): Update.
276
f25c0135
TT
2772013-01-31 Tom Tromey <tromey@redhat.com>
278
279 PR gdb/13987:
280 * jit.c (struct jit_inferior_data) <cached_code_address,
281 jit_breakpoint>: New fields.
282 (jit_breakpoint_re_set_internal): Fix logging. Only create
283 breakpoint if cached address has changed.
284 (jit_update_inferior_cache, jit_breakpoint_deleted): New
285 functions.
286 (_initialize_jit): Register breakpoint deleted observer.
287
974a734b
AR
2882013-01-31 Aleksandar Ristovski <aristovski@qnx.com>
289
290 * infrun.c (handle_syscall_event): Remove unused gdbarch.
291 (save_infcall_suspend_state): Ifdef out unused inf.
292 (restore_infcall_suspend_state): Ifdef out unused inf.
293 * jit.c (jit_register_code): Remove unused i, b, inf_data.
294 (jit_frame_sniffer): Remove unused inf_data.
295
df54f8eb
AR
2962013-01-31 Aleksandar Ristovski <aristovski@qnx.com>
297
298 * c-exp.y (classify_inner_name): Remove unused type.
299 * c-lang.c (c_printstr): Remove unused byte_order, i, things_printed,
300 in_quotes, need_comma, wchar_buf, output, cleanup, iter, finished,
301 need_escape.
302 (c_get_string): Remove unused kind.
303 * c-typeprint.c (c_type_print_args): Remove unused i, len, args, table2.
304
5799c0b9
AR
3052013-01-31 Aleksandar Ristovski <aristovski@qnx.com>
306
307 * charset.c (intermediate_encoding): Remove unused i.
308 * completer.c (signal_completer): Remove unused i.
309 * continuations.c (discard_my_continuations_1): Remove unused
310 continuation_ptr.
311 * corelow.c (core_close): Remove unuseD name.
312 (get_core_siginfo): Remove unused pid.
313 * cp-namespace.c (cp_lookup_symbol_imports_or_template): Remove unused
314 i, cps.
315 * dwarf2loc.c (dwarf2_compile_expr_to_ax): Remove unused base_offset.
316 (loclist_describe_location): Remove unused first.
317 * event-top.c (command_line_handler): Remove unused got_eof.
318 * exec.c (exec_close_1): Remove unused need_symtab_cleanup.
319 (resize_section_table): Remove unused old_value.
320 * gdb_bfd.c (gdb_bfd_map_section): Remove unused header.
321 * gnu-v3-abi.c (compute_vtable_size): Remove unused addr.
322 * i386-tdep.c (i386_process_record): Remove unused rex.
323 * infcmd.c (get_return_value): Remove unused uiout.
324 * jv-lang.c (type_from_class): Remove unused is_array.
325 * jv-valprint.c (java_val_print): Remove unused i.
326 * linux-nat.c (linux_nat_stop_lwp): Remove unused ptid.
327 * linux-thread-db.c (thread_db_find_new_threads_2): Remove unuseD pid.
328 * m2-typeprint.c (m2_print_type): Remove unused code.
329 * macroexp.c (get_character_constant): Remove unused body_start.
330 (macro_stringify): Remove unused result.
331 * objc-lang.c (find_methods): Remove unused gdbarch.
332 * objfiles.c (filter_overlapping_sections): Remove unused abfd1, abfd2.
333 * regcache.c (regcache_cooked_read): Remove unused gdbarch.
334 * stack.c (print_frame_args): Remove unused summary.
335 * thread.c (thread_apply_command): Remove unused p.
336 * valarith.c (value_x_unop): Remove unused mangle_ptr.
337 * valops.c (search_struct_method): Remove unused skip.
338 * valprint.c (generic_val_print): Remove unused byte_order.
339 * varobj.c (varobj_update): Remove unused changed.
340 * cli/cli-cmds.c (complete_command): Remove unused next_item.
341 (alias_command): Remove unused c.
342 * mi/mi-cmd-catch.c (mi_catch_load_unload): Remove unused c.
343 * mi/mi-main.c (mi_cmd_data_write_register_values): Remove unused
344 format.
345 (mi_cmd_data_write_memory): Remove unused word_format.
346 (mi_cmd_data_write_memory_bytes): Remove unused r.
347 * python/py-gdb-readline.c (gdbpy_readline_wrapper): Remove unused
348 p_start, p_end.
349 * python/python.c (_initialize_python): Remove unused cmd_name, cmd.
350 * tui/tui-disasm.c (tui_set_disassem_content): Remove unused
351 line_width.
352
c656bca5
AR
3532013-01-31 Aleksandar Ristovski <aristovski@qnx.com>
354
355 * dwarf2-frame.c (dwarf2_compile_cfa_to_ax): Remove unused num_regs.
356 * symtab.c (iterate_over_symtabs): Remove unused s.
357 (find_pc_sect_symtab): Remove unused pspAce.
358 (find_pc_sect_line): Remove unused alt_symtab.
359 (find_pcs_for_symtab_line): Remove unused ix, previous_function.
360 (completion_list_add_name): Remove unused newsize.
361
7078baeb
TT
3622013-01-31 Tom Tromey <tromey@redhat.com>
363
364 PR c++/14998:
365 * dwarf2read.c (read_tag_ptr_to_member_type): Handle
366 TYPE_CODE_FUNC.
367
c2e8b827
AR
3682013-01-31 Aleksandar Ristovski <aristovski@qnx.com>
369
370 * target.c (target_read_string): Remove unused origlen.
371
0e43993a
AR
3722013-01-31 Aleksandar Ristovski <aristovski@qnx.com>
373
374 * auto-load.c (auto_load_expand_dir_vars): Remove unused dir_vec.
375 * ax-gdb.c (gen_printf): Remove unused expr, i, bot, fr, flen, fmt.
376 * ax-general.c (ax_print): Remove unused is_float.
377 * blockframe.c (block_innermost_frame): Remove unused start, end.
378 * break-catch-sig.c (catch_signal_command): Remove unused gdbarch.
379
765a97ab
AR
3802013-01-31 Aleksandar Ristovski <aristovski@qnx.com>
381
382 * solib-svr4.c (svr4_keep_data_in_core): Remove unused lmo.
383 (svr4_read_so_list): Remove unused lmo.
384 * solib-target.c (solib_target_relocate_section_addresses): Remove
385 unused flags.
386
a99dad3d
TT
3872013-01-30 Tom Tromey <tromey@redhat.com>
388
389 * hppa-tdep.c (read_unwind_info): Use SECT_OFF_TEXT, not "0".
390
3bff1ecd
TT
3912013-01-30 Tom Tromey <tromey@redhat.com>
392
393 * symfile.c (get_file_crc): Use bfd_calc_gnu_debuglink_crc32.
394 * utils.c (gnu_debuglink_crc32): Remove.
395 * utils.h (gnu_debuglink_crc32): Don't declare.
396
7d455152
TT
3972013-01-30 Tom Tromey <tromey@redhat.com>
398
399 * dwarf2read.c (compute_delayed_physnames, read_call_site_scope)
400 (read_structure_type, read_enumeration_type): Remove cast.
401
abee88f2
TT
4022013-01-30 Tom Tromey <tromey@redhat.com>
403
404 * dwarf2read.c (read_namespace_type): Remove cast.
405 (read_typedef): Likewise.
406
8d9878a4
TT
4072013-01-29 Tom Tromey <tromey@redhat.com>
408
409 * dwarf2read.c (free_dwo_file): Remove assert.
410
a543d2a9
TT
4112013-01-29 Tom Tromey <tromey@redhat.com>
412
413 * value.c (deprecated_set_value_modifiable): Remove.
414 * value.h (deprecated_set_value_modifiable): Remove.
415
bed911e5
DE
4162013-01-28 Doug Evans <dje@google.com>
417
418 * dwarf2loc.c (dwarf2_find_location_expression): Don't add base address
419 to addresses from dwo files.
420
28c64fc2
SCR
4212013-01-25 Siva Chandra Reddy <sivachandra@google.com>
422
423 * valops.c (find_overload_match): Remove unused argument 'lax'.
424 * value.h: Remove unused argument 'lax' from the declaration of
425 find_overload_match.
426 * eval.c (value_subexp_standard): Do not pass a 'lax' argument
427 to find_overload_match.
428 * valarith.c (value_user_defined_cpp_op): Do not pass a 'lax'
429 argument to find_overload_match.
430
4d4ec4e5
TT
4312013-01-25 Tom Tromey <tromey@redhat.com>
432
433 * dwarf2read.c (processing_has_namespace_info): Remove.
434 (struct dwarf2_cu) <processing_has_namespace_info>: New field.
435 (process_die, read_func_scope, dwarf2_start_symtab)
436 (new_symbol_full): Update.
437
195a3f6c
TT
4382013-01-25 Tom Tromey <tromey@redhat.com>
439
440 * cp-namespace.c (cp_set_block_scope): Remove.
441 * cp-support.h (cp_set_block_scope): Remove.
442 * dbxread.c: Include block.h.
443 (cp_set_block_scope): New function.
444 (process_one_symbol): Update.
445 * dwarf2read.c (read_func_scope): Use block_set_scope.
446
8ba0730a
PA
4472013-01-25 Pedro Alves <palves@redhat.com>
448
449 * remote.c (add_current_inferior_and_thread): Tweak comment.
450
12aaed36
TT
4512013-01-25 Tom Tromey <tromey@redhat.com>
452
453 * cp-namespace.c (cp_scan_for_anonymous_namespaces): Update.
454 (cp_add_using_directive): Add 'copy_names' argument.
455 * cp-support.h (cp_add_using_directive): Update.
456 (struct using_direct) <import_src, import_dest, alias,
457 declaration>: Now const.
458 * dwarf2read.c (read_import_statement): Use obconcat.
459 Don't copy names passed to cp_add_using_directive.
460
7fc75ca7
TT
4612013-01-25 Tom Tromey <tromey@redhat.com>
462
463 * c-exp.y (qualified_name): Use TYPE_SAFE_NAME.
464
3405876a
PA
4652013-01-25 Pedro Alves <palves@redhat.com>
466
467 * remote.c (stop_reply_extract_thread): New.
468 (add_current_inferior_and_thread): New parameter 'wait_status'.
469 Handle it.
470 (remote_start_remote): Pass wait status to
471 add_current_inferior_and_thread.
472 (extended_remote_run): Update comment.
473 (extended_remote_create_inferior_1): Pass wait status to
474 add_current_inferior_and_thread.
475
8954db33
AB
4762013-01-25 Andrew Burgess <aburgess@broadcom.com>
477 Ulrich Weigand <uweigand@de.ibm.com>
478
479 * valarith.c (value_vector_widen): New function for replicating a
480 scalar into a vector.
481 (value_binop): Use value_vector_widen to widen scalar to vector
482 rather than casting, this better matches gcc C behaviour.
483 * valops.c (value_casst): Update logic for casting between vector
484 types, and for casting from scalar to vector, try to match gcc C
485 behaviour.
486 * value.h (value_vector_widen): Declare.
487 * opencl-lang.c (opencl_value_cast): New opencl specific casting
488 function, handle special case for casting scalar to vector.
489 (opencl_relop): Use opencl_value_cast.
490 (evaluate_subexp_opencl): Use opencl_value_cast instead of
491 value_cast, and handle BINOP_ASSIGN, UNOP_CAST, and UNOP_CAST_TYPE
492 in order to use opencl_value_cast.
493
843b20dc
YQ
4942013-01-25 Yao Qi <yao@codesourcery.com>
495
496 * event-loop.c: Include "queue.h".
497 (gdb_event_p): New typedef.
498 (DECLARE_QUEUE_P): Use.
499 (DEFINE_QUEUE_P): Use.
500 (async_queue_event): Remove.
501 (gdb_event_xfree): New.
502 (initialize_event_loop): New.
503 (process_event): Use QUEUE macros.
504 (event_queue): Remove.
505 (gdb_wait_for_event): Caller update.
506 (check_async_event_handlers): Likewise.
507 (poll_timers): Likewise.
508 * event-loop.h (initialize_event_loop): Declare.
509 * event-loop.c (gdb_event_xfree): New.
510 * top.c (gdb_init): Call initialize_event_loop.
511
20ad8856
YQ
5122013-01-25 Yao Qi <yao@codesourcery.com>
513
514 * event-loop.c (async_queue_event): Remove one parameter
515 'position'. Remove code handling 'position' == TAIL.
516 (gdb_wait_for_event): Caller update.
517 (check_async_event_handlers): Caller update.
518 (poll_timers): Caller update.
519 * event-loop.h (enum queue_position): Remove.
520
3bbbe775
MK
5212013-01-25 Maxim Kuvyrkov <maxim@kugelworks.com>
522
523 * MAINTAINERS: Update my email.
524
a87d9ac4
YQ
5252013-01-25 Yao Qi <yao@codesourcery.com>
526
527 * main.c (print_gdb_help): Remove "--epoch" from the help
528 message.
529
2077afdd
TD
5302013-01-24 Ulrich Weigand  <uweigand@de.ibm.com>
531
532 * symtab.c (skip_prologue_using_sal): Consider a file
533 change the same as an increased line number
534
63da4037
TD
5352013-01-24 Tiago Stürmer Daitx  <tdaitx@linux.vnet.ibm.com>
536
537 * MAINTAINERS (Write After Approval): Add myself to the list.
538
45e6c716
TT
5392013-01-24 Tom Tromey <tromey@redhat.com>
540
541 * ada-lang.h (ada_decode_symbol): Make return type const.
542 * ada-lang.c (ada_decode_symbol): Likewise.
543
b1ae631a
DE
5442013-01-23 Doug Evans <dje@google.com>
545
546 * linespec.c (find_linespec_symbols): Make static.
547
55a78401
SDJ
5482013-01-23 Tiago Stürmer Daitx <tdaitx@linux.vnet.ibm.com>
549
550 * ppc-sysv-tdep.c (ppc64_sysv_abi_return_value): Set correct
551 type on float conversion for complex type.
552
bea883fd
SCR
5532013-01-23 Siva Chandra Reddy <sivachandra@google.com>
554
555 Add a new class gdb.Architecture which exposes GDB's
556 internal representation of architecture via GDB Python API.
557 * Makefile.in: Add entries corresponding to the new file
558 python/py-arch.c.
559 * NEWS (Python Scripting): Add entries for the new class
560 gdb.Architecture and the new method gdb.Frame.architecture.
561 * python/py-arch.c: Implement gdb.Architecture class.
562 * python/py-frame.c (frapy_arch): Implement the method
563 gdb.Frame.architecture().
564 (frame_object_methods): Add 'architecture' to the method table.
565 * python/python-internal.h: Add declarations of new utility
566 functions.
567 * python/python.c (_initialize_python): Initialize
568 gdb.Architecture class.
569
796a7ff8
DE
5702013-01-23 Doug Evans <dje@google.com>
571
572 Work around binutils/15021.
573 * dwarf2read.c (dwarf2_per_cu_data): Split imported_symtabs and
574 type_unit_group out of union s. All uses updated.
575 (read_index_from_section): Watch for index version 8.
576 (follow_die_sig): If using .gdb_index version <= 7, record the TU as
577 an imported symtab.
578 (write_psymtabs_to_index): Increment version number to 8.
579
0928e93d
PA
5802013-01-22 Pedro Alves <palves@redhat.com>
581
582 * annotate.c (breakpoint_changed): Skip if breakpoint is not
583 user-visible.
584
9c97429f
PA
5852013-01-22 Pedro Alves <palves@redhat.com>
586
587 * annotate.c (annotate_breakpoints_changed): Rename to ...
588 (annotate_breakpoints_invalid): ... this. Make static.
589 (breakpoint_changed): Adjust.
590 (_initialize_annotate): Always install the observers. Install a
591 "breakpoint_created" observer.
592 * annotate.h (annotate_breakpoints_changed): Delete declaration.
593 * breakpoint.c (set_breakpoint_condition)
594 (breakpoint_set_commands, do_map_commands_command)
595 (init_raw_breakpoint, clear_command, set_ignore_count)
596 (enable_breakpoint_disp): No longer call
597 annotate_breakpoints_changed.
598
bd00c694
PA
5992013-01-22 Pedro Alves <palves@redhat.com>
600
601 * annotate.c: Include "inferior.h".
602 (frames_invalid_emitted)
603 (breakpoints_invalid_emitted): New globals.
604 (async_background_execution_p): New function.
605 (annotate_breakpoints_changed, annotate_frames_invalid): Skip
606 emitting the annotation if it has already been emitted.
607 (annotate_display_prompt): New function.
608 * annotate.h (annotate_display_prompt): New declaration.
609 * event-top.c: Include annotate.h.
610 (display_gdb_prompt): Call annotate_display_prompt.
611
187d10dd
PA
6122013-01-22 Pedro Alves <palves@redhat.com>
613
614 * annotate.c (ignore_count_changed): Delete.
615 (annotate_breakpoints_changed): Don't clear ignore_count_changed.
616 (annotate_ignore_count_change): Delete.
617 (annotate_stopped): Don't emit a delayed breakpoints-changed
618 annotation.
619 * annotate.h (annotate_ignore_count_change): Delete.
620 * breakpoint.c (bpstat_check_breakpoint_conditions): Don't call
621 annotate_ignore_count_change.
622
d84cf7eb
TT
6232013-01-22 Tom Tromey <tromey@redhat.com>
624
625 * dwarf2loc.c (dwarf2_compile_expr_to_ax) <DW_OP_fbreg>: Only
626 require_rvalue for a register location.
627
8f1d5693
MK
6282013-01-21 Marc Khouzam <marc.khouzam@ericsson.com>
629
630 * breakpoint.c (print_one_breakpoint_location): Add MI
631 field 'thread-groups' when printing a breakpoint.
632 (output_thread_groups): New function.
633
aa6199c6
SCR
6342013-01-21 Siva Chandra Reddy <sivachandra@google.com>
635
636 * python/lib/gdb/commands/explore.py
637 (CompoundExplorer.explore_expr): Correct the name of a method
638 being invoked.
639 (ExploreTypeCommand.invoke): Add a missing 'return'.
640
d2afef13
TT
6412013-01-21 Tom Tromey <tromey@redhat.com>
642
643 * gdb_obstack.h (obconcat): Move declaration here, from...
644 * symfile.h (obconcat): ... here.
645 * gdb_obstack.c: New file.
646 (obconcat): Move from...
647 * symfile.c (obconcat): ... here.
648 * Makefile.in (SFILES): Add gdb_obstack.c.
649 (COMMON_OBS): Add gdb_obstack.o.
650
10f0c4bb
TT
6512013-01-21 Tom Tromey <tromey@redhat.com>
652
653 * symfile.h (obsavestring): Don't declare.
654 * symfile.c (obsavestring): Remove.
655 * ada-exp.y: Use obstack_copy0, not obsavestring.
656 * ada-lang.c: Use obstack_copy0, not obsavestring.
657 * coffread.c: Use obstack_copy0, not obsavestring.
658 * cp-namespace.c: Use obstack_copy0, not obsavestring.
659 * dbxread.c: Use obstack_copy0, not obsavestring.
660 * dwarf2read.c: Use obstack_copy0, not obsavestring.
661 * jit.c: Use obstack_copy0, not obsavestring.
662 * mdebugread.c: Use obstack_copy0, not obsavestring.
663 * psymtab.c: Use obstack_copy0, not obsavestring.
664 * stabsread.c: Use obstack_copy0, not obsavestring.
665 * xcoffread.c: Use obstack_copy0, not obsavestring.
666
86f62fd7
TT
6672013-01-21 Tom Tromey <tromey@redhat.com>
668
669 * dwarf2read.c (fixup_go_packaging): Save package name
670 on objfile obstack.
671 * gdbtypes.c (init_type): Don't copy name.
672
15d034d0
TT
6732013-01-21 Tom Tromey <tromey@redhat.com>
674
675 * dwarf2read.c (struct partial_die_info) <name, scope>: Now
676 const.
677 (struct attribute) <u.str>: Now const.
678 (struct fnfieldlist) <name>: Now const.
679 (dw2_get_file_names_reader, init_cutu_and_read_dies): Update.
680 (partial_die_parent_scope): Make return type const.
681 (partial_die_full_name, add_partial_symbol): Update.
682 (dwarf2_compute_name, dwarf2_full_name, dwarf2_physname): Make
683 'name' const.
684 (find_file_and_directory): Make 'name' and 'comp_dir' const.
685 (read_file_scope, read_func_scope, dwarf2_add_field)
686 (dwarf2_add_member_fn, read_structure_type)
687 (process_enumeration_scope, read_array_type, read_module_type)
688 (read_base_type, read_subrange_type): Update.
689 (dwarf2_start_symtab): Make 'name' and 'comp_dir' const.
690 (new_symbol_full, guess_full_die_structure_name): Update.
691 (dwarf2_canonicalize_name): Return const type. Make 'name' const.
692 (dwarf2_name): Return const type.
693 (dwarf_decode_macro_bytes, dwarf_decode_macros): Make 'comp_dir'
694 const.
695
748e18ae
TT
6962013-01-21 Tom Tromey <tromey@redhat.com>
697
698 * gdbtypes.c (init_type): Make 'name' const.
699 * gdbtypes.h (init_type): Update.
700
46212e0b
TT
7012013-01-21 Tom Tromey <tromey@redhat.com>
702
703 * buildsym.c (patch_subfile_names): Use set_last_source_file.
704 (start_symtab): Make 'name' and 'dirname' const. Use
705 set_last_source_file.
706 (restart_symtab, reset_symtab_globals): Use set_last_source_file.
707 (last_source_file): Define. Now static.
708 (set_last_source_file, get_last_source_file): New functions.
709 * buildsym.h (last_source_file): Don't declare.
710 (start_symtab): Update.
711 (set_last_source_file, get_last_source_file): Declare.
712 * coffread.c (complete_symtab): Use set_last_source_file.
713 (coff_end_symtab): Likewise.
714 (coff_symtab_read): Use set_last_source_file, get_last_source_file.
715 * dbxread.c (read_dbx_symtab, read_ofile_symtab): Use
716 set_last_source_file.
717 (process_one_symbol): Use get_last_source_file.
718 * mdebugread.c (parse_partial_symbols): Use set_last_source_file.
719 (psymtab_to_symtab_1): Use get_last_source_file.
720 * xcoffread.c (process_linenos): Use get_last_source_file.
721 (complete_symtab): Use set_last_source_file.
722 (read_xcoff_symtab): Use set_last_source_file, get_last_source_file.
723 (scan_xcoff_symtab): Use set_last_source_file.
724
9d2ceabe
TT
7252013-01-21 Tom Tromey <tromey@redhat.com>
726
727 * symtab.c (struct demangled_name_entry) <mangled>: Now const.
728 (symbol_set_names): Remove casts. Handle field const-ness.
729
cfc594ee
TT
7302013-01-21 Tom Tromey <tromey@redhat.com>
731
732 * dwarf2read.c (new_symbol_full): Remove cast.
733 * symtab.c (symbol_set_demangled_name): Make 'name' const.
734 * symtab.h (symbol_set_demangled_name): Update.
735
5484b13a
TT
7362013-01-21 Tom Tromey <tromey@redhat.com>
737
738 * main.c (captured_main): Call bfd_init.
739
1605ef26
TT
7402013-01-21 Tom Tromey <tromey@redhat.com>
741
742 * gnu-v2-abi.c (_initialize_gnu_v2_abi): Don't set default ABI.
743 * gnu-v3-abi.c (_initialize_gnu_v3_abi): Set default ABI.
744 * minsyms.c (install_minimal_symbols): Don't check for _Z symbols.
745 * NEWS: Update.
746
3b74cdc3
JK
7472013-01-21 Jan Kratochvil <jan.kratochvil@redhat.com>
748
749 * symmisc.c (maintenance_print_msymbols): Check also ST_DEV.
750
5a352474
JK
7512013-01-21 Jan Kratochvil <jan.kratochvil@redhat.com>
752
753 Fix gdb.fortran/common-block.exp crash in PIE mode.
754 * dwarf2read.c (new_symbol_full) <DW_TAG_common_block>: Use
755 LOC_COMMON_BLOCK.
756 * f-valprint.c (info_common_command_for_block): Expect
757 LOC_COMMON_BLOCK in gdb_assert.
758 * symtab.h (struct general_symbol_info): Update comment for the
759 common_block member.
760 (domain_enum): Extend comment for the COMMON_BLOCK_DOMAIN member.
761 (enum address_class): New member LOC_COMMON_BLOCK.
762
c60797fd
DB
7632013-01-18 David Blaikie <dblaikie@gmail.com>
764
765 * MAINTAINERS (Write After Approval): Add "David Blaikie".
0cae7dfb 766
46f35228
TT
7672013-01-18 Tom Tromey <tromey@redhat.com>
768
769 PR c++/14999:
770 * dwarf2loc.c (dwarf2_compile_expr_to_ax) <DW_OP_fbreg>:
771 Call require_rvalue.
772
257e7a09
YQ
7732013-01-18 Yao Qi <yao@codesourcery.com>
774
775 * dbxread.c (dbx_psymtab_to_symtab): Delete the declaration.
776 (dbx_read_symtab): New declaration.
777 (dbx_psymtab_to_symtab): Delete.
778 (dbx_read_symtab): Rename from dbx_psymtab_to_symtab.
779 Rename parameter PST to SELF. Exchanged two parameters.
780 (start_psymtab): Caller update.
781 * dwarf2read.c (dwarf2_psymtab_to_symtab): Delete the declaration.
782 (dwarf2_read_symtab): New declaration.
783 (dwarf2_psymtab_to_symtab): Delete.
784 (dwarf2_read_symtab): Rename from dwarf2_psymtab_to_symtab.
785 Rename parameter PST to SELF. Exchanged two parameters.
786 (create_partial_symtab): Caller update.
787 * mdebugread.c (mdebug_psymtab_to_symtab): Delete.
788 (mdebug_read_symtab): Rename from mdebug_psymtab_to_symtab.
789 Rename parameter PST to SELF. Exchanged two parameters.
790 (parse_partial_symbols, new_psymtab): Caller update.
791 * psympriv.h (struct partial_symtab) <read_symtab>: Exchange
792 two parameters.
793 * psymtab.c (psymtab_to_symtab): Caller update.
794 * xcoffread.c (xcoff_psymtab_to_symtab): Delete.
795 (xcoff_read_symtab): Rename from xcoff_psymtab_to_symtab.
796 Rename parameter PST to SELF. Exchanged two parameters.
797 (xcoff_start_psymtab): Caller update.
798
0de5618e
YQ
7992013-01-18 Yao Qi <yao@codesourcery.com>
800
801 * infrun.c (proceed): Rename local variable 'oneproc' to
802 'force_step'.
803
5c04624b
DE
8042013-01-17 Doug Evans <dje@google.com>
805
848e3e78
DE
806 * dwarf2read.c (dw2_build_type_unit_groups_reader): Delete.
807 (dw2_build_type_unit_groups): Delete. All uses updated.
808
5c04624b
DE
809 * symtab.h (struct symbol_search): Add comment.
810
d84fca2c
JK
8112013-01-17 Jan Kratochvil <jan.kratochvil@redhat.com>
812
813 * symtab.c (compare_filenames_for_search): New comment for
814 HAS_DRIVE_SPEC.
815
6108433d
TT
8162013-01-17 Tom Tromey <tromey@redhat.com>
817
818 * cp-abi.c (cp_abi_completer): Fix typo in assignment.
819
c89ffd86
JK
8202013-01-17 Jan Kratochvil <jan.kratochvil@redhat.com>
821
822 * symtab.c (iterate_over_some_symtabs): New variable cleanups,
823 initialize it by existing make_cleanup. Call new do_cleanups.
824
db2b2972
TT
8252013-01-17 Tom Tromey <tromey@redhat.com>
826
827 * cp-abi.c (cp_abi_completer): New function.
828 (_initialize_cp_abi): Set completer for "set cp-abi".
829
be7d37a2
TT
8302013-01-17 Tom Tromey <tromey@redhat.com>
831
832 * mem-break.c: Remove obsolete comment.
833 * bfin-tdep.c (bfin_breakpoint_from_pc): Fix comment.
834
c9fb1240
SD
8352012-01-17 Sanjoy Das <sanjoy@playingwithpointers.com>
836
837 * jit.c (jit_reader_load_command): Interpret the jit reader name
838 as an absolute path if it begins with a forward slash.
839
db334a01
SD
8402012-01-17 Sanjoy Das <sanjoy@playingwithpointers.com>
841
842 PR gdb/14550
843
844 * jit.c (finalize_symtab): Ensure that only the global block has a
845 NULL superblock.
846
7d928dac
PA
8472013-01-17 Pedro Alves <palves@redhat.com>
848
849 * acinclude.m4: Include ../config/plugins.m4,
850 ../config/largefile.m4 and ../config/lead-dot.m4. Add comments.
851 * Makefile.in (aclocal_m4_deps): Update.
852 * aclocal.m4: Renegerate.
853
fb8cf7c5
DE
8542013-01-16 Doug Evans <dje@google.com>
855
856 * contrib/cc-with-tweaks.sh: Add references to Fission docs.
857
ab04a2af
TT
8582013-01-16 Pedro Alves <palves@redhat.com>
859 Tom Tromey <tromey@redhat.com>
860
861 PR cli/7221:
862 * NEWS: Add "catch signal".
863 * breakpoint.c (base_breakpoint_ops): No longer static.
864 (bpstat_explains_signal): New function.
865 (init_catchpoint): No longer static.
866 (base_breakpoint_explains_signal): New function.
867 (base_breakpoint_ops): Initialize new field.
868 * breakpoint.h (enum bpstat_signal_value): New.
869 (struct breakpoint_ops) <explains_signal>: New field.
870 (bpstat_explains_signal): Remove macro, declare as function.
871 (base_breakpoint_ops, init_catchpoint): Declare.
872 * break-catch-sig.c: New file.
873 * inferior.h (signal_catch_update): Declare.
874 * infrun.c (signal_catch): New global.
875 (handle_syscall_event): Update for change to
876 bpstat_explains_signal.
877 (handle_inferior_event): Likewise. Always handle random signals
878 via bpstats.
879 (signal_cache_update): Check signal_catch.
880 (signal_catch_update): New function.
881 (_initialize_infrun): Initialize signal_catch.
882 * Makefile.in (SFILES): Add break-catch-sig.c.
883 (COMMON_OBS): Add break-catch-sig.o.
884
8ac3646f
TT
8852013-01-16 Tom Tromey <tromey@redhat.com>
886
887 * breakpoint.c (print_one_catch_fork, print_one_catch_vfork)
888 (print_one_catch_solib, print_one_catch_syscall)
889 (print_one_catch_exec, print_one_exception_catchpoint): Emit
890 "catch-type".
891
5a18e302
YQ
8922013-01-16 Yao Qi <yao@codesourcery.com>
893
894 * printcmd.c (current_display_number): Make it static.
895
3f01d0d0
YQ
8962013-01-16 Yao Qi <yao@codesourcery.com>
897
898 * infcmd.c (step_once): Don't check '!single_inst' as it was
899 checked before.
900
1ed59174
JK
9012013-01-15 Jan Kratochvil <jan.kratochvil@redhat.com>
902
903 * dwarf2read.c (psymtab_include_file_name): Extend the function comment.
904
44478ab3
TT
9052013-01-14 Tom Tromey <tromey@redhat.com>
906
907 * cli/cli-decode.c (add_setshow_string_noescape_cmd): Return the
908 set command.
909 * command.h (add_setshow_string_noescape_cmd): Update.
910 * corefile.c (set_gnutarget_command): Remove trailing whitespace.
911 (complete_set_gnutarget): New function.
912 (_initialize_core): Set the "set gnutarget" completer.
913
06d66ee9
TT
9142013-01-14 Tom Tromey <tromey@redhat.com>
915
916 PR symtab/14442:
917 * c-typeprint.c (cp_type_print_method_args): Handle 'restrict'.
918 (c_type_print_modifier): Likewise.
919 * dwarf2read.c (read_tag_restrict_type): New function.
920 (read_type_die_1): Handle DW_TAG_restrict_type.
921 * gdbtypes.c (make_restrict_type): New function.
922 (recursive_dump_type): Handle TYPE_RESTRICT.
923 * gdbtypes.h (enum type_flag_values): Renumber.
924 (enum type_instance_flag_value): Add
925 TYPE_INSTANCE_FLAG_RESTRICT.
926 (TYPE_RESTRICT): New macro.
927 (make_restrict_type): Declare.
928
c9bf0622
TT
9292013-01-14 Tom Tromey <tromey@redhat.com>
930
931 PR symtab/14931:
932 * psymtab.c (struct psymtab_state): New.
933 (discard_psymtabs_upto, make_cleanup_discard_psymtabs): New
934 functions.
935 * psympriv.h (make_cleanup_discard_psymtabs): Declare.
936 * dwarf2read.c (dwarf2_build_psymtabs): Catch exceptions.
937
44d594fd
PA
9382013-01-14 Richard Sharman <richard_sharman@mitel.com>
939 Pedro Alves <palves@redhat.com>
940
941 PR remote/14786
942
943 * remote.c (remote_threads_info): Make a copy of the reply from
944 qfThreadInfo and use that instead of rs->buf.
945
442e4d9c
YQ
9462013-01-14 Yao Qi <yao@codesourcery.com>
947
948 * dbxread.c (dbx_psymtab_to_symtab_1): Don't check PST is NULL.
949 (dbx_psymtab_to_symtab): Likewise.
950 * dwarf2read.c (dwarf2_psymtab_to_symtab): Likewise.
951 * mdebugread.c (mdebug_psymtab_to_symtab): Likewise.
952 * xcoffread.c (xcoff_psymtab_to_symtab_1): Likewise.
953
5b12a61c
JK
9542013-01-13 Jan Kratochvil <jan.kratochvil@redhat.com>
955
956 * parse.c (parse_exp_in_context): New variable inner_chain. Call
957 make_cleanup_restore_current_language. Call set_language. Move
958 OLD_CHAIN and INNER_CHAIN cleanups.
959 * utils.c (do_restore_current_language)
960 (make_cleanup_restore_current_language): New functions.
961 * utils.h (make_cleanup_restore_current_language): New declaration.
962
f0a4b570
JK
9632013-01-13 Jan Kratochvil <jan.kratochvil@redhat.com>
964
965 * source.c (symtab_to_fullname): Apply rewrite_source_path also for
966 non-existing files.
967
57b3c00c
JK
968 * source.c (symtab_to_fullname): Do not prepend DIRNAME for
969 non-existing files if FILENAME is already absolute.
970
daefa854
JK
9712013-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
972
973 * macrocmd.c (macro_inform_no_debuginfo): Use puts_filtered instead of
974 fputs_filtered. Append trailing newline.
975
ca9c6ee2
YQ
9762013-01-11 Yao Qi <yao@codesourcery.com>
977 Stan Shebs <stan@codesourcery.com>
978
979 * psymtab.c (init_psymbol_list): Clarify the comment.
980
f28045c2
YQ
9812013-01-11 Yao Qi <yao@codesourcery.com>
982
983 * breakpoint.c (print_one_breakpoint_location): Remove dead code.
984 (update_dprintf_command_list): Assert that 'printf_line' is
985 non-null. Remove condition check.
986
da5132d3
JK
9872013-01-10 Jan Kratochvil <jan.kratochvil@redhat.com>
988
989 Code cleanup.
990 * psymtab.c (psymtab_to_fullname, psymtab_to_fullname): Make the return
991 type const char *.
992 * tui/tui-source.c (tui_source_is_displayed): Make the parameter fname
993 const char *.
994 * tui/tui-source.h (tui_source_is_displayed): Likewise.
995
843e694d
AG
9962013-01-09 Anthony Green <green@moxielogic.com>
997
998 * cp-abi.c (cplus_print_vtable): Don't return value from void
999 function.
1000 * ada-lang.c (re_set_catch_assert): Ditto.
1001
da51c347
DE
10022013-01-09 Doug Evans <dje@google.com>
1003
1004 * symfile.h (quick_symbol_functions): Delete member
1005 pre_expand_symtabs_matching. All uses removed.
1006 * dwarf2read.c (dw2_lookup_symbol): Implement.
1007 (dw2_do_expand_symtabs_matching): Delete.
1008 (dw2_pre_expand_symtabs_matching): Delete.
1009 (struct dw2_symtab_iterator): New type.
1010 (dw2_symtab_iter_init, dw2_symtab_iter_next): New functions.
1011 (dw2_expand_symtabs_for_function): Rewrite.
1012 (dwarf2_gdb_index_functions): Update.
1013 * psymtab.c (pre_expand_symtabs_matching_psymtabs): Delete.
1014 (psym_functions): Update.
1015
b2259038
TT
10162013-01-09 Tom Tromey <tromey@redhat.com>
1017
1018 * config/pa/hpux.mh (NATDEPFILES): Remove somread.o.
1019 * configure: Rebuild.
1020 * configure.ac: Add somread.o to the build if BFD has SOM
1021 support.
1022 * somread.c: Include som/aout.h, not syms.h.
1023 (som_symtab_read): Use som_external_symbol_dictionary_record.
1024 Unpack records manually.
1025 (_initialize_somread): Declare.
1026
bdad4180
MF
10272012-01-08 Mike Frysinger <vapier@gentoo.org>
1028
1029 * common/linux-ptrace.c (linux_ptrace_test_ret_to_nx) [__x86_64__]:
1030 Cast return_address to 64bits.
1031
03cdf680
HZ
10322013-01-08 Hui Zhu <hui_zhu@mentor.com>
1033
1034 * printcmd.c: Remove define of function output_command.
1035 * tracepoint.c: Remove extern of function output_command.
1036 * valprint.h: (output_command): New extern.
1037
8a808554
TT
10382013-01-07 Tom Tromey <tromey@redhat.com>
1039
1040 * objc-lang.c (objc_emit_char, objc_printchar, objc_printstr):
1041 Remove.
1042 (objc_language_defn): Use c_printchar, c_printstr,
1043 c_emit_char.
1044
e93a8774
TT
10452013-01-07 Tom Tromey <tromey@redhat.com>
1046
1047 PR cli/7719:
1048 * NEWS: Update.
1049 * ada-valprint.c (printstr, print_field_values): Remove
1050 "inspect_it" code.
1051 * cp-valprint.c (cp_print_value_fields): Remove "inspect_it"
1052 code.
1053 * jv-valprint.c (java_print_value_fields): Remove "inspect_it"
1054 code.
1055 * m2-lang.c (m2_printstr): Remove "inspect_it" code.
1056 * main.c (captured_main): Remove "epoch" argument.
1057 * objc-lang.c (objc_printstr): Remove "inspect_it" code.
1058 * p-lang.c (pascal_printstr): Remove "inspect_it" code.
1059 * p-valprint.c (pascal_object_print_value_fields): Remove
1060 "inspect_it" code.
1061 * printcmd.c (print_command_1): Remove 'inspect' argument.
1062 (print_command, call_command): Update.
1063 (inspect_command): Remove.
1064 (_initialize_printcmd): Make "inspect" an alias for "print".
1065 * top.c (epoch_interface): Remove.
1066 * top.h (epoch_interface): Remove.
1067 * valprint.c (user_print_options): Update.
1068 (print_converted_chars_to_obstack): Remove "inspect_it" code.
1069 * valprint.h (struct value_print_options) <inspect_it>: Remove
1070 field.
1071
10722013-01-04 Tom Tromey <tromey@redhat.com>
1073
1074 * valprint.h (read_string): Add 'extern'.
1075
b967eb24
JB
10762013-01-07 Joel Brobecker <brobecker@adacore.com>
1077
1078 * darwin-nat.c: Fix typo in TASK_DYLD_INFO_COUNT macro test
1079 used to decide whether to define darwin_read_dyld_info or not.
1080
78a8b30e
PM
10812013-01-03 Pierre Muller <muller@sourceware.org>
1082
1083 * main.c (relocate_gdb_directory): Avoid calling stat function
1084 if DIR is empty.
1085
50da2f25
YQ
10862013-01-03 Yao Qi <yao@codesourcery.com>
1087
1088 * psymtab.c (fixup_psymbol_section): Update declaration.
1089 (fixup_psymbol_section): Remove code returning value.
1090
e7e8980f
YQ
10912013-01-03 Yao Qi <yao@codesourcery.com>
1092
1093 * symtab.h: Remove some out of date comments.
1094 (enum exception_event_kind): Move it ...
1095 * breakpoint.c: ... here.
1096
569283d4
MF
10972013-01-02 Iain Sandoe <developer@sandoe-acoustics.co.uk>
1098
9f9d9a96 1099 PR gdb/14405
569283d4
MF
1100 * darwin-nat.c (darwin_read_dyld_info): Only build if
1101 TASK_DYLD_INFO_COUNT is defined.
1102 (darwin_xfer_partial): Call darwin_read_dyld_info only if
1103 TASK_DYLD_INFO_COUNT is defined.
1104
2e36fbea
TT
11052013-01-02 Tom Tromey <tromey@redhat.com>
1106
1107 * symfile.h (struct ecoff_debug_hack): Remove.
1108 * objfiles.c: Don't include mdebugread.h.
1109
4f05add4
TT
11102013-01-02 Tom Tromey <tromey@redhat.com>
1111
1112 * config/i386/darwin.mh (NATDEPFILES): Remove machoread.o.
1113 * configure.ac: Check for Mach-O support in BFD. Update
1114 CONFIG_OBS.
1115 * configure: Rebuild.
1116
def63ff0
TT
11172013-01-02 Tom Tromey <tromey@redhat.com>
1118
1119 * acinclude.m4 (GDB_AC_CHECK_BFD): New macro.
1120 * configure.ac: Use GDB_AC_CHECK_BFD.
1121 * configure: Rebuild.
1122
60c5dd93
MK
11232013-01-01 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
1124
1125 * MAINTAINERS: Update my email.
1126
6e58437e
JB
11272013-01-01 Joel Brobecker <brobecker@adacore.com>
1128
1129 * cli/cli-script.h (make_cleanup_free_command_lines): Make extern.
1130
627fe805
JB
11312013-01-01 Joel Brobecker <brobecker@adacore.com>
1132
1133 * rs6000-nat.c (bss_data_overlap): New function.
1134 (vmap_symtab): Use it to adjust the .bss section's offset.
1135
28e7fd62
JB
11362013-01-01 Joel Brobecker <brobecker@adacore.com>
1137
1138 Update year range in copyright notice of all files.
1139
e93a8774 11402013-01-01, 13 Joel Brobecker <brobecker@adacore.com>
b9786c74
JB
1141
1142 * top.c (print_gdb_version): Update copyright year.
1143
72b20e9c 1144For older changes see ChangeLog-2012.
c906108c
SS
1145\f
1146Local Variables:
1147mode: change-log
1148left-margin: 8
1149fill-column: 74
1150version-control: never
57da7796 1151coding: utf-8
c906108c 1152End:
This page took 1.586169 seconds and 4 git commands to generate.