3 * hppa-linux-tdep.c: Fix copyright indentation.
5 * hppa-tdep.h (enum hppa_regnum): Add HPPA_FP31R_REGNUM.
6 * hppabsd-nat.c (hppabsd_fpregset_supplies_p)
7 (hppabsd_supply_fpregset, hppabsd_collect_fpregset): New
9 (hppabsd_fetch_registers, hppabsd_store_registers): Handle
10 floating-point registers.
14 * event-loop.c (gdb_select): Detect file descriptors that have
19 * hppabsd-tdep.c (hppabsd_init_abi): Set long_double_bit to 64,
20 and long_double_format accordingly.
24 * ada-exp.y (yyerror): Change message to ignore the argument, avoiding
26 * ada-lang.c (ada_value_struct_elt): Change interface and handling
27 of errors to avoid translation problem (and less than optimal error
29 (ada_value_tag, ada_tag_name_1, ada_tag_name_2, ada_evaluate_subexp):
30 Use new interface to ada_value_struct_elt.
31 * ada_lang.h (ada_value_struct_elt): Update declaration to new
34 * ChangeLog: remove reference to ada-tasks.c from entry of
39 * remote.c (get_memory_packet_size, set_thread)
40 (remote_unpack_thread_info_response, remote_get_threadinfo)
41 (parse_threadlist_response, remote_get_threadlist)
42 (remote_current_thread, remote_threads_info)
43 (remote_threads_extra_info, extended_remote_restart, get_offsets)
44 (remote_check_symbols, remote_open_1, remote_detach)
45 (remote_async_wait, remote_fetch_registers)
46 (remote_store_registers, check_binary_download, putpkt_binary)
47 (remote_insert_breakpoint, remote_insert_watchpoint)
48 (remote_remove_watchpoint, remote_insert_hw_breakpoint)
49 (remote_remove_hw_breakpoint, remote_xfer_partial, remote_rcmd)
50 (packet_command): Remove redundant parenthesis.
54 * corefile.c (read_memory_integer, read_memory_unsigned_integer)
55 (read_memory_typed_address, write_memory)
56 (write_memory_unsigned_integer, write_memory_signed_integer): Use
57 gdb_byte where appropriate.
59 * mi/mi-main.c (mi_cmd_data_read_memory): Change type of mbus into
62 * target.h (target_read_memory_partial, target_write_memory_partial):
63 Change second argument to 'gdb_byte *'.
64 * target.c (target_xfer_memory_partial): Change third argument to
66 (target_read_memory_partial, target_write_memory_partial): Change
67 second argument to 'gdb_byte *'.
69 * linespec.c (decode_objc): Make i1 and i2 unsigned.
70 (find_method): Set values.sals to NULL.
74 * amd64obsd-nat.c (amd64obsd_supply_pcb): Use 'gdb_byte *' instead
79 * ada-exp.y, ada-lex.l, ada-typeprint.c: I18n markup.
80 * ada-lang.c: I18n markup.
81 Editorial: change "can not" => "cannot" throughout.
85 * Makefile.in: Sort dependencies.
89 * top.c (control_level): Remove unused variable.
93 * objfiles.c (source.h): Include.
94 (free_objfile): Update comment about clear_symtab_users().
95 (free_objfile): Check all symtabs of objfile being freed and if
96 one of them is the current source symtab, call
97 clear_current_source_symtab_and_line().
101 Checkpoint/Restart for Linux.
102 * linux-nat.c: Add support for debugging multiple forks.
103 Add #include for linux-fork.h (interface spec).
104 (super_mourn_inferior): New function pointer.
105 (child_mourn_inferior): New function / target method.
106 (linux_target): Claim to_mourn_inferior method pointer.
107 (child_follow_fork): Call interface to linux-fork, conditionally
108 add new fork processes to list of debugged processes.
109 (kill_inferior): Use interface to linux-fork to kill
112 * linux-fork.h: New file.
113 * linux-fork.c: New file. Support for debugging multiple forks
114 of the same program. Support for checkpoint and restart commands.
116 * infrun.c (nullify_last_target_wait_ptid): New function.
118 * Makefile.in: Add linux-fork.
119 * config/*/linux.mh: Add linux-fork.
120 * NEWS: Mention new functionality.
124 * ada-exp.y (syntax definitions,write_var_or_type,write_name_assoc):
125 Change uses of "illegal" to "invalid".
129 * ada-exp.y: Considerable reorganization to move functionality
130 from ada-lex.l to here, where it is logically more appropriate.
131 The original reason, however, was to prevent premature name
132 lookups for selector names in record aggregates.
133 (BLOCKNAME, TYPENAME, OBJECT_RENAMING): Remove; lexer now returns
134 NAME for all of these.
135 (VAR): New artificial token to clarify precedence rules.
136 (OTHERS): New lexeme.
137 (empty_stoken): New symbol.
138 (%union): Remove ssym, voidval.
139 (%type): Remove <voidval> type declarations.
140 (syntax definitions): Add aggregates.
141 Remove distinction between NAME, TYPENAME, BLOCKNAME, OBJECT_RENAMING.
142 Rename some non-terminals to be closer to reference manual usage.
143 Tighten up expression syntax to disallow certain non-Ada
144 constructions such as X and then Y or else Z.
145 (ada_parse): Remove initialization of left_block_context.
146 (write_var_from_name): Remove.
147 (write_var_or_type): New function, containing previous code from
148 defunct write_var_from_name and name_lookup.
149 (block_lookup): New function, moved from ada-lex.l
150 (select_possible_type_sym): New function, factored out of
151 name_lookup, which used to be in ada-lex.l.
152 (find_primitive_type): Ditto.
153 (chop_selector): Ditto.
154 (write_ambiguous_var): New function, factored out of defunct
156 (write_selectors): New function.
157 (write_name_assoc): New function.
158 (write_exp_op_with_string): New function.
160 * ada-lex.l (processId): Change interface to return stoken.
161 (tempbuf, resize_tempbuf, tempbuf_size, tempbuf_len): Remove.
162 (block_lookup, name_lookup): Remove. Functionality moved to
164 (state IN_STRING): Remove.
165 (rules): Handle string escapes in processString.
167 Return all NAMEs, BLOCKNAMEs, OBJECT_RENAMINGs, TYPENAMEs in
168 yylval.sval (as simple strings).
169 All name look-ups now handled in ada-exp.y.
170 Introduce "::" (COLONCOLON) token and return as separate token.
171 (processId): Change return convention. Comment.
172 Leave leading "'" in place.
173 (processString): New function.
174 (find_dot_all): Add note to comment.
175 Fix problem that allowed match only at the end.
177 * ada-lang.c: Introduce aggregates.
178 (find_struct_field): Add new parameter to count fields skipped, and
179 allow other output parameters to be NULL.
180 (value_tag_from_contents_and_address, ada_value_struct_elt): Use
181 new find_struct_field.
182 (ada_index_struct_field, assign_aggregate, ada_is_array_type)
183 (num_visible_fields, ada_index_struct_field_1, ada_index_struct_field)
184 (num_component_specs, assign_component, assign_aggregate):
185 (aggregate_assign_from_choices,aggregate_assign_positional)
186 (aggregate_assign_others,add_component_interval):
188 (ada_evaluate_subexp): Declare.
189 Add aggregate-related operators.
190 (ada_forward_operator_length): Declare.
191 (resolve_subexp): Add cases for new aggregate operators and OP_NAME.
192 Consolidate Ada operators, using ada_forward_operator_length.
193 (ada_search_struct_field): Search in forward order.
194 (ADA_OPERATORS): Add new aggregate operators.
195 (ada_operator_length, ada_op_name, ada_forward_operator_length)
196 (ada_dump_subexp_body, ada_print_subexp): Handle new aggregate
197 operators and OP_NAME.
198 (ada_type_of_array): Use longest_to_int.
199 (value_assign_to_component): New function.
200 (ada_forward_operator_length, ada_op_name, ada_dump_subexp_body):
202 (ada_forward_operator_length, ada_dump_subexp_body):
205 * ada-lang.h (enum ada_operator): Add OP_AGGREGATE, OP_OTHERS,
206 OP_CHOICES, OP_DISCRETE_RANGE, OP_POSITIONAL.
210 * ada-lang.c (process_raise_exception_name): Remove extraneous
211 definition from unsubmitted code.
213 (is_lower_alphanum): New function.
214 (ada_decode): Add support for decoding protected object subprograms
215 and entries, and of entities declared inside protected object
217 Also add missing handling for__{DIGITS}+ suffixes.
218 Allow '$<digits>' as valid overloading suffix.
219 (is_name_suffix): Add handling for protected type entriy suffixes.
220 Also add support for protected type subprogram suffixes, but keep
221 it commented out for now, as there is an ambiguity between these
222 entities and other internally generated entities.
223 Allow '$<digits>' as valid overloading suffix.
224 (is_valid_name_for_wild_match): New function.
225 (wild_match): Add an exra level of verification of the entity name
226 before declaring it a match for the given pattern.
228 (ada_type_of_array, ada_evaluate_subexp): Use more proper
229 longest_to_int rather than cast.
231 (ada_evaluate_subexp): Use "invalid" rather than "illegal" in comment.
233 (ada_coerce_to_simple_array): Call check_size to make sure
234 that the object size is reasonable.
236 (ada_value_primitive_packed_val): Use correct location in target
237 buffer for extracting packed record fields that are themselves records.
239 (add_defn_to_vec): Do not try to replace a stub type by its full
240 type. Avoids a potential infinite loop.
242 (ada_lookup_symbol): Move return incorrectly placed return statement,
243 causing a loop that should be scanning all object files to only
246 (ada_tag_name_2): New function.
247 (ada_tag_name_1): If no 'tsd' field found in the dispatching table,
248 use alternative representation.
250 (ada_find_renaming_symbol): Strip the function name suffix when
251 computing the XR type name.
253 (ada_to_fixed_type): Try determining the tag only if we have the
255 (to_fixed_array_type): Add comments.
257 (ada_check_typedef): Replace expression checking whether the given
258 type is a stub or not by a "call" to TYPE_STUB. Clearer and more
261 * ada-lang.h (ADA_KNOWN_AUXILIARY_FUNCTION_NAME_PATTERNS): Allow
262 '$' in addition to '.' for runtime auxiliary function name suffixes.
263 See changes to ada_decode above.
265 (struct task_control_block): Add field called_task. (This change is
266 to keep synchronized with our local sources; it does not affect the
269 * ada-typeprint.c (ada_print_type): Use int_string for printing
270 modulus of modular type.
272 (print_range): Trivial editorial comment fix.
274 * ada-valprint.c (ada_emit_char): Use normal Ada syntax for
275 double quote in string.
279 * top.c: Add 2006 to list of copyright years in file header.
283 * top.c (print_gdb_version): Update copyright year to 2006.
289 * xcoffread.c (xcoff_next_symbol_text): Check this_symtab_psymtab
290 for NULL before assigning this_symtab_psymtab->objfile to objfile.
291 (scan_xcoff_symtab): Initialize next_symbol_text_func.
292 (Committed by Jim Blandy)
294 For older changes see ChangeLog-2005.
300 version-control: never