This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] sigall.exp and friends: centralize signals list.


>>>>> "Pedro" == Pedro Alves <palves@redhat.com> writes:

Pedro>  - We really want to skip the first signal, because that's
Pedro>  handled before the loop.  It doesn't matter which signal it is.
Pedro>  So I concluded that not hard coding a signal name was a little
Pedro>  better, and went with a for with index, which expresses the idea
Pedro>  naturally.

Alternatively you can use [lrange $signals 1 end]

Tom


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]