Compare commits
22 Commits
Author | SHA1 | Date |
---|---|---|
![]() |
96d6087098 | 13 years ago |
![]() |
a839b5879c | 14 years ago |
![]() |
b864881d4a | 14 years ago |
![]() |
fccc3ab4c0 | 14 years ago |
![]() |
803599b4bd | 14 years ago |
![]() |
790b15a352 | 14 years ago |
![]() |
c3ad474734 | 14 years ago |
![]() |
f261ec42de | 14 years ago |
![]() |
28eca3e8d0 | 14 years ago |
![]() |
e76e47b650 | 14 years ago |
![]() |
6841b1f9ec | 14 years ago |
![]() |
afd70c9914 | 14 years ago |
![]() |
36f6713580 | 14 years ago |
![]() |
170db5c2ed | 14 years ago |
![]() |
c3dec35321 | 14 years ago |
![]() |
5d8855f2e4 | 14 years ago |
![]() |
6e38f97f97 | 14 years ago |
![]() |
672d06d38d | 14 years ago |
![]() |
a209425d19 | 14 years ago |
![]() |
9f72946580 | 14 years ago |
![]() |
561488f051 | 14 years ago |
![]() |
58764da6e1 | 14 years ago |
40 changed files with 246 additions and 633 deletions
@ -0,0 +1,25 @@
|
||||
syntax: glob |
||||
|
||||
# Generated files |
||||
Makefile |
||||
ct-ng |
||||
docs/ct-ng.1 |
||||
docs/ct-ng.1.gz |
||||
paths.mk |
||||
scripts/crosstool-NG.sh |
||||
scripts/saveSample.sh |
||||
scripts/showTuple.sh |
||||
|
||||
# Temporaries |
||||
.*.swp |
||||
log.* |
||||
|
||||
# Working files |
||||
kconfig/conf |
||||
kconfig/mconf |
||||
kconfig/**.o |
||||
kconfig/**.dep |
||||
config.gen/ |
||||
.config |
||||
.config.old |
||||
targets/ |
@ -0,0 +1 @@
|
||||
366b6c794c70f1a3387c0b2578d3300d5a36bee4 crosstool-ng-1.4.2 |
@ -0,0 +1,30 @@
|
||||
Fix bug reported by Thomas Petazzoni <thomas.petazzoni@free-electrons.com>:
|
||||
See: http://sourceware.org/ml/crossgcc/2009-05/msg00055.html
|
||||
https://bugzilla.redhat.com/show_bug.cgi?id=436037
|
||||
|
||||
Fix from: http://cvs.fedoraproject.org/viewvc/devel/gdb/gdb-6.8-bz436037-reg-no-longer-active.patch?revision=1.1
|
||||
|
||||
diff -d -urpN src.0/gdb/valops.c src.1/gdb/valops.c
|
||||
--- src.0/gdb/valops.c 2008-07-27 04:00:03.000000000 +0200
|
||||
+++ src.1/gdb/valops.c 2008-07-31 15:17:42.000000000 +0200
|
||||
@@ -813,10 +813,18 @@ value_assign (struct value *toval, struc
|
||||
struct frame_info *frame;
|
||||
int value_reg;
|
||||
|
||||
- /* Figure out which frame this is in currently. */
|
||||
- frame = frame_find_by_id (VALUE_FRAME_ID (toval));
|
||||
value_reg = VALUE_REGNUM (toval);
|
||||
|
||||
+ /* Figure out which frame this is in currently. */
|
||||
+ frame = frame_find_by_id (VALUE_FRAME_ID (toval));
|
||||
+ /* "set $reg+=1" should work on programs with no debug info,
|
||||
+ but frame_find_by_id returns NULL here (RH bug 436037).
|
||||
+ Use current frame, it represents CPU state in this case.
|
||||
+ If frame_find_by_id is changed to do it internally
|
||||
+ (it is contemplated there), remove this. */
|
||||
+ if (!frame)
|
||||
+ frame = get_current_frame ();
|
||||
+ /* Probably never happens. */
|
||||
if (!frame)
|
||||
error (_("Value being assigned to is no longer active."));
|
||||
|
@ -0,0 +1,41 @@
|
||||
diff -up ./tests/Makefile.am.orig ./tests/Makefile.am
|
||||
--- ./tests/Makefile.am.orig 2009-07-28 16:28:55.377059021 +0300
|
||||
+++ ./tests/Makefile.am 2009-07-28 16:31:01.136810734 +0300
|
||||
@@ -20,7 +20,7 @@ check_PROGRAMS = tversion tinternals tin
|
||||
|
||||
EXTRA_DIST = tgeneric.c tgeneric_ui.c mpf_compat.h inp_str.data tmul.dat
|
||||
|
||||
-tmul_CPPFLAGS = -DMPFR_SRCDIR=$(srcdir)
|
||||
+tmul_CPPFLAGS = -DMPFR_SRCDIR=\"$(srcdir)\"
|
||||
|
||||
LDADD = libfrtests.la $(MPFR_LIBM) $(top_builddir)/libmpfr.la
|
||||
INCLUDES = -I$(top_srcdir) -I$(top_builddir)
|
||||
diff -up ./tests/tmul.c.orig ./tests/tmul.c
|
||||
--- ./tests/tmul.c.orig 2009-07-28 16:29:03.761058919 +0300
|
||||
+++ ./tests/tmul.c 2009-07-28 16:30:46.369812215 +0300
|
||||
@@ -26,10 +26,8 @@ MA 02110-1301, USA. */
|
||||
#include "mpfr-test.h"
|
||||
|
||||
#ifndef MPFR_SRCDIR
|
||||
-#define MPFR_SRCDIR .
|
||||
+#define MPFR_SRCDIR "."
|
||||
#endif
|
||||
-#define QUOTE(X) NAME(X)
|
||||
-#define NAME(X) #X
|
||||
|
||||
#ifdef CHECK_EXTERNAL
|
||||
static int
|
||||
@@ -482,10 +480,10 @@ check_regression (void)
|
||||
mpfr_inits2 (6177, x, y, z, (mpfr_ptr) 0);
|
||||
/* we read long strings from a file since ISO C90 does not support strings of
|
||||
length > 509 */
|
||||
- fp = fopen (QUOTE (MPFR_SRCDIR)"/tmul.dat", "r");
|
||||
+ fp = fopen (MPFR_SRCDIR "/tmul.dat", "r");
|
||||
if (fp == NULL)
|
||||
{
|
||||
- fprintf (stderr, "Error, cannot open "QUOTE (MPFR_SRCDIR)"/tmul.dat\n");
|
||||
+ fprintf (stderr, "Error, cannot open " MPFR_SRCDIR "/tmul.dat\n");
|
||||
exit (1);
|
||||
}
|
||||
get_string (s, fp);
|
||||
|