* alpha-tdep.c (alpha_heuristic_proc_start)
[deliverable/binutils-gdb.git] / gdb / ChangeLog
1 2008-01-11 Markus Deuling <deuling@de.ibm.com>
2
3 * alpha-tdep.c (alpha_heuristic_proc_start)
4 (alpha_sigtramp_register_address): Add gdbarch as parameter. Replace
5 current_gdbarch by gdbarch.
6
7 (alpha_heuristic_frame_unwind_cache): Use get_frame_arch to get at the
8 current architecture by frame_info. Update alpha_heuristic_proc_start
9 call.
10
11 (alpha_sigtramp_frame_this_id, alpha_sigtramp_frame_prev_register): Use
12 get_frame_arch to get at the current architecture by frame_info. Update
13 alpha_sigtramp_register_address call.
14
15 * arm-tdep.c (thumb_scan_prologue): Add gdbarch as parameter and replace
16 current_gdbarch by gdbarch. Update caller.
17 (convert_to_extended, convert_from_extended): Add endianess parameter
18 for comparison. Update caller.
19 (arm_extract_return_value, arm_store_return_value): Use
20 get_regcache_arch to get at the current architecture.
21
22 * cris-tdep.c (cris_register_size): Add gdbarch as parameter. Replace
23 current_gdbarch by gdbarch. Update caller.
24 (cris_gdb_func, move_to_preg_op, none_reg_mode_move_from_preg_op): Add
25 gdbarch as parameter. Update caller. Replace current_gdbarch by gdbarch.
26
27 * h8300-tdep.c (E_PSEUDO_CCR_REGNUM, E_PSEUDO_EXR_REGNUM, BINWORD): Add
28 gdbarch as parameter. Update caller.
29 (h8300_init_frame_cache): Add gdbarch as parameter. Replace
30 current_gdbarch by gdbarch. Update caller.
31
32 * hppa-tdep.c (skip_prologue_hard_way): Add gdbarch as parameter and
33 update caller. Replace current_gdbarch by gdbarch.
34
35 * m32c-tdep.c (m32c_skip_trampoline_code): Use get_frame_arch to get at
36 the current architecture. Replace current_gdbarch by gdbarch.
37 * m68hc11-tdep.c (m68hc11_frame_unwind_cache): Likewise.
38 (STACK_CORRECTION, USE_PAGE_REGISTER): Replace M6811_TDEP by its
39 expression. Add gdbarch as parameter and replace current_gdbarch with
40 it. Update caller.
41 (M6811_TDEP): Remove.
42 (m68hc11_frame_prev_register): Use get_frame_arch to get at the current
43 architecture.
44 (m68hc11_scan_prologue): Add gdbarch as parameter. Replace
45 current_gdbarch by gdbarch. Update caller.
46
47 * m68k-tdep.c (m68k_analyze_prologue): Add gdbarch as parameter and
48 update caller.
49 (m68k_analyze_register_saves): Likewise. Also replace current_gdbarch
50 by gdbarch.
51
52 * rs6000-tdep.c (skip_prologue): Add gdbarch as parameter and update
53 caller. Relace current_gdbarch by gdbarch.
54 (altivec_register_p, spe_register_p): Likewise.
55 * ppc-tdep.h (altivec_register_p, spe_register_p): Add gdbarch as
56 parameter.
57 * ppc-linux-nat.c (fetch_register, store_register): Update caller of
58 altivec_register_p and spe_register_p.
59
60 * score-tdep.c (score_fetch_inst): Add gdbarch as parameter. Update
61 caller. Replace current_gdbarch by gdbarch.
62 (score_analyze_prologue): use get_frame_arch to get at the current
63 architecture.
64
65 * sparc-tdep.h (sparc_analyze_prologue): Add gdbarch as parameter.
66 * sparc-tdep.c (sparc_analyze_prologue): Likewise. Replace
67 current_gdbarch by gdbarch. Update caller.
68 (sparc_frame_cache): Use get_frame_arch to get at the current
69 architecture.
70 * sparce64-tdep.c (sparc64_skip_prologue): Update call of
71 sparc_analyze_prologue.
72
73 * mn10300-tdep.c (mn10300_dwarf2_reg_to_regnum): Add gdbarch as
74 parameter.
75
76 2008-01-11 Markus Deuling <deuling@de.ibm.com>
77
78 * exec.c: #include "arch-utils.h"
79 (print_section_info): Use gdbarch_from_bfd to get at the
80 current architecture. Replace current_gdbarch. Fix indention. Replace
81 deprecated_print_address_numeric by paddress.
82 * Makefile.in (exec.o) Add dependency to arch-utils.h.
83
84 * valprint.c (val_print_string): Replace
85 deprecated_print_address_numeric.
86 * tracepoint.c (trace_mention, scope_info): Likewise.
87 * symmisc.c (dump_msymbols, dump_psymtab, dump_symtab_1, print_symbol)
88 (print_symbol, print_partial_symbols, maintenance_info_psymtabs)
89 (maintenance_check_symtabs): Likewise.
90 * symfile.c (list_overlays_command): Likewise.
91 * stack.c (frame_info, print_block_frame_labels): Likewise.
92 * printcmd.c (print_address, print_address_demangle)
93 (address_info): Likewise.
94 * corefile.c (memory_error): Likewise.
95 * infcmd.c (jump_command): Likewise.
96 * breakpoint.c (insert_bp_location, describe_other_breakpoints)
97 (mention, delete_breakpoint): Likewise.
98 * c-valprint.c (print_function_pointer_address, c_val_print): Likewise.
99 * dwarf2read.c (dump_die): Likewise.
100 * ada-valprint.c (ada_val_print_1): Likewise.
101 * f-valprint.c (f_val_print): Likewise.
102 * linux-fork.c (info_forks_command): Likewise.
103 * m32r-com.c (m32r_load_section, m32r_load)
104 (m32r_upload_command): Likewise.
105
106 * ui-out.c (ui_out_field_core_addr): Remove unnecessary comment.
107
108 2008-01-11 Markus Deuling <deuling@de.ibm.com>
109
110 * gdbarch.sh (skip_prologue): Add gdbarch
111 as parameter.
112 * gdbarch.{c,h}: Regenerate.
113
114 * alpha-tdep.c (alpha_skip_prologue): Add gdbarch as parameter.
115 * amd64-tdep.c (amd64_skip_prologue): Likewise.
116 * avr-tdep.c (avr_skip_prologue): Likewise.
117 * cris-tdep.c (cris_skip_prologue): Likewise.
118 * frv-tdep.c (frv_skip_prologue): Likewise.
119 * h8300-tdep.c (h8300_skip_prologue): Likewise.
120 * hppa-tdep.c (hppa_skip_prologue): Likewise.
121 * i386-tdep.c (i386_skip_prologue): Likewise.
122 * ia64-tdep.c (ia64_skip_prologue): Likewise.
123 * iq2000-tdep.c (iq2000_skip_prologue): Likewise.
124 * m32r-tdep.c (m32r_skip_prologue): Likewise.
125 * m68hc11-tdep.c (m68hc11_skip_prologue): Likewise.
126 * m68k-tdep.c (m68k_skip_prologue): Likewise.
127 * m88k-tdep.c (m88k_skip_prologue): Likewise.
128 * mep-tdep.c (mep_skip_prologue): Likewise.
129 * mips-tdep.c (mips_skip_prologue): Likewise.
130 * mn10300-tdep.c (mn10300_skip_prologue): Likewise.
131 * mt-tdep.c (mt_skip_prologue): Likewise.
132 * rs6000-tdep.c (rs6000_skip_prologue): Likewise.
133 * score-tdep.c (score_skip_prologue): Likewise.
134 * sh64-tdep.c (sh64_skip_prologue): Likewise.
135 * sh-tdep.c (sh_skip_prologue): Likewise.
136 * sparc64-tdep.c (sparc64_skip_prologue): Likewise.
137 * sparc-tdep.c (sparc32_skip_prologue): Likewise.
138 * spu-tdep.c (spu_skip_prologue): Likewise.
139 * v850-tdep.c (v850_skip_prologue): Likewise.
140 * vax-tdep.c (vax_skip_prologue): Likewise.
141 * xstormy16-tdep.c (xstormy16_skip_prologue): Likewise.
142 * xtensa-tdep.c (xtensa_skip_prologue): Likewise.
143
144 * arm-tdep.c (arm_skip_prologue): Add gdbarch as parameter. Replace
145 current_gdbarch by gdbarch.
146 * m32c-tdep.c (m32c_skip_prologue): Likewise.
147 * s390-tdep.c (s390_skip_prologue): Likewise.
148
149 2008-01-10 Doug Evans <dje@google.com>
150
151 * defs.h (struct continuation_arg): Fix typo in comment.
152 * target.c (target_translate_tls_address): Fix comment spelling error.
153
154 2008-01-09 Thiago Jung Bauermann <bauerman@br.ibm.com>
155
156 * doublest.h (DOUBLEST_PRINT_FORMAT): Remove % from string.
157 (DOUBLEST_SCAN_FORMAT): Likewise.
158 * dfp.c (decimal_from_floating): Use DOUBLEST_PRINT_FORMAT.
159 * ada-lex.l (processReal): Prepend "%" to use of DOUBLEST_SCAN_FORMAT.
160 * c-exp.y (parse_number): Likewise.
161 * jv-exp.y (parse_number): Likewise.
162 * objc-exp.y (parse_number): Likewise.
163 * p-exp.y (parse_number): Likewise.
164
165 2008-01-09 Joel Brobecker <brobecker@adacore.com>
166
167 * gdbtypes.c (create_array_type): Add handling of null Ada arrays.
168 (check_typedef): Likewise.
169
170 2008-01-09 Luis Machado <luisgpm@br.ibm.com>
171
172 * printcmd.c (printf_command): Add seen_big_h, seen_big_d and
173 seen_double_big_d, treat the new H, D, and DD modifiers as length
174 modifiers.
175
176 2008-01-08 Joel Brobecker <brobecker@adacore.com>
177
178 * dwarf2read.c (read_enumeration_type): Add comment.
179
180 2008-01-08 Thiago Jung Bauermann <bauerman@br.ibm.com>
181
182 * config.in: Regenerate.
183
184 2008-01-08 Joel Brobecker <brobecker@adacore.com>
185
186 * ada-lang.c (ada_convert_actual): Renames convert_actual.
187 Make non-static.
188 (ada_convert_actuals): Delete.
189 * ada-lang.h (ada_convert_actual): Add declaration.
190 (ada_convert_actuals): Remove declaration.
191 * infcall.c: #include "ada-lang.h".
192 (value_arg_coerce): Add new parameter sp. Update function
193 documetnation. Add handling of Ada function call parameters.
194 * Makefile.in (infcall.o): Update dependencies.
195
196 2008-01-08 Paul Hilfinger <hilfinger@adacore.com>
197
198 * ada-lang.c (ensure_lval): Fix value lval kind.
199 (convert_actual): Add handling for arguments passed by reference.
200
201 2008-01-08 Doug Evans <dje@google.com>
202
203 * dbxread.c (read_dbx_symtab): Fix indentation.
204
205 2008-01-07 Thiago Jung Bauermann <bauerman@br.ibm.com>
206
207 * Makefile.in (dfp.o): Depend on expression.h, gdbtypes.h and value.h.
208 (valarith.o): Depend on dfp.h.
209 (valops.o): Likewise.
210 * dfp.c: Include expression.h, gdbtypes.h, value.h and dfp.h.
211 (set_decnumber_context): New function.
212 (decimal_check_errors): Likewise.
213 (decimal_from_number): Likewise.
214 (decimal_to_number): Likewise.
215 (decimal_from_string): Use set_decnumber_context and
216 decimal_check_errors.
217 (decimal_from_integral): New function.
218 (decimal_from_floating): Likewise.
219 (decimal_to_double): Likewise.
220 (promote_decimal): Likewise.
221 (decimal_binop): Likewise.
222 (decimal_is_zero): Likewise.
223 (decimal_compare): Likewise.
224 (decimal_convert): Likewise.
225 * dfp.h (decimal_from_integral): New prototype.
226 (decimal_from_floating): Likewise.
227 (decimal_to_double): Likewise.
228 (decimal_binop): Likewise.
229 (decimal_is_zero): Likewise.
230 (decimal_compare): Likewise.
231 (decimal_convert): Likewise.
232 * eval.c (evaluate_subexp_standard): Remove expect_type argument from
233 call to value_from_decfloat.
234 * valarith.c: Include dfp.h.
235 (value_args_as_decimal): New function.
236 (value_binop): Add if block to handle TYPE_CODE_DECFLOAT values.
237 (value_logical_not): Likewise.
238 (value_equal): Likewise.
239 (value_less): Likewise.
240 (value_pos): Likewise.
241 (value_neg): Formatting fix.
242 * valops.c: Include dfp.h.
243 (value_cast): Add if block to handle TYPE_CODE_DECFLOAT values.
244 * value.c (unpack_long): Add case to handle TYPE_CODE_DECFLOAT.
245 (unpack_double): Add if block to handle TYPE_CODE_DECFLOAT.
246 (value_from_decfloat): Remove expect_type argument.
247 * value.h (value_from_decfloat): Update prototype.
248
249 2008-01-07 Vladimir Prus <vladimir@codesourcery.com>
250
251 Ignore change in name of dynamic linker during
252 execution on Solaris. This also unbreaks pending breakpoints.
253
254 * solist.h (struct target_so_ops): New field same.
255 * solib-svr4.c (svr4_same): New.
256 (_initialize_svr4_solib): Register svr4_same.
257 * solib.c (update_solib_list): Use ops->same, if available.
258
259 2008-01-06 Christopher Faylor <me+cygwin@cgf.cx>
260
261 * win32-nat.c (win32_make_so): Use cygwin-style path to avoid warnings
262 when using MS-DOS paths.
263
264 2008-01-05 Pedro Alves <pedro@codesourcery.com>
265
266 * NEWS: Mention --pid and --core command line behaviour changes.
267
268 2008-01-05 Pedro Alves <pedro@codesourcery.com>
269
270 * main.c (captured_main): Remove 'count' varible and the
271 ALIGN_STACK_ON_ENTRY block that used it. Error out if --core and
272 --pid options were issued simultaneously. If an explicit pid
273 option was passed, don't fallback to core file. Detect extra
274 arguments better in the presence of explicit pid or core
275 arguments.
276
277 2008-01-05 Joel Brobecker <brobecker@adacore.com>
278
279 * ada-lang.c (ada_which_variant_applies): Correctly compute
280 the value of the discriminant when the variant record is packed.
281
282 2008-01-04 Joel Brobecker <brobecker@adacore.com>
283
284 * ada-lang.c (is_name_suffix): Handle middle-name numeric suffixes
285 that are used to differentiate homonyms.
286
287 2008-01-04 Jerome Guitton <guitton@adacore.com>
288
289 * ada-lang.c (decode_packed_array_type): Avoid a seg fault
290 when the type is an anonymous pointer type.
291 (ada_check_typedef): Avoid a seg fault when the type is null.
292 * ada-typeprint.c (print_array_type): Add support for pointer
293 to packed arrays.
294
295 2008-01-04 Paul N. Hilfinger <hilfinger@adacore.com>
296
297 * ada-exp.y: Allow '{type} ADDRESS' notation on left of assignment.
298
299 2008-01-04 Joel Brobecker <brobecker@adacore.com>
300
301 * ada-lang.c (ada_evaluate_subexp): Evaluate tagged types in
302 EVAL_NORMAL mode when noside is EVAL_AVOID_SIDE_EFFECTS.
303
304 2008-01-04 Joel Brobecker <brobecker@adacore.com>
305
306 * ada-exp.y (chop_separator): New function.
307 (write_selectors): Rewrite to re-use chop_separator.
308 (ada_nget_field_index, get_symbol_field_type): New functions.
309 (write_var_or_type): Add support for "ptype TYPENAME.FIELD"
310 expressions.
311
312 2008-01-03 Thiago Jung Bauermann <bauerman@br.ibm.com>
313
314 * symtab.c (find_pc_sect_line): Use SYMBOL_VALUE_ADDRESS instead
315 of SYMBOL_VALUE when working with function symbols.
316
317 2008-01-03 Joel Brobecker <brobecker@adacore.com>
318
319 * ada-lang.c (resolve_subexp): Add handling of OP_REGISTER
320 expressions. These expressions do not need to be rewriten.
321
322 2008-01-03 Joel Brobecker <brobecker@adacore.com>
323
324 * dwarf2read.c (read_enumeration_type): Flag type as stub if
325 the given die is a declaration.
326
327 2008-01-03 Joel Brobecker <brobecker@adacore.com>
328
329 * ada-lang.c (ada_array_bound_from_type): Make non-static.
330 Handle properly the case when the index type is an enumerated type.
331 Do not return the subtype of the bounds type, just return the
332 bounds type directly - this is not needed and is more consistent
333 with what we do for arrays when no XA parallel type exists.
334
335 2008-01-03 Joel Brobecker <brobecker@adacore.com>
336
337 * ada-lang.c (static_unwrap_type): Add forward declaration.
338 (template_to_static_fixed_type): Fields of dynamic types sometimes
339 also need to be unwrapped. Take this into account.
340 (ada_to_fixed_type_1): Renamed from ada_to_fixed_type.
341 (ada_to_fixed_type): New wrapper around ada_to_fixed_type_1.
342 * ada-typeprint.c (ada_print_type): Get the typename from
343 the original type, not the base type.
344
345 2008-01-03 Jerome Guitton <guitton@adacore.com>
346
347 * ada-lang.c (ada_value_struct_elt, to_fixed_array_type)
348 (to_fixed_array_type, ada_to_fixed_value_create, unwrap_value):
349 Update calls to ada_to_fixed_type.
350 (ada_template_to_fixed_record_type_1): Ditto, but without looking
351 for the tag.
352 (ada_to_fixed_type): Add check_tag parameter; do not look for
353 tag if null. When looking for a tag, use a fixed record type.
354 * ada-lang.h (ada_to_fixed_type): Add check_tag parameter.
355 * ada-valprint.c (printable_val_type, ada_value_print): Update
356 calls to ada_to_fixed_type.
357
358 2008-01-03 Luis Machado <luisgpm@br.ibm.com>
359
360 * doublest.c (convert_floatformat_to_doublest): Call
361 floatformat_to_doublest instead of floatformat_to_double and use
362 DOUBLEST variables.
363 (convert_doublest_to_floatformat): Call floatformat_from_doublest
364 instead of floatformat_from_double and use DOUBLEST variables.
365
366 2008-01-03 Nick Hudson <nick.hudson@dsl.pipex.com>
367
368 * MAINTAINERS (Write After Approval): Add self.
369
370 2008-01-03 Joel Brobecker <brobecker@adacore.com>
371
372 * symfile.c (set_initial_language): Make non-static.
373 * symfile.h (set_initial_language): Add declaration.
374 * language.c: #include "symfile.h".
375 (set_language): Call set_initial_language if the frame language
376 could not be determined.
377
378 2008-01-03 Paul N. Hilfinger <hilfinger@adacore.com>
379
380 * eval.c (evaluate_subexp_for_address): Provide frame address to
381 locate_var_value only if it will be needed.
382
383 2008-01-02 Jan Kratochvil <jan.kratochvil@redhat.com>
384
385 * linux-nat.c (linux_child_follow_fork): Call also CHECK_FOR_THREAD_DB.
386
387 2008-01-02 Joel Brobecker <brobecker@adacore.com>
388
389 * ada-lang.c (ada_evaluate_subexp): Modify the value returned
390 when noside is EVAL_AVOID_SIDE_EFFECTS to be an lval_memory.
391 This is needed to make sure that any other treatment applied
392 to the resulting value does not fail for spurious reason,
393 such as trying to take the address of this value.
394
395 2008-01-02 Joel Brobecker <brobecker@adacore.com>
396
397 * ada-lang.c (ada_value_equal): Dereference reference types when
398 comparing arrays.
399
400 2008-01-01 Daniel Jacobowitz <dan@codesourcery.com>
401
402 Updated copyright notices for most files.
403
404 2008-01-01 Christopher Faylor <me+gdb@cgf.cx>
405
406 * win32-nat.c (psapi_module_handle): Remove static.
407 (get_module_name): Rename from psapi_get_dll_name. Revamp slightly to
408 return first module found if base_address is zero. Don't initialize
409 psapi function pointers here. Convert to cygwin paths when
410 appropriate.
411 (win32_pid_to_exec_file): Use Cygwin's /proc interface to determine
412 executable name. Use get_module_name when that fails or when
413 !__CYGWIN__.
414 (_initialize_psapi): New function. Initialize psapi stuff before it is
415 needed or issue a warning if it is not found. Move psapi_module_handle
416 here.
417
418 2008-01-01 Joel Brobecker <brobecker@adacore.com>
419
420 * ada-lang.c (ada_remove_trailing_digits): New function.
421 (ada_remove_po_subprogram_suffix): New function.
422 (ada_decode): Improve. Move the description of the algorithm
423 directly inside the code, instead of in the function global
424 description.
425
426 2008-01-01 Joel Brobecker <brobecker@adacore.com>
427
428 * ada-valprint.c (ada_val_print_1) [TYPE_CODE_REF]: Ignore deref_ref
429 and always print the dereferenced value.
430
431 2008-01-01 Joel Brobecker <brobecker@adacore.com>
432
433 * ada-lang.c (ada_evaluate_subexp, case BINOP_SUB): Add handling
434 of the case where the first argument is a reference.
435 (ada_evaluate_subexp, case BINOP_ADD): Likewise.
436
437 2008-01-01 Joel Brobecker <brobecker@adacore.com>
438
439 Implement support for Ada interface types.
440
441 * ada-lang.c (ada_is_dispatch_table_ptr_type): New function.
442 (ada_is_ignored_field): Ignore fields that are a dispatch table
443 of a tagged type.
444
445 2008-01-01 Joel Brobecker <brobecker@adacore.com>
446
447 * top.c (print_gdb_version): Update copyright year.
448
449 2008-01-01 Joel Brobecker <brobecker@adacore.com>
450
451 * ChangeLog-2007: New ChangeLog rotation.
452 * ChangeLog: Reset for 2008.
453 * config/djgpp/fnchange.lst: Add entries for ChangeLog-2006 and
454 ChangeLog-2007.
455
456 For older changes see ChangeLog-2007.
457 \f
458 Local Variables:
459 mode: change-log
460 left-margin: 8
461 fill-column: 74
462 version-control: never
463 coding: utf-8
464 End:
This page took 0.04782 seconds and 5 git commands to generate.