gdb/
[deliverable/binutils-gdb.git] / gdb / ChangeLog
1 2012-01-24 Jan Kratochvil <jan.kratochvil@redhat.com>
2
3 Code cleanup.
4 * cli/cli-cmds.c (source_script_from_stream): Never fclose STREAM.
5 Update the function comment for it.
6 (source_script_with_search): Call make_cleanup_fclose for STREAM.
7 * cli/cli-script.c (script_from_file): Do not call make_cleanup_fclose
8 for STREAM.
9
10 2012-01-24 Pedro Alves <palves@redhat.com>
11
12 * breakpoint.c (bpstat_stop_status): Moving clearing print_it
13 outside `bs->stop' block.
14 (bpstat_what): Rework bp_shlib_event handling.
15 (internal_bkpt_check_status): If the breakpoint is a
16 bp_shlib_event, then set bs->stop and bs->print if
17 stop_on_solib_events is set.
18
19 2012-01-24 Gary Benson <gbenson@redhat.com>
20
21 Delete #if 0'd out code.
22 * stack.c (print_frame_label_vars): Remove.
23 (catch_info): Likewise.
24 (_initialize_stack): Remove "info catch" command.
25 * NEWS: Mention the above.
26
27 2012-01-24 Pedro Alves <palves@redhat.com>
28
29 * remote.c (remote_add_inferior): New `fake_pid_p' parameter. Use
30 it.
31 (remote_notice_new_inferior): If the remote end doesn't support
32 the multiprocess extensions, then the PID is fake.
33 (add_current_inferior_and_thread): New.
34 (remote_start_remote): Use it.
35 (extended_remote_attach_1): Adjust.
36 (extended_remote_create_inferior_1): Use
37 add_current_inferior_and_thread.
38
39 2012-01-24 Jan Kratochvil <jan.kratochvil@redhat.com>
40
41 Fix watchpoints to be specific for each inferior.
42 * breakpoint.c (watchpoint_in_thread_scope): Verify also
43 current_program_space.
44 * i386-nat.c (i386_inferior_data_cleanup): New.
45 (i386_inferior_data_get): Replace variable inf_data_local by an
46 inferior_data call.
47 (i386_use_watchpoints): Initialize i386_inferior_data.
48 * linux-nat.c (linux_nat_iterate_watchpoint_lwps): Use INFERIOR_PTID
49 specific iterate_over_lwps.
50
51 2012-01-24 Jan Kratochvil <jan.kratochvil@redhat.com>
52
53 Fix watchpoints across inferior fork.
54 * amd64-linux-nat.c (update_debug_registers_callback): Update the
55 comment for linux_nat_iterate_watchpoint_lwps.
56 (amd64_linux_dr_set_control, amd64_linux_dr_set_addr): Use
57 linux_nat_iterate_watchpoint_lwps.
58 (amd64_linux_prepare_to_resume): New comment on Linux kernel.
59 * i386-linux-nat.c (update_debug_registers_callback): Update the
60 comment for linux_nat_iterate_watchpoint_lwps.
61 (i386_linux_dr_set_control, i386_linux_dr_set_addr): Use
62 linux_nat_iterate_watchpoint_lwps.
63 (i386_linux_prepare_to_resume): New comment on Linux kernel.
64 * i386-nat.c: Include inferior.h.
65 (dr_mirror): Remove.
66 (i386_inferior_data, struct i386_inferior_data)
67 (i386_inferior_data_get): New.
68 (i386_debug_reg_state): Use i386_inferior_data_get.
69 (i386_cleanup_dregs, i386_update_inferior_debug_regs)
70 (i386_insert_watchpoint, i386_remove_watchpoint)
71 (i386_stopped_data_address, i386_insert_hw_breakpoint)
72 (i386_remove_hw_breakpoint): New variable state, use
73 i386_debug_reg_state instead of DR_MIRROR.
74 * linux-nat.c (delete_lwp): New declaration.
75 (num_lwps): Move here from downwards.
76 (delete_lwp_cleanup): New.
77 (linux_child_follow_fork): Create new child_lp, call
78 linux_nat_new_thread and linux_nat_prepare_to_resume before calling
79 PTRACE_DETACH.
80 (num_lwps): Move upwards.
81 (linux_nat_iterate_watchpoint_lwps): New.
82 * linux-nat.h (linux_nat_iterate_watchpoint_lwps_ftype): New.
83 (linux_nat_iterate_watchpoint_lwps_ftype): New declaration.
84
85 2012-01-24 Joel Brobecker <brobecker@adacore.com>
86
87 GDB 7.4 released.
88
89 2012-01-23 Pedro Alves <palves@redhat.com>
90
91 * top.c (caution): Rename to ...
92 (confirm): ... this.
93 (show_caution): Rename to ...
94 (show_confirm): ... this.
95 (quit_cover): Adjust.
96 (init_main): Adjust.
97 * top.h (caution): Rename to ...
98 (confirm): ... this.
99 * utils.c (internal_vproblem, defaulted_query): Adjust.
100
101 2012-01-23 Pedro Alves <palves@redhat.com>
102
103 * top.c (caution): Update comment.
104 (execute_command): Don't consider the current value of `caution'.
105
106 2012-01-23 Jan Kratochvil <jan.kratochvil@redhat.com>
107
108 * cli/cli-cmds.c (find_and_open_script): Handle failure of fdopen.
109
110 2012-01-23 Ulrich Weigand <ulrich.weigand@linaro.org>
111
112 * inf-child.c: Include "gdb_stat.h" instead of <sys/stat.h>.
113 * linux-tdep.c (linux_info_proc): Avoid ARI coding style warning.
114 * target.c (target_fileio_pwrite): Remove buffer address from
115 debug output.
116 (target_fileio_pread): Likewise.
117
118 2012-01-20 Ulrich Weigand <ulrich.weigand@linaro.org>
119
120 * NEWS: Document remote "info proc" and "generate-core-file".
121
122 2012-01-20 Ulrich Weigand <ulrich.weigand@linaro.org>
123
124 * gdbarch.sh (find_memory_regions): New callback.
125 * gdbarch.c, gdbarch.h: Regenerate.
126
127 * gcore.c (gcore_memory_sections): Try gdbarch find_memory_regions
128 callback before falling back to target method.
129
130 * linux-nat.c (read_mapping, linux_nat_find_memory_regions): Remove.
131 (linux_target_install_ops): No longer install it.
132
133 * linux-tdep.c (linux_find_memory_regions): New function.
134 (linux_init_abi): Install it.
135
136 2012-01-20 Ulrich Weigand <ulrich.weigand@linaro.org>
137
138 * gdbarch.sh (make_corefile_notes): New architecture callback.
139 * gdbarch.c: Regenerate.
140 * gdbarch.h: Likewise.
141
142 * gcore.c (write_gcore_file): Try gdbarch_make_corefile_notes
143 before target_make_corefile_notes. If NULL is returned, the
144 target does not support core file generation.
145
146 * linux-nat.c: Include "linux-tdep.h".
147 (find_signalled_thread, find_stop_signal): Remove.
148 (linux_nat_do_thread_registers): Likewise.
149 (struct linux_nat_corefile_thread_data): Likewise.
150 (linux_nat_corefile_thread_callback): Likewise.
151 (iterate_over_spus): Likewise.
152 (struct linux_spu_corefile_data): Likewise.
153 (linux_spu_corefile_callback): Likewise.
154 (linux_spu_make_corefile_notes): Likewise.
155 (linux_nat_collect_thread_registers): New function.
156 (linux_nat_make_corefile_notes): Replace contents by call to
157 linux_make_corefile_notes passing linux_nat_collect_thread_registers
158 as native-only callback.
159
160 * linux-tdep.h: Include "bfd.h".
161 (struct regcache): Add forward declaration.
162 (linux_collect_thread_registers_ftype): New typedef.
163 (linux_make_corefile_notes): Add prototype.
164 * linux-tdep.c: Include "gdbthread.h", "gdbcore.h", "regcache.h",
165 "regset.h", and "elf-bfd.h".
166 (find_signalled_thread, find_stop_signal): New functions.
167 (linux_spu_make_corefile_notes): Likewise.
168 (linux_collect_thread_registers): Likewise.
169 (struct linux_corefile_thread_data): New data structure.
170 (linux_corefile_thread_callback): New funcion.
171 (linux_make_corefile_notes): Likewise.
172 (linux_make_corefile_notes_1): Likewise.
173 (linux_init_abi): Install it.
174
175 2012-01-20 Ulrich Weigand <ulrich.weigand@linaro.org>
176
177 * gdbarch.sh (info_proc): New callback.
178 * gdbarch.c, gdbarch.h: Regenerate.
179
180 * infcmd.c (info_proc_cmd_1): Try gdbarch info_proc callback
181 before falling back to the target info_proc callback.
182
183 * linux-nat.c: Do not include "cli/cli-utils.h".
184 (linux_nat_info_proc): Remove.
185 (linux_target_install_ops): No longer install it.
186
187 * linux-tdep.c: Include "cli/cli-utils.h" and <ctype.h>.
188 (read_mapping): New function.
189 (linux_info_proc): Likewise.
190 (linux_init_abi): Install it.
191
192 2012-01-20 Ulrich Weigand <ulrich.weigand@linaro.org>
193
194 * defs.h (enum info_proc_what): Moved here from linux-nat.c
195 * infcmd.c: (info_proc_cmd_1): New function.
196 (info_proc_cmd): New function, moved here from equivalent routine
197 orignally in linux-nat.c.
198 (info_proc_cmd_mappings): Likewise.
199 (info_proc_cmd_stat): Likewise.
200 (info_proc_cmd_status): Likewise.
201 (info_proc_cmd_cwd): Likewise.
202 (info_proc_cmd_cmdline): Likewise.
203 (info_proc_cmd_exe): Likewise.
204 (info_proc_cmd_all): Likewise.
205 (_initialize_infcmd): Install "info proc" command and subcommands.
206
207 * target.h (struct target_ops): Add to_info_proc.
208 (target_info_proc): Add prototype.
209 * target.c (target_info_proc): New function.
210
211 * procfs.c (procfs_info_proc): Add prototype.
212 (info_proc_cmd): Rename into ...
213 (procfs_info_proc): ... this. Update argument types as appropriate
214 for a to_info_proc implementation. Handle "what" argument.
215 (procfs_target): Install procfs_info_proc.
216 (_initialize_procfs): No longer install "info proc" command.
217
218 * linux-nat.c: (enum info_proc_what): Remove.
219 (linux_nat_info_proc_cmd_1): Rename into ...
220 (linux_nat_info_proc): ... this. Update argument types as appropriate
221 for a to_info_proc implementation.
222 (linux_nat_info_proc_cmd): Remove.
223 (linux_nat_info_proc_cmd_mappings): Likewise.
224 (linux_nat_info_proc_cmd_stat): Likewise.
225 (linux_nat_info_proc_cmd_status): Likewise.
226 (linux_nat_info_proc_cmd_cwd): Likewise.
227 (linux_nat_info_proc_cmd_cmdline): Likewise.
228 (linux_nat_info_proc_cmd_exe): Likewise.
229 (linux_nat_info_proc_cmd_all): Likewise.
230 (linux_target_install_ops): Install linux_nat_info_proc.
231 (_initialize_linux_nat): No longer install "info proc" command
232 and subcommands.
233
234 2012-01-20 Ulrich Weigand <ulrich.weigand@linaro.org>
235
236 * configure.ac [AC_CHECK_FUNCS]: Check for readlink.
237 * config.in, configure: Regenerate.
238
239 * target.h (struct target_ops): Add to_fileio_readlink.
240 (target_fileio_readlink): Add prototype.
241 * target.c (target_fileio_readlink): New function.
242
243 * inf-child.c: Conditionally include <sys/param.h>.
244 (inf_child_fileio_readlink): New function.
245 (inf_child_target): Install it.
246
247 * remote.c (PACKET_vFile_readlink): New enum value.
248 (remote_hostio_readlink): New function.
249 (init_remote_ops): Install it.
250 (_initialize_remote): Handle vFile:readlink packet type.
251
252 2012-01-20 Pedro Alves <palves@redhat.com>
253 Ulrich Weigand <ulrich.weigand@linaro.org>
254
255 * configure.ac [AC_CHECK_FUNCS]: Check for pread and pwrite.
256 * config.in, configure: Regenerate.
257
258 * target.h (struct target_ops): Add to_fileio_open, to_fileio_pwrite,
259 to_fileio_pread, to_fileio_close, to_fileio_unlink.
260 (target_fileio_open): Add prototype.
261 (target_fileio_pwrite): Likewise.
262 (target_fileio_pread): Likewise.
263 (target_fileio_close): Likewise.
264 (target_fileio_unlink): Likewise.
265 (target_fileio_read_alloc): Likewise.
266 (target_fileio_read_stralloc): Likewise.
267
268 * target.c: Include "gdb/fileio.h".
269 (target_read_stralloc): Accept trailing, but not embedded NUL bytes.
270 (default_fileio_target): New function.
271 (target_fileio_open): Likewise.
272 (target_fileio_pwrite): Likewise.
273 (target_fileio_pread): Likewise.
274 (target_fileio_close): Likewise.
275 (target_fileio_unlink): Likewise.
276 (target_fileio_close_cleanup): Likewise.
277 (target_fileio_read_alloc_1): Likewise.
278 (target_fileio_read_alloc): Likewise.
279 (target_fileio_read_stralloc): Likewise.
280
281 * inf-child.c: Include "gdb/fileio.h", <sys/types.h>, <sys/stat.h>,
282 <fcntl.h>, and <unistd.h>.
283 (inf_child_fileio_open_flags_to_host): New function.
284 (inf_child_errno_to_fileio_error): Likewise.
285 (inf_child_fileio_open): Likewise.
286 (inf_child_fileio_pwrite): Likewise.
287 (inf_child_fileio_pread): Likewise.
288 (inf_child_fileio_close): Likewise.
289 (inf_child_fileio_unlink): Likewise.
290 (inf_child_target): Install to_fileio routines.
291
292 * remote.c (init_remote_ops): Install to_fileio routines.
293
294 2012-01-20 Pedro Alves <palves@redhat.com>
295 Ulrich Weigand <ulrich.weigand@linaro.org>
296
297 * remote.c (remote_multi_process_p): Only check for multi-process
298 protocol feature, do not check for extended protocol.
299 (remote_supports_multi_process): Check for extended protocol here.
300 (set_general_process): Likewise.
301 (extended_remote_kill): Likewise.
302 (remote_pid_to_str): Likewise.
303 (remote_query_supported): Always query multiprocess mode.
304
305 2012-01-20 Pedro Alves <palves@redhat.com>
306 Ulrich Weigand <ulrich.weigand@linaro.org>
307
308 * inferior.h (struct inferior): Add fake_pid_p.
309 * inferior.c (exit_inferior_1): Clear fake_pid_p.
310 * remote.c (remote_start_remote): Set fake_pid_p if we have to use
311 magic_null_ptid since the remote side doesn't provide a real PID.
312
313 2012-01-19 Tom Tromey <tromey@redhat.com>
314
315 * NEWS: Combine the two Python sections.
316
317 2012-01-19 Jan Kratochvil <jan.kratochvil@redhat.com>
318
319 * target.h (target_close): Update comment on the target's unpush state.
320
321 2012-01-19 Pedro Alves <palves@redhat.com>
322
323 * linux-nat.c (linux_nat_close): Call linux_nat_is_async_p and
324 linux_nat_async directly instead of going through the target
325 vector.
326 * target.c (unpush_target): Close target after unpushing it, not
327 before.
328
329 2012-01-19 Gary Benson <gbenson@redhat.com>
330
331 * mdebugread.c (sort_blocks): Replace integer constants with ones
332 derived from FIRST_LOCAL_BLOCK.
333
334 2012-01-18 Paul Pluzhnikov <ppluzhnikov@google.com>
335 Jan Kratochvil <jan.kratochvil@redhat.com>
336
337 PR gdb/9538
338 * symfile.c (find_separate_debug_file): New function.
339 (terminate_after_last_dir_separator): Likewise.
340 (find_separate_debug_file_by_debuglink): Also try realpath.
341 * configure.ac (AC_CHECK_FUNCS): Add lstat.
342 * configure: Regenerate.
343 * config.in: Regenerate.
344
345 2012-01-18 Doug Evans <dje@google.com>
346
347 * Makefile.in (TARGET_SYSTEM_ROOT, TARGET_SYSTEM_ROOT_DEFINE): Delete.
348 (main.o): Remove rule.
349 * configure.ac (BINDIR): Define with AC_DEFINE_DIR.
350 (--with-sysroot): Rewrite.
351 * configure: Regenerate.
352 * config.in: Regenerate.
353
354 2012-01-18 Sergio Durigan Junior <sergiodj@redhat.com>
355
356 * parse.c (initialize_expout): New function.
357 (reallocate_expout): Likewise.
358 (parse_exp_in_context): Use `initialize_expout' and
359 `reallocate_expout' when appropriate.
360
361 2012-01-18 Pedro Alves <palves@redhat.com>
362
363 * record.c (struct record_breakpoint, record_breakpoint_p)
364 (record_breakpoints): New.
365 (record_insert_breakpoint, record_remove_breakpoint): Manage
366 record breakpoints list. Only remove breakpoints from the
367 inferior if they had been inserted there in the first place.
368
369 2012-01-17 Doug Evans <dje@google.com>
370
371 * linespec.c (decode_line_internal): Don't call symtabs_from_filename
372 if we know we don't have a file name to look for.
373
374 2012-01-17 Pedro Alves <palves@redhat.com>
375
376 * dwarf2-frame.c (dwarf2_frame_cfa): Throw NOT_AVAILABLE_ERROR, if
377 the frame's stop reason is UNWIND_UNAVAILABLE.
378
379 2012-01-17 Jan Kratochvil <jan.kratochvil@redhat.com>
380
381 Fix compilation error.
382 * m2-exp.y (yyerror): Use ANSI C prototype.
383
384 2012-01-16 Sergio Durigan Junior <sergiodj@redhat.com>
385
386 * f-exp.y (parse_number): Convert prototype from K&R to ANSI C.
387 (growbuf_by_size): Likewise.
388 (yyerror): Likewise.
389 * m2-exp.y (make_qualname): Remove function (was #if 0'ed).
390 (modblock): Remove variable (was #if 0'ed).
391 (parse_number): Convert prototype from K&R to ANSI C.
392 (yyerror): Likewise.
393 * objc-exp.y (parse_number): Likewise.
394 (yyerror): Likewise.
395 (yylex): Remove #if 0'ed code.
396 * p-exp.y (uptok): Convert prototype from K&R to ANSI C.
397 (yyerror): Likewise.
398
399 2012-01-16 Tom Tromey <tromey@redhat.com>
400
401 * NEWS: Add item.
402 * symtab.h (compare_filenames_for_search): Declare.
403 * symtab.c (compare_filenames_for_search): New function.
404 (iterate_over_some_symtabs): Use it.
405 * symfile.h (struct quick_symbol_functions)
406 <map_symtabs_matching_filename>: Change spec.
407 * psymtab.c (partial_map_symtabs_matching_filename): Use
408 compare_filenames_for_search. Update for new spec.
409 * dwarf2read.c (dw2_map_symtabs_matching_filename): Use
410 compare_filenames_for_search. Update for new spec.
411 * breakpoint.c (clear_command): Use compare_filenames_for_search.
412
413 2012-01-16 Tom Tromey <tromey@redhat.com>
414
415 PR python/13281:
416 * gdbtypes.h (TYPE_FLAG_ENUM): New macro.
417 (struct main_type) <flag_flag_enum>: New field.
418 * dwarf2read.c (process_enumeration_scope): Detect "flag" enums.
419 * NEWS: Add entries.
420 * c-valprint.c (c_val_print) <TYPE_CODE_ENUM>: Handle "flag"
421 enums.
422 * python/lib/gdb/printing.py (_EnumInstance): New class.
423 (FlagEnumerationPrinter): Likewise.
424
425 2012-01-16 Sergio Durigan Junior <sergiodj@redhat.com>
426
427 * breakpoint.c (create_sals_from_address_default): New function.
428 (create_breakpoints_sal_default): Likewise.
429 (decode_linespec_default): Likewise.
430 (is_marker_spec): Removed.
431 (strace_marker_p): New function.
432 (init_breakpoint_sal): Using `strace_marker_p' instead of
433 `is_marker_spec'.
434 (create_breakpoint): Call method `create_sals_from_address' from
435 breakpoint_ops, replacing code that created SALs conditionally
436 on the type of the breakpoint. Call method `create_breakpoints_sal',
437 replacing code that created breakpoints conditionally on the type
438 wanted.
439 (base_breakpoint_create_sals_from_address): New function.
440 (base_breakpoint_create_breakpoints_sal): Likewise.
441 (base_breakpoint_decode_linespec): Likewise.
442 (base_breakpoint_ops): Add methods
443 `base_breakpoint_create_sals_from_address',
444 `base_breakpoint_create_breakpoints_sal' and
445 `base_breakpoint_decode_linespec'.
446 (bkpt_create_sals_from_address): New function.
447 (bkpt_create_breakpoints_sal): Likewise.
448 (bkpt_decode_linespec): Likewise.
449 (tracepoint_create_sals_from_address): Likewise.
450 (tracepoint_create_breakpoints_sal): Likewise.
451 (tracepoint_decode_linespec): Likewise.
452 (strace_marker_create_sals_from_address): Likewise.
453 (strace_marker_create_breakpoints_sal): Likewise.
454 (strace_marker_decode_linespec): Likewise.
455 (strace_marker_breakpoint_ops): New variable.
456 (addr_string_to_sals): Remove `marker_spec'. Call method
457 `decode_linespec' from breakpoint_ops, replacing code that decoded
458 an address string into a SAL. Use `strace_marker_p' instead of
459 `marker_spec'.
460 (strace_command): Decide whether we are dealing with a static
461 tracepoint with marker or not. Use the appropriate breakpoint_ops.
462 (initialize_breakpoint_ops): Initialize new fields of breakpoint_ops.
463 * breakpoint.h (linespec_result, linespec_sals): New forward
464 declarations.
465 (breakpoint_ops) <create_sals_from_address>,
466 <create_breakpoints_sal>, <decode_linespec>: New methods.
467
468 2012-01-14 Doug Evans <dje@google.com>
469
470 * NEWS: Update text for "maint set python print-stack".
471 It is deprecated in gdb 7.4 and deleted in 7.5.
472
473 2012-01-13 Eli Zaretskii <eliz@gnu.org>
474
475 * gdb_curses.h (MOUSE_MOVED) [__MINGW32__]: Undefine before
476 including curses.h.
477
478 2012-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
479
480 * configure: Regenerate.
481 * config.in: Regenerate.
482
483 2012-01-12 Keith Seitz <keiths@redhat.com>
484
485 PR mi/10586
486 * varobj.c (ANONYMOUS_STRUCT_NAME): Define.
487 (ANONYMOUS_UNION_NAME): Define.
488 (is_path_expr_parent): New function.
489 (get_path_expr_parent): New function.
490 (is_anonymous_child): New function.
491 (create_child_with_value): If the child is anonymous and without
492 a name, assign an object name to it.
493 (c_describe_child): Use get_path_expr_parent to determine
494 the parent expression.
495 If there field represents an anonymous struct or union and
496 has no name, set an appropriate display name and expression.
497 (cplus_describe_child): Likewise.
498
499 2012-01-12 Pedro Alves <palves@redhat.com>
500
501 * i386-tdep.c (i386_frame_cache_1): Also mark the frame base as
502 available when %ebp is found to be zero (outermost).
503
504 2012-01-11 Andreas Tobler <andreast@fgznet.ch>
505
506 * common/gdb_assert.h (gdb_static_assert): Rename static_assert to
507 an internal gdb_static_assert.
508 * mi/mi-common.c: Rename static_assert to gdb_static_assert.
509
510 2012-01-11 Tom Tromey <tromey@redhat.com>
511
512 PR gdb/9598:
513 * breakpoint.c (_initialize_breakpoint): Fix help for "catch
514 catch" and "catch throw".
515
516 2012-01-11 Paul Hilfinger <hilfingr@adacore.com>
517
518 * blockframe.c (block_innermost_frame): Start search from selected
519 frame, if present, or otherwise the current frame.
520
521 * c-exp.y (variable): Update innermost_block for
522 'block COLONCOLON NAME' clause.
523 * m2-exp.y (variable): Ditto.
524 * objc-exp.y (variable): Ditto.
525
526 2012-01-10 Tom Tromey <tromey@redhat.com>
527
528 PR python/13199:
529 * python/python.c (finish_python_initialization): Set sys.argv.
530
531 2012-01-10 Doug Evans <dje@google.com>
532
533 * dwarf2read.c (dwarf_decode_lines): Remove arg "abfd". New arg
534 "want_line_info". All callers updated.
535 (dwarf_decode_lines_1): New function.
536 (handle_DW_AT_stmt_list): Add function comment.
537 New arg "want_line_info". All callers updated.
538 (read_file_scope,read_type_unit_scope): Move comment from
539 handle_DW_AT_stmt_list to here.
540
541 2012-01-10 Jan Kratochvil <jan.kratochvil@redhat.com>
542
543 Fix regression after libiberty/ update for GCC PR 6057 and others.
544 * c-exp.y (operator) <OPERATOR DELETE>
545 (operator) <OPERATOR DELETE '[' ']'>: Add trailing space.
546 * cp-name-parser.y (fill_comp, make_operator, make_dtor)
547 (make_builtin_type, make_name): New variable i, add gdb_assert.
548 (operator) <OPERATOR NEW>: Update ARGS to 3.
549 (operator) <OPERATOR DELETE>: Add trailing space.
550 (operator) <OPERATOR NEW '[' ']'>: Update ARGS to 3.
551 (operator) <OPERATOR DELETE '[' ']'>: Add trailing space.
552 * cp-support.c (cp_canonicalize_string): Check NULL from
553 cp_comp_to_string, call warning and return.
554
555 2012-01-10 Jan Kratochvil <jan.kratochvil@redhat.com>
556
557 Fix duplicate .o files after omitting libbfd.a.
558 * Makefile.in (ALL_TARGET_OBS): Remove corelow.o.
559 (SFILES): Add corelow.c.
560 (COMMON_OBS): Add corelow.o.
561 (ALLDEPFILES): Remove corelow.c.
562 * config/alpha/alpha-linux.mh (NATDEPFILES): Remove corelow.o.
563 * config/alpha/alpha-osf3.mh: Likewise.
564 * config/alpha/fbsd.mh: Likewise.
565 * config/arm/nbsdaout.mh: Likewise.
566 * config/arm/nbsdelf.mh: Likewise.
567 * config/i386/i386gnu.mh: Likewise.
568 * config/ia64/hpux.mh: Likewise.
569 * config/ia64/linux.mh: Likewise.
570 * config/m32r/linux.mh: Likewise.
571 * config/m68k/linux.mh: Likewise.
572 * config/mips/irix5.mh: Likewise.
573 * config/mips/irix6.mh: Likewise.
574 * config/pa/hpux.mh: Likewise.
575 * config/pa/linux.mh: Likewise.
576 * config/powerpc/aix.mh: Likewise.
577 * config/sparc/linux.mh: Likewise.
578 * config/sparc/linux64.mh: Likewise.
579 * config/sparc/sol2.mh: Likewise.
580 * config/vax/vax.mh: Likewise.
581 * configure.tgt (alpha*-*-freebsd* alpha*-*-kfreebsd*-gnu)
582 (alpha*-*-netbsd*, alpha*-*-knetbsd*-gnu, alpha*-*-openbsd*)
583 (am33_2.0*-*-linux*, arm*-wince-pe, arm*-*-mingw32ce*, arm*-*-linux*)
584 (arm*-*-openbsd*, cris*, frv-*-*, hppa*-*-hpux*, hppa*-*-netbsd*)
585 (hppa*-*-openbsd*, i[34567]86-*-dicos*, i[34567]86-*-freebsd*)
586 (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-netbsd*)
587 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-openbsd*, i[34567]86-*-nto*)
588 (i[34567]86-*-solaris2.1[0-9]*, x86_64-*-solaris2.1[0-9]*)
589 (i[34567]86-*-solaris*, i[34567]86-*-linux*, i[34567]86-*-cygwin*)
590 (i[34567]86-*-mingw32*, m68*-*-netbsd*, m68*-*-knetbsd*-gnu)
591 (m68*-*-openbsd*, m88*-*-openbsd*, microblaze*-linux-*)
592 (microblaze*-*-linux*, mips*-*-linux*, mips*-*-netbsd*)
593 (mips*-*-knetbsd*-gnu, mips64*-*-openbsd*, powerpc-*-netbsd*)
594 (powerpc-*-knetbsd*-gnu, powerpc-*-openbsd*, powerpc-*-linux*)
595 (powerpc64-*-linux*, s390*-*-*, score-*-*, sh*-*-linux*)
596 (sh*-*-netbsdelf*, sh*-*-knetbsd*-gnu, sh*-*-openbsd*)
597 (sparc*-*-freebsd*, sparc*-*-kfreebsd*-gnu, sparc-*-netbsd*)
598 (sparc-*-knetbsd*-gnu, sparc64-*-netbsd*, sparc64-*-knetbsd*-gnu)
599 (sparc-*-openbsd*, sparc64-*-openbsd*, tic6x-*-*linux, vax-*-netbsd*)
600 (vax-*-knetbsd*-gnu, vax-*-openbsd*, x86_64-*-dicos*, x86_64-*-linux*)
601 (x86_64-*-freebsd*, x86_64-*-kfreebsd*-gnu, x86_64-*-netbsd*)
602 (x86_64-*-knetbsd*-gnu, x86_64-*-openbsd*, xtensa*-*-linux*): Remove
603 corelow.o from gdb_target_obs.
604 * corefile.c (core_target): Update the comment on NULL value.
605 (core_file_command): Replace error by gdb_assert on CORE_TARGET.
606 * corelow.c (sniff_core_bfd): Call error instead of warning on zero
607 MATCHES. Drop YUMMY set on NULL.
608 (core_close): Do not call exit_inferior_silent on zero PID. Do not
609 reclaim CORE_DATA if it is already NULL.
610
611 2012-01-09 Doug Evans <dje@google.com>
612
613 * gdbtypes.c (safe_parse_type): Initialize type to keep gcc happy.
614 * varobj.c (varobj_set_value): Initialize val,value to keep gcc happy.
615
616 2012-01-09 Keith Seitz <keiths@redhat.com>
617
618 * breakpoint.c (wrapper.h): Don't include.
619
620 2012-01-09 Keith Seitz <keiths@redhat.com>
621
622 * Makefile.in (SFILES): Remove wrapper.c.
623 (HFILES_NO_SRCDIR): Remove wrapper.h.
624 (COMMON_OBS): Remove wrapper.o.
625 * cli/cli-interp.c: Don't inlude wrapper.h.
626 * corelow.c: Likewise.
627 (core_open): Replace gdb_target_find_new_threads with
628 TRY_CATCH around target_find_new_threads.
629 * eval.c (fetch_subexp_value): Likewise for value_fetch_lazy.
630 * gdbtypes.c (safe_parse_type): Likewise for parse_and_eval_type.
631 * varobj.c (varobj_create): Likewise for parse_exp_1 and
632 evaluate_expression.
633 (varobj_set_value): Likewise for evaluate_expression and
634 value_assign.
635 (install_new_variable): Likewise for value_fetch_lazy.
636 (adjust_value_for_child_access): Likewise for value_ind.
637 (c_describe_child): Likewise for value_subscript and
638 value_ind.
639 (c_value_of_root): Likewise for evaluate_expression.
640 * wrapper.c: Remove.
641 * wrapper.h: Remove.
642
643 2012-01-09 Doug Evans <dje@google.com>
644
645 * dwarf2read.c (read_and_check_comp_unit_head): Renamed from
646 partial_read_comp_unit_head. Replace "buffer", "buffer_size" and
647 "abfd" args with "section". All callers updated.
648 Error checking code moved ...
649 (error_check_comp_unit_head): ... here. New function.
650 (read_and_check_type_unit_head): Renamed from read_type_unit_head.
651 Delete arg "abfd". New arg "type_offset". All callers updated.
652 (create_debug_types_hash_table): Simplify by using
653 read_and_check_type_unit_head.
654
655 * parser-defs.h (namecopy): Delete.
656 * parse.c (namecopy, namecopy_size): Move into copy_name.
657
658 2012-01-09 Jan Kratochvil <jan.kratochvil@redhat.com>
659
660 Partially fix duplicate .o files after omitting libbfd.a.
661 * config/alpha/alpha-osf3.mh (NATDEPFILES): Remove solib.o.
662 * config/i386/nbsdaout.mh (NATDEPFILES): Remove solib.o.
663 * config/i386/obsdaout.mh (NATDEPFILES): Remove solib.o.
664 * config/m68k/nbsdaout.mh (NATDEPFILES): Remove solib.o.
665 * config/m68k/obsd.mh (NATDEPFILES): Remove solib.o.
666 * config/powerpc/aix.mh (NATDEPFILES): Remove xcoffread.o.
667 * config/vax/nbsdaout.mh (NATDEPFILES): Remove solib.o.
668
669 2012-01-09 Pedro Alves <palves@redhat.com>
670
671 * MAINTAINERS: Update my email address.
672
673 2012-01-08 Doug Evans <dje@google.com>
674
675 * dwarf2read.c (dwarf2_per_objfile): Rename n_type_comp_units to
676 n_type_units. Rename type_comp_units to all_type_units.
677 All uses updated.
678 (add_signatured_type_cu_to_table): Renamed from
679 add_signatured_type_cu_to_list. All callers updated.
680
681 * gdbtypes.h (struct cplus_struct_type): Delete member
682 nfn_fields_total. All uses removed.
683
684 2012-01-06 Doug Evans <dje@google.com>
685
686 * dwarf2read.c: Move FIXME from dwarf2_build_psymtabs_hard
687 to top of file.
688 (dwarf2_find_comp_unit): Delete.
689 (process_psymtab_comp_unit): Make result "void".
690 Delete args buffer, info_ptr, buffer_size, and replace with
691 "section". All callers updated.
692 (dwarf2_build_psymtabs_hard): Simplify.
693
694 2012-01-06 Sergio Durigan Junior <sergiodj@redhat.com>
695 Thiago Jung Bauermann <bauerman@br.ibm.com>
696
697 * ada-lang.c (ada_exception_name_addr): Add `volatile' keyword
698 before `struct gdb_exception'.
699 * breakpoint.c (update_global_location_list_nothrow)
700 (update_breakpoint_locations, enable_breakpoint_disp): Likewise.
701 * cp-abi.c (value_rtti_type): Likewise.
702 * cp-support.c (cp_validate_operator): Likewise.
703 * infrun.c (insert_exception_resume_breakpoint)
704 (check_exception_resume, keep_going): Likewise.
705 * mi-interp.c (mi_breakpoint_created)
706 (mi_breakpoint_modified): Likewise.
707 * rs6000-aix-tdep.c (rs6000_convert_from_func_ptr_addr): Likewise.
708 * solib-ia64-hpux.c (ia64_hpux_at_dld_breakpoint_p)
709 (ia64_hpux_handle_dld_breakpoint_1): Likewise.
710
711 2012-01-05 Doug Evans <dje@google.com>
712
713 * dwarf2read.c (statement_prologue): Delete, unused.
714
715 * dwarf2read.c (dwarf2_per_cu_addr_size): Make result type an int.
716 * dwarf2loc.h (dwarf2_per_cu_addr_size): Update.
717
718 * dwarf2read.c (comp_unit_header): Delete, unused.
719
720 2012-01-05 Ulrich Weigand <uweigand@de.ibm.com>
721
722 * configure.tgt [s390*-*-*] (gdb_target_obs): Add corelow.o.
723 * config/s390/s390.mh (NATDEPFILES): Remove corelow.o.
724
725 2012-01-05 Khoo Yit Phang <khooyp@cs.umd.edu>
726
727 * infrun.c (normal_stop): Don't skip calling the normal_stop
728 observers if the thread was doing a multi-step, but stopped for
729 some reason other than stepping.
730
731 2012-01-05 Pedro Alves <alves.ped@gmail.com>
732
733 * cli/cli-decode.h: Add comments.
734 (CMD_LIST_AMBIGUOUS): Moved to command.h
735 (add_cmd, add_alias_cmd, add_prefix_cmd, add_abbrev_prefix_cmd)
736 (set_cmd_cfunc, set_cmd_sfunc, set_cmd_completer, cmd_cfunc_eq)
737 (set_cmd_context, get_cmd_context, lookup_cmd, lookup_cmd_1)
738 (deprecate_cmd, deprecated_cmd_warning, lookup_cmd_composition)
739 (add_com, add_com_alias, add_info, add_info_alias)
740 (complete_on_cmdlist, complete_on_enum, help_list): Remove
741 declarations.
742 * command.h: Add and adjust comments.
743 (CMD_LIST_AMBIGUOUS): Moved here.
744 (help_cmd, help_cmd_list): Delete declarations.
745
746 2012-01-04 Doug Evans <dje@google.com>
747
748 * dwarf2read.c (dwarf2_read_abbrevs): Delete arg "abfd".
749 All callers updated.
750 (load_full_type_unit): Renamed from read_signatured_type_at_offset.
751 Replace all arguments with "per_cu". All callers updated.
752
753 * dwarf2read.c (dwarf2_per_cu_data): Remove outdated comment.
754
755 * dwarf2read.c (init_one_comp_unit): Delete arg "objfile".
756 New arg "per_cu". All callers updated.
757
758 Delete #if 0'd out code.
759 * language.c (binop_result_type): Delete.
760 (simple_type, ordered_type, same_type, integral_type): Delete.
761 (numeric_type, character_type, string_type, boolean_type): Delete.
762 (float_type, structured_type): Delete.
763 * language.h: Update.
764
765 2012-01-04 Tom Tromey <tromey@redhat.com>
766
767 * python/py-value.c (valpy_binop): Initialize 'res_val'.
768
769 2012-01-04 Joel Brobecker <brobecker@adacore.com>
770
771 * corefile.c (close_exec_file): Delete.
772 (reopen_exec_file): Remove commented out code that seems related
773 to close_exec_file, which is being deleted here.
774 * inferior.h (close_exec_file): Delete.
775 * fork-child.c (fork_inferior): Remove call to fork_inferior.
776
777 2012-01-04 Joel Brobecker <brobecker@adacore.com>
778
779 * ada-lang.c: #include "cli/cli-utils.h".
780 (get_selections): Use skip_spaces.
781 (ada_get_next_arg): Use skip_spaces and skip_to_space.
782 (catch_ada_exception_command_split): Use skip_spaces.
783 (ada_decode_assert_location): Likewise.
784
785 2012-01-04 Joel Brobecker <brobecker@adacore.com>
786
787 * linespec.c (decode_line_internal): Check for C++ or Java
788 compound constructs only if the current language is C, C++
789 or Java.
790
791 2012-01-04 Jan Kratochvil <jan.kratochvil@redhat.com>
792
793 Revert:
794 2012-01-02 Jan Kratochvil <jan.kratochvil@redhat.com>
795 Joel Brobecker <brobecker@adacore.com>
796 Fix regression for gdb.cp/gdb2495.exp with gcc-4.7.
797 * arch-utils.c (displaced_step_at_entry_point): Incrase BP_LEN skip to
798 3 times.
799 * infcall.c (call_function_by_hand) <AT_SYMBOL>: Move it upwards and
800 fall through into AT_ENTRY_POINT.
801 (call_function_by_hand) <AT_ENTRY_POINT>: New variable bp_len. Adjust
802 DUMMY_ADDR with it.
803 * ppc-linux-tdep.c (ppc_linux_displaced_step_location): Increase
804 PPC_INSN_SIZE skip to 3 times.
805
806 2012-01-04 Joel Brobecker <brobecker@adacore.com>
807
808 * linespec.c (add_minsym): Preserve function descriptors.
809
810 2012-01-04 Ulrich Weigand <uweigand@de.ibm.com>
811
812 * breakpoint.c (all_locations_are_pending): Consider locations
813 in program spaces executing during startup pending as well.
814
815 2012-01-04 Joel Brobecker <brobecker@adacore.com>
816
817 Copyright year update in most files of the GDB Project.
818
819 2012-01-04 Joel Brobecker <brobecker@adacore.com>
820
821 * copyright.sh: Delete.
822 * copyright.py: Rewrite.
823
824 2012-01-04 Joel Brobecker <brobecker@adacore.com>
825
826 * gnulib/extra/update-copyright: New file, imported from gnulib.
827
828 2012-01-04 Joel Brobecker <brobecker@adacore.com>
829
830 * README (Copyright and License Notices): New section.
831
832 2012-01-03 Tom Tromey <tromey@redhat.com>
833
834 PR python/12533:
835 * python/py-value.c (valpy_dereference, valpy_get_address
836 valpy_get_dynamic_type, valpy_lazy_string, valpy_do_cast)
837 (valpy_getitem, valpy_call, valpy_binop, valpy_negative)
838 (valpy_absolute, valpy_richcompare): Free intermediate values.
839
840 2011-01-03 Joel Brobecker <brobecker@adacore.com>
841
842 * ada-lang.c: Reformat the copyright notice.
843
844 2012-01-02 Jan Kratochvil <jan.kratochvil@redhat.com>
845
846 * Makefile.in (ALL_TARGET_OBS): Remove solib-target.o.
847 * configure.tgt (arm*-wince-pe, arm*-*-mingw32ce*, arm*-*-symbianelf*)
848 (i[34567]86-*-dicos*, i[34567]86-*-cygwin*, i[34567]86-*-mingw32*)
849 (x86_64-*-dicos*, x86_64-*-mingw*): Remove solib-target.o.
850 Revert this part of:
851 2012-01-02 Jan Kratochvil <jan.kratochvil@redhat.com>
852 Build gdb directly from *.o files not using libgdb.a.
853 * Makefile.in (COMMON_OBS): Remove solib-target.o.
854
855 2012-01-02 Joel Brobecker <brobecker@adacore.com>
856
857 * gdb/common/gdb_thread_db.h, gdb/dbxread.c, gdb/environ.c,
858 gdb/gcore.h, gdb/rs6000-tdep.h, gdb/s390-nat.c, gdb/tic6x-tdep.c:
859 Reformat the copyright header.
860
861 2012-01-02 Jan Kratochvil <jan.kratochvil@redhat.com>
862
863 Revert this part of:
864 2012-01-02 Jan Kratochvil <jan.kratochvil@redhat.com>
865 Remove the gdbtui binary.
866 * gdb.c (main): Remove args.interpreter_p initialization.
867 * main.c (captured_main): Set INTERPRETER_P directly by INTERP_CONSOLE.
868 * main.h (struct captured_main_args): Remove interpreter_p.
869
870 2012-01-02 Joel Brobecker <brobecker@adacore.com>
871
872 * config/djgpp/fnchange.lst: Add entry for ChangeLog-2011.
873
874 2012-01-02 Joel Brobecker <brobecker@adacore.com>
875
876 * top.c (print_gdb_version): Update copyright year.
877
878 2012-01-02 Yao Qi <yao@codesourcery.com>
879
880 * inf-ptrace.c (inf_ptrace_xfer_partial): Reindent.
881
882 2012-01-02 Jan Kratochvil <jan.kratochvil@redhat.com>
883 Joel Brobecker <brobecker@adacore.com>
884
885 Fix regression for gdb.cp/gdb2495.exp with gcc-4.7.
886 * arch-utils.c (displaced_step_at_entry_point): Incrase BP_LEN skip to
887 3 times.
888 * infcall.c (call_function_by_hand) <AT_SYMBOL>: Move it upwards and
889 fall through into AT_ENTRY_POINT.
890 (call_function_by_hand) <AT_ENTRY_POINT>: New variable bp_len. Adjust
891 DUMMY_ADDR with it.
892 * ppc-linux-tdep.c (ppc_linux_displaced_step_location): Increase
893 PPC_INSN_SIZE skip to 3 times.
894
895 2012-01-02 Jan Kratochvil <jan.kratochvil@redhat.com>
896
897 * amd64-linux-nat.c (update_debug_registers_callback): New comment on
898 the return value.
899 * i386-linux-nat.c (update_debug_registers_callback): Likewise.
900
901 2012-01-02 Jan Kratochvil <jan.kratochvil@redhat.com>
902
903 Build gdb directly from *.o files not using libgdb.a.
904 * Makefile.in (SUBDIR_TUI_OBS): Remove duplicate tui.o.
905 (COMMON_OBS): Remove solib-target.o.
906 (LIBGDB_OBS, libgdb.a): Move it before the gdb$(EXEEXT) rule.
907 (gdb$(EXEEXT)): Replace libgdb.a with $(LIBGDB_OBS).
908 (LIBGDB_OBS, libgdb.a): Move it above.
909 * configure.tgt (alpha*-*-linux*, alpha*-*-freebsd*)
910 (alpha*-*-kfreebsd*-gnu, alpha*-*-netbsd*, alpha*-*-knetbsd*-gnu)
911 (alpha*-*-openbsd*, am33_2.0*-*-linux*, arm*-wince-pe)
912 (arm*-*-mingw32ce*, arm*-*-linux*, arm*-*-netbsd*, arm*-*-knetbsd*-gnu)
913 (arm*-*-openbsd*, cris*, frv-*-*, hppa*-*-hpux*, hppa*-*-linux*)
914 (hppa*-*-netbsd*, hppa*-*-openbsd*, i[34567]86-*-darwin*)
915 (i[34567]86-*-dicos*, i[34567]86-*-freebsd*, i[34567]86-*-kfreebsd*-gnu)
916 (i[34567]86-*-netbsd*, i[34567]86-*-knetbsd*-gnu, i[34567]86-*-openbsd*)
917 (i[34567]86-*-nto*, i[34567]86-*-solaris2.1[0-9]*)
918 (x86_64-*-solaris2.1[0-9]*, i[34567]86-*-solaris*, i[34567]86-*-linux*)
919 (i[34567]86-*-gnu*, ia64-*-linux*, m32r*-*-linux*, m68*-*-linux*)
920 (m68*-*-netbsd*, m68*-*-knetbsd*-gnu, m68*-*-openbsd*)
921 (microblaze*-linux-*, microblaze*-*-linux*, mips*-sgi-irix5*)
922 (mips*-sgi-irix6*, mips*-*-linux*, mips*-*-netbsd*)
923 (mips*-*-knetbsd*-gnu, mips64*-*-openbsd*, powerpc-*-netbsd*)
924 (powerpc-*-knetbsd*-gnu, powerpc-*-openbsd*, powerpc-*-aix*, rs6000-*-*)
925 (powerpc-*-linux*, powerpc64-*-linux*, powerpc*-*-*, s390*-*-*)
926 (sh*-*-linux*, sh*-*-netbsdelf*, sh*-*-knetbsd*-gnu, sh*-*-openbsd*)
927 (sparc-*-linux*, sparc64-*-linux*, sparc*-*-freebsd*)
928 (sparc*-*-kfreebsd*-gnu, sparc-*-netbsd*, sparc-*-knetbsd*-gnu)
929 (sparc64-*-netbsd*, sparc64-*-knetbsd*-gnu, sparc-*-openbsd*)
930 (sparc64-*-openbsd*, sparc-*-solaris2.[0-6], sparc-*-solaris2.[0-6].*)
931 (sparc-*-solaris2*, sparcv9-*-solaris2*, sparc64-*-solaris2*)
932 (vax-*-netbsd*, vax-*-knetbsd*-gnu, x86_64-*-darwin*, x86_64-*-dicos*)
933 (x86_64-*-linux*, x86_64-*-freebsd*, x86_64-*-kfreebsd*-gnu)
934 (x86_64-*-netbsd*, x86_64-*-knetbsd*-gnu, x86_64-*-openbsd*)
935 (xtensa*-*-linux*, xtensa*): Remove solib.o from gdb_target_obs.
936
937 2012-01-02 Jan Kratochvil <jan.kratochvil@redhat.com>
938
939 Remove the gdbtui binary.
940 * .gitignore (/gdbtui): Remove.
941 * Makefile.in (TUI): Remove.
942 (SUBDIR_TUI_OBS): Remove tui-main.o.
943 (SUBDIR_TUI_SRCS): Remove tui/tui-main.c.
944 (all-tui, install-tui, uninstall-tui, $(TUI)$(EXEEXT), clean-tui)
945 (tui-main.o): Remove.
946 (all_object_files): Remove tui-main.o.
947 * NEWS: New note for the gdbtui removal.
948 * configure: Rebuilt.
949 * configure.ac: No longer add all-tui, clean-tui, install-tui and
950 uninstall-tui to CONFIG_ALL, CONFIG_CLEAN, CONFIG_INSTALL and
951 CONFIG_UNINSTALL respectively.
952 * gdb.c (main): Remove args.interpreter_p initialization.
953 * main.c (captured_main): Set INTERPRETER_P directly by INTERP_CONSOLE.
954 * main.h (struct captured_main_args): Remove interpreter_p.
955 * tui/tui-main.c: Remove.
956
957 2012-01-01 Doug Evans <dje@google.com>
958
959 * dwarf2read.c (dwarf2_compute_name): Simplify objfile references.
960 (dwarf2_physname, read_import_statement): Ditto.
961 (read_call_site_scope, dwarf2_record_block_ranges): Ditto.
962 (process_structure_scope read_subroutine_type): Ditto.
963 (read_typedef, load_partial_dies, read_partial_die): Ditto.
964 (find_partial_die, dwarf_decode_lines, lookup_die_type): Ditto.
965 (dwarf2_fetch_die_location_block): Ditto.
966 (dwarf_decode_macros, dwarf2_symbol_mark_computed): Ditto.
967
968 * dwarf2read.c (read_signatured_type): Delete `objfile' arg.
969 All callers updated.
970 (load_full_comp_unit, queue_comp_unit, process_queue): Ditto.
971 (dw2_do_instantiate_symtab, dw2_instantiate_symtab): Ditto.
972 (process_psymtab_comp_unit, load_partial_comp_unit): Ditto.
973
974 * dwarf2read.c (load_cu): Move assert to more useful location.
975
976 * dwarf2read.c (free_heap_comp_unit): Renamed from free_one_comp_unit.
977 All callers updated.
978
979 * dwarf2read.c (dwarf2_per_objfile): Add comment.
980 (dwarf2_elf_names): Minor reformat.
981 (dwarf2_per_cu_data): Tweak comment.
982 (dwarf2_read_section): Fix comment.
983 (create_all_comp_units): Fix comment.
984 (load_full_comp_unit): Fix comment.
985 (process_full_comp_unit): Fix comment.
986 (read_signatured_type): Fix comment.
987
988 For older changes see ChangeLog-2011.
989 \f
990 Local Variables:
991 mode: change-log
992 left-margin: 8
993 fill-column: 74
994 version-control: never
995 coding: utf-8
996 End:
This page took 0.056714 seconds and 5 git commands to generate.