* tb-gcc.c (__gnat_backtrace): Mark all arguments unused.
From-SVN: r151355
This commit is contained in:
parent
02c8b4f8d9
commit
c1942361b4
|
@ -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>
|
2009-09-02 Olivier Hainque <hainque@adacore.com>
|
||||||
|
|
||||||
* init.c (__gnat_error_handler, AIX): Add ATTRIBUTE_UNUSED on si
|
* init.c (__gnat_error_handler, AIX): Add ATTRIBUTE_UNUSED on si
|
||||||
|
|
|
@ -94,9 +94,11 @@ trace_callback (struct _Unwind_Context * uw_context, uw_data_t * uw_data)
|
||||||
********************/
|
********************/
|
||||||
|
|
||||||
int
|
int
|
||||||
__gnat_backtrace (void ** traceback, int max_len,
|
__gnat_backtrace (void ** traceback __attribute__((unused)),
|
||||||
void * exclude_min, void * exclude_max,
|
int max_len __attribute__((unused)),
|
||||||
int skip_frames)
|
void * exclude_min __attribute__((unused)),
|
||||||
|
void * exclude_max __attribute__((unused)),
|
||||||
|
int skip_frames __attribute__((unused)))
|
||||||
{
|
{
|
||||||
#if defined (__USING_SJLJ_EXCEPTIONS__)
|
#if defined (__USING_SJLJ_EXCEPTIONS__)
|
||||||
/* We have no unwind material (tables) at hand with sjlj eh, and no
|
/* We have no unwind material (tables) at hand with sjlj eh, and no
|
||||||
|
|
Loading…
Reference in New Issue