This is the mail archive of the libc-alpha@sources.redhat.com mailing list for the glibc 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: catchsegv trouble


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

Dan Kegel wrote:

> Ah, thanks.  How does gdb get around this?  Perhaps I can
> use the same trick to make a "libSegFaultDamnit.so" :-)

gdb always gets the signal since via ptrace.  Only if it decides to pass
it on to the application is a handler invoked.

- -- 
- --------------.                        ,-.            444 Castro Street
Ulrich Drepper \    ,-----------------'   \ Mountain View, CA 94041 USA
Red Hat         `--' drepper at redhat.com `---------------------------
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQE+s/hm2ijCOnn/RHQRAtNTAJ9Pfk01OrKTH1QUG+BRsKvlPIaciACgpkOG
3iu+aVcWuk0/TdNE51v+Pxo=
=NSdG
-----END PGP SIGNATURE-----


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