* amd64obsd-nat.c (amd64obsd_supply_pcb): Use 'gdb_byte *' instead
[deliverable/binutils-gdb.git] / gdb / ChangeLog
1 2006-01-09 Mark Kettenis <kettenis@gnu.org>
2
3 * amd64obsd-nat.c (amd64obsd_supply_pcb): Use 'gdb_byte *' instead
4 of 'char *' in cast.
5
6 2006-01-07 Paul N. Hilfinger <hilfinger@adacore.com>
7
8 * ada-exp.y, ada-lex.l, ada-typeprint.c: I18n markup.
9 * ada-tasks.c, ada-lang.c: I18n markup.
10 Editorial: change "can not" => "cannot" throughout.
11
12 2006-01-07 Mark Kettenis <kettenis@gnu.org>
13
14 * Makefile.in: Sort dependencies.
15
16 2006-01-07 Eli Zaretskii <eliz@gnu.org>
17
18 * top.c (control_level): Remove unused variable.
19
20 2006-01-06 Fred Fish <fnf@specifix.com>
21
22 * objfiles.c (source.h): Include.
23 (free_objfile): Update comment about clear_symtab_users().
24 (free_objfile): Check all symtabs of objfile being freed and if
25 one of them is the current source symtab, call
26 clear_current_source_symtab_and_line().
27
28 2006-01-04 Michael Snyder <msnyder@redhat.com>
29
30 Checkpoint/Restart for Linux.
31 * linux-nat.c: Add support for debugging multiple forks.
32 Add #include for linux-fork.h (interface spec).
33 (super_mourn_inferior): New function pointer.
34 (child_mourn_inferior): New function / target method.
35 (linux_target): Claim to_mourn_inferior method pointer.
36 (child_follow_fork): Call interface to linux-fork, conditionally
37 add new fork processes to list of debugged processes.
38 (kill_inferior): Use interface to linux-fork to kill
39 multiple processes.
40
41 * linux-fork.h: New file.
42 * linux-fork.c: New file. Support for debugging multiple forks
43 of the same program. Support for checkpoint and restart commands.
44
45 * infrun.c (nullify_last_target_wait_ptid): New function.
46
47 * Makefile.in: Add linux-fork.
48 * config/*/linux.mh: Add linux-fork.
49 * NEWS: Mention new functionality.
50
51 2006-01-02 Paul Hilfinger <hilfingr@nile.gnat.com>
52
53 * ada-exp.y (syntax definitions,write_var_or_type,write_name_assoc):
54 Change uses of "illegal" to "invalid".
55
56 2006-01-02 Paul N. Hilfinger <hilfinger@adacore.com>
57
58 * ada-exp.y: Considerable reorganization to move functionality
59 from ada-lex.l to here, where it is logically more appropriate.
60 The original reason, however, was to prevent premature name
61 lookups for selector names in record aggregates.
62 (BLOCKNAME, TYPENAME, OBJECT_RENAMING): Remove; lexer now returns
63 NAME for all of these.
64 (VAR): New artificial token to clarify precedence rules.
65 (OTHERS): New lexeme.
66 (empty_stoken): New symbol.
67 (%union): Remove ssym, voidval.
68 (%type): Remove <voidval> type declarations.
69 (syntax definitions): Add aggregates.
70 Remove distinction between NAME, TYPENAME, BLOCKNAME, OBJECT_RENAMING.
71 Rename some non-terminals to be closer to reference manual usage.
72 Tighten up expression syntax to disallow certain non-Ada
73 constructions such as X and then Y or else Z.
74 (ada_parse): Remove initialization of left_block_context.
75 (write_var_from_name): Remove.
76 (write_var_or_type): New function, containing previous code from
77 defunct write_var_from_name and name_lookup.
78 (block_lookup): New function, moved from ada-lex.l
79 (select_possible_type_sym): New function, factored out of
80 name_lookup, which used to be in ada-lex.l.
81 (find_primitive_type): Ditto.
82 (chop_selector): Ditto.
83 (write_ambiguous_var): New function, factored out of defunct
84 write_var_from_name.
85 (write_selectors): New function.
86 (write_name_assoc): New function.
87 (write_exp_op_with_string): New function.
88
89 * ada-lex.l (processId): Change interface to return stoken.
90 (tempbuf, resize_tempbuf, tempbuf_size, tempbuf_len): Remove.
91 (block_lookup, name_lookup): Remove. Functionality moved to
92 ada-exp.y.
93 (state IN_STRING): Remove.
94 (rules): Handle string escapes in processString.
95 Add 'others' token.
96 Return all NAMEs, BLOCKNAMEs, OBJECT_RENAMINGs, TYPENAMEs in
97 yylval.sval (as simple strings).
98 All name look-ups now handled in ada-exp.y.
99 Introduce "::" (COLONCOLON) token and return as separate token.
100 (processId): Change return convention. Comment.
101 Leave leading "'" in place.
102 (processString): New function.
103 (find_dot_all): Add note to comment.
104 Fix problem that allowed match only at the end.
105
106 * ada-lang.c: Introduce aggregates.
107 (find_struct_field): Add new parameter to count fields skipped, and
108 allow other output parameters to be NULL.
109 (value_tag_from_contents_and_address, ada_value_struct_elt): Use
110 new find_struct_field.
111 (ada_index_struct_field, assign_aggregate, ada_is_array_type)
112 (num_visible_fields, ada_index_struct_field_1, ada_index_struct_field)
113 (num_component_specs, assign_component, assign_aggregate):
114 (aggregate_assign_from_choices,aggregate_assign_positional)
115 (aggregate_assign_others,add_component_interval):
116 New functions.
117 (ada_evaluate_subexp): Declare.
118 Add aggregate-related operators.
119 (ada_forward_operator_length): Declare.
120 (resolve_subexp): Add cases for new aggregate operators and OP_NAME.
121 Consolidate Ada operators, using ada_forward_operator_length.
122 (ada_search_struct_field): Search in forward order.
123 (ADA_OPERATORS): Add new aggregate operators.
124 (ada_operator_length, ada_op_name, ada_forward_operator_length)
125 (ada_dump_subexp_body, ada_print_subexp): Handle new aggregate
126 operators and OP_NAME.
127 (ada_type_of_array): Use longest_to_int.
128 (value_assign_to_component): New function.
129 (ada_forward_operator_length, ada_op_name, ada_dump_subexp_body):
130 Add OP_NAME case.
131 (ada_forward_operator_length, ada_dump_subexp_body):
132 Add OP_STRING case.
133
134 * ada-lang.h (enum ada_operator): Add OP_AGGREGATE, OP_OTHERS,
135 OP_CHOICES, OP_DISCRETE_RANGE, OP_POSITIONAL.
136
137 2006-01-02 Paul N. Hilfinger <hilfinger@adacore.com>
138
139 * ada-lang.c (process_raise_exception_name): Remove extraneous
140 definition from unsubmitted code.
141
142 (is_lower_alphanum): New function.
143 (ada_decode): Add support for decoding protected object subprograms
144 and entries, and of entities declared inside protected object
145 subprograms.
146 Also add missing handling for__{DIGITS}+ suffixes.
147 Allow '$<digits>' as valid overloading suffix.
148 (is_name_suffix): Add handling for protected type entriy suffixes.
149 Also add support for protected type subprogram suffixes, but keep
150 it commented out for now, as there is an ambiguity between these
151 entities and other internally generated entities.
152 Allow '$<digits>' as valid overloading suffix.
153 (is_valid_name_for_wild_match): New function.
154 (wild_match): Add an exra level of verification of the entity name
155 before declaring it a match for the given pattern.
156
157 (ada_type_of_array, ada_evaluate_subexp): Use more proper
158 longest_to_int rather than cast.
159
160 (ada_evaluate_subexp): Use "invalid" rather than "illegal" in comment.
161
162 (ada_coerce_to_simple_array): Call check_size to make sure
163 that the object size is reasonable.
164
165 (ada_value_primitive_packed_val): Use correct location in target
166 buffer for extracting packed record fields that are themselves records.
167
168 (add_defn_to_vec): Do not try to replace a stub type by its full
169 type. Avoids a potential infinite loop.
170
171 (ada_lookup_symbol): Move return incorrectly placed return statement,
172 causing a loop that should be scanning all object files to only
173 scan the first one.
174
175 (ada_tag_name_2): New function.
176 (ada_tag_name_1): If no 'tsd' field found in the dispatching table,
177 use alternative representation.
178
179 (ada_find_renaming_symbol): Strip the function name suffix when
180 computing the XR type name.
181
182 (ada_to_fixed_type): Try determining the tag only if we have the
183 object's address.
184 (to_fixed_array_type): Add comments.
185
186 (ada_check_typedef): Replace expression checking whether the given
187 type is a stub or not by a "call" to TYPE_STUB. Clearer and more
188 consistent.
189
190 * ada-lang.h (ADA_KNOWN_AUXILIARY_FUNCTION_NAME_PATTERNS): Allow
191 '$' in addition to '.' for runtime auxiliary function name suffixes.
192 See changes to ada_decode above.
193
194 (struct task_control_block): Add field called_task. (This change is
195 to keep synchronized with our local sources; it does not affect the
196 public version yet.)
197
198 * ada-typeprint.c (ada_print_type): Use int_string for printing
199 modulus of modular type.
200
201 (print_range): Trivial editorial comment fix.
202
203 * ada-valprint.c (ada_emit_char): Use normal Ada syntax for
204 double quote in string.
205
206 2006-01-01 Joel Brobecker <brobecker@adacore.com>
207
208 * top.c: Add 2006 to list of copyright years in file header.
209
210 2006-01-01 Joel Brobecker <brobecker@adacore.com>
211
212 * top.c (print_gdb_version): Update copyright year to 2006.
213
214 2006-01-01 Roger Sayle <roger@eyesopen.com>
215 Elena Zannoni <ezannoni@redhat.com>
216
217 PR symtab/1651
218 * xcoffread.c (xcoff_next_symbol_text): Check this_symtab_psymtab
219 for NULL before assigning this_symtab_psymtab->objfile to objfile.
220 (scan_xcoff_symtab): Initialize next_symbol_text_func.
221 (Committed by Jim Blandy)
222
223 For older changes see ChangeLog-2005.
224 \f
225 Local Variables:
226 mode: change-log
227 left-margin: 8
228 fill-column: 74
229 version-control: never
230 End:
This page took 0.036137 seconds and 4 git commands to generate.