2003-09-03 Andrew Cagney <cagney@redhat.com>
authorAndrew Cagney <cagney@redhat.com>
Wed, 3 Sep 2003 21:01:44 +0000 (21:01 +0000)
committerAndrew Cagney <cagney@redhat.com>
Wed, 3 Sep 2003 21:01:44 +0000 (21:01 +0000)
* config/rs6000/tm-rs6000.h (IBM6000_TARGET): Delete definition.
* config/rs6000/nm-rs6000.h (DEPRECATED_IBM6000_TARGET): Define.
* symfile.c (syms_from_objfile): Update.
(reread_symbols): `Update
* exec.c (exec_file_attach): Update.
(exec_file_attach): Update.
* config/powerpc/tm-nbsd.h: Delete #undef IBM6000_TARGET, revert
2003-08-29 change.
* config/powerpc/tm-linux.h: Delete #undef IBM6000_TARGET.

gdb/ChangeLog
gdb/config/powerpc/tm-linux.h
gdb/config/powerpc/tm-nbsd.h
gdb/config/rs6000/nm-rs6000.h
gdb/config/rs6000/tm-rs6000.h
gdb/exec.c
gdb/symfile.c

index 7d58f886a1c31996353d3d2b38217e1719147177..00ff80a1330f81370900a9d5ae25256ae69146b9 100644 (file)
@@ -1,3 +1,15 @@
+2003-09-03  Andrew Cagney  <cagney@redhat.com>
+
+       * config/rs6000/tm-rs6000.h (IBM6000_TARGET): Delete definition.
+       * config/rs6000/nm-rs6000.h (DEPRECATED_IBM6000_TARGET): Define.
+       * symfile.c (syms_from_objfile): Update.
+       (reread_symbols): `Update
+       * exec.c (exec_file_attach): Update.
+       (exec_file_attach): Update.
+       * config/powerpc/tm-nbsd.h: Delete #undef IBM6000_TARGET, revert
+       2003-08-29 change.
+       * config/powerpc/tm-linux.h: Delete #undef IBM6000_TARGET.
+
 2003-09-03  Daniel Jacobowitz  <drow@mvista.com>
 
        * arm-tdep.c: Include frame-unwind.h, frame-base.h, and
index 34d95cadca47aee78b231806a8638734afb9efed..e5383900ad6d90b0bb40e52184a91988483b58b5 100644 (file)
@@ -44,10 +44,6 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.  */
    at_subroutine_call_instruction_target(prevpc,stoppc)
 extern int at_subroutine_call_instruction_target();
 
-/* We _want_ the SVR4 section offset calculations (see syms_from_objfile()
-   in symfile.c) */
-#undef IBM6000_TARGET
-
 extern int ppc_linux_in_sigtramp (CORE_ADDR pc, char *func_name);
 #undef IN_SIGTRAMP
 #define IN_SIGTRAMP(pc,func_name) ppc_linux_in_sigtramp (pc,func_name)
index d98fc791f8bbcfcb19056a5c27d828a79b6d7dc1..d167830523c54449b4efa20ce8fe6642bdcc9b22 100644 (file)
@@ -23,8 +23,4 @@
 
 #include "powerpc/tm-ppc-eabi.h"
 
-/* We _want_ the SVR4 section offset calculations (see syms_from_objfile()
-   in symfile.c).  */
-#undef IBM6000_TARGET
-
 #endif /* TM_NBSD_H */
index 728497e7871a71f0c8541044d5379a850b731dda..34bc0feebcd361fa517fdf3cb73a166da97dd889 100644 (file)
@@ -64,3 +64,6 @@ extern char *xcoff_solib_address (CORE_ADDR);
 
 #define KERNEL_U_SIZE kernel_u_size()
 extern int kernel_u_size (void);
+
+/* Flag for machine-specific stuff in shared files.  FIXME */
+#define DEPRECATED_IBM6000_TARGET
index c73658922bd61e7a1d6fcf4ab2888ab8091253ba..66b2f28d4e1d38b26ad3c67c7b540179400434d3 100644 (file)
@@ -90,9 +90,6 @@ extern void aix_process_linenos (void);
 extern CORE_ADDR init_frame_pc_noop (int fromleaf, struct frame_info *prev);
 #define DEPRECATED_INIT_FRAME_PC(fromleaf, prev) (init_frame_pc_noop (fromleaf, prev))
 
-/* Flag for machine-specific stuff in shared files.  FIXME */
-#define IBM6000_TARGET
-
 /* RS6000/AIX does not support PT_STEP.  Has to be simulated.  */
 
 #define SOFTWARE_SINGLE_STEP_P() 1
index 0bde096c7c2ed51c0e160e71d0ab25f78ed2e8d9..468b0ea299bc48e730b250dab6de7a0f6f0b6ff5 100644 (file)
@@ -242,7 +242,7 @@ exec_file_attach (char *filename, int from_tty)
 
       /* FIXME - This should only be run for RS6000, but the ifdef is a poor
          way to accomplish.  */
-#ifdef IBM6000_TARGET
+#ifdef DEPRECATED_IBM6000_TARGET
       /* Setup initial vmap. */
 
       map_vmap (exec_bfd, 0);
@@ -254,7 +254,7 @@ exec_file_attach (char *filename, int from_tty)
          error ("\"%s\": can't find the file sections: %s",
                 scratch_pathname, bfd_errmsg (bfd_get_error ()));
        }
-#endif /* IBM6000_TARGET */
+#endif /* DEPRECATED_IBM6000_TARGET */
 
       if (build_section_table (exec_bfd, &exec_ops.to_sections,
                               &exec_ops.to_sections_end))
index b1ff445e19893c2770125678e2d58aaa94a2c3d2..f9b78ce99c27896d5494e1b374ce1b3b2bcf95aa 100644 (file)
@@ -710,7 +710,7 @@ syms_from_objfile (struct objfile *objfile,
       init_objfile_sect_indices (objfile);
     }
 
-#ifndef IBM6000_TARGET
+#ifndef DEPRECATED_IBM6000_TARGET
   /* This is a SVR4/SunOS specific hack, I think.  In any event, it
      screws RS/6000.  sym_offsets should be doing this sort of thing,
      because it knows the mapping between bfd sections and
@@ -758,7 +758,7 @@ syms_from_objfile (struct objfile *objfile,
          s->offset += s_addr;
        }
     }
-#endif /* not IBM6000_TARGET */
+#endif /* not DEPRECATED_IBM6000_TARGET */
 
   (*objfile->sf->sym_read) (objfile, mainline);
 
@@ -1861,7 +1861,7 @@ reread_symbols (void)
     {
       if (objfile->obfd)
        {
-#ifdef IBM6000_TARGET
+#ifdef DEPRECATED_IBM6000_TARGET
          /* If this object is from a shared library, then you should
             stat on the library name, not member name. */
 
This page took 0.035176 seconds and 4 git commands to generate.