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