aboutsummaryrefslogtreecommitdiff
path: root/gdb/mipsnbsd-tdep.c
diff options
context:
space:
mode:
authorAndreas Schwab <schwab@linux-m68k.org>2007-05-09 18:37:55 +0000
committerAndreas Schwab <schwab@linux-m68k.org>2007-05-09 18:37:55 +0000
commit9a88e5eef4447e64d9509cee446da25d347bea55 (patch)
treeb08e17df299da5d3a14d65bc42ec6dc7990b3acb /gdb/mipsnbsd-tdep.c
parent2e6030b93148e7b1097571d7e78aaebef0755c08 (diff)
downloadgdb-9a88e5eef4447e64d9509cee446da25d347bea55.zip
gdb-9a88e5eef4447e64d9509cee446da25d347bea55.tar.gz
gdb-9a88e5eef4447e64d9509cee446da25d347bea55.tar.bz2
* mipsnbsd-tdep.c (mipsnbsd_ilp32_fetch_link_map_offsets): Don't
set removed members. (mipsnbsd_lp64_fetch_link_map_offsets): Likewise.
Diffstat (limited to 'gdb/mipsnbsd-tdep.c')
-rw-r--r--gdb/mipsnbsd-tdep.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/gdb/mipsnbsd-tdep.c b/gdb/mipsnbsd-tdep.c
index 3e69d1c..1b7aa77 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;