OSDN Git Service

* ada-exp.y (chop_separator): New function.
[pf3gnuchains/pf3gnuchains3x.git] / gdb / ChangeLog
1 2008-01-04  Joel Brobecker  <brobecker@adacore.com>
2
3         * ada-exp.y (chop_separator): New function.
4         (write_selectors): Rewrite to re-use chop_separator.
5         (ada_nget_field_index, get_symbol_field_type): New functions.
6         (write_var_or_type): Add support for "ptype TYPENAME.FIELD"
7         expressions.
8
9 2008-01-03  Thiago Jung Bauermann  <bauerman@br.ibm.com>
10
11         * symtab.c (find_pc_sect_line): Use SYMBOL_VALUE_ADDRESS instead
12         of SYMBOL_VALUE when working with function symbols.
13
14 2008-01-03  Joel Brobecker  <brobecker@adacore.com>
15
16         * ada-lang.c (resolve_subexp): Add handling of OP_REGISTER
17         expressions.  These expressions do not need to be rewriten.
18
19 2008-01-03  Joel Brobecker  <brobecker@adacore.com>
20
21         * dwarf2read.c (read_enumeration_type): Flag type as stub if
22         the given die is a declaration.
23
24 2008-01-03  Joel Brobecker  <brobecker@adacore.com>
25
26         * ada-lang.c (ada_array_bound_from_type): Make non-static.
27         Handle properly the case when the index type is an enumerated type.
28         Do not return the subtype of the bounds type, just return the
29         bounds type directly - this is not needed and is more consistent
30         with what we do for arrays when no XA parallel type exists.
31
32 2008-01-03  Joel Brobecker  <brobecker@adacore.com>
33
34         * ada-lang.c (static_unwrap_type): Add forward declaration.
35         (template_to_static_fixed_type): Fields of dynamic types sometimes
36         also need to be unwrapped. Take this into account.
37         (ada_to_fixed_type_1): Renamed from ada_to_fixed_type.
38         (ada_to_fixed_type): New wrapper around ada_to_fixed_type_1.
39         * ada-typeprint.c (ada_print_type): Get the typename from
40         the original type, not the base type. 
41
42 2008-01-03  Jerome Guitton  <guitton@adacore.com>
43
44         * ada-lang.c (ada_value_struct_elt, to_fixed_array_type)
45         (to_fixed_array_type, ada_to_fixed_value_create, unwrap_value): 
46         Update calls to ada_to_fixed_type.
47         (ada_template_to_fixed_record_type_1): Ditto, but without looking
48         for the tag.
49         (ada_to_fixed_type): Add check_tag parameter; do not look for
50         tag if null.  When looking for a tag, use a fixed record type.
51         * ada-lang.h (ada_to_fixed_type): Add check_tag parameter.
52         * ada-valprint.c (printable_val_type, ada_value_print): Update
53         calls to ada_to_fixed_type.
54
55 2008-01-03  Luis Machado  <luisgpm@br.ibm.com>
56
57         * doublest.c (convert_floatformat_to_doublest): Call 
58         floatformat_to_doublest instead of floatformat_to_double and use
59         DOUBLEST variables.
60         (convert_doublest_to_floatformat): Call floatformat_from_doublest
61         instead of floatformat_from_double and use DOUBLEST variables.
62
63 2008-01-03  Nick Hudson  <nick.hudson@dsl.pipex.com>
64
65         * MAINTAINERS (Write After Approval): Add self.
66
67 2008-01-03  Joel Brobecker  <brobecker@adacore.com>
68
69         * symfile.c (set_initial_language): Make non-static.
70         * symfile.h (set_initial_language): Add declaration.
71         * language.c: #include "symfile.h".
72         (set_language): Call set_initial_language if the frame language
73         could not be determined.
74
75 2008-01-03  Paul N. Hilfinger  <hilfinger@adacore.com>
76
77         * eval.c (evaluate_subexp_for_address): Provide frame address to
78         locate_var_value only if it will be needed.
79
80 2008-01-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
81
82         * linux-nat.c (linux_child_follow_fork): Call also CHECK_FOR_THREAD_DB.
83
84 2008-01-02  Joel Brobecker  <brobecker@adacore.com>
85
86         * ada-lang.c (ada_evaluate_subexp): Modify the value returned
87         when noside is EVAL_AVOID_SIDE_EFFECTS to be an lval_memory.
88         This is needed to make sure that any other treatment applied
89         to the resulting value does not fail for spurious reason,
90         such as trying to take the address of this value.
91
92 2008-01-02  Joel Brobecker  <brobecker@adacore.com>
93
94         * ada-lang.c (ada_value_equal): Dereference reference types when
95         comparing arrays.
96  
97 2008-01-01  Daniel Jacobowitz  <dan@codesourcery.com>
98
99         Updated copyright notices for most files.
100
101 2008-01-01  Christopher Faylor  <me+gdb@cgf.cx>
102
103         * win32-nat.c (psapi_module_handle): Remove static.
104         (get_module_name): Rename from psapi_get_dll_name.  Revamp slightly to
105         return first module found if base_address is zero.  Don't initialize
106         psapi function pointers here.  Convert to cygwin paths when
107         appropriate.
108         (win32_pid_to_exec_file): Use Cygwin's /proc interface to determine
109         executable name.  Use get_module_name when that fails or when
110         !__CYGWIN__.
111         (_initialize_psapi): New function.  Initialize psapi stuff before it is
112         needed or issue a warning if it is not found.  Move psapi_module_handle
113         here.
114
115 2008-01-01  Joel Brobecker  <brobecker@adacore.com>
116
117         * ada-lang.c (ada_remove_trailing_digits): New function.
118         (ada_remove_po_subprogram_suffix): New function.
119         (ada_decode): Improve. Move the description of the algorithm
120         directly inside the code, instead of in the function global
121         description.
122
123 2008-01-01  Joel Brobecker  <brobecker@adacore.com>
124
125         * ada-valprint.c (ada_val_print_1) [TYPE_CODE_REF]: Ignore deref_ref
126         and always print the dereferenced value.
127
128 2008-01-01  Joel Brobecker  <brobecker@adacore.com>
129
130         * ada-lang.c (ada_evaluate_subexp, case BINOP_SUB): Add handling
131         of the case where the first argument is a reference.
132         (ada_evaluate_subexp, case BINOP_ADD): Likewise.
133
134 2008-01-01  Joel Brobecker  <brobecker@adacore.com>
135
136         Implement support for Ada interface types.
137
138         * ada-lang.c (ada_is_dispatch_table_ptr_type): New function.
139         (ada_is_ignored_field): Ignore fields that are a dispatch table
140         of a tagged type.
141
142 2008-01-01  Joel Brobecker  <brobecker@adacore.com>
143
144         * top.c (print_gdb_version): Update copyright year.
145
146 2008-01-01  Joel Brobecker  <brobecker@adacore.com>
147
148         * ChangeLog-2007: New ChangeLog rotation.
149         * ChangeLog: Reset for 2008.
150         * config/djgpp/fnchange.lst: Add entries for ChangeLog-2006 and
151         ChangeLog-2007.
152
153 For older changes see ChangeLog-2007.
154 \f
155 Local Variables:
156 mode: change-log
157 left-margin: 8
158 fill-column: 74
159 version-control: never
160 coding: utf-8
161 End: