* dbxread.c (dbx_symfile_read): Set block_address_function_relative
authorDavid Edelsohn <dje.gcc@gmail.com>
Tue, 28 Nov 1995 23:45:17 +0000 (23:45 +0000)
committerDavid Edelsohn <dje.gcc@gmail.com>
Tue, 28 Nov 1995 23:45:17 +0000 (23:45 +0000)
for `pe' format files.

gdb/ChangeLog
gdb/dbxread.c

index 9640b9dc2813c846700480e6833fb79f10a2ffc4..33c8c6b1189c8795043b69ff4e5060c37f17a578 100644 (file)
@@ -1,3 +1,8 @@
+Tue Nov 28 15:25:28 1995  Doug Evans  <dje@canuck.cygnus.com>
+
+       * dbxread.c (dbx_symfile_read): Set block_address_function_relative
+       for `pe' format files.
+
 Tue Nov 28 11:17:47 1995  Fred Fish  <fnf@cygnus.com>
 
        * magic.h:  Renamed to gmagic.h to avoid <magic.h> conflict.
index 97c3d3cbed23f557bf8ef5b4f2220166d2a4ba53..f6714ea45794133f807e32b546f5ee4902c5ceab 100644 (file)
@@ -16,7 +16,7 @@ GNU General Public License for more details.
 
 You should have received a copy of the GNU General Public License
 along with this program; if not, write to the Free Software
-Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.  */
+Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.  */
 
 /* This module provides three functions: dbx_symfile_init,
    which initializes to read a symbol file; dbx_new_init, which 
@@ -65,10 +65,6 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.  */
 #include "aout/aout64.h"
 #include "aout/stab_gnu.h"     /* We always use GNU stabs, not native, now */
 
-#if !defined (SEEK_SET)
-#define SEEK_SET 0
-#define SEEK_CUR 1
-#endif
 \f
 /* We put a pointer to this structure in the read_symtab_private field
    of the psymtab.  */
@@ -546,6 +542,7 @@ dbx_symfile_read (objfile, section_offsets, mainline)
     ((0 == strncmp (bfd_get_target (objfile->obfd), "elf", 3))
      || (0 == strncmp (bfd_get_target (objfile->obfd), "som", 3))
      || (0 == strncmp (bfd_get_target (objfile->obfd), "coff", 4))
+     || (0 == strncmp (bfd_get_target (objfile->obfd), "pe", 2))
      || (0 == strncmp (bfd_get_target (objfile->obfd), "nlm", 3)));
 
   sym_bfd = objfile->obfd;
This page took 0.027098 seconds and 4 git commands to generate.