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