diff options
Diffstat (limited to 'gcc/ada/tracebak.c')
-rw-r--r-- | gcc/ada/tracebak.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/gcc/ada/tracebak.c b/gcc/ada/tracebak.c index 59ed396d266..991550ad540 100644 --- a/gcc/ada/tracebak.c +++ b/gcc/ada/tracebak.c @@ -6,7 +6,7 @@ * * * C Implementation File * * * - * Copyright (C) 2000-2003 Ada Core Technologies, Inc. * + * Copyright (C) 2000-2004 Ada Core Technologies, Inc. * * * * GNAT is free software; you can redistribute it and/or modify it under * * terms of the GNU General Public License as published by the Free Soft- * @@ -230,7 +230,7 @@ struct layout #define FRAME_OFFSET 0 #define PC_ADJUST -4 -#define STOP_FRAME(CURRENT, TOP_STACK) ((CURRENT)->return_address == 0) +#define STOP_FRAME(CURRENT, TOP_STACK) ((CURRENT)->next == 0) #define BASE_SKIP 1 @@ -322,7 +322,6 @@ extern unsigned int _image_base__; # define CURRENT_STACK_FRAME ({ char __csf; &__csf; }) #endif - #ifndef VALID_STACK_FRAME #define VALID_STACK_FRAME(ptr) 1 #endif |