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