1 2010-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
3 * configure: Regenerate (for _STRUCTURED_PROC).
5 2010-01-12 Joel Brobecker <brobecker@adacore.com>
8 * ada-lang.c (extract_string): Delete. No longer used.
10 2010-01-12 Joel Brobecker <brobecker@adacore.com>
12 Fix -Wunused warning in dec-thread.c.
13 * dec-thread.c (dec_thread_count_gdb_threads)
14 (dec_thread_add_gdb_thread): Prevent -Wunused warning.
16 2010-01-12 Joel Brobecker <brobecker@adacore.com>
18 * ada-valprint.c (ada_print_floating): Remove trailing space.
20 2010-01-12 Joel Brobecker <brobecker@adacore.com>
22 Add support for DW_AT_GNAT_descriptive_type.
23 * gdbtypes.h (enum type_specific_kind): New enum.
24 (struct main_type) [type_specific_field]: New component.
25 [type_specific]: Add new component "gnat_stuff".
26 (struct gnat_aux_type): New type.
27 (INIT_CPLUS_SPECIFIC): Also set TYPE_SPECIFIC_FIELD (type).
28 (HAVE_CPLUS_STRUCT): Also check TYPE_SPECIFIC_FIELD (type).
29 (gnat_aux_default, allocate_gnat_aux_type): Add declaration.
30 (INIT_GNAT_SPECIFIC, ALLOCATE_GNAT_AUX_TYPE, HAVE_GNAT_AUX_INFO)
31 (TYPE_SPECIFIC_FIELD): New macros.
32 (TYPE_CPLUS_SPECIFIC): Return cplus_struct_default if the given
33 type does not hold any cplus-specific data.
34 (TYPE_RAW_CPLUS_SPECIFIC): New macro.
35 (TYPE_GNAT_SPECIFIC, TYPE_DESCRIPTIVE_TYPE): New macros.
36 (TYPE_IS_OPAQUE): Use HAVE_CPLUS_STRUCT to check if type has
38 * gdbtypes.c (allocate_cplus_struct_type): Minor stylistic rewrite.
39 Set new component TYPE_SPECIFIC_FIELD (type).
40 (gnat_aux_default): New constant.
41 (allocate_gnat_aux_type): New function.
42 (init_type): Add initialization the type-specific stuff for
43 TYPE_CODE_FLT and TYPE_CODE_FUNC types.
44 (print_gnat_stuff): New function.
45 (recursive_dump_type): Use HAVE_CPLUS_STRUCT to check for cplus-
46 specific data. Adjust code that prints the contents of the
47 type-specific union using the TYPE_SPECIFIC_FIELD value.
48 * dwarf2read.c (dwarf2_attach_fields_to_type): Do not allocate
49 the type cplus stuff for Ada types.
50 (dwarf2_add_member_fn, dwarf2_attach_fn_fields_to_type):
51 Error out if these routines are called with an Ada type.
52 (read_structure_type, read_array_type, read_subrange_type):
53 Add call to set_descriptive_type.
54 (set_die_type): Initialize the gnat-specific data if necessary.
55 (need_gnat_info, die_descriptive_type, set_descriptive_type):
57 * ada-lang.c (decode_constrained_packed_array_type): Use
58 decode_constrained_packed_array_type instead of doing a standard
59 lookup to locate a parallel type.
60 (find_parallel_type_by_descriptive_type): New function.
61 (ada_find_parallel_type_with_name): New function.
62 (ada_find_parallel_type): Reimplement using
63 ada_find_parallel_type_with_name.
64 * ada-valprint.c (print_field_values): Use HAVE_CPLUS_STRUCT
65 to check if type has a cplus stuff.
66 * linespec.c (total_number_of_methods): Likewise.
67 * mdebugread.c (new_type): Likewise.
69 2010-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
71 * NEWS: Document the 0b binary number prefix parsing.
73 2010-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
75 * objfiles.c (objfile_relocate1): Change the return type to int.
76 Describe the new return value. Return non-zero if data changed.
77 (objfile_relocate): New variable changed. Set it. Call
78 breakpoint_re_set depending on CHANGED.
80 2010-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
82 Implement binary numbers parsing.
83 * c-exp.y (parse_number): New case 'b' and 'B'.
85 2010-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
86 Tristan Gingold <gingold@adacore.com>
88 * solib.c (info_sharedlibrary_command): Replace
89 objfile_has_partial_symbols and objfile_has_full_symbols calls by
92 2010-01-10 Joel Brobecker <brobecker@adacore.com>
94 * NEWS: Document the improvements made to the mips-irix port.
96 2010-01-09 Joel Brobecker <brobecker@adacore.com>
98 Fix the documentation of valprint.c:value_print.
99 * valprint.c (value_print): Update the function description to
100 mention that the syntax of the output follows the current_language,
103 2010-01-09 Jan Kratochvil <jan.kratochvil@redhat.com>
105 Fix displacement of separate debug info files.
106 * objfiles.c (objfile_relocate): Rename to ...
107 (objfile_relocate1): ... here and make it static. Extend the comment.
108 (objfile_relocate): New function.
109 * solib-spu.c (spu_relocate_main_executable): Explicitly check if
110 SYMFILE_OBJFILE is NULL. Remove variables objfile and old_chain.
111 Remove following of SEPARATE_DEBUG_OBJFILE. new_offsets is now
112 allocated using alloca.
113 * symfile.c (copy_section_addr_info): Remove.
114 (build_section_addr_info_from_objfile): Make it global. New variables
115 addr_bit and mask, use them.
116 * symfile.h (build_section_addr_info_from_objfile): New prototype.
117 (copy_section_addr_info): Remove.
119 2010-01-09 Joel Brobecker <brobecker@adacore.com>
121 Signal unwinder for mips-irix N32.
122 * mips-irix-tdep.c: #include mips-tdep.h, trad-frame.h, and
124 (SIGTRAMP_FRAME_SIZE, SIGCONTEXT_PC_OFF, SIGCONTEXT_REGS_OFF)
125 (SIGCONTEXT_FPREGS_OFF, SIGCONTEXT_FPCSR_OFF, SIGCONTEXT_HI_OFF)
126 (SIGCONTEXT_LO_OFF): New macros.
127 (mips_irix_n32_tramp_frame_init): New function.
128 (mips_irix_n32_tramp_frame): New static constant.
129 (mips_irix_init_abi): Prepend the mips_irix_n32_tramp_frame unwinder.
131 2010-01-09 Joel Brobecker <brobecker@adacore.com>
133 Breakpoint in shared library does not work on mips-irix.
134 * procfs.c: #include "observer.h".
135 (procfs_inferior_created): New function, moving here the code
136 which unsets the syssgi syscall-exit notifications.
137 (procfs_create_inferior): Remove the code which unsets the syssgi
138 syscall-exit notifications. It is too early to do this here.
139 (_initialize_procfs): Attach the procfs_inferior_created observer.
141 2010-01-09 Joel Brobecker <brobecker@adacore.com>
143 Wrong return convention for arrays (mips-irix).
144 * mips-tdep.c (mips_n32n64_return_value): Arrays whose size is
145 128 bits or smaller are returned the same way as structs
146 and unions of the the same size.
148 2010-01-09 Joel Brobecker <brobecker@adacore.com>
150 Cannot set the PC on mips-irix.
151 * irix5-nat.c (fill_gregset): Check regno against the raw PC
152 register number, no the cooked one.
154 2010-01-09 Joel Brobecker <brobecker@adacore.com>
156 Error while loading core file on mips-irix.
157 * solib-irix.c (irix_solib_create_inferior_hook): Do nothing
158 if debugging from a core file.
160 2010-01-09 Joel Brobecker <brobecker@adacore.com>
162 GDB hangs when attaching to process on mips-irix.
163 * solib-irix.c (irix_solib_create_inferior_hook): Do nothing if
164 attaching to a process.
166 2010-01-09 Joel Brobecker <brobecker@adacore.com>
168 Use the correct breakpoint instruction on mips-irix.
169 * mips-tdep.c (mips_breakpoint_from_pc): Add new static variable
170 containing the correct breakpoint instruction to use on mips-irix.
171 Use it when the osabi is GDB_OSABI_IRIX.
173 2010-01-09 Joel Brobecker <brobecker@adacore.com>
175 -Wunused warning in procfs.c (mips-irix only).
176 * procfs.c (gdb_praddset, gdb_prdelset): New macros. Use them
177 throughout instead of using praddset and prdelset respectively.
179 2010-01-09 Joel Brobecker <brobecker@adacore.com>
181 GDB crash while stepping into function.
182 * infrun.c (handle_inferior_event): Refetch the current frame
183 after handling what.main_action, in case that pointer became
186 2010-01-09 Joel Brobecker <brobecker@adacore.com>
188 Fix build failure of solaris-hosted cross debuggers.
189 * ada-valprint.c, parse.c: Include defs.h before including ctype.h.
191 2010-01-09 Daniel Gutson <dgutson@codesourcery.com>
193 Fix build failure on sparc-solaris.
194 * procfs.c: (procfs_do_thread_registers) Use elfcore_write_lwpstatus.
196 2010-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
198 Move some symfile code into subroutines.
199 * symfile.h (relative_addr_info_to_section_offsets)
200 (addr_info_make_relative): New prototypes.
201 * symfile.c (default_symfile_offsets): Move a part to ...
202 (relative_addr_info_to_section_offsets): ... this new function.
203 (default_symfile_offsets): Call it.
204 (syms_from_objfile <!mainline && addrs && addrs->other[0].name>): Move
206 (addr_info_make_relative): ... this new function.
208 2010-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
210 Add from_tty to solib_create_inferior_hook.
211 * infcmd.c (post_create_inferior): Move solib_add after
212 solib_create_inferior_hook. Pass from_tty to
213 solib_create_inferior_hook. Call solib_add and SOLIB_ADD with
214 0 from_tty and comment why.
215 * infrun.c (follow_exec): Pass from_tty solib_create_inferior_hook as 0.
216 * linux-nat.c (linux_child_follow_fork): Likewise.
217 * nto-procfs.c (procfs_post_attach, procfs_create_inferior): Likewise.
218 * solib-darwin.c (darwin_solib_create_inferior_hook): New parameter
220 * solib-frv.c (frv_solib_create_inferior_hook): Likewise.
221 * solib-irix.c (irix_solib_create_inferior_hook): Likewise.
222 * solib-null.c (null_solib_create_inferior_hook): Likewise.
223 * solib-osf.c (osf_solib_create_inferior_hook): Likewise.
224 * solib-pa64.c (pa64_solib_create_inferior_hook): Likewise.
225 * solib-som.c (som_solib_create_inferior_hook): Likewise.
226 * solib-spu.c (spu_solib_create_inferior_hook): New parameter from_tty.
227 Pass it to svr4_so_ops.solib_create_inferior_hook.
228 * solib-sunos.c (sunos_solib_create_inferior_hook): New parameter
230 * solib-svr4.c (enable_break): New parameter from_tty. Pass it to
232 (svr4_solib_create_inferior_hook): New parameter from_tty. Pass it to
234 * solib-target.c (solib_target_solib_create_inferior_hook): New
236 * solib.c (solib_create_inferior_hook): New parameter from_tty. Pass
237 it to ops->solib_create_inferior_hook.
238 (reload_shared_libraries): Pass from_tty to solib_create_inferior_hook.
239 Move solib_add after solib_create_inferior_hook, call it now with
240 from_tty as 0. New comment there.
241 * solib.h (solib_create_inferior_hook): New parameter from_tty.
242 * solist.h (struct target_so_ops <solib_create_inferior_hook>):
245 2010-01-08 Vladimir Prus <vladimir@codesourcery.com>
248 * infrun.c (handle_inferior_event): Use get_thread_regcache
249 with events ptid, not get_current_regcache.
251 2009-01-08 Joel Brobecker <brobecker@adacore.com>
253 GDB crash with empty executable name (MinGW).
254 * source.c (openp): Add assert that parameter string is not NULL.
255 if parameter string is an empty string, then return with a failure
258 2009-01-08 Joel Brobecker <brobecker@adacore.com>
260 Get rid of support for VAX Floats.
261 * ada-lang.h (ada_is_vax_floating_type, ada_vax_float_type_suffix)
262 (ada_vax_float_print_function): Delete.
263 * ada-lang.c (ada_is_vax_floating_type, ada_vax_float_type_suffix)
264 (ada_vax_float_print_function): Delete.
265 * ada-typeprint.c (print_vax_floating_point_type): Delete.
266 (ada_print_type): Remove support for VAX floats.
267 * ada-valprint.c (ada_val_print_1): Remove support for VAX floats.
269 2010-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
271 * stabsread.c (read_args): Handle zero arguments.
273 2009-01-08 Joel Brobecker <brobecker@adacore.com>
275 Cannot find in-tree libiconv.a after reconfigure.
276 * acinclude.m4 (AM_ICONV): If we find an in-tree libiconv.a
277 that we can use, then cache the path to this archive.
278 * configure: Regenerate.
280 2010-01-07 Stan Shebs <stan@codesourcery.com>
282 Make tracepoint operations go through target vector.
283 * target.h (enum trace_find_type): New enum.
284 (struct target_ops): New fields to_trace_init,
285 to_download_tracepoint, to_download_trace_state_variable,
286 to_trace_set_readonly_regions, to_trace_start, to_get_trace_status,
287 to_trace_stop, to_trace_find, to_get_trace_state_variable_value,
288 to_set_disconnected_tracing.
289 (target_trace_init): New macro.
290 (target_download_tracepoint): New macro.
291 (target_download_trace_state_variable): New macro.
292 (target_trace_start): New macro.
293 (target_trace_set_readonly_regions): New macro.
294 (target_get_trace_status): New macro.
295 (target_trace_stop): New macro.
296 (target_trace_find): New macro.
297 (target_get_trace_state_variable_value): New macro.
298 (target_set_disconnected_tracing): New macro.
299 * target.c (update_current_target): Inherit and set defaults for
300 tracepoint operations.
301 * tracepoint.c (default_collect): Make globally visible.
302 (target_is_remote): Remove, along with all calls.
303 (tvariables_info): Call target_get_trace_state_variable_value.
304 (remote_set_transparent_ranges): Remove.
305 (trace_start_command): Call target_trace_init,
306 target_download_tracepoint, etc.
307 (download_tracepoint): Remove.
308 (trace_stop_command): Simplify.
309 (stop_tracing): Call target_trace_stop.
310 (get_trace_status): Call target_get_trace_status.
311 (trace_status_command): Add case for targets that cannot trace.
312 (finish_tfind_command): Change to take numerical arguments, call
314 (trace_find_command): Update call to finish_tfind_command.
315 (trace_find_pc_command): Ditto.
316 (trace_find_tracepoint_command): Ditto.
317 (trace_find_line_command): Ditto.
318 (trace_find_range_command): Ditto.
319 (trace_find_outside_command): Ditto.
320 (set_disconnected_tracing_value): Call
321 target_set_disconnected_tracing.
322 * remote.c: Add protocol encoding bits from tracepoint.c.
323 (trace_error): Move from tracepoint.c.
324 (remote_get_noisy_reply): Ditto.
325 (free_actions_list_cleanup_wrapper): Ditto.
326 (free_actions_list): Ditto.
327 (remote_trace_init): New function.
328 (remote_download_tracepoint): New function.
329 (remote_download_trace_state_variable): New function.
330 (remote_trace_set_readonly_regions): New function.
331 (remote_trace_start): New function.
332 (remote_get_trace_status): New function.
333 (remote_trace_stop): New function.
334 (remote_trace_find): New function.
335 (remote_download_trace_state_variable): New function.
336 (remote_set_disconnected_tracing): New function.
337 (init_remote_ops): Add tracepoint operations.
339 * tracepoint.c (trace_dump_command): Don't decr_pc_after_break.
341 2010-01-07 Tristan Gingold <gingold@adacore.com>
343 * symfile.c (build_section_addr_info_from_objfile): New function.
344 (symbol_file_add_separate): Don't use offsets from objfile but
347 2010-01-06 Stan Shebs <stan@codesourcery.com>
349 Support disconnected tracing.
350 * infcmd.c (detach_command): Ask whether to stop tracing.
351 * cli/cli-cmds.c (quit_command): Ditto.
352 * breakpoint.h (struct breakpoint): New field number_on_target.
353 * breakpoint.c (create_tracepoint_from_upload): New function.
354 (get_tracepoint_by_number_on_target): New function.
355 * remote.c (struct remote): New field disconnected_tracing.
356 (remote_disconnected_tracing_feature): New function.
357 (remote_protocol_features): Add DisconnectedTracing.
358 (struct uploaded_tp): New struct.
359 (uploaded_tps): New global.
360 (get_uploaded_tp): New function.
361 (find_matching_tracepoint): New function.
362 (remote_get_tracing_state): New function.
363 (remote_start_remote): Call it.
364 * tracepoint.c (disconnected_tracing): New global.
365 (trace_start_command): Initialize number_on_target.
366 (stop_tracing): New function, split out from...
367 (trace_stop_command): Call stop_tracing.
368 (get_trace_status): New function, split out from...
369 (trace_status_command): Call get_trace_status, add info on
370 disconnection behavior.
371 (disconnect_or_stop_tracing): New function.
372 (finish_tfind_command): Translate from number on target.
373 (trace_find_tracepoint_command): Translate to number on target.
374 (send_disconnected_tracing_value): New function.
375 (set_disconnected_tracing): New function.
376 (_initialize_tracepoint): Add disconnected-tracing variable.
377 * NEWS: Mention disconnected tracing.
379 2010-01-06 Tristan Gingold <gingold@adacore.com>
381 * symtab.c (lookup_global_symbol_from_objfile): Rename objfile
382 parameter to main_objfile. Iterate on all separate debug objfiles.
383 * symfile.h (symbol_file_add_separate)
384 (find_separate_debug_file_by_debuglink): Remove parameter names.
385 * symfile.c (symbol_file_add_separate): Use add_separate_objfile.
386 (reread_symbols): Use free_objfile_separate_debug.
387 * objfiles.h (struct objfile): Add separate_debug_objfile_link.
389 (objfile_separate_debug_iterate, add_separate_debug_objfile)
390 (free_objfile_separate_debug): New prototypes.
391 * objfiles.c (objfile_separate_debug_iterate): New function.
392 (add_separate_debug_objfile, free_objfile_separate_debug): New
394 (free_objfile): Use free_objfile_separate_debug. Adjust for
395 multiple separate debug objfile.
396 (objfile_has_symbols): Adjust comment. Iterate on all separate
398 * minsyms.c (lookup_minimal_symbol): Adjust for multiple separate
400 (lookup_minimal_symbol_text): Ditto.
401 (lookup_minimal_symbol_by_pc_name): Ditto.
402 (lookup_minimal_symbol_solib_trampoline): Ditto.
403 (lookup_minimal_symbol_by_pc_section_1): Iterate on all separate
406 2010-01-05 Stan Shebs <stan@codesourcery.com>
408 Add fast tracepoints.
409 * arch-utils.h (default_fast_tracepoint_valid_at): Declare.
410 * arch-utils.c (default_fast_tracepoint_valid_at): New function.
411 * breakpoint.h (enum bptype): Add bp_fast_tracepoint.
412 * breakpoint.c (tracepoint_type): New function.
413 (ALL_TRACEPOINTS): Use it.
414 (should_be_inserted): Ditto.
415 (bpstat_check_location): Ditto.
416 (print_one_breakpoint_location): Ditto.
417 (user_settable_breakpoint): Ditto.
418 (set_breakpoint_location_function): Ditto.
419 (disable_breakpoints_in_shlibs): Ditto.
420 (delete_trace_command): Ditto.
421 (print_it_typical): Add bp_fast_tracepoint case.
422 (bpstat_what): Ditto.
423 (print_one_breakpoint_location): Ditto.
424 (allocate_bp_location): Ditto.
426 (breakpoint_re_set_one): Ditto.
427 (disable_command): Ditto.
428 (enable_command): Ditto.
429 (check_fast_tracepoint_sals): New function.
430 (break_command_really): Call it.
431 (ftrace_command): New function.
432 (_initialize_breakpoint): Add ftrace command.
433 * gdbarch.sh (fast_tracepoint_valid_at): New.
434 * gdbarch.h, gdbarch.c: Regenerate.
435 * i386-tdep.c (i386_fast_tracepoint_valid_at): New function.
436 (i386_gdbarch_init): Use it.
437 * remote.c (struct remote_state): New field fast_tracepoints.
438 (PACKET_FastTracepoints): New packet config type.
439 (remote_fast_tracepoint_feature): New function.
440 (remote_protocol_features): Add FastTracepoints.
441 (remote_supports_fast_tracepoints): New function.
442 (_initialize_remote): Add FastTracepoints.
443 * tracepoint.c (download_tracepoint): Add fast tracepoint option.
444 * NEWS: Mention fast tracepoints.
446 2010-01-06 Joel Brobecker <brobecker@adacore.com>
448 * gdb-gdb.py: New file.
450 2010-01-05 Michael Snyder <msnyder@vmware.com>
452 * infrun.c (handle_inferior_event): Fix typo in comment.
454 2010-01-05 Jan Kratochvil <jan.kratochvil@redhat.com>
456 * symfile.c (syms_from_objfile): Remove the !MAINLINE conditional.
458 2010-01-04 Ulrich Weigand <uweigand@de.ibm.com>
460 * features/Makefile (WHICH): Add s390-linux32, s390-linux64,
462 (s390-linux32-expedite): Define.
463 (s390-linux64-expedite): Define.
464 (s390x-linux64-expedite): Define.
465 * features/s390-acr.xml: New file.
466 * features/s390-fpr.xml: New file.
467 * features/s390-core32.xml: New file.
468 * features/s390-core64.xml: New file.
469 * features/s390x-core64.xml: New file.
470 * features/s390-linux32.xml: New file.
471 * features/s390-linux64.xml: New file.
472 * features/s390x-linux64.xml: New file.
473 * features/s390-linux32.c: New generated file.
474 * features/s390-linux64.c: New generated file.
475 * features/s390x-linux64.c: New generated file.
477 * regformats/s390-linux32.dat: New generated file.
478 * regformats/s390-linux64.dat: New generated file.
479 * regformats/s390x-linux64.dat: New generated file.
480 * regformats/reg-s390.dat: Remove.
481 * regformats/reg-s390x.dat: Remove.
483 * s390-nat.c: Include "auxv.h" and <elf.h>.
484 (HWCAP_S390_HIGH_GPRS): Define if undefined.
485 (s390_target_wordsize): New function.
486 (s390_auxv_parse): Likewise.
487 (s390_get_hwcap): Likewise.
488 (s390_read_description): Likewise.
489 (_initialize_s390_nat): Install s390_auxv_parse and
490 s390_read_description.
492 * s390-tdep.c: Include "features/s390-linux32.c",
493 "features/s390-linux64.c", and "features/s390x-linux64.c".
494 (struct gdbarch_tdep): Add gpr_full_regnum, pc_regnum, and cc_regnum.
495 (s390_register_call_saved): New function.
496 (s390_register_name): Remove.
497 (s390_register_type): Remove.
498 (s390_dwarf_regmap): Add lower half GPR pseudo DWARF CFI regnums.
499 (s390_dwarf_reg_to_regnum): Remap GPR regnums to full GPRs.
500 (s390_adjust_frame_regnum): Remap GPR regnums to lower halves for CFI.
501 (s390_pseudo_register_name): New function.
502 (s390_pseudo_register_type): New function.
503 (s390_pseudo_register_read): Handle both 32-bit and 64-bit cases.
504 Handle full GPR pesudos and varying pseudo register numbers.
505 (s390_pseudo_register_write): Likewise
506 (s390x_pseudo_register_read): Remove.
507 (s390x_pseudo_register_write): Likewise.
508 (s390_register_group): Remove.
509 (s390_pseudo_register_group): New function.
510 (s390_regmap_gregset): Add GPR upper halves.
511 (s390x_regmap_gregset): Likewise.
512 (s390_regmap_fpregset): Likewise.
513 (s390_regmap_upper): New global variable.
514 (s390_upper_regset): New global variable.
515 (s390_upper_regset_sections): New global variable.
516 (s390_regset_from_core_section): Handle GPR upper halves.
517 (s390_core_read_description): New function.
518 (s390_prologue_frame_unwind_cache): Set up ABI call-saved/clobbered
519 register information. Handle varying pseudo register numbers.
520 (s390_backchain_frame_unwind_cache): Likewise.
521 (s390_frame_prev_register): Unwind full GPRs to show lower halves.
522 (s390_stub_frame_unwind_cache): Handle varying pseudo register numbers.
523 (s390_sigtramp_frame_unwind_cache): Unwind PSWM and PSWA as well as
524 PC and CC pseudos. Unwind upper halves and full GPRs as appropriate.
525 Handle varying pseudo register numbers.
526 (s390_unwind_pc): Handle varying pseudo register numbers.
527 (s390_dwarf2_prev_register): New function.
528 (s390_dwarf2_frame_init_reg): Set up ABI call-saved/clobbered
529 register information. Handle varying pseudo register numbers.
530 Install s390_dwarf2_prev_register to unwind full GPRs.
531 (s390_gdbarch_init): Handle target descriptions. Assign varying
532 pseudo register numbers. Install s390_adjust_frame_regnum.
533 (_initialize_s390_tdep): Initialize target descriptions.
535 * s390-tdep.h (S390_R0_UPPER_REGNUM .. S390_R15_UPPER_REGNUM): Define.
536 (S390_NUM_REGS): Redefine to include upper half registers.
537 (S390_PC_REGNUM, S390_CC_REGNUM): Remove.
538 (S390_NUM_PSEUDO_REGS, S390_NUM_TOTAL_REGS): Likewise.
539 (tdesc_s390_linux32): Add declaration.
540 (tdesc_s390_linux64): Likewise.
541 (tdesc_s390x_linux64): Likewise.
543 2010-01-04 Ulrich Weigand <uweigand@de.ibm.com>
545 * regset.h (struct core_regset_section): Add HUMAN_NAME.
546 * i386-linux-tdep.c (i386_linux_regset_sections): Fill in HUMAN_NAME.
547 * ppc-linux-tdep.c (ppc_linux_vsx_regset_sections): Likewise.
548 (ppc_linux_vmx_regset_sections): Likewise.
549 (ppc_linux_fp_regset_sections): Likewise.
551 * corelow.c (get_core_register_section): Constify arguments.
552 (get_core_registers): Use gdbarch_core_regset_sections instead
553 of hard-coded platform-specific register section names.
555 2010-01-04 Ulrich Weigand <uweigand@de.ibm.com>
557 * dwarf2loc.c (read_pieced_value): If a piece occupies part of
558 a register, assume the least-significant part is used.
559 (write_pieced_value): Likewise.
561 2010-01-04 Ulrich Weigand <uweigand@de.ibm.com>
563 * printcmd.c: Include "arch-utils.h".
564 (do_one_display): Re-parse expression if current architecture changed.
566 2010-01-03 Jan Kratochvil <jan.kratochvil@redhat.com>
567 Joel Brobecker <brobecker@adacore.com>
569 * gdbtypes.c (check_typedef): New comment on type length.
570 * value.c (allocate_value_lazy): Remove the unused atype variable. New
571 comment on type length.
572 (value_primitive_field): Keep the original TYPE value, new comment.
574 2010-01-01 Jan Kratochvil <jan.kratochvil@redhat.com>
576 * cli/cli-script.c (process_next_line): Rename p1 as p_end and p2 as
577 p_start. Change != comparisons to > and < comparisons.
579 2010-01-01 Jan Kratochvil <jan.kratochvil@redhat.com>
581 * cli/cli-script.c (process_next_line): Check P2 overrun.
583 2009-01-01 Joel Brobecker <brobecker@adacore.com>
585 Update the copyright hearder to add year 2010 for most GDB files.
587 2009-01-01 Joel Brobecker <brobecker@adacore.com>
589 Fix build failure in inf-ptrace.c.
590 * inf-ptrace.c (inf_ptrace_follow_fork): Fix typo.
592 2010-01-01 Joel Brobecker <brobecker@adacore.com>
594 * top.c (print_gdb_version): Update copyright year.
596 2010-01-01 Joel Brobecker <brobecker@adacore.com>
598 Fix break *FUN'address thread NUM.
599 * ada-lex.l (task): Expand rule to also match the thread keyword.
601 2010-01-01 Joel Brobecker <brobecker@adacore.com>
603 Fix break *FUN'address task NUM.
604 * ada-lex.l (task): New rule.
605 * ada-lang.c (valid_task_id): Make sure the Ada task list has
606 been built before using it.
608 For older changes see ChangeLog-2009.
614 version-control: never