From 9a88e5eef4447e64d9509cee446da25d347bea55 Mon Sep 17 00:00:00 2001 From: Andreas Schwab Date: Wed, 9 May 2007 18:37:55 +0000 Subject: [PATCH] * mipsnbsd-tdep.c (mipsnbsd_ilp32_fetch_link_map_offsets): Don't set removed members. (mipsnbsd_lp64_fetch_link_map_offsets): Likewise. --- gdb/ChangeLog | 6 ++++++ gdb/mipsnbsd-tdep.c | 10 ---------- 2 files changed, 6 insertions(+), 10 deletions(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index e1e7d74801b..7c0e8a8a18b 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,9 @@ +2007-05-09 Andreas Schwab + + * 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 * gdbarch.sh (deprecated_store_struct_return): Remove. diff --git a/gdb/mipsnbsd-tdep.c b/gdb/mipsnbsd-tdep.c index 3e69d1c19ca..1b7aa77e91a 100644 --- a/gdb/mipsnbsd-tdep.c +++ b/gdb/mipsnbsd-tdep.c @@ -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; -- 2.30.2