forked from Imagelibrary/binutils-gdb
8539bfc952f26eef8f7ce0713f45fb6fb7125bad
The new linux-kernel target need some architecture dependant code. To prepare for this split up the existing s390 code into a general s390-tedep and a GDNU/Linux (user space) specific s390-linux-tdep. This keeps the files manageable and allows for kernel specific code e.g. unwinder. gdb/ChangeLog: * s390-tdep.h: New file. * s390-tdep.c: New file. * Makefile.in (ALL_TARGET_OBS): Add s390-tdep.o. (HFILES_NO_SRCDIR): Add s390-tdep.h. (ALLDEPFILES): Add s390-tdep.c. * configure.tgt (s390*-*-linux*): Add s390-tdep.o. * s390-linux-tdep.h: Move defines for hardware capabilities and register informations to s390-tdep.h. (s390_gdbarch_linux_init): New export. (s390_upper_registers): New export. * s390-linux-tdep.c: Remove unneeded includes and sort alphabetically. (s390-tdep.h): New include. (s390_upper_regset): Remove static. (s390_gdbarch_init): Rename to... (s390_gdbarch_linux_init): ...this and adjust. (_initialize_s390_tdep): Rename to... (_initialize_s390_linux_tdep): ...this and adjust. (s390_abi_kind, s390_vector_abi_kind): Move to s390-tdep.h (gdbarch_tdep, enum named opcodes): Move to s390-tdep.h (s390_readinstruction, is_ri, is_ril): Move to s390-tdep.c (is_rr, is_rre, is_rs, is_rsy, is_rsi, is_rie): Move to s390-tdep.c (is_rx, is_rxy, s390_break_insn): Move to s390-tdep.c (s390_breakpoint, s390_is_partial_instruction): Move to s390-tdep.c (s390_software_single_step, s390_prologue_data): Move to s390-tdep.c (s390_addr, s390_store, s390_load): Move to s390-tdep.c (s390_check_for_saved, s390_analyze_prologue): Move to s390-tdep.c (s390_skip_prologue, s390_register_call_saved): Move to s390-tdep.c (s390_register_name, s390_cannot_store_register): Move to s390-tdep.c (s390_write_pc, s390_dwarf_regmap): Move to s390-tdep.c (s390_dwarf_reg_to_regnum, regnum_is_gpr_full): Move to s390-tdep.c (regnum_is_vxr_full, s390_value_from_register): Move to s390-tdep.c (s390_core_read_description): Move to s390-tdep.c (s390_iterate_over_regset_sections): Move to s390-tdep.c (s390_pseudo_register_name): Move to s390-tdep.c (s390_pseudo_register_read): Move to s390-tdep.c (s390_pseudo_register_write): Move to s390-tdep.c (s390_pseudo_register_type): Move to s390-tdep.c (s390_pseudo_register_reggroup_p): Move to s390-tdep.c (s390_ax_pseudo_register_collect): Move to s390-tdep.c (s390_ax_pseudo_register_push_stack): Move to s390-tdep.c (s390_gen_return_address): Move to s390-tdep.c (s390_unwind_pseudo_register): Move to s390-tdep.c (s390_effective_inner_type): Move to s390-tdep.c (s390_function_arg_float): Move to s390-tdep.c (s390_function_arg_vector, is_power_of_two): Move to s390-tdep.c (s390_function_arg_integer, s390_arg_state): Move to s390-tdep.c (s390_handle_arg, s390_push_dummy_call): Move to s390-tdep.c (s390_dummy_id, s390_register_return_value): Move to s390-tdep.c (s390_return_value, s390_stack_frame_destroyed_p): Move to s390-tdep.c (s390_dwarf2_prev_register): Move to s390-tdep.c (s390_dwarf2_frame_init_reg): Move to s390-tdep.c (s390_adjust_frame_regnum, s390_unwind_cache): Move to s390-tdep.c (s390_prologue_frame_unwind_cache): Move to s390-tdep.c (s390_stub_unwind_cache): Move to s390-tdep.c (s390_stub_frame_unwind_cache): Move to s390-tdep.c (s390_stub_frame_this_id): Move to s390-tdep.c (s390_trad_frame_prev_register): Move to s390-tdep.c (s390_stub_frame_prev_register): Move to s390-tdep.c (s390_stub_frame_sniffer, s390_stub_frame_unwind): Move to s390-tdep.c (s390_sigtramp_unwind_cache): Move to s390-tdep.c (s390_sigtramp_frame_unwind_cache): Move to s390-tdep.c (s390_sigtramp_frame_this_id): Move to s390-tdep.c (s390_sigtramp_frame_prev_register): Move to s390-tdep.c (s390_sigtramp_frame_sniffer): Move to s390-tdep.c (s390_sigtramp_frame_unwind): Move to s390-tdep.c (s390_backchain_frame_unwind_cache): Move to s390-tdep.c (s390_frame_unwind_cache, s390_frame_this_id): Move to s390-tdep.c (s390_frame_prev_register, s390_frame_unwind): Move to s390-tdep.c (s390_frame_base_address): Move to s390-tdep.c (s390_local_base_address, s390_frame_base): Move to s390-tdep.c (s390_unwind_pc, s390_unwind_sp): Move to s390-tdep.c (is_non_branch_ril): Move to s390-tdep.c (s390_displaced_step_copy_insn): Move to s390-tdep.c (s390_displaced_step_fixup): Move to s390-tdep.c (s390_displaced_step_hw_singlestep): Move to s390-tdep.c (s390_addr_bits_remove): Move to s390-tdep.c (s390_address_class_type_flags): Move to s390-tdep.c (s390_address_class_type_flags_to_name): Move to s390-tdep.c (s390_address_class_name_to_type_flags): Move to s390-tdep.c
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
README for GNU development tools This directory contains various GNU compilers, assemblers, linkers, debuggers, etc., plus their support routines, definitions, and documentation. If you are receiving this as part of a GDB release, see the file gdb/README. If with a binutils release, see binutils/README; if with a libg++ release, see libg++/README, etc. That'll give you info about this package -- supported targets, how to use it, how to report bugs, etc. It is now possible to automatically configure and build a variety of tools with one command. To build all of the tools contained herein, run the ``configure'' script here, e.g.: ./configure make To install them (by default in /usr/local/bin, /usr/local/lib, etc), then do: make install (If the configure script can't determine your type of computer, give it the name as an argument, for instance ``./configure sun4''. You can use the script ``config.sub'' to test whether a name is recognized; if it is, config.sub translates it to a triplet specifying CPU, vendor, and OS.) If you have more than one compiler on your system, it is often best to explicitly set CC in the environment before running configure, and to also set CC when running make. For example (assuming sh/bash/ksh): CC=gcc ./configure make A similar example using csh: setenv CC gcc ./configure make Much of the code and documentation enclosed is copyright by the Free Software Foundation, Inc. See the file COPYING or COPYING.LIB in the various directories, for a description of the GNU General Public License terms under which you can copy the files. REPORTING BUGS: Again, see gdb/README, binutils/README, etc., for info on where and how to report problems.
Description
Languages
C
50.6%
Makefile
22.6%
Assembly
13.2%
C++
5.9%
Roff
1.5%
Other
5.6%