* mipsnbsd-tdep.c (mipsnbsd_ilp32_fetch_link_map_offsets): Don't
authorAndreas Schwab <schwab@linux-m68k.org>
Wed, 9 May 2007 18:37:55 +0000 (18:37 +0000)
committerAndreas Schwab <schwab@linux-m68k.org>
Wed, 9 May 2007 18:37:55 +0000 (18:37 +0000)
set removed members.
(mipsnbsd_lp64_fetch_link_map_offsets): Likewise.

gdb/ChangeLog
gdb/mipsnbsd-tdep.c

index e1e7d74801b5218ea5c3a98e5428f117a62f3d25..7c0e8a8a18bcc17e614a3fddc2013986c7576be6 100644 (file)
@@ -1,3 +1,9 @@
+2007-05-09  Andreas Schwab  <schwab@suse.de>
+
+       * mipsnbsd-tdep.c (mipsnbsd_ilp32_fetch_link_map_offsets): Don't
+       set removed members.
+       (mipsnbsd_lp64_fetch_link_map_offsets): Likewise.
+
 2007-05-08  Ulrich Weigand  <uweigand@de.ibm.com>
 
        * gdbarch.sh (deprecated_store_struct_return): Remove.
index 3e69d1c19ca80d5581093863804d9ac52dee0e83..1b7aa77e91afe8b31350f8a96e3683af0e24868c 100644 (file)
@@ -336,15 +336,10 @@ mipsnbsd_ilp32_fetch_link_map_offsets (void)
       /* Everything we need is in the first 24 bytes.  */
       lmo.link_map_size = 24;
       lmo.l_addr_offset = 4;
-      lmo.l_addr_size = 4;
       lmo.l_name_offset = 8;
-      lmo.l_name_size = 4;
       lmo.l_ld_offset = 12;
-      lmo.l_ld_size = 4;
       lmo.l_next_offset = 16;
-      lmo.l_next_size = 4;
       lmo.l_prev_offset = 20;
-      lmo.l_prev_size = 4;
     }
 
   return lmp;
@@ -368,15 +363,10 @@ mipsnbsd_lp64_fetch_link_map_offsets (void)
       /* Everything we need is in the first 40 bytes.  */
       lmo.link_map_size = 48;
       lmo.l_addr_offset = 0;
-      lmo.l_addr_size = 8;
       lmo.l_name_offset = 16; 
-      lmo.l_name_size = 8;
       lmo.l_ld_offset = 24;
-      lmo.l_ld_size = 8;
       lmo.l_next_offset = 32;
-      lmo.l_next_size = 8;
       lmo.l_prev_offset = 40;
-      lmo.l_prev_size = 8;
     }
 
   return lmp;