diff options
author | Ulrich Weigand <uweigand@de.ibm.com> | 2007-06-06 15:15:34 +0000 |
---|---|---|
committer | Ulrich Weigand <uweigand@de.ibm.com> | 2007-06-06 15:15:34 +0000 |
commit | 91104499cbd9014073c2808f646f967e529b8ec6 (patch) | |
tree | 4d10a7c014577c60e68e81a89f9f7616add3fe83 /gdb/infrun.c | |
parent | 4b2c5b4af619c40b106d43222fbedf380fc16cb7 (diff) | |
download | gdb-91104499cbd9014073c2808f646f967e529b8ec6.zip gdb-91104499cbd9014073c2808f646f967e529b8ec6.tar.gz gdb-91104499cbd9014073c2808f646f967e529b8ec6.tar.bz2 |
* gdbarch.sh (GET_LONGJMP_TARGET): Replace by gdbarch_get_longjmp_target.
* infrun.c (handle_inferior_event): Likewise.
* gdbarch.sh (GET_LONGJMP_TARGET_P): Replace by
gdbarch_get_longjmp_target_p.
* breakpoint.c (breakpoint_re_set): Likewise.
* infrun.c (handle_inferior_event): Likewise.
* gdbarch.c, gdbarch.h: Regenerate.
Diffstat (limited to 'gdb/infrun.c')
-rw-r--r-- | gdb/infrun.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gdb/infrun.c b/gdb/infrun.c index f90a556..3eb0682 100644 --- a/gdb/infrun.c +++ b/gdb/infrun.c @@ -2074,7 +2074,8 @@ process_event_stop_test: disable_longjmp_breakpoint (); remove_breakpoints (); breakpoints_inserted = 0; - if (!GET_LONGJMP_TARGET_P () || !GET_LONGJMP_TARGET (&jmp_buf_pc)) + if (!gdbarch_get_longjmp_target_p (current_gdbarch) + || !gdbarch_get_longjmp_target (current_gdbarch, &jmp_buf_pc)) { keep_going (ecs); return; |