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