diff options
author | Andrew Cagney <cagney@redhat.com> | 2003-07-18 21:31:50 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2003-07-18 21:31:50 +0000 |
commit | 625b0b9752856b35e2052b4dacd96fd4cf4fd3e3 (patch) | |
tree | 1c41e11cf4b72dcfe54c41ea63867429f7dd5d86 /gdb/gdbarch.h | |
parent | 986a241f8b043a790a63bc4e96bb731973a61ff4 (diff) | |
download | gdb-625b0b9752856b35e2052b4dacd96fd4cf4fd3e3.zip gdb-625b0b9752856b35e2052b4dacd96fd4cf4fd3e3.tar.gz gdb-625b0b9752856b35e2052b4dacd96fd4cf4fd3e3.tar.bz2 |
2003-07-18 Andrew Cagney <cagney@redhat.com>
* gdbarch.sh (DWARF2_BUILD_FRAME_INFO): Delete method.
* gdbarch.h, gdbarch.c: Re-generate.
* i386-tdep.c (i386_gdbarch_init): Do not set
DWARF2_BUILD_FRAME_INFO.
* elfread.c (elf_symfile_read): Call dwarf2_build_frame_info
unconditionally.
* alpha-tdep.c (alpha_dwarf2_init_abi): Do not set
DWARF2_BUILD_FRAME_INFO.
Diffstat (limited to 'gdb/gdbarch.h')
-rw-r--r-- | gdb/gdbarch.h | 35 |
1 files changed, 0 insertions, 35 deletions
diff --git a/gdb/gdbarch.h b/gdb/gdbarch.h index e4252ea..9de1222 100644 --- a/gdb/gdbarch.h +++ b/gdb/gdbarch.h @@ -2939,41 +2939,6 @@ typedef char * (gdbarch_construct_inferior_arguments_ftype) (struct gdbarch *gdb extern char * gdbarch_construct_inferior_arguments (struct gdbarch *gdbarch, int argc, char **argv); extern void set_gdbarch_construct_inferior_arguments (struct gdbarch *gdbarch, gdbarch_construct_inferior_arguments_ftype *construct_inferior_arguments); -#if defined (DWARF2_BUILD_FRAME_INFO) -/* Legacy for systems yet to multi-arch DWARF2_BUILD_FRAME_INFO */ -#if !defined (DWARF2_BUILD_FRAME_INFO_P) -#define DWARF2_BUILD_FRAME_INFO_P() (1) -#endif -#endif - -/* Default predicate for non- multi-arch targets. */ -#if (!GDB_MULTI_ARCH) && !defined (DWARF2_BUILD_FRAME_INFO_P) -#define DWARF2_BUILD_FRAME_INFO_P() (0) -#endif - -extern int gdbarch_dwarf2_build_frame_info_p (struct gdbarch *gdbarch); -#if (GDB_MULTI_ARCH > GDB_MULTI_ARCH_PARTIAL) && defined (DWARF2_BUILD_FRAME_INFO_P) -#error "Non multi-arch definition of DWARF2_BUILD_FRAME_INFO" -#endif -#if (GDB_MULTI_ARCH > GDB_MULTI_ARCH_PARTIAL) || !defined (DWARF2_BUILD_FRAME_INFO_P) -#define DWARF2_BUILD_FRAME_INFO_P() (gdbarch_dwarf2_build_frame_info_p (current_gdbarch)) -#endif - -/* Default (function) for non- multi-arch platforms. */ -#if (!GDB_MULTI_ARCH) && !defined (DWARF2_BUILD_FRAME_INFO) -#define DWARF2_BUILD_FRAME_INFO(objfile) (internal_error (__FILE__, __LINE__, "DWARF2_BUILD_FRAME_INFO"), 0) -#endif - -typedef void (gdbarch_dwarf2_build_frame_info_ftype) (struct objfile *objfile); -extern void gdbarch_dwarf2_build_frame_info (struct gdbarch *gdbarch, struct objfile *objfile); -extern void set_gdbarch_dwarf2_build_frame_info (struct gdbarch *gdbarch, gdbarch_dwarf2_build_frame_info_ftype *dwarf2_build_frame_info); -#if (GDB_MULTI_ARCH > GDB_MULTI_ARCH_PARTIAL) && defined (DWARF2_BUILD_FRAME_INFO) -#error "Non multi-arch definition of DWARF2_BUILD_FRAME_INFO" -#endif -#if !defined (DWARF2_BUILD_FRAME_INFO) -#define DWARF2_BUILD_FRAME_INFO(objfile) (gdbarch_dwarf2_build_frame_info (current_gdbarch, objfile)) -#endif - /* Default (function) for non- multi-arch platforms. */ #if (!GDB_MULTI_ARCH) && !defined (ELF_MAKE_MSYMBOL_SPECIAL) #define ELF_MAKE_MSYMBOL_SPECIAL(sym, msym) (default_elf_make_msymbol_special (sym, msym)) |