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