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