public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
* [ECOS]  ECOS: Exception Handler -
@ 2007-06-20 20:47 Alok Singh
  2007-06-23 16:24 ` Alok Singh
  0 siblings, 1 reply; 3+ messages in thread
From: Alok Singh @ 2007-06-20 20:47 UTC (permalink / raw)
  To: eCos discuss list


Hi,
Can we set the exception handler from function "cyg_user_start"? I tried it from cyg_user_start, but found that still the default ecos exception handler is called instead of mine.  
I looked around for some exception handler tests in ecos source tree.  Almost all the examples are installing the exception handlers from ecos system function "cyg_start". 
Is it mandatory?


regards,
Alok


--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss

^ permalink raw reply	[flat|nested] 3+ messages in thread

* RE: [ECOS]  ECOS: Exception Handler -
  2007-06-20 20:47 [ECOS] ECOS: Exception Handler - Alok Singh
@ 2007-06-23 16:24 ` Alok Singh
  2007-06-23 22:56   ` Gary Thomas
  0 siblings, 1 reply; 3+ messages in thread
From: Alok Singh @ 2007-06-23 16:24 UTC (permalink / raw)
  To: eCos discuss list

Hi,
Do you have any information on this? 


regards,
Alok

-----Original Message-----
From: ecos-discuss-owner@ecos.sourceware.org [mailto:ecos-discuss-owner@ecos.sourceware.org] On Behalf Of Alok Singh
Sent: Wednesday, June 20, 2007 5:49 PM
To: eCos discuss list
Subject: [ECOS] ECOS: Exception Handler -


Hi,
Can we set the exception handler from function "cyg_user_start"? I tried it from cyg_user_start, but found that still the default ecos exception handler is called instead of mine.  
I looked around for some exception handler tests in ecos source tree.  Almost all the examples are installing the exception handlers from ecos system function "cyg_start". 
Is it mandatory?


regards,
Alok


-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss




--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [ECOS]  ECOS: Exception Handler -
  2007-06-23 16:24 ` Alok Singh
@ 2007-06-23 22:56   ` Gary Thomas
  0 siblings, 0 replies; 3+ messages in thread
From: Gary Thomas @ 2007-06-23 22:56 UTC (permalink / raw)
  To: Alok Singh; +Cc: eCos discuss list

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Alok Singh wrote:
> Hi,
> Do you have any information on this? 
> 
> 
> regards,
> Alok
> 
> -----Original Message-----
> From: ecos-discuss-owner@ecos.sourceware.org [mailto:ecos-discuss-owner@ecos.sourceware.org] On Behalf Of Alok Singh
> Sent: Wednesday, June 20, 2007 5:49 PM
> To: eCos discuss list
> Subject: [ECOS] ECOS: Exception Handler -
> 
> 
> Hi,
> Can we set the exception handler from function "cyg_user_start"? I tried it from cyg_user_start, but found that still the default ecos exception handler is called instead of mine.  
> I looked around for some exception handler tests in ecos source tree.  Almost all the examples are installing the exception handlers from ecos system function "cyg_start". 
> Is it mandatory?

There should be no problem installing an exception handler
from cyg_user_start().

What's your target platform?
What version of eCos are you using?  CVS - if so, date?
Can you show us the actual code that you tried?

- --
- ------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
- ------------------------------------------------------------
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org

iD8DBQFGepbZmaKbSsQGV8ARAqzTAJ9mb7BeW3eYCj4UfR7exl2jnwzQFgCdETC/
/F3XB8KIj/Ji8NtFHy2Hrng=
=Vjdo
-----END PGP SIGNATURE-----

-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2007-06-21 15:18 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-06-20 20:47 [ECOS] ECOS: Exception Handler - Alok Singh
2007-06-23 16:24 ` Alok Singh
2007-06-23 22:56   ` Gary Thomas

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).