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