]> Git Repo - binutils.git/blame - gdb/ChangeLog
gdb
[binutils.git] / gdb / ChangeLog
CommitLineData
cafec441
TT
12012-01-16 Tom Tromey <[email protected]>
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
983af33b
SDJ
132012-01-16 Sergio Durigan Junior <[email protected]>
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
4795f398
DE
562012-01-14 Doug Evans <[email protected]>
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
ee5106fe
EZ
612012-01-13 Eli Zaretskii <[email protected]>
62
63 * gdb_curses.h (MOUSE_MOVED) [__MINGW32__]: Undefine before
64 including curses.h.
65
b161e06f
JK
662012-01-12 Jan Kratochvil <[email protected]>
67
68 * configure: Regenerate.
69 * config.in: Regenerate.
70
85254831
KS
712012-01-12 Keith Seitz <[email protected]>
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
620fa63a
PA
872012-01-12 Pedro Alves <[email protected]>
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
2efa2c79
AT
922012-01-11 Andreas Tobler <[email protected]>
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
88e7d25d
TT
982012-01-11 Tom Tromey <[email protected]>
99
100 PR gdb/9598:
101 * breakpoint.c (_initialize_breakpoint): Fix help for "catch
102 catch" and "catch throw".
103
72384ba3
PH
1042012-01-11 Paul Hilfinger <[email protected]>
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
065a711f
TT
1142012-01-10 Tom Tromey <[email protected]>
115
116 PR python/13199:
117 * python/python.c (finish_python_initialization): Set sys.argv.
118
f3f5162e
DE
1192012-01-10 Doug Evans <[email protected]>
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
9934703b
JK
1292012-01-10 Jan Kratochvil <[email protected]>
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
06b9f45f
JK
1432012-01-10 Jan Kratochvil <[email protected]>
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
34365054
DE
1992012-01-09 Doug Evans <[email protected]>
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
696166a3
KS
2042012-01-09 Keith Seitz <[email protected]>
205
206 * breakpoint.c (wrapper.h): Don't include.
207
8e7b59a5
KS
2082012-01-09 Keith Seitz <[email protected]>
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
1a4eeb98
DE
2312012-01-09 Doug Evans <[email protected]>
232
9ff913ba
DE
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
1a4eeb98
DE
243 * parser-defs.h (namecopy): Delete.
244 * parse.c (namecopy, namecopy_size): Move into copy_name.
245
2e6af8c0
JK
2462012-01-09 Jan Kratochvil <[email protected]>
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
9f2f828a
PA
2572012-01-09 Pedro Alves <[email protected]>
258
259 * MAINTAINERS: Update my email address.
260
4d72c0bc
DE
2612012-01-08 Doug Evans <[email protected]>
262
d467dd73
DE
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
4d72c0bc
DE
269 * gdbtypes.h (struct cplus_struct_type): Delete member
270 nfn_fields_total. All uses removed.
271
21b2bd31
DE
2722012-01-06 Doug Evans <[email protected]>
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
bfd189b1
SDJ
2822012-01-06 Sergio Durigan Junior <[email protected]>
283 Thiago Jung Bauermann <[email protected]>
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
6b07635f
DE
2992012-01-05 Doug Evans <[email protected]>
300
0b30b85c
DE
301 * dwarf2read.c (statement_prologue): Delete, unused.
302
98714339
DE
303 * dwarf2read.c (dwarf2_per_cu_addr_size): Make result type an int.
304 * dwarf2loc.h (dwarf2_per_cu_addr_size): Update.
305
6b07635f
DE
306 * dwarf2read.c (comp_unit_header): Delete, unused.
307
761f4555
UW
3082012-01-05 Ulrich Weigand <[email protected]>
309
310 * configure.tgt [s390*-*-*] (gdb_target_obs): Add corelow.o.
311 * config/s390/s390.mh (NATDEPFILES): Remove corelow.o.
312
2ca0b532
PA
3132012-01-05 Khoo Yit Phang <[email protected]>
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
50aeff07
PA
3192012-01-05 Pedro Alves <[email protected]>
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
5953832c
DE
3342012-01-04 Doug Evans <[email protected]>
335
e5fe5e75
DE
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
28dee7f5
DE
341 * dwarf2read.c (dwarf2_per_cu_data): Remove outdated comment.
342
23745b47
DE
343 * dwarf2read.c (init_one_comp_unit): Delete arg "objfile".
344 New arg "per_cu". All callers updated.
345
5953832c
DE
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
0f5b7562
TT
3532012-01-04 Tom Tromey <[email protected]>
354
355 * python/py-value.c (valpy_binop): Initialize 'res_val'.
356
78218f56
JB
3572012-01-04 Joel Brobecker <[email protected]>
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
0fcd72ba
JB
3652012-01-04 Joel Brobecker <[email protected]>
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
1dabb4c4
JB
3732012-01-04 Joel Brobecker <[email protected]>
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
5931a2fa
JK
3792012-01-04 Jan Kratochvil <[email protected]>
380
381 Revert:
382 2012-01-02 Jan Kratochvil <[email protected]>
383 Joel Brobecker <[email protected]>
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
1a2da5ee
JB
3942012-01-04 Joel Brobecker <[email protected]>
395
396 * linespec.c (add_minsym): Preserve function descriptors.
397
8645ff69
UW
3982012-01-04 Ulrich Weigand <[email protected]>
399
400 * breakpoint.c (all_locations_are_pending): Consider locations
401 in program spaces executing during startup pending as well.
402
0b302171
JB
4032012-01-04 Joel Brobecker <[email protected]>
404
405 Copyright year update in most files of the GDB Project.
406
8ba098ad
JB
4072012-01-04 Joel Brobecker <[email protected]>
408
409 * copyright.sh: Delete.
410 * copyright.py: Rewrite.
411
09c01c30
JB
4122012-01-04 Joel Brobecker <[email protected]>
413
414 * gnulib/extra/update-copyright: New file, imported from gnulib.
415
3c36c0af
JB
4162012-01-04 Joel Brobecker <[email protected]>
417
418 * README (Copyright and License Notices): New section.
419
888fe1e1
TT
4202012-01-03 Tom Tromey <[email protected]>
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
6e681866
JB
4282011-01-03 Joel Brobecker <[email protected]>
429
430 * ada-lang.c: Reformat the copyright notice.
431
0cd09acb
JK
4322012-01-02 Jan Kratochvil <[email protected]>
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 <[email protected]>
440 Build gdb directly from *.o files not using libgdb.a.
441 * Makefile.in (COMMON_OBS): Remove solib-target.o.
442
12c3e59c
JB
4432012-01-02 Joel Brobecker <[email protected]>
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
11bf1490
JK
4492012-01-02 Jan Kratochvil <[email protected]>
450
451 Revert this part of:
452 2012-01-02 Jan Kratochvil <[email protected]>
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
1fef196f
JB
4582012-01-02 Joel Brobecker <[email protected]>
459
460 * config/djgpp/fnchange.lst: Add entry for ChangeLog-2011.
461
67827812
JB
4622012-01-02 Joel Brobecker <[email protected]>
463
464 * top.c (print_gdb_version): Update copyright year.
465
a4d0b831
YQ
4662012-01-02 Yao Qi <[email protected]>
467
468 * inf-ptrace.c (inf_ptrace_xfer_partial): Reindent.
469
b5914469
JK
4702012-01-02 Jan Kratochvil <[email protected]>
471 Joel Brobecker <[email protected]>
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
8da828f7
JK
4832012-01-02 Jan Kratochvil <[email protected]>
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
8574e74b
JK
4892012-01-02 Jan Kratochvil <[email protected]>
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
217bff3e
JK
5252012-01-02 Jan Kratochvil <[email protected]>
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
9cdd5dbd
DE
5452012-01-01 Doug Evans <[email protected]>
546
bb5ed363
DE
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
a0f42c21
DE
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
2dc860c0
DE
562 * dwarf2read.c (load_cu): Move assert to more useful location.
563
68dc6402
DE
564 * dwarf2read.c (free_heap_comp_unit): Renamed from free_one_comp_unit.
565 All callers updated.
566
9cdd5dbd
DE
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
0c10e53e 576For older changes see ChangeLog-2011.
c906108c
SS
577\f
578Local Variables:
579mode: change-log
580left-margin: 8
581fill-column: 74
582version-control: never
57da7796 583coding: utf-8
c906108c 584End:
This page took 2.915556 seconds and 4 git commands to generate.