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