[patch, testsuite] gdb.base/savedregs.exp: SIGSEGV -> SIGILL
Andreas Schwab
schwab@redhat.com
Thu Jun 9 10:08:00 GMT 2011
Yao Qi <yao@codesourcery.com> writes:
> In current gdb.base/savedregs.exp, signal handler is installed for
> signal SIGSEGV, and SIGSEGV is trigger by `*(char *)0 = 0;'. However,
> on non-mmu uclinux system, writing to an address 0x0 doesn't trigger
> SIGSEGV.
Does (char*)-1 work instead?
Andreas.
--
Andreas Schwab, schwab@redhat.com
GPG Key fingerprint = D4E8 DBE3 3813 BB5D FA84 5EC7 45C6 250E 6F00 984E
"And now for something completely different."
More information about the Gdb-patches
mailing list