gdb/
[binutils-gdb.git] / gdb / ChangeLog
1 2008-01-05 Pedro Alves <pedro@codesourcery.com>
2
3 * main.c (captured_main): Remove 'count' varible and the
4 ALIGN_STACK_ON_ENTRY block that used it. Error out if --core and
5 --pid options were issued simultaneously. If an explicit pid
6 option was passed, don't fallback to core file. Detect extra
7 arguments better in the presence of explicit pid or core
8 arguments.
9
10 2008-01-05 Joel Brobecker <brobecker@adacore.com>
11
12 * ada-lang.c (ada_which_variant_applies): Correctly compute
13 the value of the discriminant when the variant record is packed.
14
15 2008-01-04 Joel Brobecker <brobecker@adacore.com>
16
17 * ada-lang.c (is_name_suffix): Handle middle-name numeric suffixes
18 that are used to differentiate homonyms.
19
20 2008-01-04 Jerome Guitton <guitton@adacore.com>
21
22 * ada-lang.c (decode_packed_array_type): Avoid a seg fault
23 when the type is an anonymous pointer type.
24 (ada_check_typedef): Avoid a seg fault when the type is null.
25 * ada-typeprint.c (print_array_type): Add support for pointer
26 to packed arrays.
27
28 2008-01-04 Paul N. Hilfinger <hilfinger@adacore.com>
29
30 * ada-exp.y: Allow '{type} ADDRESS' notation on left of assignment.
31
32 2008-01-04 Joel Brobecker <brobecker@adacore.com>
33
34 * ada-lang.c (ada_evaluate_subexp): Evaluate tagged types in
35 EVAL_NORMAL mode when noside is EVAL_AVOID_SIDE_EFFECTS.
36
37 2008-01-04 Joel Brobecker <brobecker@adacore.com>
38
39 * ada-exp.y (chop_separator): New function.
40 (write_selectors): Rewrite to re-use chop_separator.
41 (ada_nget_field_index, get_symbol_field_type): New functions.
42 (write_var_or_type): Add support for "ptype TYPENAME.FIELD"
43 expressions.
44
45 2008-01-03 Thiago Jung Bauermann <bauerman@br.ibm.com>
46
47 * symtab.c (find_pc_sect_line): Use SYMBOL_VALUE_ADDRESS instead
48 of SYMBOL_VALUE when working with function symbols.
49
50 2008-01-03 Joel Brobecker <brobecker@adacore.com>
51
52 * ada-lang.c (resolve_subexp): Add handling of OP_REGISTER
53 expressions. These expressions do not need to be rewriten.
54
55 2008-01-03 Joel Brobecker <brobecker@adacore.com>
56
57 * dwarf2read.c (read_enumeration_type): Flag type as stub if
58 the given die is a declaration.
59
60 2008-01-03 Joel Brobecker <brobecker@adacore.com>
61
62 * ada-lang.c (ada_array_bound_from_type): Make non-static.
63 Handle properly the case when the index type is an enumerated type.
64 Do not return the subtype of the bounds type, just return the
65 bounds type directly - this is not needed and is more consistent
66 with what we do for arrays when no XA parallel type exists.
67
68 2008-01-03 Joel Brobecker <brobecker@adacore.com>
69
70 * ada-lang.c (static_unwrap_type): Add forward declaration.
71 (template_to_static_fixed_type): Fields of dynamic types sometimes
72 also need to be unwrapped. Take this into account.
73 (ada_to_fixed_type_1): Renamed from ada_to_fixed_type.
74 (ada_to_fixed_type): New wrapper around ada_to_fixed_type_1.
75 * ada-typeprint.c (ada_print_type): Get the typename from
76 the original type, not the base type.
77
78 2008-01-03 Jerome Guitton <guitton@adacore.com>
79
80 * ada-lang.c (ada_value_struct_elt, to_fixed_array_type)
81 (to_fixed_array_type, ada_to_fixed_value_create, unwrap_value):
82 Update calls to ada_to_fixed_type.
83 (ada_template_to_fixed_record_type_1): Ditto, but without looking
84 for the tag.
85 (ada_to_fixed_type): Add check_tag parameter; do not look for
86 tag if null. When looking for a tag, use a fixed record type.
87 * ada-lang.h (ada_to_fixed_type): Add check_tag parameter.
88 * ada-valprint.c (printable_val_type, ada_value_print): Update
89 calls to ada_to_fixed_type.
90
91 2008-01-03 Luis Machado <luisgpm@br.ibm.com>
92
93 * doublest.c (convert_floatformat_to_doublest): Call
94 floatformat_to_doublest instead of floatformat_to_double and use
95 DOUBLEST variables.
96 (convert_doublest_to_floatformat): Call floatformat_from_doublest
97 instead of floatformat_from_double and use DOUBLEST variables.
98
99 2008-01-03 Nick Hudson <nick.hudson@dsl.pipex.com>
100
101 * MAINTAINERS (Write After Approval): Add self.
102
103 2008-01-03 Joel Brobecker <brobecker@adacore.com>
104
105 * symfile.c (set_initial_language): Make non-static.
106 * symfile.h (set_initial_language): Add declaration.
107 * language.c: #include "symfile.h".
108 (set_language): Call set_initial_language if the frame language
109 could not be determined.
110
111 2008-01-03 Paul N. Hilfinger <hilfinger@adacore.com>
112
113 * eval.c (evaluate_subexp_for_address): Provide frame address to
114 locate_var_value only if it will be needed.
115
116 2008-01-02 Jan Kratochvil <jan.kratochvil@redhat.com>
117
118 * linux-nat.c (linux_child_follow_fork): Call also CHECK_FOR_THREAD_DB.
119
120 2008-01-02 Joel Brobecker <brobecker@adacore.com>
121
122 * ada-lang.c (ada_evaluate_subexp): Modify the value returned
123 when noside is EVAL_AVOID_SIDE_EFFECTS to be an lval_memory.
124 This is needed to make sure that any other treatment applied
125 to the resulting value does not fail for spurious reason,
126 such as trying to take the address of this value.
127
128 2008-01-02 Joel Brobecker <brobecker@adacore.com>
129
130 * ada-lang.c (ada_value_equal): Dereference reference types when
131 comparing arrays.
132
133 2008-01-01 Daniel Jacobowitz <dan@codesourcery.com>
134
135 Updated copyright notices for most files.
136
137 2008-01-01 Christopher Faylor <me+gdb@cgf.cx>
138
139 * win32-nat.c (psapi_module_handle): Remove static.
140 (get_module_name): Rename from psapi_get_dll_name. Revamp slightly to
141 return first module found if base_address is zero. Don't initialize
142 psapi function pointers here. Convert to cygwin paths when
143 appropriate.
144 (win32_pid_to_exec_file): Use Cygwin's /proc interface to determine
145 executable name. Use get_module_name when that fails or when
146 !__CYGWIN__.
147 (_initialize_psapi): New function. Initialize psapi stuff before it is
148 needed or issue a warning if it is not found. Move psapi_module_handle
149 here.
150
151 2008-01-01 Joel Brobecker <brobecker@adacore.com>
152
153 * ada-lang.c (ada_remove_trailing_digits): New function.
154 (ada_remove_po_subprogram_suffix): New function.
155 (ada_decode): Improve. Move the description of the algorithm
156 directly inside the code, instead of in the function global
157 description.
158
159 2008-01-01 Joel Brobecker <brobecker@adacore.com>
160
161 * ada-valprint.c (ada_val_print_1) [TYPE_CODE_REF]: Ignore deref_ref
162 and always print the dereferenced value.
163
164 2008-01-01 Joel Brobecker <brobecker@adacore.com>
165
166 * ada-lang.c (ada_evaluate_subexp, case BINOP_SUB): Add handling
167 of the case where the first argument is a reference.
168 (ada_evaluate_subexp, case BINOP_ADD): Likewise.
169
170 2008-01-01 Joel Brobecker <brobecker@adacore.com>
171
172 Implement support for Ada interface types.
173
174 * ada-lang.c (ada_is_dispatch_table_ptr_type): New function.
175 (ada_is_ignored_field): Ignore fields that are a dispatch table
176 of a tagged type.
177
178 2008-01-01 Joel Brobecker <brobecker@adacore.com>
179
180 * top.c (print_gdb_version): Update copyright year.
181
182 2008-01-01 Joel Brobecker <brobecker@adacore.com>
183
184 * ChangeLog-2007: New ChangeLog rotation.
185 * ChangeLog: Reset for 2008.
186 * config/djgpp/fnchange.lst: Add entries for ChangeLog-2006 and
187 ChangeLog-2007.
188
189 For older changes see ChangeLog-2007.
190 \f
191 Local Variables:
192 mode: change-log
193 left-margin: 8
194 fill-column: 74
195 version-control: never
196 coding: utf-8
197 End: