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