mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-20 01:50:24 +08:00
Fix nits found in attempting a Tahoe port.
This commit is contained in:
@ -8,7 +8,7 @@
|
|||||||
#include "defs.h"
|
#include "defs.h"
|
||||||
#include "param.h"
|
#include "param.h"
|
||||||
#include "symtab.h"
|
#include "symtab.h"
|
||||||
#include "opcode.h"
|
#include "tahoe-opcode.h"
|
||||||
|
|
||||||
/* Tahoe instructions are never longer than this. */
|
/* Tahoe instructions are never longer than this. */
|
||||||
#define MAXLEN 62
|
#define MAXLEN 62
|
||||||
|
@ -71,6 +71,7 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
|
|||||||
#define SAVED_PC_AFTER_CALL(frame) FRAME_SAVED_PC(frame)
|
#define SAVED_PC_AFTER_CALL(frame) FRAME_SAVED_PC(frame)
|
||||||
|
|
||||||
/* Wrong for cross-debugging. I don't know the real values. */
|
/* Wrong for cross-debugging. I don't know the real values. */
|
||||||
|
#include <machine/param.h>
|
||||||
#define TARGET_UPAGES UPAGES
|
#define TARGET_UPAGES UPAGES
|
||||||
#define TARGET_NBPG NBPG
|
#define TARGET_NBPG NBPG
|
||||||
|
|
||||||
@ -327,7 +328,7 @@ printf("POP_FRAME\n"); \
|
|||||||
/* Insert the specified number of args and function address
|
/* Insert the specified number of args and function address
|
||||||
into a call sequence of the above form stored at DUMMYNAME. */
|
into a call sequence of the above form stored at DUMMYNAME. */
|
||||||
|
|
||||||
#define FIX_CALL_DUMMY(dummyname, pc, fun, nargs, type) \
|
#define FIX_CALL_DUMMY(dummyname, pc, fun, nargs, args, valtype, using_gcc) \
|
||||||
{ int temp = (int) fun; \
|
{ int temp = (int) fun; \
|
||||||
*((char *) dummyname + 1) = nargs; \
|
*((char *) dummyname + 1) = nargs; \
|
||||||
bcopy(&temp,(char *)dummyname+3,4); }
|
bcopy(&temp,(char *)dummyname+3,4); }
|
||||||
|
Reference in New Issue
Block a user