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