summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Schlemmer <azarah@gentoo.org>2002-09-22 07:14:06 +0000
committerMartin Schlemmer <azarah@gentoo.org>2002-09-22 07:14:06 +0000
commit852707c5737e0e6972f58fd67372341b9a16252a (patch)
treebd879cf26452dc1e301e846340bef4fe8a938a11 /dev-util/rhide/files/rhide-1.5_pre-gdb521-IS_FP_REGNUM.patch
parentNew kernel ebuild system, check changelog (diff)
downloadgentoo-2-852707c5737e0e6972f58fd67372341b9a16252a.tar.gz
gentoo-2-852707c5737e0e6972f58fd67372341b9a16252a.tar.bz2
gentoo-2-852707c5737e0e6972f58fd67372341b9a16252a.zip
gcc3 fixes
Diffstat (limited to 'dev-util/rhide/files/rhide-1.5_pre-gdb521-IS_FP_REGNUM.patch')
-rw-r--r--dev-util/rhide/files/rhide-1.5_pre-gdb521-IS_FP_REGNUM.patch22
1 files changed, 22 insertions, 0 deletions
diff --git a/dev-util/rhide/files/rhide-1.5_pre-gdb521-IS_FP_REGNUM.patch b/dev-util/rhide/files/rhide-1.5_pre-gdb521-IS_FP_REGNUM.patch
new file mode 100644
index 000000000000..4049a5e73d77
--- /dev/null
+++ b/dev-util/rhide/files/rhide-1.5_pre-gdb521-IS_FP_REGNUM.patch
@@ -0,0 +1,22 @@
+--- rhide-1.5pre-20020825/librhgdb/regs.c.orig Mon Aug 26 02:20:10 2002
++++ rhide-1.5pre-20020825/librhgdb/regs.c Tue Aug 27 18:37:38 2002
+@@ -4,6 +4,10 @@
+ #include <librhgdb.h>
+ #include <rhgdbint.h>
+
++#ifndef FP_REGNUM_P
++# define FP_REGNUM_P(n) (FP0_REGNUM <= (n) && (n) < (FP0_REGNUM + 8))
++#endif
++
+ int
+ register_count()
+ {
+@@ -13,7 +17,7 @@
+ int
+ is_float_reg(int num)
+ {
+- return IS_FP_REGNUM(num);
++ return FP_REGNUM_P(num);
+ }
+
+ const char *