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