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