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