1 2008-01-11 Markus Deuling <deuling@de.ibm.com>
3 * exec.c: #include "arch-utils.h"
4 (print_section_info): Use gdbarch_from_bfd to get at the
5 current architecture. Replace current_gdbarch. Fix indention. Replace
6 deprecated_print_address_numeric by paddress.
7 * Makefile.in (exec.o) Add dependency to arch-utils.h.
9 * valprint.c (val_print_string): Replace
10 deprecated_print_address_numeric.
11 * tracepoint.c (trace_mention, scope_info): Likewise.
12 * symmisc.c (dump_msymbols, dump_psymtab, dump_symtab_1, print_symbol)
13 (print_symbol, print_partial_symbols, maintenance_info_psymtabs)
14 (maintenance_check_symtabs): Likewise.
15 * symfile.c (list_overlays_command): Likewise.
16 * stack.c (frame_info, print_block_frame_labels): Likewise.
17 * printcmd.c (print_address, print_address_demangle)
18 (address_info): Likewise.
19 * corefile.c (memory_error): Likewise.
20 * infcmd.c (jump_command): Likewise.
21 * breakpoint.c (insert_bp_location, describe_other_breakpoints)
22 (mention, delete_breakpoint): Likewise.
23 * c-valprint.c (print_function_pointer_address, c_val_print): Likewise.
24 * dwarf2read.c (dump_die): Likewise.
25 * ada-valprint.c (ada_val_print_1): Likewise.
26 * f-valprint.c (f_val_print): Likewise.
27 * linux-fork.c (info_forks_command): Likewise.
28 * m32r-com.c (m32r_load_section, m32r_load)
29 (m32r_upload_command): Likewise.
31 * ui-out.c (ui_out_field_core_addr): Remove unnecessary comment.
33 2008-01-11 Markus Deuling <deuling@de.ibm.com>
35 * gdbarch.sh (skip_prologue): Add gdbarch
37 * gdbarch.{c,h}: Regenerate.
39 * alpha-tdep.c (alpha_skip_prologue): Add gdbarch as parameter.
40 * amd64-tdep.c (amd64_skip_prologue): Likewise.
41 * avr-tdep.c (avr_skip_prologue): Likewise.
42 * cris-tdep.c (cris_skip_prologue): Likewise.
43 * frv-tdep.c (frv_skip_prologue): Likewise.
44 * h8300-tdep.c (h8300_skip_prologue): Likewise.
45 * hppa-tdep.c (hppa_skip_prologue): Likewise.
46 * i386-tdep.c (i386_skip_prologue): Likewise.
47 * ia64-tdep.c (ia64_skip_prologue): Likewise.
48 * iq2000-tdep.c (iq2000_skip_prologue): Likewise.
49 * m32r-tdep.c (m32r_skip_prologue): Likewise.
50 * m68hc11-tdep.c (m68hc11_skip_prologue): Likewise.
51 * m68k-tdep.c (m68k_skip_prologue): Likewise.
52 * m88k-tdep.c (m88k_skip_prologue): Likewise.
53 * mep-tdep.c (mep_skip_prologue): Likewise.
54 * mips-tdep.c (mips_skip_prologue): Likewise.
55 * mn10300-tdep.c (mn10300_skip_prologue): Likewise.
56 * mt-tdep.c (mt_skip_prologue): Likewise.
57 * rs6000-tdep.c (rs6000_skip_prologue): Likewise.
58 * score-tdep.c (score_skip_prologue): Likewise.
59 * sh64-tdep.c (sh64_skip_prologue): Likewise.
60 * sh-tdep.c (sh_skip_prologue): Likewise.
61 * sparc64-tdep.c (sparc64_skip_prologue): Likewise.
62 * sparc-tdep.c (sparc32_skip_prologue): Likewise.
63 * spu-tdep.c (spu_skip_prologue): Likewise.
64 * v850-tdep.c (v850_skip_prologue): Likewise.
65 * vax-tdep.c (vax_skip_prologue): Likewise.
66 * xstormy16-tdep.c (xstormy16_skip_prologue): Likewise.
67 * xtensa-tdep.c (xtensa_skip_prologue): Likewise.
69 * arm-tdep.c (arm_skip_prologue): Add gdbarch as parameter. Replace
70 current_gdbarch by gdbarch.
71 * m32c-tdep.c (m32c_skip_prologue): Likewise.
72 * s390-tdep.c (s390_skip_prologue): Likewise.
74 2008-01-10 Doug Evans <dje@google.com>
76 * defs.h (struct continuation_arg): Fix typo in comment.
77 * target.c (target_translate_tls_address): Fix comment spelling error.
79 2008-01-09 Thiago Jung Bauermann <bauerman@br.ibm.com>
81 * doublest.h (DOUBLEST_PRINT_FORMAT): Remove % from string.
82 (DOUBLEST_SCAN_FORMAT): Likewise.
83 * dfp.c (decimal_from_floating): Use DOUBLEST_PRINT_FORMAT.
84 * ada-lex.l (processReal): Prepend "%" to use of DOUBLEST_SCAN_FORMAT.
85 * c-exp.y (parse_number): Likewise.
86 * jv-exp.y (parse_number): Likewise.
87 * objc-exp.y (parse_number): Likewise.
88 * p-exp.y (parse_number): Likewise.
90 2008-01-09 Joel Brobecker <brobecker@adacore.com>
92 * gdbtypes.c (create_array_type): Add handling of null Ada arrays.
93 (check_typedef): Likewise.
95 2008-01-09 Luis Machado <luisgpm@br.ibm.com>
97 * printcmd.c (printf_command): Add seen_big_h, seen_big_d and
98 seen_double_big_d, treat the new H, D, and DD modifiers as length
101 2008-01-08 Joel Brobecker <brobecker@adacore.com>
103 * dwarf2read.c (read_enumeration_type): Add comment.
105 2008-01-08 Thiago Jung Bauermann <bauerman@br.ibm.com>
107 * config.in: Regenerate.
109 2008-01-08 Joel Brobecker <brobecker@adacore.com>
111 * ada-lang.c (ada_convert_actual): Renames convert_actual.
113 (ada_convert_actuals): Delete.
114 * ada-lang.h (ada_convert_actual): Add declaration.
115 (ada_convert_actuals): Remove declaration.
116 * infcall.c: #include "ada-lang.h".
117 (value_arg_coerce): Add new parameter sp. Update function
118 documetnation. Add handling of Ada function call parameters.
119 * Makefile.in (infcall.o): Update dependencies.
121 2008-01-08 Paul Hilfinger <hilfinger@adacore.com>
123 * ada-lang.c (ensure_lval): Fix value lval kind.
124 (convert_actual): Add handling for arguments passed by reference.
126 2008-01-08 Doug Evans <dje@google.com>
128 * dbxread.c (read_dbx_symtab): Fix indentation.
130 2008-01-07 Thiago Jung Bauermann <bauerman@br.ibm.com>
132 * Makefile.in (dfp.o): Depend on expression.h, gdbtypes.h and value.h.
133 (valarith.o): Depend on dfp.h.
134 (valops.o): Likewise.
135 * dfp.c: Include expression.h, gdbtypes.h, value.h and dfp.h.
136 (set_decnumber_context): New function.
137 (decimal_check_errors): Likewise.
138 (decimal_from_number): Likewise.
139 (decimal_to_number): Likewise.
140 (decimal_from_string): Use set_decnumber_context and
141 decimal_check_errors.
142 (decimal_from_integral): New function.
143 (decimal_from_floating): Likewise.
144 (decimal_to_double): Likewise.
145 (promote_decimal): Likewise.
146 (decimal_binop): Likewise.
147 (decimal_is_zero): Likewise.
148 (decimal_compare): Likewise.
149 (decimal_convert): Likewise.
150 * dfp.h (decimal_from_integral): New prototype.
151 (decimal_from_floating): Likewise.
152 (decimal_to_double): Likewise.
153 (decimal_binop): Likewise.
154 (decimal_is_zero): Likewise.
155 (decimal_compare): Likewise.
156 (decimal_convert): Likewise.
157 * eval.c (evaluate_subexp_standard): Remove expect_type argument from
158 call to value_from_decfloat.
159 * valarith.c: Include dfp.h.
160 (value_args_as_decimal): New function.
161 (value_binop): Add if block to handle TYPE_CODE_DECFLOAT values.
162 (value_logical_not): Likewise.
163 (value_equal): Likewise.
164 (value_less): Likewise.
165 (value_pos): Likewise.
166 (value_neg): Formatting fix.
167 * valops.c: Include dfp.h.
168 (value_cast): Add if block to handle TYPE_CODE_DECFLOAT values.
169 * value.c (unpack_long): Add case to handle TYPE_CODE_DECFLOAT.
170 (unpack_double): Add if block to handle TYPE_CODE_DECFLOAT.
171 (value_from_decfloat): Remove expect_type argument.
172 * value.h (value_from_decfloat): Update prototype.
174 2008-01-07 Vladimir Prus <vladimir@codesourcery.com>
176 Ignore change in name of dynamic linker during
177 execution on Solaris. This also unbreaks pending breakpoints.
179 * solist.h (struct target_so_ops): New field same.
180 * solib-svr4.c (svr4_same): New.
181 (_initialize_svr4_solib): Register svr4_same.
182 * solib.c (update_solib_list): Use ops->same, if available.
184 2008-01-06 Christopher Faylor <me+cygwin@cgf.cx>
186 * win32-nat.c (win32_make_so): Use cygwin-style path to avoid warnings
187 when using MS-DOS paths.
189 2008-01-05 Pedro Alves <pedro@codesourcery.com>
191 * NEWS: Mention --pid and --core command line behaviour changes.
193 2008-01-05 Pedro Alves <pedro@codesourcery.com>
195 * main.c (captured_main): Remove 'count' varible and the
196 ALIGN_STACK_ON_ENTRY block that used it. Error out if --core and
197 --pid options were issued simultaneously. If an explicit pid
198 option was passed, don't fallback to core file. Detect extra
199 arguments better in the presence of explicit pid or core
202 2008-01-05 Joel Brobecker <brobecker@adacore.com>
204 * ada-lang.c (ada_which_variant_applies): Correctly compute
205 the value of the discriminant when the variant record is packed.
207 2008-01-04 Joel Brobecker <brobecker@adacore.com>
209 * ada-lang.c (is_name_suffix): Handle middle-name numeric suffixes
210 that are used to differentiate homonyms.
212 2008-01-04 Jerome Guitton <guitton@adacore.com>
214 * ada-lang.c (decode_packed_array_type): Avoid a seg fault
215 when the type is an anonymous pointer type.
216 (ada_check_typedef): Avoid a seg fault when the type is null.
217 * ada-typeprint.c (print_array_type): Add support for pointer
220 2008-01-04 Paul N. Hilfinger <hilfinger@adacore.com>
222 * ada-exp.y: Allow '{type} ADDRESS' notation on left of assignment.
224 2008-01-04 Joel Brobecker <brobecker@adacore.com>
226 * ada-lang.c (ada_evaluate_subexp): Evaluate tagged types in
227 EVAL_NORMAL mode when noside is EVAL_AVOID_SIDE_EFFECTS.
229 2008-01-04 Joel Brobecker <brobecker@adacore.com>
231 * ada-exp.y (chop_separator): New function.
232 (write_selectors): Rewrite to re-use chop_separator.
233 (ada_nget_field_index, get_symbol_field_type): New functions.
234 (write_var_or_type): Add support for "ptype TYPENAME.FIELD"
237 2008-01-03 Thiago Jung Bauermann <bauerman@br.ibm.com>
239 * symtab.c (find_pc_sect_line): Use SYMBOL_VALUE_ADDRESS instead
240 of SYMBOL_VALUE when working with function symbols.
242 2008-01-03 Joel Brobecker <brobecker@adacore.com>
244 * ada-lang.c (resolve_subexp): Add handling of OP_REGISTER
245 expressions. These expressions do not need to be rewriten.
247 2008-01-03 Joel Brobecker <brobecker@adacore.com>
249 * dwarf2read.c (read_enumeration_type): Flag type as stub if
250 the given die is a declaration.
252 2008-01-03 Joel Brobecker <brobecker@adacore.com>
254 * ada-lang.c (ada_array_bound_from_type): Make non-static.
255 Handle properly the case when the index type is an enumerated type.
256 Do not return the subtype of the bounds type, just return the
257 bounds type directly - this is not needed and is more consistent
258 with what we do for arrays when no XA parallel type exists.
260 2008-01-03 Joel Brobecker <brobecker@adacore.com>
262 * ada-lang.c (static_unwrap_type): Add forward declaration.
263 (template_to_static_fixed_type): Fields of dynamic types sometimes
264 also need to be unwrapped. Take this into account.
265 (ada_to_fixed_type_1): Renamed from ada_to_fixed_type.
266 (ada_to_fixed_type): New wrapper around ada_to_fixed_type_1.
267 * ada-typeprint.c (ada_print_type): Get the typename from
268 the original type, not the base type.
270 2008-01-03 Jerome Guitton <guitton@adacore.com>
272 * ada-lang.c (ada_value_struct_elt, to_fixed_array_type)
273 (to_fixed_array_type, ada_to_fixed_value_create, unwrap_value):
274 Update calls to ada_to_fixed_type.
275 (ada_template_to_fixed_record_type_1): Ditto, but without looking
277 (ada_to_fixed_type): Add check_tag parameter; do not look for
278 tag if null. When looking for a tag, use a fixed record type.
279 * ada-lang.h (ada_to_fixed_type): Add check_tag parameter.
280 * ada-valprint.c (printable_val_type, ada_value_print): Update
281 calls to ada_to_fixed_type.
283 2008-01-03 Luis Machado <luisgpm@br.ibm.com>
285 * doublest.c (convert_floatformat_to_doublest): Call
286 floatformat_to_doublest instead of floatformat_to_double and use
288 (convert_doublest_to_floatformat): Call floatformat_from_doublest
289 instead of floatformat_from_double and use DOUBLEST variables.
291 2008-01-03 Nick Hudson <nick.hudson@dsl.pipex.com>
293 * MAINTAINERS (Write After Approval): Add self.
295 2008-01-03 Joel Brobecker <brobecker@adacore.com>
297 * symfile.c (set_initial_language): Make non-static.
298 * symfile.h (set_initial_language): Add declaration.
299 * language.c: #include "symfile.h".
300 (set_language): Call set_initial_language if the frame language
301 could not be determined.
303 2008-01-03 Paul N. Hilfinger <hilfinger@adacore.com>
305 * eval.c (evaluate_subexp_for_address): Provide frame address to
306 locate_var_value only if it will be needed.
308 2008-01-02 Jan Kratochvil <jan.kratochvil@redhat.com>
310 * linux-nat.c (linux_child_follow_fork): Call also CHECK_FOR_THREAD_DB.
312 2008-01-02 Joel Brobecker <brobecker@adacore.com>
314 * ada-lang.c (ada_evaluate_subexp): Modify the value returned
315 when noside is EVAL_AVOID_SIDE_EFFECTS to be an lval_memory.
316 This is needed to make sure that any other treatment applied
317 to the resulting value does not fail for spurious reason,
318 such as trying to take the address of this value.
320 2008-01-02 Joel Brobecker <brobecker@adacore.com>
322 * ada-lang.c (ada_value_equal): Dereference reference types when
325 2008-01-01 Daniel Jacobowitz <dan@codesourcery.com>
327 Updated copyright notices for most files.
329 2008-01-01 Christopher Faylor <me+gdb@cgf.cx>
331 * win32-nat.c (psapi_module_handle): Remove static.
332 (get_module_name): Rename from psapi_get_dll_name. Revamp slightly to
333 return first module found if base_address is zero. Don't initialize
334 psapi function pointers here. Convert to cygwin paths when
336 (win32_pid_to_exec_file): Use Cygwin's /proc interface to determine
337 executable name. Use get_module_name when that fails or when
339 (_initialize_psapi): New function. Initialize psapi stuff before it is
340 needed or issue a warning if it is not found. Move psapi_module_handle
343 2008-01-01 Joel Brobecker <brobecker@adacore.com>
345 * ada-lang.c (ada_remove_trailing_digits): New function.
346 (ada_remove_po_subprogram_suffix): New function.
347 (ada_decode): Improve. Move the description of the algorithm
348 directly inside the code, instead of in the function global
351 2008-01-01 Joel Brobecker <brobecker@adacore.com>
353 * ada-valprint.c (ada_val_print_1) [TYPE_CODE_REF]: Ignore deref_ref
354 and always print the dereferenced value.
356 2008-01-01 Joel Brobecker <brobecker@adacore.com>
358 * ada-lang.c (ada_evaluate_subexp, case BINOP_SUB): Add handling
359 of the case where the first argument is a reference.
360 (ada_evaluate_subexp, case BINOP_ADD): Likewise.
362 2008-01-01 Joel Brobecker <brobecker@adacore.com>
364 Implement support for Ada interface types.
366 * ada-lang.c (ada_is_dispatch_table_ptr_type): New function.
367 (ada_is_ignored_field): Ignore fields that are a dispatch table
370 2008-01-01 Joel Brobecker <brobecker@adacore.com>
372 * top.c (print_gdb_version): Update copyright year.
374 2008-01-01 Joel Brobecker <brobecker@adacore.com>
376 * ChangeLog-2007: New ChangeLog rotation.
377 * ChangeLog: Reset for 2008.
378 * config/djgpp/fnchange.lst: Add entries for ChangeLog-2006 and
381 For older changes see ChangeLog-2007.
387 version-control: never