Delete free_named_symtabs and associated cleanup.
[external/binutils.git] / gdb / ChangeLog
1 2010-01-19  Joel Brobecker  <brobecker@adacore.com>
2
3         Delete free_named_symtabs and associated cleanup.
4         * symfile.h (free_named_symtabs): Delete declaration.
5         * symfile.c: Remove some commented out code (clear_symtab_users_once).
6         (cashier_psymtab): Comment function out.
7         Delete declaration.
8         (free_named_symtabs): Delete.
9         * coffread.c (coff_end_symtab): Remove call to free_named_symtabs.
10         * dbxread.c (end_psymtab): Likewise.
11         * dwarf2read.c (process_psymtab_comp_unit): Ditto.
12         * exec.c (exec_close_1): Ditto.
13         * xcoffread.c (xcoff_end_psymtab): Likewise.
14
15 2010-01-19  Joel Brobecker  <brobecker@adacore.com>
16
17         * stack.c (print_block_frame_labels): Comment function out.
18
19 2010-01-19  Joel Brobecker  <brobecker@adacore.com>
20
21         Delete unused or undefined functions.
22         * breakpoint.c (ep_parse_optional_filename): Delete.
23         * dcache.c (dcache_write_line): Remove declaration.
24         * infrun.c (build_infrun): Remove declaration.
25         * tracepoint.c (tracepoint_save_command): Remove declaration.
26         * linux-nat.c (init_lwp_list): Delete. No longer used.
27         * event-loop.c (check_async_signal_handlers): Delete declaration.
28         * infrun.c (init_execution_control_state): Delete.
29         (proceed): Update comment to avoid mentioning
30         init_execution_control_state.
31         * target.c (kill_or_be_killed, nosupport_runtime): Delete.
32         * ada-lang.c (ada_to_static_fixed_value): Delete.
33         * scm-lang.c (evaluate_subexp_scm): Delete declaration.
34         * cp-namespace.c (cp_copy_usings): Delete.
35         * xml-syscall.c (xml_number_of_syscalls): Delete.
36         * progspace.c (find_program_space_by_num): Delete.
37         * inflow.c (handle_sigio): Delete declaration.
38         * hppa-tdep.c (hppa_alignof): Delete.
39         * mipsnbsd-tdep.c (mipsnbsd_sigtramp_offset)
40         (mipsnbsd_core_osabi_sniffer): Delete.
41
42 2010-01-18  Tom Tromey  <tromey@redhat.com>
43
44         PR c++/9680:
45         * c-exp.y (REINTERPRET_CAST, DYNAMIC_CAST, STATIC_CAST)
46         (CONST_CAST): New tokens.
47         (exp): Add new productions.
48         (ident_tokens): Add const_cast, dynamic_cast, static_cast, and
49         reinterpret_cast.
50         (is_cast_operator): New function.
51         (yylex): Handle cast operators specially.
52         * eval.c (evaluate_subexp_standard) <UNOP_DYNAMIC_CAST,
53         UNOP_REINTERPRET_CAST>: New cases.
54         * expprint.c (print_subexp_standard): Likewise.
55         (op_name_standard): Likewise.
56         (dump_subexp_body_standard): Likewise.
57         * parse.c (operator_length_standard): Likewise.
58         * expression.h (enum exp_opcode): New constants UNOP_DYNAMIC_CAST,
59         UNOP_REINTERPRET_CAST.
60         * gdbtypes.c (class_types_same_p): New function.
61         (is_ancestor): Use it.
62         (is_public_ancestor): New function.
63         (is_unique_ancestor_worker): Likewise.
64         (is_unique_ancestor): Likewise.
65         * gdbtypes.h (class_types_same_p, is_public_ancestor)
66         (is_unique_ancestor): Declare.
67         * valops.c (value_reinterpret_cast): New function.
68         (dynamic_cast_check_1): Likewise.
69         (dynamic_cast_check_2): Likewise.
70         (value_dynamic_cast): Likewise.
71         * value.h (value_reinterpret_cast, value_dynamic_cast): Declare.
72
73 2010-01-18  Joel Brobecker  <brobecker@adacore.com>
74
75         Fix build failure when building without Python support.
76         * python/python.c: Always include exceptions.h, even when HAVE_PYTHON
77         is not defined.
78
79 2010-01-18  Joel Brobecker  <brobecker@adacore.com>
80
81         Use XVS field type instead of doing a parallel lookup.
82         * ada-lang.c (ada_get_base_type): Follow the XVS field type
83         if it is a reference type instead of doing a type lookup using
84         the XVS field name.
85
86 2010-01-18  Joel Brobecker  <brobecker@adacore.com>
87
88         Trust PAD types instead of using PAD___XVS.
89         * ada-lang.c (trust_pad_over_xvs): New static variable.
90         (ada_is_aligner_type): If !trust_pad_over_xvs and there is a
91         parallel XVS type, follow the XVS type instead of the PAD type.
92         (unwrap_value): Make sure that there is no parallel XVE type
93         before returning the value as is.
94         (set_ada_list, show_ada_list): New static variables.
95         (set_ada_command, show_ada_command): New functions.
96         (_initialize_ada_language): Add new "set/show ada" prefix commands.
97         Add new "set/show ada trust-PAD-over-XVS" setting.
98
99 2010-01-18  Tom Tromey  <tromey@redhat.com>
100             Thiago Jung Bauermann  <bauerman@br.ibm.com>
101
102         Allow "source" to load python scripts.
103         * exceptions.h (enum errors): Add UNSUPPORTED_ERROR.
104         * python/python.c (source_python_script): New function.
105         * python/python.h (source_python_script): Add declaration.
106         * cli/cli-cmds.c: #include exceptions.h and python/python.h.
107         (script_ext_off, script_ext_soft, script_ext_strict)
108         (script_ext_enums, script_ext_mode): New static constants.
109         (show_script_ext_mode, find_and_open_script): New functions.
110         (source_script): Enhance to handle Python scripts.
111         (init_cli_cmds): Add set/show script-extension commands.
112
113 2010-01-16  Stan Shebs  <stan@codesourcery.com>
114
115         * tracepoint.h (struct trace_status): Use unsigned long long
116         instead of size_t.
117         * tracepoint.c (trace_status_command): Fix printf directive.
118         (trace_save_command): Check fwrite returns, fix printf directive.
119         (trace_filename): New global.
120         (tfile_open): Set it, check read returns.
121         (tfile_close): Free trace_filename.
122         (tfile_get_traceframe_address): Check read returns.
123         (tfile_trace_find): Ditto.
124         (tfile_fetch_registers): Ditto.
125         (tfile_xfer_partial): Ditto.
126         (tfile_get_trace_state_variable_value): Ditto.
127
128 2010-01-15  Stan Shebs  <stan@codesourcery.com>
129
130         Add trace file support.
131         * tracepoint.h (enum trace_stop_reason): New enum.
132         (struct trace_status): New struct.
133         (parse_trace_status): Declare.
134         (struct uploaded_tp): Move here from remote.c,
135         add fields for actions.
136         (struct uploaded_tsv): New struct.
137         * tracepoint.c (tfile_ops): New target vector.
138         (trace_fd): New global.
139         (tfile_open): New function.
140         (tfile_close): New function.
141         (tfile_files_info): New function.
142         (tfile_get_trace_status): New function.
143         (tfile_get_traceframe_address): New function.
144         (tfile_trace_find): New function.
145         (tfile_fetch_registers): New function.
146         (tfile_xfer_partial): New function.
147         (tfile_get_trace_state_variable_value): New function.
148         (init_tfile_ops): New function.
149         (_initialize_tracepoint): Call it, add tfile target.
150         (trace_status): New global.
151         (current_trace_status): New function.
152         (trace_running_p): Remove, change all users to get from
153         current_trace_status()->running.
154         (get_trace_status): Remove.
155         (trace_status_command): Call target_get_trace_status directly,
156         report more detail including tracing stop reasons.
157         (trace_find_command): Always allow tfind on a file.
158         (trace_find_pc_command): Ditto.
159         (trace_find_tracepoint_command): Ditto.
160         (trace_find_line_command): Ditto.
161         (trace_find_range_command): Ditto.
162         (trace_find_outside_command): Ditto.
163         (trace_frames_offset, cur_offset): Declare as off_t.
164         (trace_regblock_size): Rename from reg_size, update users.
165         (parse_trace_status): New function.
166         (tfile_interp_line): New function.
167         (disconnect_or_stop_tracing): Ensure current trace
168         status before asking what to do.
169         (stop_reason_names): New global.
170         (trace_save_command): New command.
171         (get_uploaded_tp): Move here from remote.c.
172         (find_matching_tracepoint): Ditto.
173         (merge_uploaded_tracepoints): New function.
174         (parse_trace_status): Use stop_reason_names.
175         (_initialize_tracepoint): Define tsave command.
176         * target.h (target_ops): New fields to_save_trace_data,
177         to_upload_tracepoints, to_upload_trace_state_variables,
178         to_get_raw_trace_data, change to_get_trace_status
179         to take a pointer to a status struct.
180         (target_save_trace_data): New macro.
181         (target_upload_tracepoints): New macro.
182         (target_upload_trace_state_variables): New macro.
183         (target_get_raw_trace_data): New macro.
184         * target.c (update_current_target): Add new methods, change
185         signature of to_get_trace_status.
186         * remote.c (hex2bin): Make globally visible.
187         (bin2hex): Ditto.
188         (remote_download_trace_state_variable): Download name also.
189         (remote_get_trace_status): Update parameter, use
190         parse_trace_status.
191         (remote_save_trace_data): New function.
192         (remote_upload_tracepoints): New function.
193         (remote_upload_trace_state_variables): New function.
194         (remote_get_raw_trace_data): New function.
195         (remote_start_remote): Use them.
196         (_initialize_remote_ops): Add operations.
197         * ax-gdb.c: Include breakpoint.h.
198         * breakpoint.c (create_tracepoint_from_upload): Use
199         break_command_really, return tracepoint, warn about unimplemented
200         parts.
201         * NEWS: Mention trace file addition.
202
203 2010-01-15  Jan Kratochvil  <jan.kratochvil@redhat.com>
204
205         Fix compilation warning on gcc-3.4.
206         * exec.c (print_section_info): Move the `displacement' variable
207         initialization to its declaration.
208
209 2010-01-15  Jan Kratochvil  <jan.kratochvil@redhat.com>
210
211         * gdb-gdb.py (StructMainTypePrettyPrinter): Fix TYPE_CODE_RANGE
212         comparison.
213
214 2010-01-15  Eric Botcazou  <botcazou@adacore.com>
215
216         "info tasks" broken by typedefs in ATCB type definitions.
217         * ada-lang.c (ada_template_to_fixed_record_type_1): Add call to
218         ada_check_typedef before retrieving the length of the type for
219         regular fields.
220
221 2010-01-15  Joel Brobecker  <brobecker@adacore.com>
222
223         Do not use name-based lookup for unconstrained packed arrays.
224         * ada-lang.c (find_parallel_type_by_descriptive_type):
225         Limit the fallback to name-based lookups to the case where
226         the type is a constrained packed array.
227
228 2010-01-15  Joel Brobecker  <brobecker@adacore.com>
229
230         Enhance gdb-gdb.py to handle main_type.type_specific.
231         * gdb-gdb.py: Print the type-specific part of struct main_type.
232
233 2010-01-15  Jan Kratochvil  <jan.kratochvil@redhat.com>
234
235         * configure.ac (AC_CHECK_FUNCS): Check for setrlimit and getrlimit.
236         * configure: Regenerate.
237         * config.in: Regenerate.
238         * utils.c: Include sys/resource.h.
239         (dump_core, can_dump_core): New.
240         (internal_vproblem): Update the comment.  Check can_dump_core while
241         setting dump_core_p.  Replace two abort calls by dump_core calls.
242
243 2010-01-14  Jan Kratochvil  <jan.kratochvil@redhat.com>
244             Eli Zaretskii  <eliz@gnu.org>
245
246         * NEWS: Document the PIE support.
247
248 2010-01-14  Jan Kratochvil  <jan.kratochvil@redhat.com>
249
250         * linux-tdep.c: Remove includes gdbcore.h, observer.h and elf-bfd.h.
251         (check_is_pie_binary, _initialize_linux_tdep): Remove.
252
253 2010-01-14  Jan Kratochvil  <jan.kratochvil@redhat.com>
254
255         * solib-svr4.c (svr4_exec_displacement): New comment for entry_point.
256         Replace exec_entry_point call by bfd_get_start_address.
257
258 2010-01-14  Jan Kratochvil  <jan.kratochvil@redhat.com>
259
260         Support Valgrind attachments broken by the PIE support.
261         * auxv.c: Include gdbcore.h.
262         (procfs_xfer_auxv): Make static.  Reduce its comment.  Drop its
263         parameters ops, object and annex.  Remove their assertions.
264         (ld_so_xfer_auxv, memory_xfer_auxv): New function.
265         * auxv.h (procfs_xfer_auxv): Remove comment.  Rename to ...
266         (memory_xfer_auxv): ... here.
267         * linux-nat.c (linux_xfer_partial): Rename procfs_xfer_auxv to
268         memory_xfer_auxv.
269         * procfs.c (procfs_xfer_partial): Likewise.
270         * solib-svr4.c (svr4_relocate_main_executable): New prototype.
271         (svr4_special_symbol_handling): Call svr4_relocate_main_executable.
272         (svr4_solib_create_inferior_hook): Conditionalize the
273         svr4_relocate_main_executable call.
274
275 2010-01-14  Jan Kratochvil  <jan.kratochvil@redhat.com>
276
277         * solib-svr4.c (scan_dyntag): Remove variable dyn_addr.  New variable
278         target_section.  Find SECT in current_target_sections, gdb_assert it.
279         (elf_lookup_lib_symbol): Pass the binary file if given symfile_objfile.
280         New variable abfd.
281         * symtab.c (lookup_objfile_from_block): Return the binary file instead
282         of separate debug info file.
283
284 2010-01-14  Jan Kratochvil  <jan.kratochvil@redhat.com>
285
286         Support PIEs with no symfile_objfile.
287         * exec.c (print_section_info <abfd == exec_bfd>): Relocate Entry point.
288         * solib-svr4.c (svr4_relocate_main_executable <exec_bfd>): New block.
289
290 2010-01-14  Jan Kratochvil  <jan.kratochvil@redhat.com>
291
292         * solib-svr4.c (svr4_relocate_main_executable): Move the static exec
293         code part to ...
294         (svr4_static_exec_displacement): ... a new function.
295         (svr4_exec_displacement): New function.
296         (svr4_relocate_main_executable): Call svr4_exec_displacement.  Allocate
297         new_offsets using alloca now.  Remove variable old_chain and changed.
298         Call objfile_relocate unconditionally now.
299
300 2010-01-14  Doug Evans  <dje@google.com>
301
302         * gdbtypes.c (arch_flags_type): Fix comment.
303         * gdbtypes.h (arch_composite_type): Fix comment.
304
305 2009-01-14  Tristan Gingold  <gingold@adacore.com>
306
307         * machoread.c (macho_add_oso_symfile): Add symfile_flags parameter.
308         Call xstrdup for abfd->filename.  Pass symfile_flags and objfile flags
309         to symbol_file_add_from_bfd.  Add OSO as separate objfile.
310         (macho_oso_symfile): Add symfile_flags parameter.  Pass it to
311         macho_add_oso_symfile.
312         (macho_symfile_read): Pass symfile_flags to macho_oso_symfile.
313
314 2010-01-14  Joel Brobecker  <brobecker@adacore.com>
315
316         Tru64: Dead threads are never deleted.
317         * dec-thread.c (dec_thread_ptid_is_alive): New function.
318         (dec_thread_count_gdb_threads): Fix counter increment.
319         (dec_thread_add_gdb_thread): Fix *listp increment.
320         (resync_thread_list): Fix bug in deletion of dead threads that
321         caused all threads to be deleted, instead of just the dead ones.
322
323 2010-01-13  Phil Muldoon  <pmuldoon@redhat.com>
324
325         PR python/10705
326
327         * python/python-internal.h: Add lazy_string_object_type
328         definition.
329         (create_lazy_string_object, gdbpy_initialize_lazy_string)
330         (gdbpy_is_lazystring, gdbpy_extract_lazy_string): Define.
331         * python/py-value.c (valpy_lazy_string): New function.
332         (convert_value_from_python): Add lazy string conversion.
333         * python/py-prettyprint.c (pretty_print_one_value): Check if
334         return is also a lazy string.
335         (print_string_repr): Add lazy string printing branch.
336         (print_children): Likewise.
337         * python/py-lazy-string.c: New file. Implement lazy strings.
338         * python/python.c (_initialize_python): Call
339         gdbpy_initialize_lazy_string.
340         * varobj.c (value_get_print_value): Add lazy string printing
341         branch.  Account for encoding.
342         * c-lang.c (c_printstr): Account for new encoding argument.  If
343         encoding is NULL, find encoding suited for type, otherwise use
344         user encoding.
345         * language.h (language_defn): Add encoding argument.
346         (LA_PRINT_STRING): Likewise.
347         * language.c (unk_lang_printstr): Update to reflect new encoding
348         argument to language_defn.
349         * ada-lang.h (ada_printstr): Likewise.
350         * c-lang.h (c_printstr): Likewise.
351         * p-lang.h (pascal_printstr);
352         * f-lang.c (f_printstr): Likewise.
353         * m2-lang.c (m2_printstr): Likewise.
354         * objc-lang.c (objc_printstr): Likewise.
355         * p-lang.c (pascal_printstr): Likewise.
356         * scm-lang.c (scm_printstr): Likewise.
357         * c-valprint.c (c_val_print): Update LA_PRINT_STRING call for
358         encoding argument.
359         * ada-valprint.c (ada_printstr): Likewise.
360         * f-valprint.c (f_val_print): Likewise
361         * m2-valprint.c (m2_val_print): Likewise.
362         * p-valprint.c (pascal_val_print): Likewise.
363         * expprint.c (print_subexp_standard): Likewise.
364         * valprint.c (val_print_string): Likewise.
365         * Makefile.in (SUBDIR_PYTHON_OBS): Add py-lazy-string.
366         (SUBDIR_PYTHON_SRCS): Likewise.
367         (py-lazy-string.o): New rule.
368
369 2010-01-13  Doug Evans  <dje@google.com>
370
371         * mi/mi-main.c (list_available_thread_groups): Avoid "may be used
372         uninitialized" warning from gcc on local `tree'.
373
374 2010-01-13  Vladimir Prus  <vladimir@codesourcery.com>
375
376         Implement core awareness.
377
378         * bcache.c (compare_ints): Remove
379         (print_percentage): Use compare_positive_ints.
380         * defs.h (compare_positive_ints): Declare.
381         * linux-nat.h (struct lin_lwp): New field core.
382         (linux_nat_core_of_thread_1): Declare.
383         * linux-nat.c (add_lwp): Init the 'core' field.
384         (linux_nat_wait_1): Record the core.
385         (linux_nat_core_of_thread_1, linux_nat_core_of_thread): New.
386         (linux_nat_add_target): Register the above.
387         * linux-thread-db.c (update_thread_core): New.
388         (thread_db_find_new_threads): Update core information for
389         every thread.
390         * remote.c (struct private_thread_info): New.
391         (free_private_thread_info, demand_private_info): New.
392         (PACKET_qXfer_threads, use_osdata_threads): New.
393         (struct thread_item, threads_parsing_context
394         (start_thread, end_thread, thread_attributes)
395         (thread_children, threads_children, threads_elements): New.
396         (remote_threads_info): Try qXfer:threads before anything
397         else.
398         (remote_protocol_packets): Register qXfer:threads.
399         (remote_open_1): Init use_osdata_threads.
400         (struct stop_reply): New field 'core'.
401         (remote_parse_stop_reply): Parse core number.
402         (process_stop_reply): Record core number.
403         (remote_xfer_partial): Handle qXfer:threads.
404         (remote_core_of_thread): New.
405         (init_remote_ops): Register remote_core_of_thread.
406         (_initialize_remote): Register qXfer:read.
407         * target.c (target_core_of_thread): New
408         * target.h (enum target_object): New value TARGET_OBJECT_THREADS.
409         (struct target_ops): New field to_core_of_threads.
410         (target_core_of_thread): Declare.
411         * gdbthread.h (struct thread_info): New field private_dtor.
412         * thread.c (print_thread_info): Report the core.
413         * ui-out.c (MAX_UI_OUT_LEVELS): Increase.
414         * utils.c (compare_positive_ints): New.
415         * features/threads.dtd: New.
416         * mi/mi-interp.c (mi_on_normal_stop): Report the core.
417         * mi/mi-main.c (struct collect_cores_data, collect_cores)
418         (do_nothing, free_vector_of_osdata_items)
419         (splay_tree_int_comparator, free_splay_tree): New.
420         (print_one_inferior_data): Implemented printing of selected
421         inferiors.  Collect and print cores.
422         (output_cores): New.
423         (mi_cmd_list_thread_groups): Support --recurse.  Permit specifying
424         thread groups together with --available.
425
426 2010-01-12  Jan Kratochvil  <jan.kratochvil@redhat.com>
427
428         * configure: Regenerate (for _STRUCTURED_PROC).
429
430 2010-01-12  Joel Brobecker  <brobecker@adacore.com>
431
432         Delete dead function.
433         * ada-lang.c (extract_string): Delete.  No longer used.
434
435 2010-01-12  Joel Brobecker  <brobecker@adacore.com>
436
437         Fix -Wunused warning in dec-thread.c.
438         * dec-thread.c (dec_thread_count_gdb_threads)
439         (dec_thread_add_gdb_thread): Prevent -Wunused warning.
440
441 2010-01-12  Joel Brobecker  <brobecker@adacore.com>
442
443         * ada-valprint.c (ada_print_floating): Remove trailing space.
444
445 2010-01-12  Joel Brobecker  <brobecker@adacore.com>
446
447         Add support for DW_AT_GNAT_descriptive_type.
448         * gdbtypes.h (enum type_specific_kind): New enum.
449         (struct main_type) [type_specific_field]: New component.
450         [type_specific]: Add new component "gnat_stuff".
451         (struct gnat_aux_type): New type.
452         (INIT_CPLUS_SPECIFIC): Also set TYPE_SPECIFIC_FIELD (type).
453         (HAVE_CPLUS_STRUCT): Also check TYPE_SPECIFIC_FIELD (type).
454         (gnat_aux_default, allocate_gnat_aux_type): Add declaration.
455         (INIT_GNAT_SPECIFIC, ALLOCATE_GNAT_AUX_TYPE, HAVE_GNAT_AUX_INFO)
456         (TYPE_SPECIFIC_FIELD): New macros.
457         (TYPE_CPLUS_SPECIFIC): Return cplus_struct_default if the given
458         type does not hold any cplus-specific data.
459         (TYPE_RAW_CPLUS_SPECIFIC): New macro.
460         (TYPE_GNAT_SPECIFIC, TYPE_DESCRIPTIVE_TYPE): New macros.
461         (TYPE_IS_OPAQUE): Use HAVE_CPLUS_STRUCT to check if type has
462         cplus-specific data.
463         * gdbtypes.c (allocate_cplus_struct_type): Minor stylistic rewrite.
464         Set new component TYPE_SPECIFIC_FIELD (type).
465         (gnat_aux_default): New constant.
466         (allocate_gnat_aux_type): New function.
467         (init_type): Add initialization the type-specific stuff for
468         TYPE_CODE_FLT and TYPE_CODE_FUNC types.
469         (print_gnat_stuff): New function.
470         (recursive_dump_type): Use HAVE_CPLUS_STRUCT to check for cplus-
471         specific data.  Adjust code that prints the contents of the
472         type-specific union using the TYPE_SPECIFIC_FIELD value.
473         * dwarf2read.c (dwarf2_attach_fields_to_type): Do not allocate
474         the type cplus stuff for Ada types.
475         (dwarf2_add_member_fn, dwarf2_attach_fn_fields_to_type):
476         Error out if these routines are called with an Ada type.
477         (read_structure_type, read_array_type, read_subrange_type):
478         Add call to set_descriptive_type.
479         (set_die_type): Initialize the gnat-specific data if necessary.
480         (need_gnat_info, die_descriptive_type, set_descriptive_type):
481         New functions.
482         * ada-lang.c (decode_constrained_packed_array_type): Use
483         decode_constrained_packed_array_type instead of doing a standard
484         lookup to locate a parallel type.
485         (find_parallel_type_by_descriptive_type): New function.
486         (ada_find_parallel_type_with_name): New function.
487         (ada_find_parallel_type): Reimplement using
488         ada_find_parallel_type_with_name.
489         * ada-valprint.c (print_field_values): Use HAVE_CPLUS_STRUCT
490         to check if type has a cplus stuff.
491         * linespec.c (total_number_of_methods): Likewise.
492         * mdebugread.c (new_type): Likewise.
493
494 2010-01-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
495
496         * NEWS: Document the 0b binary number prefix parsing.
497
498 2010-01-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
499
500         * objfiles.c (objfile_relocate1): Change the return type to int.
501         Describe the new return value.  Return non-zero if data changed.
502         (objfile_relocate): New variable changed.  Set it.  Call
503         breakpoint_re_set depending on CHANGED.
504
505 2010-01-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
506
507         Implement binary numbers parsing.
508         * c-exp.y (parse_number): New case 'b' and 'B'.
509
510 2010-01-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
511             Tristan Gingold  <gingold@adacore.com>
512
513         * solib.c (info_sharedlibrary_command): Replace
514         objfile_has_partial_symbols and objfile_has_full_symbols calls by
515         objfile_has_symbols.
516
517 2010-01-10  Joel Brobecker  <brobecker@adacore.com>
518
519         * NEWS: Document the improvements made to the mips-irix port.
520
521 2010-01-09  Joel Brobecker  <brobecker@adacore.com>
522
523         Fix the documentation of valprint.c:value_print.
524         * valprint.c (value_print): Update the function description to
525         mention that the syntax of the output follows the current_language,
526         not necessarily C.
527
528 2010-01-09  Jan Kratochvil  <jan.kratochvil@redhat.com>
529
530         Fix displacement of separate debug info files.
531         * objfiles.c (objfile_relocate): Rename to ...
532         (objfile_relocate1): ... here and make it static.  Extend the comment.
533         (objfile_relocate): New function.
534         * solib-spu.c (spu_relocate_main_executable): Explicitly check if
535         SYMFILE_OBJFILE is NULL.  Remove variables objfile and old_chain.
536         Remove following of SEPARATE_DEBUG_OBJFILE.  new_offsets is now
537         allocated using alloca.
538         * symfile.c (copy_section_addr_info): Remove.
539         (build_section_addr_info_from_objfile): Make it global.  New variables
540         addr_bit and mask, use them.
541         * symfile.h (build_section_addr_info_from_objfile): New prototype.
542         (copy_section_addr_info): Remove.
543
544 2010-01-09  Joel Brobecker  <brobecker@adacore.com>
545
546         Signal unwinder for mips-irix N32.
547         * mips-irix-tdep.c: #include mips-tdep.h, trad-frame.h, and
548         tramp-frame.h.
549         (SIGTRAMP_FRAME_SIZE, SIGCONTEXT_PC_OFF, SIGCONTEXT_REGS_OFF)
550         (SIGCONTEXT_FPREGS_OFF, SIGCONTEXT_FPCSR_OFF, SIGCONTEXT_HI_OFF)
551         (SIGCONTEXT_LO_OFF): New macros. 
552         (mips_irix_n32_tramp_frame_init): New function. 
553         (mips_irix_n32_tramp_frame): New static constant.
554         (mips_irix_init_abi): Prepend the mips_irix_n32_tramp_frame unwinder.
555
556 2010-01-09  Joel Brobecker  <brobecker@adacore.com>
557
558         Breakpoint in shared library does not work on mips-irix.
559         * procfs.c: #include "observer.h".
560         (procfs_inferior_created): New function, moving here the code
561         which unsets the syssgi syscall-exit notifications.
562         (procfs_create_inferior): Remove the code which unsets the syssgi
563         syscall-exit notifications. It is too early to do this here.
564         (_initialize_procfs): Attach the procfs_inferior_created observer.
565
566 2010-01-09  Joel Brobecker  <brobecker@adacore.com>
567
568         Wrong return convention for arrays (mips-irix).
569         * mips-tdep.c (mips_n32n64_return_value): Arrays whose size is
570         128 bits or smaller are returned the same way as structs
571         and unions of the the same size.
572
573 2010-01-09  Joel Brobecker  <brobecker@adacore.com>
574
575         Cannot set the PC on mips-irix.
576         * irix5-nat.c (fill_gregset): Check regno against the raw PC
577         register number, no the cooked one.
578
579 2010-01-09  Joel Brobecker  <brobecker@adacore.com>
580
581         Error while loading core file on mips-irix.
582         * solib-irix.c (irix_solib_create_inferior_hook): Do nothing
583         if debugging from a core file.
584
585 2010-01-09  Joel Brobecker  <brobecker@adacore.com>
586
587         GDB hangs when attaching to process on mips-irix.
588         * solib-irix.c (irix_solib_create_inferior_hook): Do nothing if
589         attaching to a process.
590
591 2010-01-09  Joel Brobecker  <brobecker@adacore.com>
592
593         Use the correct breakpoint instruction on mips-irix.
594         * mips-tdep.c (mips_breakpoint_from_pc): Add new static variable
595         containing the correct breakpoint instruction to use on mips-irix.
596         Use it when the osabi is GDB_OSABI_IRIX.
597
598 2010-01-09  Joel Brobecker  <brobecker@adacore.com>
599
600         -Wunused warning in procfs.c (mips-irix only).
601         * procfs.c (gdb_praddset, gdb_prdelset): New macros.  Use them
602         throughout instead of using praddset and prdelset respectively.
603
604 2010-01-09  Joel Brobecker  <brobecker@adacore.com>
605
606         GDB crash while stepping into function.
607         * infrun.c (handle_inferior_event): Refetch the current frame
608         after handling what.main_action, in case that pointer became
609         dangling.
610
611 2010-01-09  Joel Brobecker  <brobecker@adacore.com>
612
613         Fix build failure of solaris-hosted cross debuggers.
614         * ada-valprint.c, parse.c: Include defs.h before including ctype.h.
615
616 2010-01-09  Daniel Gutson  <dgutson@codesourcery.com>
617
618         Fix build failure on sparc-solaris.
619         * procfs.c: (procfs_do_thread_registers) Use elfcore_write_lwpstatus.
620
621 2010-01-08  Jan Kratochvil  <jan.kratochvil@redhat.com>
622
623         Move some symfile code into subroutines.
624         * symfile.h (relative_addr_info_to_section_offsets)
625         (addr_info_make_relative): New prototypes.
626         * symfile.c (default_symfile_offsets): Move a part to ...
627         (relative_addr_info_to_section_offsets): ... this new function.
628         (default_symfile_offsets): Call it.
629         (syms_from_objfile <!mainline && addrs && addrs->other[0].name>): Move
630         this part to ...
631         (addr_info_make_relative): ... this new function.
632
633 2010-01-08  Jan Kratochvil  <jan.kratochvil@redhat.com>
634
635         Add from_tty to solib_create_inferior_hook.
636         * infcmd.c (post_create_inferior): Move solib_add after
637         solib_create_inferior_hook.  Pass from_tty to
638         solib_create_inferior_hook.  Call solib_add and SOLIB_ADD with
639         0 from_tty and comment why.
640         * infrun.c (follow_exec): Pass from_tty solib_create_inferior_hook as 0.
641         * linux-nat.c (linux_child_follow_fork): Likewise.
642         * nto-procfs.c (procfs_post_attach, procfs_create_inferior): Likewise.
643         * solib-darwin.c (darwin_solib_create_inferior_hook): New parameter
644         from_tty.
645         * solib-frv.c (frv_solib_create_inferior_hook): Likewise.
646         * solib-irix.c (irix_solib_create_inferior_hook): Likewise.
647         * solib-null.c (null_solib_create_inferior_hook): Likewise.
648         * solib-osf.c (osf_solib_create_inferior_hook): Likewise.
649         * solib-pa64.c (pa64_solib_create_inferior_hook): Likewise.
650         * solib-som.c (som_solib_create_inferior_hook): Likewise.
651         * solib-spu.c (spu_solib_create_inferior_hook): New parameter from_tty.
652         Pass it to svr4_so_ops.solib_create_inferior_hook.
653         * solib-sunos.c (sunos_solib_create_inferior_hook): New parameter
654         from_tty.
655         * solib-svr4.c (enable_break): New parameter from_tty.  Pass it to
656         solib_add.
657         (svr4_solib_create_inferior_hook): New parameter from_tty.  Pass it to
658         enable_break.
659         * solib-target.c (solib_target_solib_create_inferior_hook): New
660         parameter from_tty.
661         * solib.c (solib_create_inferior_hook): New parameter from_tty.  Pass
662         it to ops->solib_create_inferior_hook.
663         (reload_shared_libraries): Pass from_tty to solib_create_inferior_hook.
664         Move solib_add after solib_create_inferior_hook, call it now with
665         from_tty as 0.  New comment there.
666         * solib.h (solib_create_inferior_hook): New parameter from_tty.
667         * solist.h (struct target_so_ops <solib_create_inferior_hook>):
668         Likewise.
669
670 2010-01-08  Vladimir Prus  <vladimir@codesourcery.com>
671
672         Fix multiexec race.
673         * infrun.c (handle_inferior_event): Use get_thread_regcache
674         with events ptid, not get_current_regcache.
675
676 2009-01-08  Joel Brobecker  <brobecker@adacore.com>
677
678         GDB crash with empty executable name (MinGW).
679         * source.c (openp): Add assert that parameter string is not NULL.
680         if parameter string is an empty string, then return with a failure
681         immediately.
682
683 2009-01-08  Joel Brobecker  <brobecker@adacore.com>
684
685         Get rid of support for VAX Floats.
686         * ada-lang.h (ada_is_vax_floating_type, ada_vax_float_type_suffix)
687         (ada_vax_float_print_function): Delete.
688         * ada-lang.c (ada_is_vax_floating_type, ada_vax_float_type_suffix)
689         (ada_vax_float_print_function): Delete.
690         * ada-typeprint.c (print_vax_floating_point_type): Delete.
691         (ada_print_type): Remove support for VAX floats.
692         * ada-valprint.c (ada_val_print_1): Remove support for VAX floats.
693
694 2010-01-08  Jan Kratochvil  <jan.kratochvil@redhat.com>
695
696         * stabsread.c (read_args): Handle zero arguments.
697
698 2009-01-08  Joel Brobecker  <brobecker@adacore.com>
699
700         Cannot find in-tree libiconv.a after reconfigure.
701         * acinclude.m4 (AM_ICONV): If we find an in-tree libiconv.a
702         that we can use, then cache the path to this archive.
703         * configure: Regenerate.
704
705 2010-01-07  Stan Shebs  <stan@codesourcery.com>
706
707         Make tracepoint operations go through target vector.
708         * target.h (enum trace_find_type): New enum.
709         (struct target_ops): New fields to_trace_init,
710         to_download_tracepoint, to_download_trace_state_variable,
711         to_trace_set_readonly_regions, to_trace_start, to_get_trace_status,
712         to_trace_stop, to_trace_find, to_get_trace_state_variable_value,
713         to_set_disconnected_tracing.
714         (target_trace_init): New macro.
715         (target_download_tracepoint): New macro.
716         (target_download_trace_state_variable): New macro.
717         (target_trace_start): New macro.
718         (target_trace_set_readonly_regions): New macro.
719         (target_get_trace_status): New macro.
720         (target_trace_stop): New macro.
721         (target_trace_find): New macro.
722         (target_get_trace_state_variable_value): New macro.
723         (target_set_disconnected_tracing): New macro.
724         * target.c (update_current_target): Inherit and set defaults for
725         tracepoint operations.
726         * tracepoint.c (default_collect): Make globally visible.
727         (target_is_remote): Remove, along with all calls.
728         (tvariables_info): Call target_get_trace_state_variable_value.
729         (remote_set_transparent_ranges): Remove.
730         (trace_start_command): Call target_trace_init,
731         target_download_tracepoint, etc.
732         (download_tracepoint): Remove.
733         (trace_stop_command): Simplify.
734         (stop_tracing): Call target_trace_stop.
735         (get_trace_status): Call target_get_trace_status.
736         (trace_status_command): Add case for targets that cannot trace.
737         (finish_tfind_command): Change to take numerical arguments, call
738         target_trace_find.
739         (trace_find_command): Update call to finish_tfind_command.
740         (trace_find_pc_command): Ditto.
741         (trace_find_tracepoint_command): Ditto.
742         (trace_find_line_command): Ditto.
743         (trace_find_range_command): Ditto.
744         (trace_find_outside_command): Ditto.
745         (set_disconnected_tracing_value): Call
746         target_set_disconnected_tracing.
747         * remote.c: Add protocol encoding bits from tracepoint.c.
748         (trace_error): Move from tracepoint.c.
749         (remote_get_noisy_reply): Ditto.
750         (free_actions_list_cleanup_wrapper): Ditto.
751         (free_actions_list): Ditto.
752         (remote_trace_init): New function.
753         (remote_download_tracepoint): New function.
754         (remote_download_trace_state_variable): New function.
755         (remote_trace_set_readonly_regions): New function.
756         (remote_trace_start): New function.
757         (remote_get_trace_status): New function.
758         (remote_trace_stop): New function.
759         (remote_trace_find): New function.
760         (remote_download_trace_state_variable): New function.
761         (remote_set_disconnected_tracing): New function.
762         (init_remote_ops): Add tracepoint operations.
763
764         * tracepoint.c (trace_dump_command): Don't decr_pc_after_break.
765
766 2010-01-07  Tristan Gingold  <gingold@adacore.com>
767
768         * symfile.c (build_section_addr_info_from_objfile): New function.
769         (symbol_file_add_separate): Don't use offsets from objfile but
770         built an addr info.
771
772 2010-01-06  Stan Shebs  <stan@codesourcery.com>
773
774         Support disconnected tracing.
775         * infcmd.c (detach_command): Ask whether to stop tracing.
776         * cli/cli-cmds.c (quit_command): Ditto.
777         * breakpoint.h (struct breakpoint): New field number_on_target.
778         * breakpoint.c (create_tracepoint_from_upload): New function.
779         (get_tracepoint_by_number_on_target): New function.
780         * remote.c (struct remote): New field disconnected_tracing.
781         (remote_disconnected_tracing_feature): New function.
782         (remote_protocol_features): Add DisconnectedTracing.
783         (struct uploaded_tp): New struct.
784         (uploaded_tps): New global.
785         (get_uploaded_tp): New function.
786         (find_matching_tracepoint): New function.
787         (remote_get_tracing_state): New function.
788         (remote_start_remote): Call it.
789         * tracepoint.c (disconnected_tracing): New global.
790         (trace_start_command): Initialize number_on_target.
791         (stop_tracing): New function, split out from...
792         (trace_stop_command): Call stop_tracing.
793         (get_trace_status): New function, split out from...
794         (trace_status_command): Call get_trace_status, add info on
795         disconnection behavior.
796         (disconnect_or_stop_tracing): New function.
797         (finish_tfind_command): Translate from number on target.
798         (trace_find_tracepoint_command): Translate to number on target.
799         (send_disconnected_tracing_value): New function.
800         (set_disconnected_tracing): New function.
801         (_initialize_tracepoint): Add disconnected-tracing variable.
802         * NEWS: Mention disconnected tracing.
803
804 2010-01-06  Tristan Gingold  <gingold@adacore.com>
805
806         * symtab.c (lookup_global_symbol_from_objfile): Rename objfile
807         parameter to main_objfile.  Iterate on all separate debug objfiles.
808         * symfile.h (symbol_file_add_separate)
809         (find_separate_debug_file_by_debuglink): Remove parameter names.
810         * symfile.c (symbol_file_add_separate): Use add_separate_objfile.
811         (reread_symbols): Use free_objfile_separate_debug.
812         * objfiles.h (struct objfile): Add separate_debug_objfile_link.
813         Adjust comment.
814         (objfile_separate_debug_iterate, add_separate_debug_objfile)
815         (free_objfile_separate_debug): New prototypes.
816         * objfiles.c (objfile_separate_debug_iterate): New function.
817         (add_separate_debug_objfile, free_objfile_separate_debug): New
818         functions.
819         (free_objfile): Use free_objfile_separate_debug.  Adjust for
820         multiple separate debug objfile.
821         (objfile_has_symbols): Adjust comment.  Iterate on all separate
822         debug objfiles.
823         * minsyms.c (lookup_minimal_symbol): Adjust for multiple separate
824         debug objfile.
825         (lookup_minimal_symbol_text): Ditto.
826         (lookup_minimal_symbol_by_pc_name): Ditto.
827         (lookup_minimal_symbol_solib_trampoline): Ditto.
828         (lookup_minimal_symbol_by_pc_section_1): Iterate on all separate
829         debug objfiles.
830
831 2010-01-05  Stan Shebs  <stan@codesourcery.com>
832
833         Add fast tracepoints.
834         * arch-utils.h (default_fast_tracepoint_valid_at): Declare.
835         * arch-utils.c (default_fast_tracepoint_valid_at): New function.
836         * breakpoint.h (enum bptype): Add bp_fast_tracepoint.
837         * breakpoint.c (tracepoint_type): New function.
838         (ALL_TRACEPOINTS): Use it.
839         (should_be_inserted): Ditto.
840         (bpstat_check_location): Ditto.
841         (print_one_breakpoint_location): Ditto.
842         (user_settable_breakpoint): Ditto.
843         (set_breakpoint_location_function): Ditto.
844         (disable_breakpoints_in_shlibs): Ditto.
845         (delete_trace_command): Ditto.
846         (print_it_typical): Add bp_fast_tracepoint case.
847         (bpstat_what): Ditto.
848         (print_one_breakpoint_location): Ditto.
849         (allocate_bp_location): Ditto.
850         (mention): Ditto.
851         (breakpoint_re_set_one): Ditto.
852         (disable_command): Ditto.
853         (enable_command): Ditto.
854         (check_fast_tracepoint_sals): New function.
855         (break_command_really): Call it.
856         (ftrace_command): New function.
857         (_initialize_breakpoint): Add ftrace command.
858         * gdbarch.sh (fast_tracepoint_valid_at): New.
859         * gdbarch.h, gdbarch.c: Regenerate.
860         * i386-tdep.c (i386_fast_tracepoint_valid_at): New function.
861         (i386_gdbarch_init): Use it.
862         * remote.c (struct remote_state): New field fast_tracepoints.
863         (PACKET_FastTracepoints): New packet config type.
864         (remote_fast_tracepoint_feature): New function.
865         (remote_protocol_features): Add FastTracepoints.
866         (remote_supports_fast_tracepoints): New function.
867         (_initialize_remote): Add FastTracepoints.
868         * tracepoint.c (download_tracepoint): Add fast tracepoint option.
869         * NEWS: Mention fast tracepoints.
870
871 2010-01-06  Joel Brobecker  <brobecker@adacore.com>
872
873         * gdb-gdb.py: New file.
874
875 2010-01-05  Michael Snyder  <msnyder@vmware.com>
876
877         * infrun.c (handle_inferior_event): Fix typo in comment.
878
879 2010-01-05  Jan Kratochvil  <jan.kratochvil@redhat.com>
880
881         * symfile.c (syms_from_objfile): Remove the !MAINLINE conditional.
882
883 2010-01-04  Ulrich Weigand  <uweigand@de.ibm.com>
884
885         * features/Makefile (WHICH): Add s390-linux32, s390-linux64,
886         and s390x-linux64.
887         (s390-linux32-expedite): Define.
888         (s390-linux64-expedite): Define.
889         (s390x-linux64-expedite): Define.
890         * features/s390-acr.xml: New file.
891         * features/s390-fpr.xml: New file.
892         * features/s390-core32.xml: New file.
893         * features/s390-core64.xml: New file.
894         * features/s390x-core64.xml: New file.
895         * features/s390-linux32.xml: New file.
896         * features/s390-linux64.xml: New file.
897         * features/s390x-linux64.xml: New file.
898         * features/s390-linux32.c: New generated file.
899         * features/s390-linux64.c: New generated file.
900         * features/s390x-linux64.c: New generated file.
901
902         * regformats/s390-linux32.dat: New generated file.
903         * regformats/s390-linux64.dat: New generated file.
904         * regformats/s390x-linux64.dat: New generated file.
905         * regformats/reg-s390.dat: Remove.
906         * regformats/reg-s390x.dat: Remove.
907
908         * s390-nat.c: Include "auxv.h" and <elf.h>.
909         (HWCAP_S390_HIGH_GPRS): Define if undefined.
910         (s390_target_wordsize): New function.
911         (s390_auxv_parse): Likewise.
912         (s390_get_hwcap): Likewise.
913         (s390_read_description): Likewise.
914         (_initialize_s390_nat): Install s390_auxv_parse and
915         s390_read_description.
916
917         * s390-tdep.c: Include "features/s390-linux32.c",
918         "features/s390-linux64.c", and "features/s390x-linux64.c".
919         (struct gdbarch_tdep): Add gpr_full_regnum, pc_regnum, and cc_regnum.
920         (s390_register_call_saved): New function.
921         (s390_register_name): Remove.
922         (s390_register_type): Remove.
923         (s390_dwarf_regmap): Add lower half GPR pseudo DWARF CFI regnums.
924         (s390_dwarf_reg_to_regnum): Remap GPR regnums to full GPRs.
925         (s390_adjust_frame_regnum): Remap GPR regnums to lower halves for CFI.
926         (s390_pseudo_register_name): New function.
927         (s390_pseudo_register_type): New function.
928         (s390_pseudo_register_read): Handle both 32-bit and 64-bit cases.
929         Handle full GPR pesudos and varying pseudo register numbers.
930         (s390_pseudo_register_write): Likewise
931         (s390x_pseudo_register_read): Remove.
932         (s390x_pseudo_register_write): Likewise.
933         (s390_register_group): Remove.
934         (s390_pseudo_register_group): New function.
935         (s390_regmap_gregset): Add GPR upper halves.
936         (s390x_regmap_gregset): Likewise.
937         (s390_regmap_fpregset): Likewise.
938         (s390_regmap_upper): New global variable.
939         (s390_upper_regset): New global variable.
940         (s390_upper_regset_sections): New global variable.
941         (s390_regset_from_core_section): Handle GPR upper halves.
942         (s390_core_read_description): New function.
943         (s390_prologue_frame_unwind_cache): Set up ABI call-saved/clobbered
944         register information.  Handle varying pseudo register numbers.
945         (s390_backchain_frame_unwind_cache): Likewise.
946         (s390_frame_prev_register): Unwind full GPRs to show lower halves.
947         (s390_stub_frame_unwind_cache): Handle varying pseudo register numbers.
948         (s390_sigtramp_frame_unwind_cache): Unwind PSWM and PSWA as well as
949         PC and CC pseudos.  Unwind upper halves and full GPRs as appropriate.
950         Handle varying pseudo register numbers.
951         (s390_unwind_pc): Handle varying pseudo register numbers.
952         (s390_dwarf2_prev_register): New function.
953         (s390_dwarf2_frame_init_reg): Set up ABI call-saved/clobbered
954         register information.  Handle varying pseudo register numbers.
955         Install s390_dwarf2_prev_register to unwind full GPRs.
956         (s390_gdbarch_init): Handle target descriptions.  Assign varying
957         pseudo register numbers.  Install s390_adjust_frame_regnum.
958         (_initialize_s390_tdep): Initialize target descriptions.
959
960         * s390-tdep.h (S390_R0_UPPER_REGNUM .. S390_R15_UPPER_REGNUM): Define.
961         (S390_NUM_REGS): Redefine to include upper half registers.
962         (S390_PC_REGNUM, S390_CC_REGNUM): Remove.
963         (S390_NUM_PSEUDO_REGS, S390_NUM_TOTAL_REGS): Likewise.
964         (tdesc_s390_linux32): Add declaration.
965         (tdesc_s390_linux64): Likewise.
966         (tdesc_s390x_linux64): Likewise.
967
968 2010-01-04  Ulrich Weigand  <uweigand@de.ibm.com>
969
970         * regset.h (struct core_regset_section): Add HUMAN_NAME.
971         * i386-linux-tdep.c (i386_linux_regset_sections): Fill in HUMAN_NAME.
972         * ppc-linux-tdep.c (ppc_linux_vsx_regset_sections): Likewise.
973         (ppc_linux_vmx_regset_sections): Likewise.
974         (ppc_linux_fp_regset_sections): Likewise.
975
976         * corelow.c (get_core_register_section): Constify arguments.
977         (get_core_registers): Use gdbarch_core_regset_sections instead
978         of hard-coded platform-specific register section names.
979
980 2010-01-04  Ulrich Weigand  <uweigand@de.ibm.com>
981
982         * dwarf2loc.c (read_pieced_value): If a piece occupies part of
983         a register, assume the least-significant part is used.
984         (write_pieced_value): Likewise.
985
986 2010-01-04  Ulrich Weigand  <uweigand@de.ibm.com>
987
988         * printcmd.c: Include "arch-utils.h".
989         (do_one_display): Re-parse expression if current architecture changed.
990
991 2010-01-03  Jan Kratochvil  <jan.kratochvil@redhat.com>
992             Joel Brobecker  <brobecker@adacore.com>
993
994         * gdbtypes.c (check_typedef): New comment on type length.
995         * value.c (allocate_value_lazy): Remove the unused atype variable.  New
996         comment on type length.
997         (value_primitive_field): Keep the original TYPE value, new comment.
998
999 2010-01-01  Jan Kratochvil  <jan.kratochvil@redhat.com>
1000
1001         * cli/cli-script.c (process_next_line): Rename p1 as p_end and p2 as
1002         p_start.  Change != comparisons to > and < comparisons.
1003
1004 2010-01-01  Jan Kratochvil  <jan.kratochvil@redhat.com>
1005
1006         * cli/cli-script.c (process_next_line): Check P2 overrun.
1007
1008 2009-01-01  Joel Brobecker  <brobecker@adacore.com>
1009
1010         Update the copyright hearder to add year 2010 for most GDB files.
1011
1012 2009-01-01  Joel Brobecker  <brobecker@adacore.com>
1013
1014         Fix build failure in inf-ptrace.c.
1015         * inf-ptrace.c (inf_ptrace_follow_fork): Fix typo.
1016
1017 2010-01-01  Joel Brobecker  <brobecker@adacore.com>
1018
1019         * top.c (print_gdb_version): Update copyright year.
1020
1021 2010-01-01  Joel Brobecker  <brobecker@adacore.com>
1022
1023         Fix break *FUN'address thread NUM.
1024         * ada-lex.l (task): Expand rule to also match the thread keyword.
1025
1026 2010-01-01  Joel Brobecker  <brobecker@adacore.com>
1027
1028         Fix break *FUN'address task NUM.
1029         * ada-lex.l (task): New rule.
1030         * ada-lang.c (valid_task_id): Make sure the Ada task list has
1031         been built before using it.
1032
1033 For older changes see ChangeLog-2009.
1034 \f
1035 Local Variables:
1036 mode: change-log
1037 left-margin: 8
1038 fill-column: 74
1039 version-control: never
1040 coding: utf-8
1041 End: