1 2008-01-11 Markus Deuling <deuling@de.ibm.com>
3 * gdbarch.sh (skip_prologue): Add gdbarch
5 * gdbarch.{c,h}: Regenerate.
7 * alpha-tdep.c (alpha_skip_prologue): Add gdbarch as parameter.
8 * amd64-tdep.c (amd64_skip_prologue): Likewise.
9 * avr-tdep.c (avr_skip_prologue): Likewise.
10 * cris-tdep.c (cris_skip_prologue): Likewise.
11 * frv-tdep.c (frv_skip_prologue): Likewise.
12 * h8300-tdep.c (h8300_skip_prologue): Likewise.
13 * hppa-tdep.c (hppa_skip_prologue): Likewise.
14 * i386-tdep.c (i386_skip_prologue): Likewise.
15 * ia64-tdep.c (ia64_skip_prologue): Likewise.
16 * iq2000-tdep.c (iq2000_skip_prologue): Likewise.
17 * m32r-tdep.c (m32r_skip_prologue): Likewise.
18 * m68hc11-tdep.c (m68hc11_skip_prologue): Likewise.
19 * m68k-tdep.c (m68k_skip_prologue): Likewise.
20 * m88k-tdep.c (m88k_skip_prologue): Likewise.
21 * mep-tdep.c (mep_skip_prologue): Likewise.
22 * mips-tdep.c (mips_skip_prologue): Likewise.
23 * mn10300-tdep.c (mn10300_skip_prologue): Likewise.
24 * mt-tdep.c (mt_skip_prologue): Likewise.
25 * rs6000-tdep.c (rs6000_skip_prologue): Likewise.
26 * score-tdep.c (score_skip_prologue): Likewise.
27 * sh64-tdep.c (sh64_skip_prologue): Likewise.
28 * sh-tdep.c (sh_skip_prologue): Likewise.
29 * sparc64-tdep.c (sparc64_skip_prologue): Likewise.
30 * sparc-tdep.c (sparc32_skip_prologue): Likewise.
31 * spu-tdep.c (spu_skip_prologue): Likewise.
32 * v850-tdep.c (v850_skip_prologue): Likewise.
33 * vax-tdep.c (vax_skip_prologue): Likewise.
34 * xstormy16-tdep.c (xstormy16_skip_prologue): Likewise.
35 * xtensa-tdep.c (xtensa_skip_prologue): Likewise.
37 * arm-tdep.c (arm_skip_prologue): Add gdbarch as parameter. Replace
38 current_gdbarch by gdbarch.
39 * m32c-tdep.c (m32c_skip_prologue): Likewise.
40 * s390-tdep.c (s390_skip_prologue): Likewise.
42 2008-01-10 Doug Evans <dje@google.com>
44 * defs.h (struct continuation_arg): Fix typo in comment.
45 * target.c (target_translate_tls_address): Fix comment spelling error.
47 2008-01-09 Thiago Jung Bauermann <bauerman@br.ibm.com>
49 * doublest.h (DOUBLEST_PRINT_FORMAT): Remove % from string.
50 (DOUBLEST_SCAN_FORMAT): Likewise.
51 * dfp.c (decimal_from_floating): Use DOUBLEST_PRINT_FORMAT.
52 * ada-lex.l (processReal): Prepend "%" to use of DOUBLEST_SCAN_FORMAT.
53 * c-exp.y (parse_number): Likewise.
54 * jv-exp.y (parse_number): Likewise.
55 * objc-exp.y (parse_number): Likewise.
56 * p-exp.y (parse_number): Likewise.
58 2008-01-09 Joel Brobecker <brobecker@adacore.com>
60 * gdbtypes.c (create_array_type): Add handling of null Ada arrays.
61 (check_typedef): Likewise.
63 2008-01-09 Luis Machado <luisgpm@br.ibm.com>
65 * printcmd.c (printf_command): Add seen_big_h, seen_big_d and
66 seen_double_big_d, treat the new H, D, and DD modifiers as length
69 2008-01-08 Joel Brobecker <brobecker@adacore.com>
71 * dwarf2read.c (read_enumeration_type): Add comment.
73 2008-01-08 Thiago Jung Bauermann <bauerman@br.ibm.com>
75 * config.in: Regenerate.
77 2008-01-08 Joel Brobecker <brobecker@adacore.com>
79 * ada-lang.c (ada_convert_actual): Renames convert_actual.
81 (ada_convert_actuals): Delete.
82 * ada-lang.h (ada_convert_actual): Add declaration.
83 (ada_convert_actuals): Remove declaration.
84 * infcall.c: #include "ada-lang.h".
85 (value_arg_coerce): Add new parameter sp. Update function
86 documetnation. Add handling of Ada function call parameters.
87 * Makefile.in (infcall.o): Update dependencies.
89 2008-01-08 Paul Hilfinger <hilfinger@adacore.com>
91 * ada-lang.c (ensure_lval): Fix value lval kind.
92 (convert_actual): Add handling for arguments passed by reference.
94 2008-01-08 Doug Evans <dje@google.com>
96 * dbxread.c (read_dbx_symtab): Fix indentation.
98 2008-01-07 Thiago Jung Bauermann <bauerman@br.ibm.com>
100 * Makefile.in (dfp.o): Depend on expression.h, gdbtypes.h and value.h.
101 (valarith.o): Depend on dfp.h.
102 (valops.o): Likewise.
103 * dfp.c: Include expression.h, gdbtypes.h, value.h and dfp.h.
104 (set_decnumber_context): New function.
105 (decimal_check_errors): Likewise.
106 (decimal_from_number): Likewise.
107 (decimal_to_number): Likewise.
108 (decimal_from_string): Use set_decnumber_context and
109 decimal_check_errors.
110 (decimal_from_integral): New function.
111 (decimal_from_floating): Likewise.
112 (decimal_to_double): Likewise.
113 (promote_decimal): Likewise.
114 (decimal_binop): Likewise.
115 (decimal_is_zero): Likewise.
116 (decimal_compare): Likewise.
117 (decimal_convert): Likewise.
118 * dfp.h (decimal_from_integral): New prototype.
119 (decimal_from_floating): Likewise.
120 (decimal_to_double): Likewise.
121 (decimal_binop): Likewise.
122 (decimal_is_zero): Likewise.
123 (decimal_compare): Likewise.
124 (decimal_convert): Likewise.
125 * eval.c (evaluate_subexp_standard): Remove expect_type argument from
126 call to value_from_decfloat.
127 * valarith.c: Include dfp.h.
128 (value_args_as_decimal): New function.
129 (value_binop): Add if block to handle TYPE_CODE_DECFLOAT values.
130 (value_logical_not): Likewise.
131 (value_equal): Likewise.
132 (value_less): Likewise.
133 (value_pos): Likewise.
134 (value_neg): Formatting fix.
135 * valops.c: Include dfp.h.
136 (value_cast): Add if block to handle TYPE_CODE_DECFLOAT values.
137 * value.c (unpack_long): Add case to handle TYPE_CODE_DECFLOAT.
138 (unpack_double): Add if block to handle TYPE_CODE_DECFLOAT.
139 (value_from_decfloat): Remove expect_type argument.
140 * value.h (value_from_decfloat): Update prototype.
142 2008-01-07 Vladimir Prus <vladimir@codesourcery.com>
144 Ignore change in name of dynamic linker during
145 execution on Solaris. This also unbreaks pending breakpoints.
147 * solist.h (struct target_so_ops): New field same.
148 * solib-svr4.c (svr4_same): New.
149 (_initialize_svr4_solib): Register svr4_same.
150 * solib.c (update_solib_list): Use ops->same, if available.
152 2008-01-06 Christopher Faylor <me+cygwin@cgf.cx>
154 * win32-nat.c (win32_make_so): Use cygwin-style path to avoid warnings
155 when using MS-DOS paths.
157 2008-01-05 Pedro Alves <pedro@codesourcery.com>
159 * NEWS: Mention --pid and --core command line behaviour changes.
161 2008-01-05 Pedro Alves <pedro@codesourcery.com>
163 * main.c (captured_main): Remove 'count' varible and the
164 ALIGN_STACK_ON_ENTRY block that used it. Error out if --core and
165 --pid options were issued simultaneously. If an explicit pid
166 option was passed, don't fallback to core file. Detect extra
167 arguments better in the presence of explicit pid or core
170 2008-01-05 Joel Brobecker <brobecker@adacore.com>
172 * ada-lang.c (ada_which_variant_applies): Correctly compute
173 the value of the discriminant when the variant record is packed.
175 2008-01-04 Joel Brobecker <brobecker@adacore.com>
177 * ada-lang.c (is_name_suffix): Handle middle-name numeric suffixes
178 that are used to differentiate homonyms.
180 2008-01-04 Jerome Guitton <guitton@adacore.com>
182 * ada-lang.c (decode_packed_array_type): Avoid a seg fault
183 when the type is an anonymous pointer type.
184 (ada_check_typedef): Avoid a seg fault when the type is null.
185 * ada-typeprint.c (print_array_type): Add support for pointer
188 2008-01-04 Paul N. Hilfinger <hilfinger@adacore.com>
190 * ada-exp.y: Allow '{type} ADDRESS' notation on left of assignment.
192 2008-01-04 Joel Brobecker <brobecker@adacore.com>
194 * ada-lang.c (ada_evaluate_subexp): Evaluate tagged types in
195 EVAL_NORMAL mode when noside is EVAL_AVOID_SIDE_EFFECTS.
197 2008-01-04 Joel Brobecker <brobecker@adacore.com>
199 * ada-exp.y (chop_separator): New function.
200 (write_selectors): Rewrite to re-use chop_separator.
201 (ada_nget_field_index, get_symbol_field_type): New functions.
202 (write_var_or_type): Add support for "ptype TYPENAME.FIELD"
205 2008-01-03 Thiago Jung Bauermann <bauerman@br.ibm.com>
207 * symtab.c (find_pc_sect_line): Use SYMBOL_VALUE_ADDRESS instead
208 of SYMBOL_VALUE when working with function symbols.
210 2008-01-03 Joel Brobecker <brobecker@adacore.com>
212 * ada-lang.c (resolve_subexp): Add handling of OP_REGISTER
213 expressions. These expressions do not need to be rewriten.
215 2008-01-03 Joel Brobecker <brobecker@adacore.com>
217 * dwarf2read.c (read_enumeration_type): Flag type as stub if
218 the given die is a declaration.
220 2008-01-03 Joel Brobecker <brobecker@adacore.com>
222 * ada-lang.c (ada_array_bound_from_type): Make non-static.
223 Handle properly the case when the index type is an enumerated type.
224 Do not return the subtype of the bounds type, just return the
225 bounds type directly - this is not needed and is more consistent
226 with what we do for arrays when no XA parallel type exists.
228 2008-01-03 Joel Brobecker <brobecker@adacore.com>
230 * ada-lang.c (static_unwrap_type): Add forward declaration.
231 (template_to_static_fixed_type): Fields of dynamic types sometimes
232 also need to be unwrapped. Take this into account.
233 (ada_to_fixed_type_1): Renamed from ada_to_fixed_type.
234 (ada_to_fixed_type): New wrapper around ada_to_fixed_type_1.
235 * ada-typeprint.c (ada_print_type): Get the typename from
236 the original type, not the base type.
238 2008-01-03 Jerome Guitton <guitton@adacore.com>
240 * ada-lang.c (ada_value_struct_elt, to_fixed_array_type)
241 (to_fixed_array_type, ada_to_fixed_value_create, unwrap_value):
242 Update calls to ada_to_fixed_type.
243 (ada_template_to_fixed_record_type_1): Ditto, but without looking
245 (ada_to_fixed_type): Add check_tag parameter; do not look for
246 tag if null. When looking for a tag, use a fixed record type.
247 * ada-lang.h (ada_to_fixed_type): Add check_tag parameter.
248 * ada-valprint.c (printable_val_type, ada_value_print): Update
249 calls to ada_to_fixed_type.
251 2008-01-03 Luis Machado <luisgpm@br.ibm.com>
253 * doublest.c (convert_floatformat_to_doublest): Call
254 floatformat_to_doublest instead of floatformat_to_double and use
256 (convert_doublest_to_floatformat): Call floatformat_from_doublest
257 instead of floatformat_from_double and use DOUBLEST variables.
259 2008-01-03 Nick Hudson <nick.hudson@dsl.pipex.com>
261 * MAINTAINERS (Write After Approval): Add self.
263 2008-01-03 Joel Brobecker <brobecker@adacore.com>
265 * symfile.c (set_initial_language): Make non-static.
266 * symfile.h (set_initial_language): Add declaration.
267 * language.c: #include "symfile.h".
268 (set_language): Call set_initial_language if the frame language
269 could not be determined.
271 2008-01-03 Paul N. Hilfinger <hilfinger@adacore.com>
273 * eval.c (evaluate_subexp_for_address): Provide frame address to
274 locate_var_value only if it will be needed.
276 2008-01-02 Jan Kratochvil <jan.kratochvil@redhat.com>
278 * linux-nat.c (linux_child_follow_fork): Call also CHECK_FOR_THREAD_DB.
280 2008-01-02 Joel Brobecker <brobecker@adacore.com>
282 * ada-lang.c (ada_evaluate_subexp): Modify the value returned
283 when noside is EVAL_AVOID_SIDE_EFFECTS to be an lval_memory.
284 This is needed to make sure that any other treatment applied
285 to the resulting value does not fail for spurious reason,
286 such as trying to take the address of this value.
288 2008-01-02 Joel Brobecker <brobecker@adacore.com>
290 * ada-lang.c (ada_value_equal): Dereference reference types when
293 2008-01-01 Daniel Jacobowitz <dan@codesourcery.com>
295 Updated copyright notices for most files.
297 2008-01-01 Christopher Faylor <me+gdb@cgf.cx>
299 * win32-nat.c (psapi_module_handle): Remove static.
300 (get_module_name): Rename from psapi_get_dll_name. Revamp slightly to
301 return first module found if base_address is zero. Don't initialize
302 psapi function pointers here. Convert to cygwin paths when
304 (win32_pid_to_exec_file): Use Cygwin's /proc interface to determine
305 executable name. Use get_module_name when that fails or when
307 (_initialize_psapi): New function. Initialize psapi stuff before it is
308 needed or issue a warning if it is not found. Move psapi_module_handle
311 2008-01-01 Joel Brobecker <brobecker@adacore.com>
313 * ada-lang.c (ada_remove_trailing_digits): New function.
314 (ada_remove_po_subprogram_suffix): New function.
315 (ada_decode): Improve. Move the description of the algorithm
316 directly inside the code, instead of in the function global
319 2008-01-01 Joel Brobecker <brobecker@adacore.com>
321 * ada-valprint.c (ada_val_print_1) [TYPE_CODE_REF]: Ignore deref_ref
322 and always print the dereferenced value.
324 2008-01-01 Joel Brobecker <brobecker@adacore.com>
326 * ada-lang.c (ada_evaluate_subexp, case BINOP_SUB): Add handling
327 of the case where the first argument is a reference.
328 (ada_evaluate_subexp, case BINOP_ADD): Likewise.
330 2008-01-01 Joel Brobecker <brobecker@adacore.com>
332 Implement support for Ada interface types.
334 * ada-lang.c (ada_is_dispatch_table_ptr_type): New function.
335 (ada_is_ignored_field): Ignore fields that are a dispatch table
338 2008-01-01 Joel Brobecker <brobecker@adacore.com>
340 * top.c (print_gdb_version): Update copyright year.
342 2008-01-01 Joel Brobecker <brobecker@adacore.com>
344 * ChangeLog-2007: New ChangeLog rotation.
345 * ChangeLog: Reset for 2008.
346 * config/djgpp/fnchange.lst: Add entries for ChangeLog-2006 and
349 For older changes see ChangeLog-2007.
355 version-control: never