This is the mail archive of the
gdb-cvs@sources.redhat.com
mailing list for the GDB project.
src/gdb ChangeLog sparc-tdep.c Makefile.in spa ...
- From: davem at sources dot redhat dot com
- To: gdb-cvs at sources dot redhat dot com
- Date: 22 Apr 2002 01:02:02 -0000
- Subject: src/gdb ChangeLog sparc-tdep.c Makefile.in spa ...
CVSROOT: /cvs/src
Module name: src
Changes by: davem@sources.redhat.com 2002-04-21 18:02:02
Modified files:
gdb : ChangeLog sparc-tdep.c Makefile.in
Added files:
gdb : sparc-tdep.h
Log message:
2002-04-20 David S. Miller <davem@redhat.com>
* sparc-tdep.h: New file.
* sparc-tdep.c (elf-bfd.h): Include.
(SPARC_HAS_FPU, FP_REGISTER_BYTES, FP_MAX_REGNUM,
SPARC_INTREG_SIZE, DUMMY_REG_SAVE_OFFSET, gdbarch_tdep,
CALL_DUMMY_CALL_OFFSET): Move out to sparc-tdep.h
(sparc_dump_tdep): New function.
(_initialize_sparc_tdep): Use gdbarch_register instead of
register_gdbarch_init which is deprecated.
(process_note_abi_tag_sections, sparc_abi_handler,
sparc_abi_handler_list, sparc_gdbarch_register_os_abi): New.
(sparc_gdbarch_init): Determine elf os ident key based upon
either the elf header or by using process_note_abi_tag_sections.
Fix 'gdbarch already exists' test by comparing os_ident as well.
As the last action, invoke OS abi_handler if installed.
Patches:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/sparc-tdep.h.diff?cvsroot=src&r1=NONE&r2=1.1
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/ChangeLog.diff?cvsroot=src&r1=1.2473&r2=1.2474
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/sparc-tdep.c.diff?cvsroot=src&r1=1.28&r2=1.29
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/Makefile.in.diff?cvsroot=src&r1=1.172&r2=1.173