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