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