* tb-gcc.c (__gnat_backtrace): Mark all arguments unused.
authorRichard Henderson <rth@redhat.com>
Thu, 3 Sep 2009 00:07:41 +0000 (17:07 -0700)
committerRichard Henderson <rth@gcc.gnu.org>
Thu, 3 Sep 2009 00:07:41 +0000 (17:07 -0700)
From-SVN: r151355

gcc/ada/ChangeLog
gcc/ada/tb-gcc.c

index 21dd495..43c7542 100644 (file)
@@ -1,3 +1,7 @@
+2009-09-02  Richard Henderson  <rth@redhat.com>
+
+       * tb-gcc.c (__gnat_backtrace): Mark all arguments unused.
+
 2009-09-02  Olivier Hainque  <hainque@adacore.com>
 
        * init.c (__gnat_error_handler, AIX): Add ATTRIBUTE_UNUSED on si
index 05ce9c7..22432b4 100644 (file)
@@ -94,9 +94,11 @@ trace_callback (struct _Unwind_Context * uw_context, uw_data_t * uw_data)
  ********************/
 
 int
-__gnat_backtrace (void ** traceback, int max_len,
-                 void * exclude_min, void * exclude_max,
-                 int  skip_frames)
+__gnat_backtrace (void ** traceback __attribute__((unused)),
+                 int max_len __attribute__((unused)),
+                 void * exclude_min __attribute__((unused)),
+                 void * exclude_max __attribute__((unused)),
+                 int skip_frames __attribute__((unused)))
 {
 #if defined (__USING_SJLJ_EXCEPTIONS__)
   /* We have no unwind material (tables) at hand with sjlj eh, and no