Add fr450 support.
[deliverable/binutils-gdb.git] / gas / dwarf2dbg.c
index 984bb71dc65ee2a670d4b57dc47584226e7f148a..3336453a4eeffabbd37fec150f362751c474d4b2 100644 (file)
@@ -1,5 +1,5 @@
 /* dwarf2dbg.c - DWARF2 debug support
-   Copyright 1999, 2000, 2001, 2002, 2003 Free Software Foundation, Inc.
+   Copyright 1999, 2000, 2001, 2002, 2003, 2004 Free Software Foundation, Inc.
    Contributed by David Mosberger-Tang <davidm@hpl.hp.com>
 
    This file is part of GAS, the GNU Assembler.
@@ -49,7 +49,7 @@
 #endif
 
 #ifndef DWARF2_ADDR_SIZE
-# define DWARF2_ADDR_SIZE(bfd) (bfd_arch_bits_per_address (bfd) / 8);
+# define DWARF2_ADDR_SIZE(bfd) (bfd_arch_bits_per_address (bfd) / 8)
 #endif
 
 #ifdef BFD_ASSEMBLER
@@ -372,7 +372,7 @@ get_filenum (const char *filename, unsigned int num)
     {
       --dir_len;
       for (dir = 1; dir < dirs_in_use; ++dir)
-       if (memcmp (filename, dirs[dir], dir_len) == 0
+       if (strncmp (filename, dirs[dir], dir_len) == 0
            && dirs[dir][dir_len] == '\0')
          break;
 
@@ -640,8 +640,7 @@ out_set_addr (segT seg, fragS *frag, addressT ofs)
 static void scale_addr_delta (addressT *);
 
 static void
-scale_addr_delta (addr_delta)
-     addressT *addr_delta;
+scale_addr_delta (addressT *addr_delta)
 {
   static int printed_this = 0;
   if (*addr_delta % DWARF2_LINE_MIN_INSN_LENGTH != 0)
This page took 0.023935 seconds and 4 git commands to generate.