* dwarf2read.c (dwarf2_read_abbrevs): Delete arg "abfd".
[external/binutils.git] / gdb / ChangeLog
1 2012-01-04  Doug Evans  <dje@google.com>
2
3         * dwarf2read.c (dwarf2_read_abbrevs): Delete arg "abfd".
4         All callers updated.
5         (load_full_type_unit): Renamed from read_signatured_type_at_offset.
6         Replace all arguments with "per_cu".  All callers updated.
7
8         * dwarf2read.c (dwarf2_per_cu_data): Remove outdated comment.
9
10         * dwarf2read.c (init_one_comp_unit): Delete arg "objfile".
11         New arg "per_cu".  All callers updated.
12
13         Delete #if 0'd out code.
14         * language.c (binop_result_type): Delete.
15         (simple_type, ordered_type, same_type, integral_type): Delete.
16         (numeric_type, character_type, string_type, boolean_type): Delete.
17         (float_type, structured_type): Delete.
18         * language.h: Update.
19
20 2012-01-04  Tom Tromey  <tromey@redhat.com>
21
22         * python/py-value.c (valpy_binop): Initialize 'res_val'.
23
24 2012-01-04  Joel Brobecker  <brobecker@adacore.com>
25
26         * corefile.c (close_exec_file): Delete.
27         (reopen_exec_file): Remove commented out code that seems related
28         to close_exec_file, which is being deleted here.
29         * inferior.h (close_exec_file): Delete.
30         * fork-child.c (fork_inferior): Remove call to fork_inferior.
31
32 2012-01-04  Joel Brobecker  <brobecker@adacore.com>
33
34         * ada-lang.c: #include "cli/cli-utils.h".
35         (get_selections): Use skip_spaces.
36         (ada_get_next_arg): Use skip_spaces and skip_to_space.
37         (catch_ada_exception_command_split): Use skip_spaces.
38         (ada_decode_assert_location): Likewise.
39
40 2012-01-04  Joel Brobecker  <brobecker@adacore.com>
41
42         * linespec.c (decode_line_internal): Check for C++ or Java
43         compound constructs only if the current language is C, C++
44         or Java.
45
46 2012-01-04  Jan Kratochvil  <jan.kratochvil@redhat.com>
47
48         Revert:
49         2012-01-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
50                     Joel Brobecker  <brobecker@adacore.com>
51         Fix regression for gdb.cp/gdb2495.exp with gcc-4.7.
52         * arch-utils.c (displaced_step_at_entry_point): Incrase BP_LEN skip to
53         3 times.
54         * infcall.c (call_function_by_hand) <AT_SYMBOL>: Move it upwards and
55         fall through into AT_ENTRY_POINT.
56         (call_function_by_hand) <AT_ENTRY_POINT>: New variable bp_len.  Adjust
57         DUMMY_ADDR with it.
58         * ppc-linux-tdep.c (ppc_linux_displaced_step_location): Increase
59         PPC_INSN_SIZE skip to 3 times.
60
61 2012-01-04  Joel Brobecker  <brobecker@adacore.com>
62
63         * linespec.c (add_minsym): Preserve function descriptors.
64
65 2012-01-04  Ulrich Weigand  <uweigand@de.ibm.com>
66
67         * breakpoint.c (all_locations_are_pending): Consider locations
68         in program spaces executing during startup pending as well.
69
70 2012-01-04  Joel Brobecker  <brobecker@adacore.com>
71
72         Copyright year update in most files of the GDB Project.
73
74 2012-01-04  Joel Brobecker  <brobecker@adacore.com>
75
76         * copyright.sh: Delete.
77         * copyright.py: Rewrite.
78
79 2012-01-04  Joel Brobecker  <brobecker@adacore.com>
80
81         * gnulib/extra/update-copyright: New file, imported from gnulib.
82
83 2012-01-04  Joel Brobecker  <brobecker@adacore.com>
84
85         * README (Copyright and License Notices): New section.
86
87 2012-01-03  Tom Tromey  <tromey@redhat.com>
88
89         PR python/12533:
90         * python/py-value.c (valpy_dereference, valpy_get_address
91         valpy_get_dynamic_type, valpy_lazy_string, valpy_do_cast)
92         (valpy_getitem, valpy_call, valpy_binop, valpy_negative)
93         (valpy_absolute, valpy_richcompare): Free intermediate values.
94
95 2011-01-03  Joel Brobecker  <brobecker@adacore.com>
96
97         * ada-lang.c: Reformat the copyright notice.
98
99 2012-01-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
100
101         * Makefile.in (ALL_TARGET_OBS): Remove solib-target.o.
102         * configure.tgt (arm*-wince-pe, arm*-*-mingw32ce*, arm*-*-symbianelf*)
103         (i[34567]86-*-dicos*, i[34567]86-*-cygwin*, i[34567]86-*-mingw32*)
104         (x86_64-*-dicos*, x86_64-*-mingw*): Remove solib-target.o.
105         Revert this part of:
106         2012-01-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
107         Build gdb directly from *.o files not using libgdb.a.
108         * Makefile.in (COMMON_OBS): Remove solib-target.o.
109
110 2012-01-02  Joel Brobecker  <brobecker@adacore.com>
111
112         * gdb/common/gdb_thread_db.h, gdb/dbxread.c, gdb/environ.c,
113         gdb/gcore.h, gdb/rs6000-tdep.h, gdb/s390-nat.c, gdb/tic6x-tdep.c:
114         Reformat the copyright header.
115
116 2012-01-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
117
118         Revert this part of:
119         2012-01-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
120         Remove the gdbtui binary.
121         * gdb.c (main): Remove args.interpreter_p initialization.
122         * main.c (captured_main): Set INTERPRETER_P directly by INTERP_CONSOLE.
123         * main.h (struct captured_main_args): Remove interpreter_p.
124
125 2012-01-02  Joel Brobecker  <brobecker@adacore.com>
126
127         * config/djgpp/fnchange.lst: Add entry for ChangeLog-2011.
128
129 2012-01-02  Joel Brobecker  <brobecker@adacore.com>
130
131         * top.c (print_gdb_version): Update copyright year.
132
133 2012-01-02  Yao Qi  <yao@codesourcery.com>
134
135         * inf-ptrace.c (inf_ptrace_xfer_partial): Reindent.
136
137 2012-01-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
138             Joel Brobecker  <brobecker@adacore.com>
139
140         Fix regression for gdb.cp/gdb2495.exp with gcc-4.7.
141         * arch-utils.c (displaced_step_at_entry_point): Incrase BP_LEN skip to
142         3 times.
143         * infcall.c (call_function_by_hand) <AT_SYMBOL>: Move it upwards and
144         fall through into AT_ENTRY_POINT.
145         (call_function_by_hand) <AT_ENTRY_POINT>: New variable bp_len.  Adjust
146         DUMMY_ADDR with it.
147         * ppc-linux-tdep.c (ppc_linux_displaced_step_location): Increase
148         PPC_INSN_SIZE skip to 3 times.
149
150 2012-01-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
151
152         * amd64-linux-nat.c (update_debug_registers_callback): New comment on
153         the return value.
154         * i386-linux-nat.c (update_debug_registers_callback): Likewise.
155
156 2012-01-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
157
158         Build gdb directly from *.o files not using libgdb.a.
159         * Makefile.in (SUBDIR_TUI_OBS): Remove duplicate tui.o.
160         (COMMON_OBS): Remove solib-target.o.
161         (LIBGDB_OBS, libgdb.a): Move it before the gdb$(EXEEXT) rule.
162         (gdb$(EXEEXT)): Replace libgdb.a with $(LIBGDB_OBS).
163         (LIBGDB_OBS, libgdb.a): Move it above.
164         * configure.tgt (alpha*-*-linux*, alpha*-*-freebsd*)
165         (alpha*-*-kfreebsd*-gnu, alpha*-*-netbsd*, alpha*-*-knetbsd*-gnu)
166         (alpha*-*-openbsd*, am33_2.0*-*-linux*, arm*-wince-pe)
167         (arm*-*-mingw32ce*, arm*-*-linux*, arm*-*-netbsd*, arm*-*-knetbsd*-gnu)
168         (arm*-*-openbsd*, cris*, frv-*-*, hppa*-*-hpux*, hppa*-*-linux*)
169         (hppa*-*-netbsd*, hppa*-*-openbsd*, i[34567]86-*-darwin*)
170         (i[34567]86-*-dicos*, i[34567]86-*-freebsd*, i[34567]86-*-kfreebsd*-gnu)
171         (i[34567]86-*-netbsd*, i[34567]86-*-knetbsd*-gnu, i[34567]86-*-openbsd*)
172         (i[34567]86-*-nto*, i[34567]86-*-solaris2.1[0-9]*)
173         (x86_64-*-solaris2.1[0-9]*, i[34567]86-*-solaris*, i[34567]86-*-linux*)
174         (i[34567]86-*-gnu*, ia64-*-linux*, m32r*-*-linux*, m68*-*-linux*)
175         (m68*-*-netbsd*, m68*-*-knetbsd*-gnu, m68*-*-openbsd*)
176         (microblaze*-linux-*, microblaze*-*-linux*, mips*-sgi-irix5*)
177         (mips*-sgi-irix6*, mips*-*-linux*, mips*-*-netbsd*)
178         (mips*-*-knetbsd*-gnu, mips64*-*-openbsd*, powerpc-*-netbsd*)
179         (powerpc-*-knetbsd*-gnu, powerpc-*-openbsd*, powerpc-*-aix*, rs6000-*-*)
180         (powerpc-*-linux*, powerpc64-*-linux*, powerpc*-*-*, s390*-*-*)
181         (sh*-*-linux*, sh*-*-netbsdelf*, sh*-*-knetbsd*-gnu, sh*-*-openbsd*)
182         (sparc-*-linux*, sparc64-*-linux*, sparc*-*-freebsd*)
183         (sparc*-*-kfreebsd*-gnu, sparc-*-netbsd*, sparc-*-knetbsd*-gnu)
184         (sparc64-*-netbsd*, sparc64-*-knetbsd*-gnu, sparc-*-openbsd*)
185         (sparc64-*-openbsd*, sparc-*-solaris2.[0-6], sparc-*-solaris2.[0-6].*)
186         (sparc-*-solaris2*, sparcv9-*-solaris2*, sparc64-*-solaris2*)
187         (vax-*-netbsd*, vax-*-knetbsd*-gnu, x86_64-*-darwin*, x86_64-*-dicos*)
188         (x86_64-*-linux*, x86_64-*-freebsd*, x86_64-*-kfreebsd*-gnu)
189         (x86_64-*-netbsd*, x86_64-*-knetbsd*-gnu, x86_64-*-openbsd*)
190         (xtensa*-*-linux*, xtensa*): Remove solib.o from gdb_target_obs.
191
192 2012-01-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
193
194         Remove the gdbtui binary.
195         * .gitignore (/gdbtui): Remove.
196         * Makefile.in (TUI): Remove.
197         (SUBDIR_TUI_OBS): Remove tui-main.o.
198         (SUBDIR_TUI_SRCS): Remove tui/tui-main.c.
199         (all-tui, install-tui, uninstall-tui, $(TUI)$(EXEEXT), clean-tui)
200         (tui-main.o): Remove.
201         (all_object_files): Remove tui-main.o.
202         * NEWS: New note for the gdbtui removal.
203         * configure: Rebuilt.
204         * configure.ac: No longer add all-tui, clean-tui, install-tui and
205         uninstall-tui to CONFIG_ALL, CONFIG_CLEAN, CONFIG_INSTALL and
206         CONFIG_UNINSTALL respectively.
207         * gdb.c (main): Remove args.interpreter_p initialization.
208         * main.c (captured_main): Set INTERPRETER_P directly by INTERP_CONSOLE.
209         * main.h (struct captured_main_args): Remove interpreter_p.
210         * tui/tui-main.c: Remove.
211
212 2012-01-01  Doug Evans  <dje@google.com>
213
214         * dwarf2read.c (dwarf2_compute_name): Simplify objfile references.
215         (dwarf2_physname, read_import_statement): Ditto.
216         (read_call_site_scope, dwarf2_record_block_ranges): Ditto.
217         (process_structure_scope read_subroutine_type): Ditto.
218         (read_typedef, load_partial_dies, read_partial_die): Ditto.
219         (find_partial_die, dwarf_decode_lines, lookup_die_type): Ditto.
220         (dwarf2_fetch_die_location_block): Ditto.
221         (dwarf_decode_macros, dwarf2_symbol_mark_computed): Ditto.
222
223         * dwarf2read.c (read_signatured_type): Delete `objfile' arg.
224         All callers updated.
225         (load_full_comp_unit, queue_comp_unit, process_queue): Ditto.
226         (dw2_do_instantiate_symtab, dw2_instantiate_symtab): Ditto.
227         (process_psymtab_comp_unit, load_partial_comp_unit): Ditto.
228
229         * dwarf2read.c (load_cu): Move assert to more useful location.
230
231         * dwarf2read.c (free_heap_comp_unit): Renamed from free_one_comp_unit.
232         All callers updated.
233
234         * dwarf2read.c (dwarf2_per_objfile): Add comment.
235         (dwarf2_elf_names): Minor reformat.
236         (dwarf2_per_cu_data): Tweak comment.
237         (dwarf2_read_section): Fix comment.
238         (create_all_comp_units): Fix comment.
239         (load_full_comp_unit): Fix comment.
240         (process_full_comp_unit): Fix comment.
241         (read_signatured_type): Fix comment.
242
243 For older changes see ChangeLog-2011.
244 \f
245 Local Variables:
246 mode: change-log
247 left-margin: 8
248 fill-column: 74
249 version-control: never
250 coding: utf-8
251 End: