From 4859a7febe66900c1f0688344ee01da099155929 Mon Sep 17 00:00:00 2001 From: bde Date: Fri, 16 Jan 1998 08:46:50 +0000 Subject: [PATCH] Fixed copying of N_TXTADDR() from the system version in the previous revision. N_TXTADDR() was 0x20 too high in the usual case. Reported by: luoqi@watermarkgroup.com (Luoqi Chen) --- contrib/gdb/bfd/freebsd.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contrib/gdb/bfd/freebsd.h b/contrib/gdb/bfd/freebsd.h index 1c7d12d926a1..43d29a966066 100644 --- a/contrib/gdb/bfd/freebsd.h +++ b/contrib/gdb/bfd/freebsd.h @@ -31,7 +31,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. (N_GETMAGIC(x) == OMAGIC || N_GETMAGIC(x) == NMAGIC \ || N_GETMAGIC(x) == ZMAGIC \ ? ((x).a_entry < (x).a_text ? 0 : (x).a_entry & ~TARGET_PAGE_SIZE) \ - : TARGET_PAGE_SIZE + sizeof(struct external_exec)) + : TARGET_PAGE_SIZE) #define N_TXTOFF(x) \ (N_GETMAGIC(x) == ZMAGIC ? TARGET_PAGE_SIZE \ : (N_GETMAGIC(x) == QMAGIC || N_GETMAGIC_NET(x) == ZMAGIC) ? 0 \