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