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