aboutsummaryrefslogtreecommitdiff
path: root/gdb/infrun.c
diff options
context:
space:
mode:
authorUlrich Weigand <uweigand@de.ibm.com>2007-06-06 15:15:34 +0000
committerUlrich Weigand <uweigand@de.ibm.com>2007-06-06 15:15:34 +0000
commit91104499cbd9014073c2808f646f967e529b8ec6 (patch)
tree4d10a7c014577c60e68e81a89f9f7616add3fe83 /gdb/infrun.c
parent4b2c5b4af619c40b106d43222fbedf380fc16cb7 (diff)
downloadgdb-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.c3
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;