OSDN Git Service

* arm-tdep.h (enum arm_abi): New enum.
authorrearnsha <rearnsha>
Fri, 15 Feb 2002 13:35:23 +0000 (13:35 +0000)
committerrearnsha <rearnsha>
Fri, 15 Feb 2002 13:35:23 +0000 (13:35 +0000)
commit5ec0cd0655a8bad819e18318f856295455d48294
tree4a8066a06771ab930fe6bf2a7368ed694a9f57ca
parent964c9e3ca3294bb89d4bd6780663924ad8b7f3c4
* arm-tdep.h (enum arm_abi): New enum.
(struct gdbarch_tdep): New structure.
(LOWEST_PC): Provide a default.
(arm_gdbarch_register_os_abi): Declare new function.
* arm-tdep.c (arm_abi_names): New array.
(process_note_abi_tag_sections): New function.
(get_elfosabi): New function.
(arm_gdbarch_register_os_abi): New function.
(arm_gdbarch_init): Try to determine the ABI of the inferior.  If
support for that ABI has been built in, then call the appropriate
configuration routine.  Use gdbarch_num_regs() to get the number
of registers.
(arm_dump_tdep): New function.
(arm_init_abi_eabi_v1, arm_init_abi_eabi_v2, arm_init_abi_apcs): New
place-holder functions.
(_initialize_arm_tdep): Register them.
* config/arm/tm-arm.h (LOWEST_PC): Delete.

* armnbsd-tdep.c: New file.
* Makefile.in (armnbsd-tdep.o): Add dependencies.
* config/arm/nbsd.mt (TDEPFILES): Add it.
* config/arm/tm-nbsd.h (LOWEST_PC): Delete.

* armnbsd-nat.c: Include regcache.h.
* Makefile.in (armnbsd-nat.o): Update dependency list.

* arm-tdep.c (arm_get_next_pc): Use printf_filtered for error message.
gdb/ChangeLog
gdb/Makefile.in
gdb/arm-linux-tdep.c
gdb/arm-tdep.c
gdb/arm-tdep.h
gdb/armnbsd-nat.c
gdb/config/arm/nbsd.mt
gdb/config/arm/tm-arm.h
gdb/config/arm/tm-nbsd.h