RFA: mn10200-tdep.c.patch
Andrew Cagney
ac131313@cygnus.com
Fri Mar 2 17:21:00 GMT 2001
FYI,
I've checked in the attatched. Either fixing or deleting the mn10200 was
a task for 5.1 so thanks!
Andrew
2001-03-02 Andrew Cagney <ac131313@redhat.com>
From 2001-03-01 Tom Rix <trix@redhat.com>:
* mn10200-tdep.c (mn10200_frame_chain): Pass 0 for ``pc''
parameter to mn10200_analyze_prologue.
* config/mn10200/tm-mn10200.h: Include "regcache.h".
* MAINTAINERS: Document that mn10200-elf target is buildable.
Index: MAINTAINERS
===================================================================
RCS file: /cvs/src/src/gdb/MAINTAINERS,v
retrieving revision 1.75
diff -p -r1.75 MAINTAINERS
*** MAINTAINERS 2001/02/28 21:51:25 1.75
--- MAINTAINERS 2001/03/03 01:15:14
*************** maintainer works with the native maintai
*** 107,113 ****
mips --target=mips-elf,mips64-elf ,-Werror
Andrew Cagney cagney@cygnus.com
! mn10200 (--target=mn10200-elf broken)
Maintenance only
mn10300 --target=mn10300-elf ,-Werror
--- 107,113 ----
mips --target=mips-elf,mips64-elf ,-Werror
Andrew Cagney cagney@cygnus.com
! mn10200 --target=mn10200-elf ,-Werror
Maintenance only
mn10300 --target=mn10300-elf ,-Werror
Index: mn10200-tdep.c
===================================================================
RCS file: /cvs/src/src/gdb/mn10200-tdep.c,v
retrieving revision 1.3
diff -p -r1.3 mn10200-tdep.c
*** mn10200-tdep.c 2001/03/01 01:39:21 1.3
--- mn10200-tdep.c 2001/03/03 01:15:15
*************** mn10200_frame_chain (struct frame_info *
*** 644,650 ****
memset (dummy_frame.fsr.regs, '\000', sizeof dummy_frame.fsr.regs);
dummy_frame.status = 0;
dummy_frame.stack_size = 0;
! mn10200_analyze_prologue (&dummy_frame);
if (dummy_frame.status & MY_FRAME_IN_FP)
{
--- 644,650 ----
memset (dummy_frame.fsr.regs, '\000', sizeof dummy_frame.fsr.regs);
dummy_frame.status = 0;
dummy_frame.stack_size = 0;
! mn10200_analyze_prologue (&dummy_frame, 0);
if (dummy_frame.status & MY_FRAME_IN_FP)
{
Index: config/mn10200/tm-mn10200.h
===================================================================
RCS file: /cvs/src/src/gdb/config/mn10200/tm-mn10200.h,v
retrieving revision 1.3
diff -p -r1.3 tm-mn10200.h
*** tm-mn10200.h 2001/02/25 04:45:12 1.3
--- tm-mn10200.h 2001/03/03 01:15:16
***************
*** 20,25 ****
--- 20,30 ----
Foundation, Inc., 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA. */
+ /* FIXME: cagney/2001-03-01: The below macros refer to functions
+ declared in "regcache.h". The ``correct fix'' is to convert those
+ macros into functions. */
+ #include "regcache.h"
+
/* The mn10200 is little endian. */
#define TARGET_BYTE_ORDER LITTLE_ENDIAN
More information about the Gdb-patches
mailing list