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