* infrun.c (handle_inferior_event): If
[deliverable/binutils-gdb.git] / gdb / ChangeLog
CommitLineData
9d9cd7ac
VP
12008-01-21 Vladimir Prus <vladimir@codesourcery.com>
2
3 * infrun.c (handle_inferior_event): If
4 we failed to remove breakpoints, error,
5 don't try to increment PC by hand.
6
af5ca30d
NH
72008-01-18 Nick Hudson <nick.hudson@dsl.pipex.com>
8
9 Add NetBSD/hppa target and host support.
10
11 * hppabsd-tdep.c (hppabsd_supply_gregset): Move to ...
12 (hppabsd_gregset): Move to ...
13 (hppabsd_regset_from_core_section): Rename
14 hppaobsd_regset_from_core_section and move to ...
15 (hppabsd_find_global_pointer): Update comment.
16 (hppabsd_init_abi): Make global. Do not register
17 hppabsd_regset_from_core_section.
18 (hppabsd_core_osabi_sniffer): Rename hppaobsd_core_osabi_sniffer and
19 move to ...
20 (_initialize_hppabsd_tdep): Move to ...
21 * hppaobsd-tdep.c: ... here. New file.
22 * hppnbsd-tdep.c: New file.
23 * hppnbsd-nat.c: New file.
24 * Makefile.in (ALL_TARGET_OBS): Add hppanbsd-tdep.o and hppaobsd-tdep.o.
25 (ALLDEPFILES): Add hppabsd-nat.c and hppabsd-tdep.c.
26 (hppabsd-nat.o, hppabsd-tdep.o): New dependencies.
27 (hppabsd-tdep.o, hppaobsd-tdep.o): Update dependencies.
28 * configure.host (hppa*-*-netbsd*): New entry.
29 * configure.tgt (hppa*-*-netbsd*): New entry.
30 (hppa*-*-openbsd*): Update.
31 * NEWS (New native configuration): Mention NetBSD/hppa.
32 (New targets): Mention NetBSD/hppa.
33
32c9a795
MD
342008-01-18 Markus Deuling <deuling@de.ibm.com>
35
36 * gdbarch.sh (function_list): Add new property bits_big_endian to
37 gdbarch structure.
38 * gdbarch.{c,h}: Regenerate.
39
40 * value.c (struct value): Replace BITS_BIG_ENDIAN by
41 gdbarch_bits_big_endian (comment).
42 (unpack_field_as_long, modify_field): Likewise.
43 * value.h: Likewise (comment).
44 * valops.c (value_slice): Likewise.
45 * valarith.c (value_subscript, value_bit_index): Likewise.
46 * gdbtypes.h (field): Likewise (comment).
47 * eval.c (evaluate_subexp_standard): Likewise.
48 * dwarf2read.c (dwarf2_add_field): Likewise.
49 * ada-lang.c (decode_packed_array, ada_value_primitive_packed_val)
50 (move_bits, ada_value_assign, value_assign_to_component): Likewise.
51
52 * defs.h (BITS_BIG_ENDIAN): Remove.
53
1e5e79d0
MD
542008-01-18 Markus Deuling <deuling@de.ibm.com>
55
56 * jv-exp.y (yylex): Replace DEPRECATED_STREQN with the appropriate
57 function calls.
58 * m2-exp.y (yylex): Likewise.
59 * objc-exp.y (yylex): Likewise.
60
61 * defs.h (DEPRECATED_STREQN): Remove.
62
fabda5a7
L
632008-01-17 H.J. Lu <hjl.tools@gmail.com>
64
65 * MAINTAINERS: Update my email address.
66
92726479
JB
672008-01-17 Jim Blandy <jimb@codesourcery.com>
68
69 * README: Mention gdbserver/README.
70
ef80d18e
PM
712008-01-17 Pierre Muller <muller@ics.u-strasbg.fr>
72
73 * valarith.c (value_binop): Handle BINOP_INTDIV
74 for unsigned and signed integers.
75
1de90795
UW
762008-01-17 Ulrich Weigand <uweigand@de.ibm.com>
77
78 * s390-tdep.c (s390_gdbarch_init): Set default long double
79 type to 128-bit IEEE quad.
80
c70bd6f3
JB
812008-01-17 Joel Brobecker <brobecker@adacore.com>
82
83 * hpux-thread.c (hpux_thread_resume): Delete commented-out code.
84
ba759613
MK
852008-01-16 Mark Kettenis <kettenis@gnu.org>
86
77d49ac6
MK
87 * auxv.c (fprint_target_auxv): Add support for AT_SUN_AUXFLAGS.
88
ba759613
MK
89 * dfp.c, dfp.h: Rename decimal_to_double to decimal_to_doublest.
90 * value.c: All callers changed.
91
7ecb6532
MD
922008-01-16 Markus Deuling <deuling@de.ibm.com>
93
94 * rs6000-nat.c (add_vmap, vmap_ldinfo, vmap_exec): Replace
95 DEPRECATED_STREQ by its expression.
96 * coffread.c (coff_locate_sections, coff_symtab_read): Likewise.
97 * xcoffread.c (read_xcoff_symtab, read_symbol_lineno, find_linenos)
98 (scan_xcoff_symtab): Likewise.
99 * hppa-hpux-tdep.c (hppa_hpux_skip_trampoline_code): Likewise.
100 * f-lang.c (find_common_for_function): Likewise.
101 * objc-exp.y (parse_number): Likewise.
102
103 * defs.h (DEPRECATED_STREQ): Remove.
104
d15cf01c
MD
1052008-01-16 Markus Deuling <deuling@de.ibm.com>
106
107 * mn10300-tdep.h (AM33_MODE): Add gdbarch as parameter.
108 * mn10300-tdep.c (set_reg_offsets, mn10300_analyze_prologue): Use
109 get_frame_arch to get at the current_architecture. Update AM33_MODE
110 call.
111 (mn10300_analyze_prologue): Add gdbarch as parameter. Update caller.
112 (mn10300_frame_unwind_cache): Use get_frame_arch to get at the current
113 architecture.
114 (set_reg_offsets, mn10300_analyze_prologue): Fix indentation.
115
f8028488
MD
1162008-01-16 Markus Deuling <deuling@de.ibm.com>
117
118 * amd64-nat.h (amd64_native_gregset_supplies_p): Add gdbarch as
119 parameter.
120 * amd64-nat.c (amd64_native_gregset_supplies_p): Likewise.
121
122 (amd64_native_gregset_reg_offset): Add gdbarch as parameter. Replace
123 current_gdbarch by gdbarch. Update caller.
124
125 * amd64-linux-nat.c (amd64_linux_fetch_inferior_registers)
126 (amd64_linux_store_inferior_registers): Use get_regcache_arch to get at
127 the current architecture. Update calls of
128 amd64_native_gregset_supplies_p.
129 * amd64bsd-nat.c (amd64bsd_fetch_inferior_registers)
130 (amd64bsd_store_inferior_registers): Likewise.
131
e101270f
MD
1322008-01-16 Markus Deuling <deuling@de.ibm.com>
133
134 * ppc-linux-nat.c (ppc_register_u_addr): Add gdbarch as parameter.
135 Replace current_gdbarch by gdbarch. Update caller.
136
063e58ba
MD
1372008-01-16 Markus Deuling <deuling@de.ibm.com>
138
139 * dbxread.c (repeated_header_complaint, dbx_symfile_init)
140 (read_dbx_dynamic_symtab, function_outside_compilation_unit_complaint)
141 (read_dbx_symtab, end_psymtab, dbx_psymtab_to_symtab_1)
142 (dbx_psymtab_to_symtab, read_ofile_symtab, process_one_symbol)
143 (stabsect_build_psymtabs): Fix indentation.
144
662fb31b
MS
1452008-01-15 Michael Snyder <msnyder@specifix.com>
146
147 * corelow.c (core_xfer_partial): Comment, cut/paste error.
148
c1766e7d
PM
1492008-01-14 Pierre Muller <muller@ics.u-strasbg.fr>
150
151 * win32-nat.c (win32_create_inferior): Restore code calling
152 CloseHandle on ProcessInformation structure.
153
5ed10e6e
NH
1542008-01-13 Nick Hudson <nick.hudson@dsl.pipex.com>
155
156 * configure.ac: Check for void * as 3 argument of ptrace.
157 * configure: regenerate.
158
be8626e0
MD
1592008-01-11 Markus Deuling <deuling@de.ibm.com>
160
161 * alpha-tdep.c (alpha_heuristic_proc_start)
162 (alpha_sigtramp_register_address): Add gdbarch as parameter. Replace
163 current_gdbarch by gdbarch.
164
165 (alpha_heuristic_frame_unwind_cache): Use get_frame_arch to get at the
166 current architecture by frame_info. Update alpha_heuristic_proc_start
167 call.
168
169 (alpha_sigtramp_frame_this_id, alpha_sigtramp_frame_prev_register): Use
170 get_frame_arch to get at the current architecture by frame_info. Update
171 alpha_sigtramp_register_address call.
172
173 * arm-tdep.c (thumb_scan_prologue): Add gdbarch as parameter and replace
174 current_gdbarch by gdbarch. Update caller.
175 (convert_to_extended, convert_from_extended): Add endianess parameter
176 for comparison. Update caller.
177 (arm_extract_return_value, arm_store_return_value): Use
178 get_regcache_arch to get at the current architecture.
179
180 * cris-tdep.c (cris_register_size): Add gdbarch as parameter. Replace
181 current_gdbarch by gdbarch. Update caller.
182 (cris_gdb_func, move_to_preg_op, none_reg_mode_move_from_preg_op): Add
183 gdbarch as parameter. Update caller. Replace current_gdbarch by gdbarch.
184
185 * h8300-tdep.c (E_PSEUDO_CCR_REGNUM, E_PSEUDO_EXR_REGNUM, BINWORD): Add
186 gdbarch as parameter. Update caller.
187 (h8300_init_frame_cache): Add gdbarch as parameter. Replace
188 current_gdbarch by gdbarch. Update caller.
189
190 * hppa-tdep.c (skip_prologue_hard_way): Add gdbarch as parameter and
191 update caller. Replace current_gdbarch by gdbarch.
192
193 * m32c-tdep.c (m32c_skip_trampoline_code): Use get_frame_arch to get at
194 the current architecture. Replace current_gdbarch by gdbarch.
195 * m68hc11-tdep.c (m68hc11_frame_unwind_cache): Likewise.
196 (STACK_CORRECTION, USE_PAGE_REGISTER): Replace M6811_TDEP by its
197 expression. Add gdbarch as parameter and replace current_gdbarch with
198 it. Update caller.
199 (M6811_TDEP): Remove.
200 (m68hc11_frame_prev_register): Use get_frame_arch to get at the current
201 architecture.
202 (m68hc11_scan_prologue): Add gdbarch as parameter. Replace
203 current_gdbarch by gdbarch. Update caller.
204
205 * m68k-tdep.c (m68k_analyze_prologue): Add gdbarch as parameter and
206 update caller.
207 (m68k_analyze_register_saves): Likewise. Also replace current_gdbarch
208 by gdbarch.
209
210 * rs6000-tdep.c (skip_prologue): Add gdbarch as parameter and update
211 caller. Relace current_gdbarch by gdbarch.
212 (altivec_register_p, spe_register_p): Likewise.
213 * ppc-tdep.h (altivec_register_p, spe_register_p): Add gdbarch as
214 parameter.
215 * ppc-linux-nat.c (fetch_register, store_register): Update caller of
216 altivec_register_p and spe_register_p.
217
218 * score-tdep.c (score_fetch_inst): Add gdbarch as parameter. Update
219 caller. Replace current_gdbarch by gdbarch.
220 (score_analyze_prologue): use get_frame_arch to get at the current
221 architecture.
222
223 * sparc-tdep.h (sparc_analyze_prologue): Add gdbarch as parameter.
224 * sparc-tdep.c (sparc_analyze_prologue): Likewise. Replace
225 current_gdbarch by gdbarch. Update caller.
226 (sparc_frame_cache): Use get_frame_arch to get at the current
227 architecture.
228 * sparce64-tdep.c (sparc64_skip_prologue): Update call of
229 sparc_analyze_prologue.
230
231 * mn10300-tdep.c (mn10300_dwarf2_reg_to_regnum): Add gdbarch as
232 parameter.
233
ed49a04f
MD
2342008-01-11 Markus Deuling <deuling@de.ibm.com>
235
236 * exec.c: #include "arch-utils.h"
237 (print_section_info): Use gdbarch_from_bfd to get at the
238 current architecture. Replace current_gdbarch. Fix indention. Replace
239 deprecated_print_address_numeric by paddress.
240 * Makefile.in (exec.o) Add dependency to arch-utils.h.
241
242 * valprint.c (val_print_string): Replace
243 deprecated_print_address_numeric.
244 * tracepoint.c (trace_mention, scope_info): Likewise.
245 * symmisc.c (dump_msymbols, dump_psymtab, dump_symtab_1, print_symbol)
246 (print_symbol, print_partial_symbols, maintenance_info_psymtabs)
247 (maintenance_check_symtabs): Likewise.
248 * symfile.c (list_overlays_command): Likewise.
249 * stack.c (frame_info, print_block_frame_labels): Likewise.
250 * printcmd.c (print_address, print_address_demangle)
251 (address_info): Likewise.
252 * corefile.c (memory_error): Likewise.
253 * infcmd.c (jump_command): Likewise.
254 * breakpoint.c (insert_bp_location, describe_other_breakpoints)
255 (mention, delete_breakpoint): Likewise.
256 * c-valprint.c (print_function_pointer_address, c_val_print): Likewise.
257 * dwarf2read.c (dump_die): Likewise.
258 * ada-valprint.c (ada_val_print_1): Likewise.
259 * f-valprint.c (f_val_print): Likewise.
260 * linux-fork.c (info_forks_command): Likewise.
261 * m32r-com.c (m32r_load_section, m32r_load)
262 (m32r_upload_command): Likewise.
263
264 * ui-out.c (ui_out_field_core_addr): Remove unnecessary comment.
265
6093d2eb
MD
2662008-01-11 Markus Deuling <deuling@de.ibm.com>
267
268 * gdbarch.sh (skip_prologue): Add gdbarch
269 as parameter.
270 * gdbarch.{c,h}: Regenerate.
271
272 * alpha-tdep.c (alpha_skip_prologue): Add gdbarch as parameter.
273 * amd64-tdep.c (amd64_skip_prologue): Likewise.
274 * avr-tdep.c (avr_skip_prologue): Likewise.
275 * cris-tdep.c (cris_skip_prologue): Likewise.
276 * frv-tdep.c (frv_skip_prologue): Likewise.
277 * h8300-tdep.c (h8300_skip_prologue): Likewise.
278 * hppa-tdep.c (hppa_skip_prologue): Likewise.
279 * i386-tdep.c (i386_skip_prologue): Likewise.
280 * ia64-tdep.c (ia64_skip_prologue): Likewise.
281 * iq2000-tdep.c (iq2000_skip_prologue): Likewise.
282 * m32r-tdep.c (m32r_skip_prologue): Likewise.
283 * m68hc11-tdep.c (m68hc11_skip_prologue): Likewise.
284 * m68k-tdep.c (m68k_skip_prologue): Likewise.
285 * m88k-tdep.c (m88k_skip_prologue): Likewise.
286 * mep-tdep.c (mep_skip_prologue): Likewise.
287 * mips-tdep.c (mips_skip_prologue): Likewise.
288 * mn10300-tdep.c (mn10300_skip_prologue): Likewise.
289 * mt-tdep.c (mt_skip_prologue): Likewise.
290 * rs6000-tdep.c (rs6000_skip_prologue): Likewise.
291 * score-tdep.c (score_skip_prologue): Likewise.
292 * sh64-tdep.c (sh64_skip_prologue): Likewise.
293 * sh-tdep.c (sh_skip_prologue): Likewise.
294 * sparc64-tdep.c (sparc64_skip_prologue): Likewise.
295 * sparc-tdep.c (sparc32_skip_prologue): Likewise.
296 * spu-tdep.c (spu_skip_prologue): Likewise.
297 * v850-tdep.c (v850_skip_prologue): Likewise.
298 * vax-tdep.c (vax_skip_prologue): Likewise.
299 * xstormy16-tdep.c (xstormy16_skip_prologue): Likewise.
300 * xtensa-tdep.c (xtensa_skip_prologue): Likewise.
301
302 * arm-tdep.c (arm_skip_prologue): Add gdbarch as parameter. Replace
303 current_gdbarch by gdbarch.
304 * m32c-tdep.c (m32c_skip_prologue): Likewise.
305 * s390-tdep.c (s390_skip_prologue): Likewise.
306
72f5cf0e
DE
3072008-01-10 Doug Evans <dje@google.com>
308
309 * defs.h (struct continuation_arg): Fix typo in comment.
310 * target.c (target_translate_tls_address): Fix comment spelling error.
311
689e4e2d
TJB
3122008-01-09 Thiago Jung Bauermann <bauerman@br.ibm.com>
313
314 * doublest.h (DOUBLEST_PRINT_FORMAT): Remove % from string.
315 (DOUBLEST_SCAN_FORMAT): Likewise.
316 * dfp.c (decimal_from_floating): Use DOUBLEST_PRINT_FORMAT.
317 * ada-lex.l (processReal): Prepend "%" to use of DOUBLEST_SCAN_FORMAT.
318 * c-exp.y (parse_number): Likewise.
319 * jv-exp.y (parse_number): Likewise.
320 * objc-exp.y (parse_number): Likewise.
321 * p-exp.y (parse_number): Likewise.
322
ab0d6e0d
JB
3232008-01-09 Joel Brobecker <brobecker@adacore.com>
324
325 * gdbtypes.c (create_array_type): Add handling of null Ada arrays.
326 (check_typedef): Likewise.
327
0aea4bf3
LM
3282008-01-09 Luis Machado <luisgpm@br.ibm.com>
329
330 * printcmd.c (printf_command): Add seen_big_h, seen_big_d and
331 seen_double_big_d, treat the new H, D, and DD modifiers as length
332 modifiers.
333
137033e9
JB
3342008-01-08 Joel Brobecker <brobecker@adacore.com>
335
336 * dwarf2read.c (read_enumeration_type): Add comment.
337
dda297ec
TJB
3382008-01-08 Thiago Jung Bauermann <bauerman@br.ibm.com>
339
340 * config.in: Regenerate.
341
a93c0eb6
JB
3422008-01-08 Joel Brobecker <brobecker@adacore.com>
343
344 * ada-lang.c (ada_convert_actual): Renames convert_actual.
345 Make non-static.
346 (ada_convert_actuals): Delete.
347 * ada-lang.h (ada_convert_actual): Add declaration.
348 (ada_convert_actuals): Remove declaration.
349 * infcall.c: #include "ada-lang.h".
350 (value_arg_coerce): Add new parameter sp. Update function
351 documetnation. Add handling of Ada function call parameters.
352 * Makefile.in (infcall.o): Update dependencies.
353
a84a8a0d
JB
3542008-01-08 Paul Hilfinger <hilfinger@adacore.com>
355
356 * ada-lang.c (ensure_lval): Fix value lval kind.
357 (convert_actual): Add handling for arguments passed by reference.
358
d7f98cce
DE
3592008-01-08 Doug Evans <dje@google.com>
360
361 * dbxread.c (read_dbx_symtab): Fix indentation.
362
4ef30785
TJB
3632008-01-07 Thiago Jung Bauermann <bauerman@br.ibm.com>
364
365 * Makefile.in (dfp.o): Depend on expression.h, gdbtypes.h and value.h.
366 (valarith.o): Depend on dfp.h.
367 (valops.o): Likewise.
368 * dfp.c: Include expression.h, gdbtypes.h, value.h and dfp.h.
369 (set_decnumber_context): New function.
370 (decimal_check_errors): Likewise.
371 (decimal_from_number): Likewise.
372 (decimal_to_number): Likewise.
373 (decimal_from_string): Use set_decnumber_context and
374 decimal_check_errors.
375 (decimal_from_integral): New function.
376 (decimal_from_floating): Likewise.
377 (decimal_to_double): Likewise.
378 (promote_decimal): Likewise.
379 (decimal_binop): Likewise.
380 (decimal_is_zero): Likewise.
381 (decimal_compare): Likewise.
382 (decimal_convert): Likewise.
383 * dfp.h (decimal_from_integral): New prototype.
384 (decimal_from_floating): Likewise.
385 (decimal_to_double): Likewise.
386 (decimal_binop): Likewise.
387 (decimal_is_zero): Likewise.
388 (decimal_compare): Likewise.
389 (decimal_convert): Likewise.
390 * eval.c (evaluate_subexp_standard): Remove expect_type argument from
391 call to value_from_decfloat.
392 * valarith.c: Include dfp.h.
393 (value_args_as_decimal): New function.
394 (value_binop): Add if block to handle TYPE_CODE_DECFLOAT values.
395 (value_logical_not): Likewise.
396 (value_equal): Likewise.
397 (value_less): Likewise.
398 (value_pos): Likewise.
399 (value_neg): Formatting fix.
400 * valops.c: Include dfp.h.
401 (value_cast): Add if block to handle TYPE_CODE_DECFLOAT values.
402 * value.c (unpack_long): Add case to handle TYPE_CODE_DECFLOAT.
403 (unpack_double): Add if block to handle TYPE_CODE_DECFLOAT.
404 (value_from_decfloat): Remove expect_type argument.
405 * value.h (value_from_decfloat): Update prototype.
406
a7c02bc8
VP
4072008-01-07 Vladimir Prus <vladimir@codesourcery.com>
408
409 Ignore change in name of dynamic linker during
410 execution on Solaris. This also unbreaks pending breakpoints.
411
412 * solist.h (struct target_so_ops): New field same.
413 * solib-svr4.c (svr4_same): New.
414 (_initialize_svr4_solib): Register svr4_same.
415 * solib.c (update_solib_list): Use ops->same, if available.
416
610dd7f9
CF
4172008-01-06 Christopher Faylor <me+cygwin@cgf.cx>
418
419 * win32-nat.c (win32_make_so): Use cygwin-style path to avoid warnings
420 when using MS-DOS paths.
421
7a404eba
PA
4222008-01-05 Pedro Alves <pedro@codesourcery.com>
423
424 * NEWS: Mention --pid and --core command line behaviour changes.
425
a4d9b460
PA
4262008-01-05 Pedro Alves <pedro@codesourcery.com>
427
428 * main.c (captured_main): Remove 'count' varible and the
429 ALIGN_STACK_ON_ENTRY block that used it. Error out if --core and
430 --pid options were issued simultaneously. If an explicit pid
431 option was passed, don't fallback to core file. Detect extra
432 arguments better in the presence of explicit pid or core
433 arguments.
434
0c281816
JB
4352008-01-05 Joel Brobecker <brobecker@adacore.com>
436
437 * ada-lang.c (ada_which_variant_applies): Correctly compute
438 the value of the discriminant when the variant record is packed.
439
babe1480
JB
4402008-01-04 Joel Brobecker <brobecker@adacore.com>
441
442 * ada-lang.c (is_name_suffix): Handle middle-name numeric suffixes
443 that are used to differentiate homonyms.
444
727e3d2e
JB
4452008-01-04 Jerome Guitton <guitton@adacore.com>
446
447 * ada-lang.c (decode_packed_array_type): Avoid a seg fault
448 when the type is an anonymous pointer type.
449 (ada_check_typedef): Avoid a seg fault when the type is null.
450 * ada-typeprint.c (print_array_type): Add support for pointer
451 to packed arrays.
452
bb28a9dc
JB
4532008-01-04 Paul N. Hilfinger <hilfinger@adacore.com>
454
455 * ada-exp.y: Allow '{type} ADDRESS' notation on left of assignment.
456
6799def4
JB
4572008-01-04 Joel Brobecker <brobecker@adacore.com>
458
459 * ada-lang.c (ada_evaluate_subexp): Evaluate tagged types in
460 EVAL_NORMAL mode when noside is EVAL_AVOID_SIDE_EFFECTS.
461
d3353bbd
JB
4622008-01-04 Joel Brobecker <brobecker@adacore.com>
463
464 * ada-exp.y (chop_separator): New function.
465 (write_selectors): Rewrite to re-use chop_separator.
466 (ada_nget_field_index, get_symbol_field_type): New functions.
467 (write_var_or_type): Add support for "ptype TYPENAME.FIELD"
468 expressions.
469
82cf6c60
TJB
4702008-01-03 Thiago Jung Bauermann <bauerman@br.ibm.com>
471
472 * symtab.c (find_pc_sect_line): Use SYMBOL_VALUE_ADDRESS instead
473 of SYMBOL_VALUE when working with function symbols.
474
b3dbf008
JB
4752008-01-03 Joel Brobecker <brobecker@adacore.com>
476
477 * ada-lang.c (resolve_subexp): Add handling of OP_REGISTER
478 expressions. These expressions do not need to be rewriten.
479
02eb380e
JB
4802008-01-03 Joel Brobecker <brobecker@adacore.com>
481
482 * dwarf2read.c (read_enumeration_type): Flag type as stub if
483 the given die is a declaration.
484
abb68b3e
JB
4852008-01-03 Joel Brobecker <brobecker@adacore.com>
486
487 * ada-lang.c (ada_array_bound_from_type): Make non-static.
488 Handle properly the case when the index type is an enumerated type.
489 Do not return the subtype of the bounds type, just return the
490 bounds type directly - this is not needed and is more consistent
491 with what we do for arrays when no XA parallel type exists.
492
f192137b
JB
4932008-01-03 Joel Brobecker <brobecker@adacore.com>
494
495 * ada-lang.c (static_unwrap_type): Add forward declaration.
496 (template_to_static_fixed_type): Fields of dynamic types sometimes
497 also need to be unwrapped. Take this into account.
498 (ada_to_fixed_type_1): Renamed from ada_to_fixed_type.
499 (ada_to_fixed_type): New wrapper around ada_to_fixed_type_1.
500 * ada-typeprint.c (ada_print_type): Get the typename from
501 the original type, not the base type.
502
1ed6ede0
JB
5032008-01-03 Jerome Guitton <guitton@adacore.com>
504
505 * ada-lang.c (ada_value_struct_elt, to_fixed_array_type)
506 (to_fixed_array_type, ada_to_fixed_value_create, unwrap_value):
507 Update calls to ada_to_fixed_type.
508 (ada_template_to_fixed_record_type_1): Ditto, but without looking
509 for the tag.
510 (ada_to_fixed_type): Add check_tag parameter; do not look for
511 tag if null. When looking for a tag, use a fixed record type.
512 * ada-lang.h (ada_to_fixed_type): Add check_tag parameter.
513 * ada-valprint.c (printable_val_type, ada_value_print): Update
514 calls to ada_to_fixed_type.
515
542a88d0
LM
5162008-01-03 Luis Machado <luisgpm@br.ibm.com>
517
518 * doublest.c (convert_floatformat_to_doublest): Call
519 floatformat_to_doublest instead of floatformat_to_double and use
520 DOUBLEST variables.
521 (convert_doublest_to_floatformat): Call floatformat_from_doublest
522 instead of floatformat_from_double and use DOUBLEST variables.
523
dc2bbab2
NH
5242008-01-03 Nick Hudson <nick.hudson@dsl.pipex.com>
525
526 * MAINTAINERS (Write After Approval): Add self.
527
8b60591b
JB
5282008-01-03 Joel Brobecker <brobecker@adacore.com>
529
530 * symfile.c (set_initial_language): Make non-static.
531 * symfile.h (set_initial_language): Add declaration.
532 * language.c: #include "symfile.h".
533 (set_language): Call set_initial_language if the frame language
534 could not be determined.
535
ceef53c1
JB
5362008-01-03 Paul N. Hilfinger <hilfinger@adacore.com>
537
538 * eval.c (evaluate_subexp_for_address): Provide frame address to
539 locate_var_value only if it will be needed.
540
ef29ce1a
JK
5412008-01-02 Jan Kratochvil <jan.kratochvil@redhat.com>
542
543 * linux-nat.c (linux_child_follow_fork): Call also CHECK_FOR_THREAD_DB.
544
0a07e705
JB
5452008-01-02 Joel Brobecker <brobecker@adacore.com>
546
547 * ada-lang.c (ada_evaluate_subexp): Modify the value returned
548 when noside is EVAL_AVOID_SIDE_EFFECTS to be an lval_memory.
549 This is needed to make sure that any other treatment applied
550 to the resulting value does not fail for spurious reason,
551 such as trying to take the address of this value.
552
f58b38bf
JB
5532008-01-02 Joel Brobecker <brobecker@adacore.com>
554
555 * ada-lang.c (ada_value_equal): Dereference reference types when
556 comparing arrays.
557
9b254dd1
DJ
5582008-01-01 Daniel Jacobowitz <dan@codesourcery.com>
559
560 Updated copyright notices for most files.
561
33605d39
CF
5622008-01-01 Christopher Faylor <me+gdb@cgf.cx>
563
564 * win32-nat.c (psapi_module_handle): Remove static.
565 (get_module_name): Rename from psapi_get_dll_name. Revamp slightly to
566 return first module found if base_address is zero. Don't initialize
567 psapi function pointers here. Convert to cygwin paths when
568 appropriate.
569 (win32_pid_to_exec_file): Use Cygwin's /proc interface to determine
570 executable name. Use get_module_name when that fails or when
571 !__CYGWIN__.
572 (_initialize_psapi): New function. Initialize psapi stuff before it is
573 needed or issue a warning if it is not found. Move psapi_module_handle
574 here.
575
29480c32
JB
5762008-01-01 Joel Brobecker <brobecker@adacore.com>
577
578 * ada-lang.c (ada_remove_trailing_digits): New function.
579 (ada_remove_po_subprogram_suffix): New function.
580 (ada_decode): Improve. Move the description of the algorithm
581 directly inside the code, instead of in the function global
582 description.
583
969a1360
JB
5842008-01-01 Joel Brobecker <brobecker@adacore.com>
585
586 * ada-valprint.c (ada_val_print_1) [TYPE_CODE_REF]: Ignore deref_ref
587 and always print the dereferenced value.
588
b7789565
JB
5892008-01-01 Joel Brobecker <brobecker@adacore.com>
590
591 * ada-lang.c (ada_evaluate_subexp, case BINOP_SUB): Add handling
592 of the case where the first argument is a reference.
593 (ada_evaluate_subexp, case BINOP_ADD): Likewise.
594
73fb9985
JB
5952008-01-01 Joel Brobecker <brobecker@adacore.com>
596
597 Implement support for Ada interface types.
598
599 * ada-lang.c (ada_is_dispatch_table_ptr_type): New function.
600 (ada_is_ignored_field): Ignore fields that are a dispatch table
601 of a tagged type.
602
636265b6
JB
6032008-01-01 Joel Brobecker <brobecker@adacore.com>
604
605 * top.c (print_gdb_version): Update copyright year.
606
9d200a2e 6072008-01-01 Joel Brobecker <brobecker@adacore.com>
b7589f7d 608
9d200a2e
JB
609 * ChangeLog-2007: New ChangeLog rotation.
610 * ChangeLog: Reset for 2008.
611 * config/djgpp/fnchange.lst: Add entries for ChangeLog-2006 and
612 ChangeLog-2007.
b7589f7d 613
9d200a2e 614For older changes see ChangeLog-2007.
c906108c
SS
615\f
616Local Variables:
617mode: change-log
618left-margin: 8
619fill-column: 74
620version-control: never
57da7796 621coding: utf-8
c906108c 622End:
This page took 0.911678 seconds and 4 git commands to generate.