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