avr-libc-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [avr-libc-dev] SIGNAL / INTERRUPT checking


From: E. Weddington
Subject: Re: [avr-libc-dev] SIGNAL / INTERRUPT checking
Date: Fri, 27 Feb 2004 09:37:12 -0700

On 27 Feb 2004 at 15:50, Joerg Wunsch wrote:

> As Colin O'Flynn wrote:
> 
> > Would there be any interest in a program to check for legal SIGNAL /
> > INTERRUPT names?
> 
> Something like:
> 
> sigcheck: $(TARGET).elf
>  nm $(TARGET).elf | grep SIG_ >/dev/null && \
>  echo "Warning: it is likely that there are misspelled SIG_* names"
> 
> ?
> 
> :-)
> 
> Normally, all SIG_* names are supposed to be resolved into _vector_N
> names by the preprocessor magic.  So if any SIG_ survived into the
> output symbol table, that is most likely the programmer's fault.

Hmm, method doesn't seem to work. I don't know why yet ....




reply via email to

[Prev in Thread] Current Thread [Next in Thread]