1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-29 01:13:08 +00:00

Fix internal assertion error.

Noticed by:	Jun Kuriyama <kuriyama@imgsrc.co.jp>
This commit is contained in:
Mark Peek 2002-06-07 16:25:16 +00:00
parent 85920e01d6
commit a202e404e2
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=60781
8 changed files with 12 additions and 20 deletions

View File

@ -8,7 +8,7 @@
PORTNAME= gdb
PORTVERSION= 5.2
PORTREVISION= 1
PORTREVISION= 2
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_SOURCEWARE}
MASTER_SITE_SUBDIR= gdb/releases

View File

@ -1,5 +1,5 @@
--- gdb/config/i386/tm-fbsd.h Sat Jul 28 10:03:38 2001
+++ gdb/config/i386/tm-fbsd.h Mon Jun 3 10:08:22 2002
+++ gdb/config/i386/tm-fbsd.h Fri Jun 7 08:32:14 2002
@@ -24,6 +24,10 @@
#define HAVE_I387_REGS
#include "i386/tm-i386.h"
@ -11,7 +11,7 @@
/* FreeBSD/ELF uses stabs-in-ELF with the DWARF register numbering
scheme by default, so we must redefine STAB_REG_TO_REGNUM. This
messes up the floating-point registers for a.out, but there is not
@@ -41,38 +45,44 @@
@@ -41,38 +45,42 @@
/* Support for longjmp. */
/* Details about jmp_buf. It's supposed to be an array of integers. */
@ -22,8 +22,6 @@
-/* Figure out where the longjmp will land. Store the address that
- longjmp will jump to in *ADDR, and return non-zero if successful. */
-
+#undef NUM_REGS
+#define NUM_REGS 16
#define GET_LONGJMP_TARGET(addr) get_longjmp_target (addr)
-extern int get_longjmp_target (CORE_ADDR *addr);

View File

@ -8,7 +8,7 @@
PORTNAME= gdb
PORTVERSION= 5.2
PORTREVISION= 1
PORTREVISION= 2
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_SOURCEWARE}
MASTER_SITE_SUBDIR= gdb/releases

View File

@ -1,5 +1,5 @@
--- gdb/config/i386/tm-fbsd.h Sat Jul 28 10:03:38 2001
+++ gdb/config/i386/tm-fbsd.h Mon Jun 3 10:08:22 2002
+++ gdb/config/i386/tm-fbsd.h Fri Jun 7 08:32:14 2002
@@ -24,6 +24,10 @@
#define HAVE_I387_REGS
#include "i386/tm-i386.h"
@ -11,7 +11,7 @@
/* FreeBSD/ELF uses stabs-in-ELF with the DWARF register numbering
scheme by default, so we must redefine STAB_REG_TO_REGNUM. This
messes up the floating-point registers for a.out, but there is not
@@ -41,38 +45,44 @@
@@ -41,38 +45,42 @@
/* Support for longjmp. */
/* Details about jmp_buf. It's supposed to be an array of integers. */
@ -22,8 +22,6 @@
-/* Figure out where the longjmp will land. Store the address that
- longjmp will jump to in *ADDR, and return non-zero if successful. */
-
+#undef NUM_REGS
+#define NUM_REGS 16
#define GET_LONGJMP_TARGET(addr) get_longjmp_target (addr)
-extern int get_longjmp_target (CORE_ADDR *addr);

View File

@ -8,7 +8,7 @@
PORTNAME= gdb
PORTVERSION= 5.2
PORTREVISION= 1
PORTREVISION= 2
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_SOURCEWARE}
MASTER_SITE_SUBDIR= gdb/releases

View File

@ -1,5 +1,5 @@
--- gdb/config/i386/tm-fbsd.h Sat Jul 28 10:03:38 2001
+++ gdb/config/i386/tm-fbsd.h Mon Jun 3 10:08:22 2002
+++ gdb/config/i386/tm-fbsd.h Fri Jun 7 08:32:14 2002
@@ -24,6 +24,10 @@
#define HAVE_I387_REGS
#include "i386/tm-i386.h"
@ -11,7 +11,7 @@
/* FreeBSD/ELF uses stabs-in-ELF with the DWARF register numbering
scheme by default, so we must redefine STAB_REG_TO_REGNUM. This
messes up the floating-point registers for a.out, but there is not
@@ -41,38 +45,44 @@
@@ -41,38 +45,42 @@
/* Support for longjmp. */
/* Details about jmp_buf. It's supposed to be an array of integers. */
@ -22,8 +22,6 @@
-/* Figure out where the longjmp will land. Store the address that
- longjmp will jump to in *ADDR, and return non-zero if successful. */
-
+#undef NUM_REGS
+#define NUM_REGS 16
#define GET_LONGJMP_TARGET(addr) get_longjmp_target (addr)
-extern int get_longjmp_target (CORE_ADDR *addr);

View File

@ -8,7 +8,7 @@
PORTNAME= gdb
PORTVERSION= 5.2
PORTREVISION= 1
PORTREVISION= 2
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_SOURCEWARE}
MASTER_SITE_SUBDIR= gdb/releases

View File

@ -1,5 +1,5 @@
--- gdb/config/i386/tm-fbsd.h Sat Jul 28 10:03:38 2001
+++ gdb/config/i386/tm-fbsd.h Mon Jun 3 10:08:22 2002
+++ gdb/config/i386/tm-fbsd.h Fri Jun 7 08:32:14 2002
@@ -24,6 +24,10 @@
#define HAVE_I387_REGS
#include "i386/tm-i386.h"
@ -11,7 +11,7 @@
/* FreeBSD/ELF uses stabs-in-ELF with the DWARF register numbering
scheme by default, so we must redefine STAB_REG_TO_REGNUM. This
messes up the floating-point registers for a.out, but there is not
@@ -41,38 +45,44 @@
@@ -41,38 +45,42 @@
/* Support for longjmp. */
/* Details about jmp_buf. It's supposed to be an array of integers. */
@ -22,8 +22,6 @@
-/* Figure out where the longjmp will land. Store the address that
- longjmp will jump to in *ADDR, and return non-zero if successful. */
-
+#undef NUM_REGS
+#define NUM_REGS 16
#define GET_LONGJMP_TARGET(addr) get_longjmp_target (addr)
-extern int get_longjmp_target (CORE_ADDR *addr);