gdb/
[binutils-gdb.git] / gdb / ChangeLog
1 2012-01-17 Jan Kratochvil <jan.kratochvil@redhat.com>
2
3 Fix compilation error.
4 * m2-exp.y (yyerror): Use ANSI C prototype.
5
6 2012-01-16 Sergio Durigan Junior <sergiodj@redhat.com>
7
8 * f-exp.y (parse_number): Convert prototype from K&R to ANSI C.
9 (growbuf_by_size): Likewise.
10 (yyerror): Likewise.
11 * m2-exp.y (make_qualname): Remove function (was #if 0'ed).
12 (modblock): Remove variable (was #if 0'ed).
13 (parse_number): Convert prototype from K&R to ANSI C.
14 (yyerror): Likewise.
15 * objc-exp.y (parse_number): Likewise.
16 (yyerror): Likewise.
17 (yylex): Remove #if 0'ed code.
18 * p-exp.y (uptok): Convert prototype from K&R to ANSI C.
19 (yyerror): Likewise.
20
21 2012-01-16 Tom Tromey <tromey@redhat.com>
22
23 * NEWS: Add item.
24 * symtab.h (compare_filenames_for_search): Declare.
25 * symtab.c (compare_filenames_for_search): New function.
26 (iterate_over_some_symtabs): Use it.
27 * symfile.h (struct quick_symbol_functions)
28 <map_symtabs_matching_filename>: Change spec.
29 * psymtab.c (partial_map_symtabs_matching_filename): Use
30 compare_filenames_for_search. Update for new spec.
31 * dwarf2read.c (dw2_map_symtabs_matching_filename): Use
32 compare_filenames_for_search. Update for new spec.
33 * breakpoint.c (clear_command): Use compare_filenames_for_search.
34
35 2012-01-16 Tom Tromey <tromey@redhat.com>
36
37 PR python/13281:
38 * gdbtypes.h (TYPE_FLAG_ENUM): New macro.
39 (struct main_type) <flag_flag_enum>: New field.
40 * dwarf2read.c (process_enumeration_scope): Detect "flag" enums.
41 * NEWS: Add entries.
42 * c-valprint.c (c_val_print) <TYPE_CODE_ENUM>: Handle "flag"
43 enums.
44 * python/lib/gdb/printing.py (_EnumInstance): New class.
45 (FlagEnumerationPrinter): Likewise.
46
47 2012-01-16 Sergio Durigan Junior <sergiodj@redhat.com>
48
49 * breakpoint.c (create_sals_from_address_default): New function.
50 (create_breakpoints_sal_default): Likewise.
51 (decode_linespec_default): Likewise.
52 (is_marker_spec): Removed.
53 (strace_marker_p): New function.
54 (init_breakpoint_sal): Using `strace_marker_p' instead of
55 `is_marker_spec'.
56 (create_breakpoint): Call method `create_sals_from_address' from
57 breakpoint_ops, replacing code that created SALs conditionally
58 on the type of the breakpoint. Call method `create_breakpoints_sal',
59 replacing code that created breakpoints conditionally on the type
60 wanted.
61 (base_breakpoint_create_sals_from_address): New function.
62 (base_breakpoint_create_breakpoints_sal): Likewise.
63 (base_breakpoint_decode_linespec): Likewise.
64 (base_breakpoint_ops): Add methods
65 `base_breakpoint_create_sals_from_address',
66 `base_breakpoint_create_breakpoints_sal' and
67 `base_breakpoint_decode_linespec'.
68 (bkpt_create_sals_from_address): New function.
69 (bkpt_create_breakpoints_sal): Likewise.
70 (bkpt_decode_linespec): Likewise.
71 (tracepoint_create_sals_from_address): Likewise.
72 (tracepoint_create_breakpoints_sal): Likewise.
73 (tracepoint_decode_linespec): Likewise.
74 (strace_marker_create_sals_from_address): Likewise.
75 (strace_marker_create_breakpoints_sal): Likewise.
76 (strace_marker_decode_linespec): Likewise.
77 (strace_marker_breakpoint_ops): New variable.
78 (addr_string_to_sals): Remove `marker_spec'. Call method
79 `decode_linespec' from breakpoint_ops, replacing code that decoded
80 an address string into a SAL. Use `strace_marker_p' instead of
81 `marker_spec'.
82 (strace_command): Decide whether we are dealing with a static
83 tracepoint with marker or not. Use the appropriate breakpoint_ops.
84 (initialize_breakpoint_ops): Initialize new fields of breakpoint_ops.
85 * breakpoint.h (linespec_result, linespec_sals): New forward
86 declarations.
87 (breakpoint_ops) <create_sals_from_address>,
88 <create_breakpoints_sal>, <decode_linespec>: New methods.
89
90 2012-01-14 Doug Evans <dje@google.com>
91
92 * NEWS: Update text for "maint set python print-stack".
93 It is deprecated in gdb 7.4 and deleted in 7.5.
94
95 2012-01-13 Eli Zaretskii <eliz@gnu.org>
96
97 * gdb_curses.h (MOUSE_MOVED) [__MINGW32__]: Undefine before
98 including curses.h.
99
100 2012-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
101
102 * configure: Regenerate.
103 * config.in: Regenerate.
104
105 2012-01-12 Keith Seitz <keiths@redhat.com>
106
107 PR mi/10586
108 * varobj.c (ANONYMOUS_STRUCT_NAME): Define.
109 (ANONYMOUS_UNION_NAME): Define.
110 (is_path_expr_parent): New function.
111 (get_path_expr_parent): New function.
112 (is_anonymous_child): New function.
113 (create_child_with_value): If the child is anonymous and without
114 a name, assign an object name to it.
115 (c_describe_child): Use get_path_expr_parent to determine
116 the parent expression.
117 If there field represents an anonymous struct or union and
118 has no name, set an appropriate display name and expression.
119 (cplus_describe_child): Likewise.
120
121 2012-01-12 Pedro Alves <palves@redhat.com>
122
123 * i386-tdep.c (i386_frame_cache_1): Also mark the frame base as
124 available when %ebp is found to be zero (outermost).
125
126 2012-01-11 Andreas Tobler <andreast@fgznet.ch>
127
128 * common/gdb_assert.h (gdb_static_assert): Rename static_assert to
129 an internal gdb_static_assert.
130 * mi/mi-common.c: Rename static_assert to gdb_static_assert.
131
132 2012-01-11 Tom Tromey <tromey@redhat.com>
133
134 PR gdb/9598:
135 * breakpoint.c (_initialize_breakpoint): Fix help for "catch
136 catch" and "catch throw".
137
138 2012-01-11 Paul Hilfinger <hilfingr@adacore.com>
139
140 * blockframe.c (block_innermost_frame): Start search from selected
141 frame, if present, or otherwise the current frame.
142
143 * c-exp.y (variable): Update innermost_block for
144 'block COLONCOLON NAME' clause.
145 * m2-exp.y (variable): Ditto.
146 * objc-exp.y (variable): Ditto.
147
148 2012-01-10 Tom Tromey <tromey@redhat.com>
149
150 PR python/13199:
151 * python/python.c (finish_python_initialization): Set sys.argv.
152
153 2012-01-10 Doug Evans <dje@google.com>
154
155 * dwarf2read.c (dwarf_decode_lines): Remove arg "abfd". New arg
156 "want_line_info". All callers updated.
157 (dwarf_decode_lines_1): New function.
158 (handle_DW_AT_stmt_list): Add function comment.
159 New arg "want_line_info". All callers updated.
160 (read_file_scope,read_type_unit_scope): Move comment from
161 handle_DW_AT_stmt_list to here.
162
163 2012-01-10 Jan Kratochvil <jan.kratochvil@redhat.com>
164
165 Fix regression after libiberty/ update for GCC PR 6057 and others.
166 * c-exp.y (operator) <OPERATOR DELETE>
167 (operator) <OPERATOR DELETE '[' ']'>: Add trailing space.
168 * cp-name-parser.y (fill_comp, make_operator, make_dtor)
169 (make_builtin_type, make_name): New variable i, add gdb_assert.
170 (operator) <OPERATOR NEW>: Update ARGS to 3.
171 (operator) <OPERATOR DELETE>: Add trailing space.
172 (operator) <OPERATOR NEW '[' ']'>: Update ARGS to 3.
173 (operator) <OPERATOR DELETE '[' ']'>: Add trailing space.
174 * cp-support.c (cp_canonicalize_string): Check NULL from
175 cp_comp_to_string, call warning and return.
176
177 2012-01-10 Jan Kratochvil <jan.kratochvil@redhat.com>
178
179 Fix duplicate .o files after omitting libbfd.a.
180 * Makefile.in (ALL_TARGET_OBS): Remove corelow.o.
181 (SFILES): Add corelow.c.
182 (COMMON_OBS): Add corelow.o.
183 (ALLDEPFILES): Remove corelow.c.
184 * config/alpha/alpha-linux.mh (NATDEPFILES): Remove corelow.o.
185 * config/alpha/alpha-osf3.mh: Likewise.
186 * config/alpha/fbsd.mh: Likewise.
187 * config/arm/nbsdaout.mh: Likewise.
188 * config/arm/nbsdelf.mh: Likewise.
189 * config/i386/i386gnu.mh: Likewise.
190 * config/ia64/hpux.mh: Likewise.
191 * config/ia64/linux.mh: Likewise.
192 * config/m32r/linux.mh: Likewise.
193 * config/m68k/linux.mh: Likewise.
194 * config/mips/irix5.mh: Likewise.
195 * config/mips/irix6.mh: Likewise.
196 * config/pa/hpux.mh: Likewise.
197 * config/pa/linux.mh: Likewise.
198 * config/powerpc/aix.mh: Likewise.
199 * config/sparc/linux.mh: Likewise.
200 * config/sparc/linux64.mh: Likewise.
201 * config/sparc/sol2.mh: Likewise.
202 * config/vax/vax.mh: Likewise.
203 * configure.tgt (alpha*-*-freebsd* alpha*-*-kfreebsd*-gnu)
204 (alpha*-*-netbsd*, alpha*-*-knetbsd*-gnu, alpha*-*-openbsd*)
205 (am33_2.0*-*-linux*, arm*-wince-pe, arm*-*-mingw32ce*, arm*-*-linux*)
206 (arm*-*-openbsd*, cris*, frv-*-*, hppa*-*-hpux*, hppa*-*-netbsd*)
207 (hppa*-*-openbsd*, i[34567]86-*-dicos*, i[34567]86-*-freebsd*)
208 (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-netbsd*)
209 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-openbsd*, i[34567]86-*-nto*)
210 (i[34567]86-*-solaris2.1[0-9]*, x86_64-*-solaris2.1[0-9]*)
211 (i[34567]86-*-solaris*, i[34567]86-*-linux*, i[34567]86-*-cygwin*)
212 (i[34567]86-*-mingw32*, m68*-*-netbsd*, m68*-*-knetbsd*-gnu)
213 (m68*-*-openbsd*, m88*-*-openbsd*, microblaze*-linux-*)
214 (microblaze*-*-linux*, mips*-*-linux*, mips*-*-netbsd*)
215 (mips*-*-knetbsd*-gnu, mips64*-*-openbsd*, powerpc-*-netbsd*)
216 (powerpc-*-knetbsd*-gnu, powerpc-*-openbsd*, powerpc-*-linux*)
217 (powerpc64-*-linux*, s390*-*-*, score-*-*, sh*-*-linux*)
218 (sh*-*-netbsdelf*, sh*-*-knetbsd*-gnu, sh*-*-openbsd*)
219 (sparc*-*-freebsd*, sparc*-*-kfreebsd*-gnu, sparc-*-netbsd*)
220 (sparc-*-knetbsd*-gnu, sparc64-*-netbsd*, sparc64-*-knetbsd*-gnu)
221 (sparc-*-openbsd*, sparc64-*-openbsd*, tic6x-*-*linux, vax-*-netbsd*)
222 (vax-*-knetbsd*-gnu, vax-*-openbsd*, x86_64-*-dicos*, x86_64-*-linux*)
223 (x86_64-*-freebsd*, x86_64-*-kfreebsd*-gnu, x86_64-*-netbsd*)
224 (x86_64-*-knetbsd*-gnu, x86_64-*-openbsd*, xtensa*-*-linux*): Remove
225 corelow.o from gdb_target_obs.
226 * corefile.c (core_target): Update the comment on NULL value.
227 (core_file_command): Replace error by gdb_assert on CORE_TARGET.
228 * corelow.c (sniff_core_bfd): Call error instead of warning on zero
229 MATCHES. Drop YUMMY set on NULL.
230 (core_close): Do not call exit_inferior_silent on zero PID. Do not
231 reclaim CORE_DATA if it is already NULL.
232
233 2012-01-09 Doug Evans <dje@google.com>
234
235 * gdbtypes.c (safe_parse_type): Initialize type to keep gcc happy.
236 * varobj.c (varobj_set_value): Initialize val,value to keep gcc happy.
237
238 2012-01-09 Keith Seitz <keiths@redhat.com>
239
240 * breakpoint.c (wrapper.h): Don't include.
241
242 2012-01-09 Keith Seitz <keiths@redhat.com>
243
244 * Makefile.in (SFILES): Remove wrapper.c.
245 (HFILES_NO_SRCDIR): Remove wrapper.h.
246 (COMMON_OBS): Remove wrapper.o.
247 * cli/cli-interp.c: Don't inlude wrapper.h.
248 * corelow.c: Likewise.
249 (core_open): Replace gdb_target_find_new_threads with
250 TRY_CATCH around target_find_new_threads.
251 * eval.c (fetch_subexp_value): Likewise for value_fetch_lazy.
252 * gdbtypes.c (safe_parse_type): Likewise for parse_and_eval_type.
253 * varobj.c (varobj_create): Likewise for parse_exp_1 and
254 evaluate_expression.
255 (varobj_set_value): Likewise for evaluate_expression and
256 value_assign.
257 (install_new_variable): Likewise for value_fetch_lazy.
258 (adjust_value_for_child_access): Likewise for value_ind.
259 (c_describe_child): Likewise for value_subscript and
260 value_ind.
261 (c_value_of_root): Likewise for evaluate_expression.
262 * wrapper.c: Remove.
263 * wrapper.h: Remove.
264
265 2012-01-09 Doug Evans <dje@google.com>
266
267 * dwarf2read.c (read_and_check_comp_unit_head): Renamed from
268 partial_read_comp_unit_head. Replace "buffer", "buffer_size" and
269 "abfd" args with "section". All callers updated.
270 Error checking code moved ...
271 (error_check_comp_unit_head): ... here. New function.
272 (read_and_check_type_unit_head): Renamed from read_type_unit_head.
273 Delete arg "abfd". New arg "type_offset". All callers updated.
274 (create_debug_types_hash_table): Simplify by using
275 read_and_check_type_unit_head.
276
277 * parser-defs.h (namecopy): Delete.
278 * parse.c (namecopy, namecopy_size): Move into copy_name.
279
280 2012-01-09 Jan Kratochvil <jan.kratochvil@redhat.com>
281
282 Partially fix duplicate .o files after omitting libbfd.a.
283 * config/alpha/alpha-osf3.mh (NATDEPFILES): Remove solib.o.
284 * config/i386/nbsdaout.mh (NATDEPFILES): Remove solib.o.
285 * config/i386/obsdaout.mh (NATDEPFILES): Remove solib.o.
286 * config/m68k/nbsdaout.mh (NATDEPFILES): Remove solib.o.
287 * config/m68k/obsd.mh (NATDEPFILES): Remove solib.o.
288 * config/powerpc/aix.mh (NATDEPFILES): Remove xcoffread.o.
289 * config/vax/nbsdaout.mh (NATDEPFILES): Remove solib.o.
290
291 2012-01-09 Pedro Alves <palves@redhat.com>
292
293 * MAINTAINERS: Update my email address.
294
295 2012-01-08 Doug Evans <dje@google.com>
296
297 * dwarf2read.c (dwarf2_per_objfile): Rename n_type_comp_units to
298 n_type_units. Rename type_comp_units to all_type_units.
299 All uses updated.
300 (add_signatured_type_cu_to_table): Renamed from
301 add_signatured_type_cu_to_list. All callers updated.
302
303 * gdbtypes.h (struct cplus_struct_type): Delete member
304 nfn_fields_total. All uses removed.
305
306 2012-01-06 Doug Evans <dje@google.com>
307
308 * dwarf2read.c: Move FIXME from dwarf2_build_psymtabs_hard
309 to top of file.
310 (dwarf2_find_comp_unit): Delete.
311 (process_psymtab_comp_unit): Make result "void".
312 Delete args buffer, info_ptr, buffer_size, and replace with
313 "section". All callers updated.
314 (dwarf2_build_psymtabs_hard): Simplify.
315
316 2012-01-06 Sergio Durigan Junior <sergiodj@redhat.com>
317 Thiago Jung Bauermann <bauerman@br.ibm.com>
318
319 * ada-lang.c (ada_exception_name_addr): Add `volatile' keyword
320 before `struct gdb_exception'.
321 * breakpoint.c (update_global_location_list_nothrow)
322 (update_breakpoint_locations, enable_breakpoint_disp): Likewise.
323 * cp-abi.c (value_rtti_type): Likewise.
324 * cp-support.c (cp_validate_operator): Likewise.
325 * infrun.c (insert_exception_resume_breakpoint)
326 (check_exception_resume, keep_going): Likewise.
327 * mi-interp.c (mi_breakpoint_created)
328 (mi_breakpoint_modified): Likewise.
329 * rs6000-aix-tdep.c (rs6000_convert_from_func_ptr_addr): Likewise.
330 * solib-ia64-hpux.c (ia64_hpux_at_dld_breakpoint_p)
331 (ia64_hpux_handle_dld_breakpoint_1): Likewise.
332
333 2012-01-05 Doug Evans <dje@google.com>
334
335 * dwarf2read.c (statement_prologue): Delete, unused.
336
337 * dwarf2read.c (dwarf2_per_cu_addr_size): Make result type an int.
338 * dwarf2loc.h (dwarf2_per_cu_addr_size): Update.
339
340 * dwarf2read.c (comp_unit_header): Delete, unused.
341
342 2012-01-05 Ulrich Weigand <uweigand@de.ibm.com>
343
344 * configure.tgt [s390*-*-*] (gdb_target_obs): Add corelow.o.
345 * config/s390/s390.mh (NATDEPFILES): Remove corelow.o.
346
347 2012-01-05 Khoo Yit Phang <khooyp@cs.umd.edu>
348
349 * infrun.c (normal_stop): Don't skip calling the normal_stop
350 observers if the thread was doing a multi-step, but stopped for
351 some reason other than stepping.
352
353 2012-01-05 Pedro Alves <alves.ped@gmail.com>
354
355 * cli/cli-decode.h: Add comments.
356 (CMD_LIST_AMBIGUOUS): Moved to command.h
357 (add_cmd, add_alias_cmd, add_prefix_cmd, add_abbrev_prefix_cmd)
358 (set_cmd_cfunc, set_cmd_sfunc, set_cmd_completer, cmd_cfunc_eq)
359 (set_cmd_context, get_cmd_context, lookup_cmd, lookup_cmd_1)
360 (deprecate_cmd, deprecated_cmd_warning, lookup_cmd_composition)
361 (add_com, add_com_alias, add_info, add_info_alias)
362 (complete_on_cmdlist, complete_on_enum, help_list): Remove
363 declarations.
364 * command.h: Add and adjust comments.
365 (CMD_LIST_AMBIGUOUS): Moved here.
366 (help_cmd, help_cmd_list): Delete declarations.
367
368 2012-01-04 Doug Evans <dje@google.com>
369
370 * dwarf2read.c (dwarf2_read_abbrevs): Delete arg "abfd".
371 All callers updated.
372 (load_full_type_unit): Renamed from read_signatured_type_at_offset.
373 Replace all arguments with "per_cu". All callers updated.
374
375 * dwarf2read.c (dwarf2_per_cu_data): Remove outdated comment.
376
377 * dwarf2read.c (init_one_comp_unit): Delete arg "objfile".
378 New arg "per_cu". All callers updated.
379
380 Delete #if 0'd out code.
381 * language.c (binop_result_type): Delete.
382 (simple_type, ordered_type, same_type, integral_type): Delete.
383 (numeric_type, character_type, string_type, boolean_type): Delete.
384 (float_type, structured_type): Delete.
385 * language.h: Update.
386
387 2012-01-04 Tom Tromey <tromey@redhat.com>
388
389 * python/py-value.c (valpy_binop): Initialize 'res_val'.
390
391 2012-01-04 Joel Brobecker <brobecker@adacore.com>
392
393 * corefile.c (close_exec_file): Delete.
394 (reopen_exec_file): Remove commented out code that seems related
395 to close_exec_file, which is being deleted here.
396 * inferior.h (close_exec_file): Delete.
397 * fork-child.c (fork_inferior): Remove call to fork_inferior.
398
399 2012-01-04 Joel Brobecker <brobecker@adacore.com>
400
401 * ada-lang.c: #include "cli/cli-utils.h".
402 (get_selections): Use skip_spaces.
403 (ada_get_next_arg): Use skip_spaces and skip_to_space.
404 (catch_ada_exception_command_split): Use skip_spaces.
405 (ada_decode_assert_location): Likewise.
406
407 2012-01-04 Joel Brobecker <brobecker@adacore.com>
408
409 * linespec.c (decode_line_internal): Check for C++ or Java
410 compound constructs only if the current language is C, C++
411 or Java.
412
413 2012-01-04 Jan Kratochvil <jan.kratochvil@redhat.com>
414
415 Revert:
416 2012-01-02 Jan Kratochvil <jan.kratochvil@redhat.com>
417 Joel Brobecker <brobecker@adacore.com>
418 Fix regression for gdb.cp/gdb2495.exp with gcc-4.7.
419 * arch-utils.c (displaced_step_at_entry_point): Incrase BP_LEN skip to
420 3 times.
421 * infcall.c (call_function_by_hand) <AT_SYMBOL>: Move it upwards and
422 fall through into AT_ENTRY_POINT.
423 (call_function_by_hand) <AT_ENTRY_POINT>: New variable bp_len. Adjust
424 DUMMY_ADDR with it.
425 * ppc-linux-tdep.c (ppc_linux_displaced_step_location): Increase
426 PPC_INSN_SIZE skip to 3 times.
427
428 2012-01-04 Joel Brobecker <brobecker@adacore.com>
429
430 * linespec.c (add_minsym): Preserve function descriptors.
431
432 2012-01-04 Ulrich Weigand <uweigand@de.ibm.com>
433
434 * breakpoint.c (all_locations_are_pending): Consider locations
435 in program spaces executing during startup pending as well.
436
437 2012-01-04 Joel Brobecker <brobecker@adacore.com>
438
439 Copyright year update in most files of the GDB Project.
440
441 2012-01-04 Joel Brobecker <brobecker@adacore.com>
442
443 * copyright.sh: Delete.
444 * copyright.py: Rewrite.
445
446 2012-01-04 Joel Brobecker <brobecker@adacore.com>
447
448 * gnulib/extra/update-copyright: New file, imported from gnulib.
449
450 2012-01-04 Joel Brobecker <brobecker@adacore.com>
451
452 * README (Copyright and License Notices): New section.
453
454 2012-01-03 Tom Tromey <tromey@redhat.com>
455
456 PR python/12533:
457 * python/py-value.c (valpy_dereference, valpy_get_address
458 valpy_get_dynamic_type, valpy_lazy_string, valpy_do_cast)
459 (valpy_getitem, valpy_call, valpy_binop, valpy_negative)
460 (valpy_absolute, valpy_richcompare): Free intermediate values.
461
462 2011-01-03 Joel Brobecker <brobecker@adacore.com>
463
464 * ada-lang.c: Reformat the copyright notice.
465
466 2012-01-02 Jan Kratochvil <jan.kratochvil@redhat.com>
467
468 * Makefile.in (ALL_TARGET_OBS): Remove solib-target.o.
469 * configure.tgt (arm*-wince-pe, arm*-*-mingw32ce*, arm*-*-symbianelf*)
470 (i[34567]86-*-dicos*, i[34567]86-*-cygwin*, i[34567]86-*-mingw32*)
471 (x86_64-*-dicos*, x86_64-*-mingw*): Remove solib-target.o.
472 Revert this part of:
473 2012-01-02 Jan Kratochvil <jan.kratochvil@redhat.com>
474 Build gdb directly from *.o files not using libgdb.a.
475 * Makefile.in (COMMON_OBS): Remove solib-target.o.
476
477 2012-01-02 Joel Brobecker <brobecker@adacore.com>
478
479 * gdb/common/gdb_thread_db.h, gdb/dbxread.c, gdb/environ.c,
480 gdb/gcore.h, gdb/rs6000-tdep.h, gdb/s390-nat.c, gdb/tic6x-tdep.c:
481 Reformat the copyright header.
482
483 2012-01-02 Jan Kratochvil <jan.kratochvil@redhat.com>
484
485 Revert this part of:
486 2012-01-02 Jan Kratochvil <jan.kratochvil@redhat.com>
487 Remove the gdbtui binary.
488 * gdb.c (main): Remove args.interpreter_p initialization.
489 * main.c (captured_main): Set INTERPRETER_P directly by INTERP_CONSOLE.
490 * main.h (struct captured_main_args): Remove interpreter_p.
491
492 2012-01-02 Joel Brobecker <brobecker@adacore.com>
493
494 * config/djgpp/fnchange.lst: Add entry for ChangeLog-2011.
495
496 2012-01-02 Joel Brobecker <brobecker@adacore.com>
497
498 * top.c (print_gdb_version): Update copyright year.
499
500 2012-01-02 Yao Qi <yao@codesourcery.com>
501
502 * inf-ptrace.c (inf_ptrace_xfer_partial): Reindent.
503
504 2012-01-02 Jan Kratochvil <jan.kratochvil@redhat.com>
505 Joel Brobecker <brobecker@adacore.com>
506
507 Fix regression for gdb.cp/gdb2495.exp with gcc-4.7.
508 * arch-utils.c (displaced_step_at_entry_point): Incrase BP_LEN skip to
509 3 times.
510 * infcall.c (call_function_by_hand) <AT_SYMBOL>: Move it upwards and
511 fall through into AT_ENTRY_POINT.
512 (call_function_by_hand) <AT_ENTRY_POINT>: New variable bp_len. Adjust
513 DUMMY_ADDR with it.
514 * ppc-linux-tdep.c (ppc_linux_displaced_step_location): Increase
515 PPC_INSN_SIZE skip to 3 times.
516
517 2012-01-02 Jan Kratochvil <jan.kratochvil@redhat.com>
518
519 * amd64-linux-nat.c (update_debug_registers_callback): New comment on
520 the return value.
521 * i386-linux-nat.c (update_debug_registers_callback): Likewise.
522
523 2012-01-02 Jan Kratochvil <jan.kratochvil@redhat.com>
524
525 Build gdb directly from *.o files not using libgdb.a.
526 * Makefile.in (SUBDIR_TUI_OBS): Remove duplicate tui.o.
527 (COMMON_OBS): Remove solib-target.o.
528 (LIBGDB_OBS, libgdb.a): Move it before the gdb$(EXEEXT) rule.
529 (gdb$(EXEEXT)): Replace libgdb.a with $(LIBGDB_OBS).
530 (LIBGDB_OBS, libgdb.a): Move it above.
531 * configure.tgt (alpha*-*-linux*, alpha*-*-freebsd*)
532 (alpha*-*-kfreebsd*-gnu, alpha*-*-netbsd*, alpha*-*-knetbsd*-gnu)
533 (alpha*-*-openbsd*, am33_2.0*-*-linux*, arm*-wince-pe)
534 (arm*-*-mingw32ce*, arm*-*-linux*, arm*-*-netbsd*, arm*-*-knetbsd*-gnu)
535 (arm*-*-openbsd*, cris*, frv-*-*, hppa*-*-hpux*, hppa*-*-linux*)
536 (hppa*-*-netbsd*, hppa*-*-openbsd*, i[34567]86-*-darwin*)
537 (i[34567]86-*-dicos*, i[34567]86-*-freebsd*, i[34567]86-*-kfreebsd*-gnu)
538 (i[34567]86-*-netbsd*, i[34567]86-*-knetbsd*-gnu, i[34567]86-*-openbsd*)
539 (i[34567]86-*-nto*, i[34567]86-*-solaris2.1[0-9]*)
540 (x86_64-*-solaris2.1[0-9]*, i[34567]86-*-solaris*, i[34567]86-*-linux*)
541 (i[34567]86-*-gnu*, ia64-*-linux*, m32r*-*-linux*, m68*-*-linux*)
542 (m68*-*-netbsd*, m68*-*-knetbsd*-gnu, m68*-*-openbsd*)
543 (microblaze*-linux-*, microblaze*-*-linux*, mips*-sgi-irix5*)
544 (mips*-sgi-irix6*, mips*-*-linux*, mips*-*-netbsd*)
545 (mips*-*-knetbsd*-gnu, mips64*-*-openbsd*, powerpc-*-netbsd*)
546 (powerpc-*-knetbsd*-gnu, powerpc-*-openbsd*, powerpc-*-aix*, rs6000-*-*)
547 (powerpc-*-linux*, powerpc64-*-linux*, powerpc*-*-*, s390*-*-*)
548 (sh*-*-linux*, sh*-*-netbsdelf*, sh*-*-knetbsd*-gnu, sh*-*-openbsd*)
549 (sparc-*-linux*, sparc64-*-linux*, sparc*-*-freebsd*)
550 (sparc*-*-kfreebsd*-gnu, sparc-*-netbsd*, sparc-*-knetbsd*-gnu)
551 (sparc64-*-netbsd*, sparc64-*-knetbsd*-gnu, sparc-*-openbsd*)
552 (sparc64-*-openbsd*, sparc-*-solaris2.[0-6], sparc-*-solaris2.[0-6].*)
553 (sparc-*-solaris2*, sparcv9-*-solaris2*, sparc64-*-solaris2*)
554 (vax-*-netbsd*, vax-*-knetbsd*-gnu, x86_64-*-darwin*, x86_64-*-dicos*)
555 (x86_64-*-linux*, x86_64-*-freebsd*, x86_64-*-kfreebsd*-gnu)
556 (x86_64-*-netbsd*, x86_64-*-knetbsd*-gnu, x86_64-*-openbsd*)
557 (xtensa*-*-linux*, xtensa*): Remove solib.o from gdb_target_obs.
558
559 2012-01-02 Jan Kratochvil <jan.kratochvil@redhat.com>
560
561 Remove the gdbtui binary.
562 * .gitignore (/gdbtui): Remove.
563 * Makefile.in (TUI): Remove.
564 (SUBDIR_TUI_OBS): Remove tui-main.o.
565 (SUBDIR_TUI_SRCS): Remove tui/tui-main.c.
566 (all-tui, install-tui, uninstall-tui, $(TUI)$(EXEEXT), clean-tui)
567 (tui-main.o): Remove.
568 (all_object_files): Remove tui-main.o.
569 * NEWS: New note for the gdbtui removal.
570 * configure: Rebuilt.
571 * configure.ac: No longer add all-tui, clean-tui, install-tui and
572 uninstall-tui to CONFIG_ALL, CONFIG_CLEAN, CONFIG_INSTALL and
573 CONFIG_UNINSTALL respectively.
574 * gdb.c (main): Remove args.interpreter_p initialization.
575 * main.c (captured_main): Set INTERPRETER_P directly by INTERP_CONSOLE.
576 * main.h (struct captured_main_args): Remove interpreter_p.
577 * tui/tui-main.c: Remove.
578
579 2012-01-01 Doug Evans <dje@google.com>
580
581 * dwarf2read.c (dwarf2_compute_name): Simplify objfile references.
582 (dwarf2_physname, read_import_statement): Ditto.
583 (read_call_site_scope, dwarf2_record_block_ranges): Ditto.
584 (process_structure_scope read_subroutine_type): Ditto.
585 (read_typedef, load_partial_dies, read_partial_die): Ditto.
586 (find_partial_die, dwarf_decode_lines, lookup_die_type): Ditto.
587 (dwarf2_fetch_die_location_block): Ditto.
588 (dwarf_decode_macros, dwarf2_symbol_mark_computed): Ditto.
589
590 * dwarf2read.c (read_signatured_type): Delete `objfile' arg.
591 All callers updated.
592 (load_full_comp_unit, queue_comp_unit, process_queue): Ditto.
593 (dw2_do_instantiate_symtab, dw2_instantiate_symtab): Ditto.
594 (process_psymtab_comp_unit, load_partial_comp_unit): Ditto.
595
596 * dwarf2read.c (load_cu): Move assert to more useful location.
597
598 * dwarf2read.c (free_heap_comp_unit): Renamed from free_one_comp_unit.
599 All callers updated.
600
601 * dwarf2read.c (dwarf2_per_objfile): Add comment.
602 (dwarf2_elf_names): Minor reformat.
603 (dwarf2_per_cu_data): Tweak comment.
604 (dwarf2_read_section): Fix comment.
605 (create_all_comp_units): Fix comment.
606 (load_full_comp_unit): Fix comment.
607 (process_full_comp_unit): Fix comment.
608 (read_signatured_type): Fix comment.
609
610 For older changes see ChangeLog-2011.
611 \f
612 Local Variables:
613 mode: change-log
614 left-margin: 8
615 fill-column: 74
616 version-control: never
617 coding: utf-8
618 End: