aboutsummaryrefslogtreecommitdiff
path: root/gas
diff options
context:
space:
mode:
authorNicholas Duffek <nsd@redhat.com>2000-02-24 00:04:03 +0000
committerNicholas Duffek <nsd@redhat.com>2000-02-24 00:04:03 +0000
commit99eeeb0ff7898f8987188e510b2612de1fcfa454 (patch)
treec6dfb641a5501748c99f36b6448c00a5e372398a /gas
parenteaba1dd3fb01d2964da9695f159e82a3c4596e63 (diff)
downloadgdb-99eeeb0ff7898f8987188e510b2612de1fcfa454.zip
gdb-99eeeb0ff7898f8987188e510b2612de1fcfa454.tar.gz
gdb-99eeeb0ff7898f8987188e510b2612de1fcfa454.tar.bz2
* top.c (SIGJMP_BUF, SIGSETJMP, SIGLONGJMP): Update comments.
(error_return, quit_return): Merge into catch_return pointer. (return_to_top_level): Update comment. Longjmp to *catch_errors, and communicate reason to catch_errors via setjmp return value. (catch_errors): Always catch both quit and error, and if a catch wasn't requested by caller, throw it to the next catch_error. Replace dual longjmp buffer memcpy with single pointer change. Add FIXME for possibly adding new interface to tell caller what event was caught. Add extensive comments. * defs.h (enum return_reason): Reserve 0 for use as initial setjmp() return value. (RETURN_MASK): New public macro to generate RETURN_MASK_* from enum return_reason. (RETURN_MASK_QUIT, RETURN_MASK_ERROR): Define using RETURN_MASK.
Diffstat (limited to 'gas')
0 files changed, 0 insertions, 0 deletions