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