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