This is the mail archive of the
gdb-cvs@sources.redhat.com
mailing list for the GDB project.
src/gdb arm-linux-tdep.c arm-tdep.c arm-tdep.h ...
- From: drow at sourceware dot org
- To: gdb-cvs at sources dot redhat dot com
- Date: 25 Mar 2005 22:02:38 -0000
- Subject: src/gdb arm-linux-tdep.c arm-tdep.c arm-tdep.h ...
CVSROOT: /cvs/src
Module name: src
Branch: csl-arm-20050325-branch
Changes by: drow@sourceware.org 2005-03-25 22:02:38
Modified files:
gdb : arm-linux-tdep.c arm-tdep.c arm-tdep.h
configure.tgt defs.h osabi.c
gdb/testsuite/gdb.base: long_long.exp
Log message:
* gdb/configure.tgt: Add default OSABI setting for
arm*-*-linux-gnueabi.
* gdb/arm-tdep.c (arm_type_align): New function.
(arm_push_dummy_call): Use it. Ensure proper argument alignment.
Don't try to align the stack.
(arm_frame_align): New function.
(arm_extract_struct_value_address): Remove.
(arm_use_struct_convention): Rename...
(arm_return_in_memory): ... To this. Return nonzero for all small
aggregates under the EABI.
(arm_return_value): New function.
(arm_elf_osabi_sniffer): Add EF_ARM_EABI_VER4 case. Handle
GDB_OSABI_ARM_EABI_V4_LINUX.
(arm_gdbarch_init): Set different FPU and ABI defaults for EABI
objects. Use set_gdbarch_return_value instead of obsolete functions.
Call set_gdbarch_frame_align.
(arm_init_abi_eabi_v4): New function.
(_initialize_arm_tdep): Register GDB_OSABI_ARM_EABI_V4.
* gdb/arm-linux-tdep.c (ARM_LINUX_EABI_JB_PC): Define.
(arm_linux_eabi_init_abi): New function.
(_initialize_arm_linux_tdep): Register GDB_OSABI_ARM_EABI_V4_LINUX.
* gdb/arm-tdep.h (enum arm_abi_variant): New.
(struct gdbarch_tdep): Add abi field.
* gdb/defs.h (enum gdb_osabi): Add GDB_OSABI_ARM_EABI_V4 and
GDB_OSABI_ARM_EABI_V4_LINUX.
* gdb/osabi.c (gdb_osabi_name): Add "ARM EABI v4" and
"ARM EABI v4 GNU/Linux".
* gdb/testsuite/gdb.base/long_long.exp: Don't expect FPA format for
ARM EABI targets.
Patches:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/arm-linux-tdep.c.diff?cvsroot=src&only_with_tag=csl-arm-20050325-branch&r1=1.44.2.1&r2=1.44.2.2
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/arm-tdep.c.diff?cvsroot=src&only_with_tag=csl-arm-20050325-branch&r1=1.194.2.2&r2=1.194.2.3
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/arm-tdep.h.diff?cvsroot=src&only_with_tag=csl-arm-20050325-branch&r1=1.12&r2=1.12.8.1
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/configure.tgt.diff?cvsroot=src&only_with_tag=csl-arm-20050325-branch&r1=1.161&r2=1.161.2.1
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/defs.h.diff?cvsroot=src&only_with_tag=csl-arm-20050325-branch&r1=1.182&r2=1.182.2.1
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/osabi.c.diff?cvsroot=src&only_with_tag=csl-arm-20050325-branch&r1=1.32&r2=1.32.2.1
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/testsuite/gdb.base/long_long.exp.diff?cvsroot=src&only_with_tag=csl-arm-20050325-branch&r1=1.15&r2=1.15.8.1