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