diff options
author | guerby <guerby@138bc75d-0d04-0410-961f-82ee72b054a4> | 2009-06-26 17:06:52 +0000 |
---|---|---|
committer | guerby <guerby@138bc75d-0d04-0410-961f-82ee72b054a4> | 2009-06-26 17:06:52 +0000 |
commit | 581aa340ab0ceafb7dd51d030d603b016f2369e4 (patch) | |
tree | 20d7a88e927511698c3d4b43e91c0b3cffcf82ad /gcc/ada/tb-gcc.c | |
parent | 5ab8d1bf67eb4a4ca72317d95f294069749928f3 (diff) | |
download | gcc-581aa340ab0ceafb7dd51d030d603b016f2369e4.tar.gz |
2009-06-26 Laurent GUERBY <laurent@guerby.net>
* tb-gcc.c (trace_callback): Use char* instead of void*.
* gcc-interface/misc.c (enumerate_modes): Make loop compatible
with C++.
* gcc-interface/trans.c (parm_attr): Rename to parm_attr_d.
Change all uses.
* gcc-interface/utils.c (new, class, template): Rename to be
compatible with C++. Change all uses.
* gcc-interface/decl.c (new): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@148975 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/ada/tb-gcc.c')
-rw-r--r-- | gcc/ada/tb-gcc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/ada/tb-gcc.c b/gcc/ada/tb-gcc.c index d0b12c79f14..f4d5b121e40 100644 --- a/gcc/ada/tb-gcc.c +++ b/gcc/ada/tb-gcc.c @@ -64,13 +64,13 @@ typedef struct { static _Unwind_Reason_Code trace_callback (struct _Unwind_Context * uw_context, uw_data_t * uw_data) { - void * pc; + char * pc; #if defined (__ia64__) && defined (__hpux__) /* Work around problem with _Unwind_GetIP on ia64 HP-UX. */ uwx_get_reg ((struct uwx_env *) uw_context, UWX_REG_IP, (uint64_t *) &pc); #else - pc = (void *) _Unwind_GetIP (uw_context); + pc = (char *) _Unwind_GetIP (uw_context); #endif if (uw_data->n_frames_skipped < uw_data->n_frames_to_skip) |