This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
RE: Unreviewed Patch [H8/300] : Patch for -mno-exr option in case of function with "monitor" attribute
- From: "Sherry Samuel" <SherryS at KPITCummins dot com>
- To: <kazu at cs dot umass dot edu>
- Cc: <gcc-patches at gcc dot gnu dot org>
- Date: Wed, 14 Jul 2004 14:59:44 +0530
- Subject: RE: Unreviewed Patch [H8/300] : Patch for -mno-exr option in case of function with "monitor" attribute
Hi Kazu Hirata,
The monitor function can accept parameters and return values. The monitor attribute
requires the "h8300_current_function_monitor_function_p()" to be declared. If this
is not done the monitor function will be treated similar to interrupt function
which cannot accept parameters or return values.
The patch http://gcc.gnu.org/ml/gcc-patches/2004-06/msg02495.html implements the
behavior similar to IAR compiler. We have done the debugging in native gdb and it
was found that it uses the "h8300_current_function_monitor_function_p()"
whenever the monitor attribute is used.
Regards,
Sherry Samuel,
KPIT Cummins InfoSystems Ltd.
Pune, India
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Free download of GNU based tool-chains for Renesas' SH and H8 Series.
The following site also offers free technical support to its users.
Visit http://www.kpitgnutools.com for details.
Latest versions of KPIT GNU tools are released on June 1, 2004.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-----Original Message-----
From: Kazu Hirata [mailto:kazu@cs.umass.edu]
Sent: Friday, July 09, 2004 5:09 PM
To: Sherry Samuel
Cc: gcc-patches@gcc.gnu.org
Subject: Re: Unreviewed Patch [H8/300] : Patch for -mno-exr option in
case of function with "monitor" attribute
Hi Sherry,
> Please review the patch from the following link,
> http://gcc.gnu.org/ml/gcc-patches/2004-06/msg02495.html
h8300_current_function_monitor_function_p() does not seem to be used.
Kazu Hirata