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