diff options
author | Michael Snyder <msnyder@vmware.com> | 2002-08-21 01:08:23 +0000 |
---|---|---|
committer | Michael Snyder <msnyder@vmware.com> | 2002-08-21 01:08:23 +0000 |
commit | 5a89d8aaa29e103e5b991c5849382ec386d283e2 (patch) | |
tree | 3b3fd5f90d81329d3a649c7ad2b43b475607f7ad /gdb/config | |
parent | 822e978b932354073182aa5f29a0e29acd36af3c (diff) | |
download | gdb-5a89d8aaa29e103e5b991c5849382ec386d283e2.zip gdb-5a89d8aaa29e103e5b991c5849382ec386d283e2.tar.gz gdb-5a89d8aaa29e103e5b991c5849382ec386d283e2.tar.bz2 |
2002-08-20 Michael Snyder <msnyder@redhat.com>
* mips-tdep.c (MSYMBOL_IS_SPECIAL, MSYMBOL_SIZE): These are only
used locally, so move them from the target machine header to here.
(mips_set_processor_type, mips_register_name, mips32_next_pc,
mips16_next_pc, cached_proc_desc, mips_set_processor_type):
Make static.
* config/mips/tm-mips.h (MSYMBOL_IS_SPECIAL, MSYMBOL_SIZE): Delete.
Diffstat (limited to 'gdb/config')
-rw-r--r-- | gdb/config/mips/tm-mips.h | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/gdb/config/mips/tm-mips.h b/gdb/config/mips/tm-mips.h index 89784fe..9ce43c8 100644 --- a/gdb/config/mips/tm-mips.h +++ b/gdb/config/mips/tm-mips.h @@ -209,7 +209,6 @@ extern struct frame_info *setup_arbitrary_frame (int, CORE_ADDR *); #define TM_PRINT_INSN_MACH 0 - /* These are defined in mdebugread.c and are used in mips-tdep.c */ extern CORE_ADDR sigtramp_address, sigtramp_end; extern void fixup_sigtramp (void); @@ -239,33 +238,8 @@ typedef unsigned long t_inst; /* Integer big enough to hold an instruction */ #endif /* TM_MIPS_H */ -/* Macros for setting and testing a bit in a minimal symbol that - marks it as 16-bit function. The MSB of the minimal symbol's - "info" field is used for this purpose. This field is already - being used to store the symbol size, so the assumption is - that the symbol size cannot exceed 2^31. - - ELF_MAKE_MSYMBOL_SPECIAL - tests whether an ELF symbol is "special", i.e. refers - to a 16-bit function, and sets a "special" bit in a - minimal symbol to mark it as a 16-bit function - MSYMBOL_IS_SPECIAL tests the "special" bit in a minimal symbol - MSYMBOL_SIZE returns the size of the minimal symbol, i.e. - the "info" field with the "special" bit masked out - */ - -#define MSYMBOL_IS_SPECIAL(msym) \ - mips_msymbol_is_special (msym) -#define MSYMBOL_SIZE(msym) \ - mips_msymbol_size (msym) -struct minimal_symbol; -extern int mips_msymbol_is_special (struct minimal_symbol *msym); -extern long mips_msymbol_size (struct minimal_symbol *msym); - - /* Command to set the processor type. */ extern void mips_set_processor_type_command (char *, int); - /* Single step based on where the current instruction will take us. */ extern void mips_software_single_step (enum target_signal, int); |