* dbxread.c (read_dbx_symtab): Fix indentation.
[deliverable/binutils-gdb.git] / gdb / ChangeLog
CommitLineData
d7f98cce
DE
12008-01-08 Doug Evans <dje@google.com>
2
3 * dbxread.c (read_dbx_symtab): Fix indentation.
4
4ef30785
TJB
52008-01-07 Thiago Jung Bauermann <bauerman@br.ibm.com>
6
7 * Makefile.in (dfp.o): Depend on expression.h, gdbtypes.h and value.h.
8 (valarith.o): Depend on dfp.h.
9 (valops.o): Likewise.
10 * dfp.c: Include expression.h, gdbtypes.h, value.h and dfp.h.
11 (set_decnumber_context): New function.
12 (decimal_check_errors): Likewise.
13 (decimal_from_number): Likewise.
14 (decimal_to_number): Likewise.
15 (decimal_from_string): Use set_decnumber_context and
16 decimal_check_errors.
17 (decimal_from_integral): New function.
18 (decimal_from_floating): Likewise.
19 (decimal_to_double): Likewise.
20 (promote_decimal): Likewise.
21 (decimal_binop): Likewise.
22 (decimal_is_zero): Likewise.
23 (decimal_compare): Likewise.
24 (decimal_convert): Likewise.
25 * dfp.h (decimal_from_integral): New prototype.
26 (decimal_from_floating): Likewise.
27 (decimal_to_double): Likewise.
28 (decimal_binop): Likewise.
29 (decimal_is_zero): Likewise.
30 (decimal_compare): Likewise.
31 (decimal_convert): Likewise.
32 * eval.c (evaluate_subexp_standard): Remove expect_type argument from
33 call to value_from_decfloat.
34 * valarith.c: Include dfp.h.
35 (value_args_as_decimal): New function.
36 (value_binop): Add if block to handle TYPE_CODE_DECFLOAT values.
37 (value_logical_not): Likewise.
38 (value_equal): Likewise.
39 (value_less): Likewise.
40 (value_pos): Likewise.
41 (value_neg): Formatting fix.
42 * valops.c: Include dfp.h.
43 (value_cast): Add if block to handle TYPE_CODE_DECFLOAT values.
44 * value.c (unpack_long): Add case to handle TYPE_CODE_DECFLOAT.
45 (unpack_double): Add if block to handle TYPE_CODE_DECFLOAT.
46 (value_from_decfloat): Remove expect_type argument.
47 * value.h (value_from_decfloat): Update prototype.
48
a7c02bc8
VP
492008-01-07 Vladimir Prus <vladimir@codesourcery.com>
50
51 Ignore change in name of dynamic linker during
52 execution on Solaris. This also unbreaks pending breakpoints.
53
54 * solist.h (struct target_so_ops): New field same.
55 * solib-svr4.c (svr4_same): New.
56 (_initialize_svr4_solib): Register svr4_same.
57 * solib.c (update_solib_list): Use ops->same, if available.
58
610dd7f9
CF
592008-01-06 Christopher Faylor <me+cygwin@cgf.cx>
60
61 * win32-nat.c (win32_make_so): Use cygwin-style path to avoid warnings
62 when using MS-DOS paths.
63
7a404eba
PA
642008-01-05 Pedro Alves <pedro@codesourcery.com>
65
66 * NEWS: Mention --pid and --core command line behaviour changes.
67
a4d9b460
PA
682008-01-05 Pedro Alves <pedro@codesourcery.com>
69
70 * main.c (captured_main): Remove 'count' varible and the
71 ALIGN_STACK_ON_ENTRY block that used it. Error out if --core and
72 --pid options were issued simultaneously. If an explicit pid
73 option was passed, don't fallback to core file. Detect extra
74 arguments better in the presence of explicit pid or core
75 arguments.
76
0c281816
JB
772008-01-05 Joel Brobecker <brobecker@adacore.com>
78
79 * ada-lang.c (ada_which_variant_applies): Correctly compute
80 the value of the discriminant when the variant record is packed.
81
babe1480
JB
822008-01-04 Joel Brobecker <brobecker@adacore.com>
83
84 * ada-lang.c (is_name_suffix): Handle middle-name numeric suffixes
85 that are used to differentiate homonyms.
86
727e3d2e
JB
872008-01-04 Jerome Guitton <guitton@adacore.com>
88
89 * ada-lang.c (decode_packed_array_type): Avoid a seg fault
90 when the type is an anonymous pointer type.
91 (ada_check_typedef): Avoid a seg fault when the type is null.
92 * ada-typeprint.c (print_array_type): Add support for pointer
93 to packed arrays.
94
bb28a9dc
JB
952008-01-04 Paul N. Hilfinger <hilfinger@adacore.com>
96
97 * ada-exp.y: Allow '{type} ADDRESS' notation on left of assignment.
98
6799def4
JB
992008-01-04 Joel Brobecker <brobecker@adacore.com>
100
101 * ada-lang.c (ada_evaluate_subexp): Evaluate tagged types in
102 EVAL_NORMAL mode when noside is EVAL_AVOID_SIDE_EFFECTS.
103
d3353bbd
JB
1042008-01-04 Joel Brobecker <brobecker@adacore.com>
105
106 * ada-exp.y (chop_separator): New function.
107 (write_selectors): Rewrite to re-use chop_separator.
108 (ada_nget_field_index, get_symbol_field_type): New functions.
109 (write_var_or_type): Add support for "ptype TYPENAME.FIELD"
110 expressions.
111
82cf6c60
TJB
1122008-01-03 Thiago Jung Bauermann <bauerman@br.ibm.com>
113
114 * symtab.c (find_pc_sect_line): Use SYMBOL_VALUE_ADDRESS instead
115 of SYMBOL_VALUE when working with function symbols.
116
b3dbf008
JB
1172008-01-03 Joel Brobecker <brobecker@adacore.com>
118
119 * ada-lang.c (resolve_subexp): Add handling of OP_REGISTER
120 expressions. These expressions do not need to be rewriten.
121
02eb380e
JB
1222008-01-03 Joel Brobecker <brobecker@adacore.com>
123
124 * dwarf2read.c (read_enumeration_type): Flag type as stub if
125 the given die is a declaration.
126
abb68b3e
JB
1272008-01-03 Joel Brobecker <brobecker@adacore.com>
128
129 * ada-lang.c (ada_array_bound_from_type): Make non-static.
130 Handle properly the case when the index type is an enumerated type.
131 Do not return the subtype of the bounds type, just return the
132 bounds type directly - this is not needed and is more consistent
133 with what we do for arrays when no XA parallel type exists.
134
f192137b
JB
1352008-01-03 Joel Brobecker <brobecker@adacore.com>
136
137 * ada-lang.c (static_unwrap_type): Add forward declaration.
138 (template_to_static_fixed_type): Fields of dynamic types sometimes
139 also need to be unwrapped. Take this into account.
140 (ada_to_fixed_type_1): Renamed from ada_to_fixed_type.
141 (ada_to_fixed_type): New wrapper around ada_to_fixed_type_1.
142 * ada-typeprint.c (ada_print_type): Get the typename from
143 the original type, not the base type.
144
1ed6ede0
JB
1452008-01-03 Jerome Guitton <guitton@adacore.com>
146
147 * ada-lang.c (ada_value_struct_elt, to_fixed_array_type)
148 (to_fixed_array_type, ada_to_fixed_value_create, unwrap_value):
149 Update calls to ada_to_fixed_type.
150 (ada_template_to_fixed_record_type_1): Ditto, but without looking
151 for the tag.
152 (ada_to_fixed_type): Add check_tag parameter; do not look for
153 tag if null. When looking for a tag, use a fixed record type.
154 * ada-lang.h (ada_to_fixed_type): Add check_tag parameter.
155 * ada-valprint.c (printable_val_type, ada_value_print): Update
156 calls to ada_to_fixed_type.
157
542a88d0
LM
1582008-01-03 Luis Machado <luisgpm@br.ibm.com>
159
160 * doublest.c (convert_floatformat_to_doublest): Call
161 floatformat_to_doublest instead of floatformat_to_double and use
162 DOUBLEST variables.
163 (convert_doublest_to_floatformat): Call floatformat_from_doublest
164 instead of floatformat_from_double and use DOUBLEST variables.
165
dc2bbab2
NH
1662008-01-03 Nick Hudson <nick.hudson@dsl.pipex.com>
167
168 * MAINTAINERS (Write After Approval): Add self.
169
8b60591b
JB
1702008-01-03 Joel Brobecker <brobecker@adacore.com>
171
172 * symfile.c (set_initial_language): Make non-static.
173 * symfile.h (set_initial_language): Add declaration.
174 * language.c: #include "symfile.h".
175 (set_language): Call set_initial_language if the frame language
176 could not be determined.
177
ceef53c1
JB
1782008-01-03 Paul N. Hilfinger <hilfinger@adacore.com>
179
180 * eval.c (evaluate_subexp_for_address): Provide frame address to
181 locate_var_value only if it will be needed.
182
ef29ce1a
JK
1832008-01-02 Jan Kratochvil <jan.kratochvil@redhat.com>
184
185 * linux-nat.c (linux_child_follow_fork): Call also CHECK_FOR_THREAD_DB.
186
0a07e705
JB
1872008-01-02 Joel Brobecker <brobecker@adacore.com>
188
189 * ada-lang.c (ada_evaluate_subexp): Modify the value returned
190 when noside is EVAL_AVOID_SIDE_EFFECTS to be an lval_memory.
191 This is needed to make sure that any other treatment applied
192 to the resulting value does not fail for spurious reason,
193 such as trying to take the address of this value.
194
f58b38bf
JB
1952008-01-02 Joel Brobecker <brobecker@adacore.com>
196
197 * ada-lang.c (ada_value_equal): Dereference reference types when
198 comparing arrays.
199
9b254dd1
DJ
2002008-01-01 Daniel Jacobowitz <dan@codesourcery.com>
201
202 Updated copyright notices for most files.
203
33605d39
CF
2042008-01-01 Christopher Faylor <me+gdb@cgf.cx>
205
206 * win32-nat.c (psapi_module_handle): Remove static.
207 (get_module_name): Rename from psapi_get_dll_name. Revamp slightly to
208 return first module found if base_address is zero. Don't initialize
209 psapi function pointers here. Convert to cygwin paths when
210 appropriate.
211 (win32_pid_to_exec_file): Use Cygwin's /proc interface to determine
212 executable name. Use get_module_name when that fails or when
213 !__CYGWIN__.
214 (_initialize_psapi): New function. Initialize psapi stuff before it is
215 needed or issue a warning if it is not found. Move psapi_module_handle
216 here.
217
29480c32
JB
2182008-01-01 Joel Brobecker <brobecker@adacore.com>
219
220 * ada-lang.c (ada_remove_trailing_digits): New function.
221 (ada_remove_po_subprogram_suffix): New function.
222 (ada_decode): Improve. Move the description of the algorithm
223 directly inside the code, instead of in the function global
224 description.
225
969a1360
JB
2262008-01-01 Joel Brobecker <brobecker@adacore.com>
227
228 * ada-valprint.c (ada_val_print_1) [TYPE_CODE_REF]: Ignore deref_ref
229 and always print the dereferenced value.
230
b7789565
JB
2312008-01-01 Joel Brobecker <brobecker@adacore.com>
232
233 * ada-lang.c (ada_evaluate_subexp, case BINOP_SUB): Add handling
234 of the case where the first argument is a reference.
235 (ada_evaluate_subexp, case BINOP_ADD): Likewise.
236
73fb9985
JB
2372008-01-01 Joel Brobecker <brobecker@adacore.com>
238
239 Implement support for Ada interface types.
240
241 * ada-lang.c (ada_is_dispatch_table_ptr_type): New function.
242 (ada_is_ignored_field): Ignore fields that are a dispatch table
243 of a tagged type.
244
636265b6
JB
2452008-01-01 Joel Brobecker <brobecker@adacore.com>
246
247 * top.c (print_gdb_version): Update copyright year.
248
9d200a2e 2492008-01-01 Joel Brobecker <brobecker@adacore.com>
b7589f7d 250
9d200a2e
JB
251 * ChangeLog-2007: New ChangeLog rotation.
252 * ChangeLog: Reset for 2008.
253 * config/djgpp/fnchange.lst: Add entries for ChangeLog-2006 and
254 ChangeLog-2007.
b7589f7d 255
9d200a2e 256For older changes see ChangeLog-2007.
c906108c
SS
257\f
258Local Variables:
259mode: change-log
260left-margin: 8
261fill-column: 74
262version-control: never
57da7796 263coding: utf-8
c906108c 264End:
This page took 0.948248 seconds and 4 git commands to generate.