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