mirror of
https://github.com/darlinghq/darling-gdb.git
synced 2024-11-24 20:49:43 +00:00
Remove reg_names decl (now in defs.h).
This commit is contained in:
parent
4ae6ed3a9e
commit
609f87d4c9
@ -1,5 +1,5 @@
|
||||
/* Print Acorn Risc Machine instructions for GDB, the GNU debugger.
|
||||
Copyright 1986, 1989, 1991 Free Software Foundation, Inc.
|
||||
Copyright 1986, 1989, 1991, 1992 Free Software Foundation, Inc.
|
||||
|
||||
This file is part of GDB.
|
||||
|
||||
@ -24,8 +24,6 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
|
||||
#include "symtab.h"
|
||||
#include "opcode/arm.h"
|
||||
|
||||
extern char *reg_names[];
|
||||
|
||||
static char *shift_names[] = {
|
||||
"lsl", "lsr", "asr", "ror",
|
||||
};
|
||||
|
@ -1,5 +1,5 @@
|
||||
/* i80960 instruction disassembler for GDB.
|
||||
Copyright (C) 1990-1991 Free Software Foundation, Inc.
|
||||
Copyright 1990, 1991, 1992 Free Software Foundation, Inc.
|
||||
|
||||
This file is part of GDB.
|
||||
|
||||
@ -21,8 +21,6 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
|
||||
#include "frame.h"
|
||||
#include "inferior.h"
|
||||
|
||||
extern char *reg_names[];
|
||||
|
||||
static FILE *stream; /* Output goes here */
|
||||
static void print_addr();
|
||||
static void ctrl();
|
||||
|
@ -44,9 +44,9 @@ print_insn_arg PARAMS ((char *, unsigned char *, unsigned char *, CORE_ADDR,
|
||||
/* Number of elements in the opcode table. */
|
||||
#define NOPCODES (sizeof m68k_opcodes / sizeof m68k_opcodes[0])
|
||||
|
||||
extern char *reg_names[];
|
||||
char *fpcr_names[] = { "", "fpiar", "fpsr", "fpiar/fpsr", "fpcr",
|
||||
"fpiar/fpcr", "fpsr/fpcr", "fpiar-fpcr"};
|
||||
const char * const fpcr_names[] = {
|
||||
"", "fpiar", "fpsr", "fpiar/fpsr", "fpcr",
|
||||
"fpiar/fpcr", "fpsr/fpcr", "fpiar-fpcr"};
|
||||
|
||||
/* Define accessors for 68K's 1, 2, and 4-byte signed quantities.
|
||||
The _SHIFT values move the quantity to the high order end of an
|
||||
|
@ -1,6 +1,6 @@
|
||||
/* Print mips instructions for GDB, the GNU debugger.
|
||||
Copyright 1989, 1991, 1992 Free Software Foundation, Inc.
|
||||
Contributed by Nobuyuki Hikichi(hikichi@sra.co.jp)
|
||||
Contributed by Nobuyuki Hikichi(hikichi@sra.co.jp).
|
||||
|
||||
This file is part of GDB.
|
||||
|
||||
@ -29,9 +29,6 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
|
||||
#define NOPCODES (sizeof mips_opcodes / sizeof mips_opcodes[0])
|
||||
|
||||
#define MKLONG(p) *(unsigned long*)p
|
||||
|
||||
extern char *reg_names[];
|
||||
|
||||
|
||||
/* subroutine */
|
||||
static unsigned char *
|
||||
|
@ -1,5 +1,5 @@
|
||||
/* Print National Semiconductor 32000 instructions for GDB, the GNU debugger.
|
||||
Copyright 1986, 1988, 1991 Free Software Foundation, Inc.
|
||||
Copyright 1986, 1988, 1991, 1992 Free Software Foundation, Inc.
|
||||
|
||||
This file is part of GDB.
|
||||
|
||||
@ -28,8 +28,6 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
|
||||
/* Number of elements in the opcode table. */
|
||||
#define NOPCODES (sizeof notstrs / sizeof notstrs[0])
|
||||
|
||||
extern char *reg_names[];
|
||||
|
||||
#define NEXT_IS_ADDR '|'
|
||||
|
||||
/*
|
||||
|
@ -1,7 +1,7 @@
|
||||
/* Print Pyramid Technology 90x instructions for GDB, the GNU Debugger.
|
||||
Copyright 1988, 1989, 1991 Free Software Foundation, Inc.
|
||||
Copyright 1988, 1989, 1991, 1992 Free Software Foundation, Inc.
|
||||
|
||||
This file is part of GDB, the GNU disassembler.
|
||||
This file is part of GDB, the GNU debugger.
|
||||
|
||||
This program is free software; you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
@ -51,7 +51,6 @@ CORE_ADDR pyr_saved_pc(frame)
|
||||
frame, 60/4, foo);
|
||||
return foo;
|
||||
}
|
||||
|
||||
|
||||
/* Pyramid instructions are never longer than this many bytes. */
|
||||
#define MAXLEN 24
|
||||
@ -60,15 +59,10 @@ CORE_ADDR pyr_saved_pc(frame)
|
||||
/*const*/ static int nopcodes = (sizeof (pyr_opcodes) / sizeof( pyr_opcodes[0]));
|
||||
#define NOPCODES (nopcodes)
|
||||
|
||||
extern char *reg_names[];
|
||||
|
||||
/* Let's be byte-independent so we can use this as a cross-assembler.
|
||||
(will this ever be useful?
|
||||
*/
|
||||
/* Let's be byte-independent so we can use this as a cross-assembler. */
|
||||
|
||||
#define NEXTLONG(p) \
|
||||
(p += 4, (((((p[-4] << 8) + p[-3]) << 8) + p[-2]) << 8) + p[-1])
|
||||
|
||||
|
||||
/* Print one instruction at address MEMADDR in debugged memory,
|
||||
on STREAM. Returns length of the instruction, in bytes. */
|
||||
|
@ -1,7 +1,7 @@
|
||||
/* Print SPARC instructions for GDB, the GNU Debugger.
|
||||
Copyright 1989, 1991 Free Software Foundation, Inc.
|
||||
Copyright 1989, 1991, 1992 Free Software Foundation, Inc.
|
||||
|
||||
This file is part of GDB, the GNU disassembler.
|
||||
This file is part of GDB, the GNU debugger.
|
||||
|
||||
This program is free software; you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
@ -24,7 +24,6 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
|
||||
#include "string.h"
|
||||
#include "target.h"
|
||||
|
||||
extern char *reg_names[];
|
||||
#define freg_names (®_names[4 * 8])
|
||||
|
||||
union sparc_insn
|
||||
|
@ -1,5 +1,5 @@
|
||||
/* Print instructions for Tahoe target machines, for GDB.
|
||||
Copyright 1986, 1989, 1991 Free Software Foundation, Inc.
|
||||
Copyright 1986, 1989, 1991, 1992 Free Software Foundation, Inc.
|
||||
Contributed by the State University of New York at Buffalo, by the
|
||||
Distributed Computer Systems Lab, Department of Computer Science, 1991.
|
||||
|
||||
@ -29,8 +29,6 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
|
||||
/* Number of elements in the opcode table. */
|
||||
#define NOPCODES (sizeof votstrs / sizeof votstrs[0])
|
||||
|
||||
extern char *reg_names[];
|
||||
|
||||
static unsigned char *print_insn_arg ();
|
||||
|
||||
/* Print the Tahoe instruction at address MEMADDR in debugged memory,
|
||||
|
@ -1,5 +1,5 @@
|
||||
/* Print VAX instructions for GDB, the GNU debugger.
|
||||
Copyright 1986, 1989, 1991 Free Software Foundation, Inc.
|
||||
Copyright 1986, 1989, 1991, 1992 Free Software Foundation, Inc.
|
||||
|
||||
This file is part of GDB.
|
||||
|
||||
@ -27,8 +27,6 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
|
||||
/* Number of elements in the opcode table. */
|
||||
#define NOPCODES (sizeof votstrs / sizeof votstrs[0])
|
||||
|
||||
extern char *reg_names[];
|
||||
|
||||
static unsigned char *print_insn_arg ();
|
||||
|
||||
/* Print the vax instruction at address MEMADDR in debugged memory,
|
||||
|
Loading…
Reference in New Issue
Block a user