aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorLaurent GUERBY <laurent@guerby.net>2009-07-04 10:11:57 +0000
committerLaurent Guerby <guerby@gcc.gnu.org>2009-07-04 10:11:57 +0000
commitd8bf0ab8388745c139f526fe5a8b72fc17d24523 (patch)
tree8517841a36b5e53c036c3020d7583d2b9e5f3abb /gcc
parentad909c97e2d84c7a497287eaabd498131d1ef5eb (diff)
downloadgcc-d8bf0ab8388745c139f526fe5a8b72fc17d24523.zip
gcc-d8bf0ab8388745c139f526fe5a8b72fc17d24523.tar.gz
gcc-d8bf0ab8388745c139f526fe5a8b72fc17d24523.tar.bz2
re PR ada/40631 (bootstrap with Ada fails on __gnat_backtrace warning on mips-linux)
2009-07-04 Laurent GUERBY <laurent@guerby.net> PR ada/40631 * tracebak.c (__gnat_backtrace): Fix old-style definition. From-SVN: r149224
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ada/ChangeLog5
-rw-r--r--gcc/ada/tracebak.c11
2 files changed, 10 insertions, 6 deletions
diff --git a/gcc/ada/ChangeLog b/gcc/ada/ChangeLog
index 0c6a80d..a64ea51 100644
--- a/gcc/ada/ChangeLog
+++ b/gcc/ada/ChangeLog
@@ -1,3 +1,8 @@
+2009-07-04 Laurent GUERBY <laurent@guerby.net>
+
+ PR ada/40631
+ * tracebak.c (__gnat_backtrace): Fix old-style definition.
+
2009-07-02 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
* tracebak.c [i386 && sun] (IS_BAD_PTR): Use -1UL in comparison.
diff --git a/gcc/ada/tracebak.c b/gcc/ada/tracebak.c
index 2b134ae..835b7a8d 100644
--- a/gcc/ada/tracebak.c
+++ b/gcc/ada/tracebak.c
@@ -494,12 +494,11 @@ __gnat_backtrace (void **array,
*------------------------------*/
int
-__gnat_backtrace (array, size, exclude_min, exclude_max, skip_frames)
- void **array ATTRIBUTE_UNUSED;
- int size ATTRIBUTE_UNUSED;
- void *exclude_min ATTRIBUTE_UNUSED;
- void *exclude_max ATTRIBUTE_UNUSED;
- int skip_frames ATTRIBUTE_UNUSED;
+__gnat_backtrace (void **array ATTRIBUTE_UNUSED,
+ int size ATTRIBUTE_UNUSED,
+ void *exclude_min ATTRIBUTE_UNUSED,
+ void *exclude_max ATTRIBUTE_UNUSED,
+ int skip_frames ATTRIBUTE_UNUSED)
{
return 0;
}