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