* mipsnbsd-tdep.c (mipsnbsd_ilp32_fetch_link_map_offsets): Don't

set removed members.
	(mipsnbsd_lp64_fetch_link_map_offsets): Likewise.
This commit is contained in:
Andreas Schwab 2007-05-09 18:37:55 +00:00
parent 2e6030b931
commit 9a88e5eef4
2 changed files with 6 additions and 10 deletions

View 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.

View 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;