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: [RFA 7/8] New port: TI C6x: test case fixes


On 08/09/2011 11:15 PM, Mark Kettenis wrote:
> Why depend on this NOMMU-magic?  Just install the signal handler for
> bth SIGSEGV and SIGILL, try a store to (or perhaps a read from)
> address 0, and then fall through to executing an illegal instruction.

Because I want to reduce the scope of using invalid instruction.  We
only need to know the invalid instruction for HAS_NOMMU arch, and emit
error if we forget to define an invalid instruction for a new NOMMU
port.  Do it make sense?

-- 
Yao (éå)


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