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