My mistake. Thanks, but even if you include <signal.h> the issue still
exists. Yes TRAP_BRKPT is not included in signal.h, however gcc somehow
finds the definition for TRAP_BRKPT and I don't know how. This works in
other hosts. Any how I shall post the question on other platforms. Thanks
for you time.

Thanks and Regards,
Vinaya D R


On Sat, Mar 23, 2019 at 10:38 PM Jonathan Wakely <jwakely....@gmail.com>
wrote:

> On Sat, 23 Mar 2019 at 16:25, Vinaya Dandur <mail2vin...@gmail.com> wrote:
> >
> > Hi Jonathan,
> >
> > Thank you. Yes it is not an issue with the GCC but the TRAP_BRKPT is
> defined in signal.h which the GCC could include but can't find the constant
> mentioned.
>
> Your code doesn't include <signal.h>, how do you expect it to find
> anything defined in <signal.h> if you don't include it?
>
> There is no TRAP_BRKPT on GNU/Linux, maybe you're trying to compile
> Android code, and should use the Android SDK?
>
> > Is there any way this problem could be resolved ? any pointers I can get
> ?
>
> This is not a GCC problem, so you should find a more appropriate place to
> ask.
>

Reply via email to