aboutsummaryrefslogtreecommitdiff
path: root/gdb
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
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')
-rw-r--r--gdb/ChangeLog6
-rw-r--r--gdb/mipsnbsd-tdep.c10
2 files changed, 6 insertions, 10 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index e1e7d74..7c0e8a8 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -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.
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;