summaryrefslogtreecommitdiff
path: root/gdb/breakpoint.c
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2002-12-04 00:05:54 +0000
committerAndrew Cagney <cagney@redhat.com>2002-12-04 00:05:54 +0000
commit902b64908fc80a9d014f38c27d199972eda652b7 (patch)
tree408a12ef0bb3bc5ec3d07bf1ca23828f5f24c9d1 /gdb/breakpoint.c
parentb72eb0598333f8419e4e961428182cb9bbc1ca86 (diff)
downloadgdb-902b64908fc80a9d014f38c27d199972eda652b7.tar.gz
2002-12-03 Andrew Cagney <ac131313@redhat.com>
* frame.h (get_frame_id): Convert to a function. (null_frame_id, frame_id_p): Declare. (frame_id_eq, frame_id_inner): Declare. (frame_id_build): New function. * frame.c (get_frame_id): Update. Use null_frame_id. (frame_find_by_id): Rewrite using frame_id_p, frame_id_eq and frame_id_inner. (null_frame_id, frame_id_p): Define. (frame_id_eq, frame_id_inner): Define. (frame_id_build): New function. * varobj.c (varobj_create): Update. (varobj_update): Update. * valops.c (value_assign): Update. (new_root_variable): Update. * infrun.c (save_inferior_status): Update. * breakpoint.c (watch_command_1): Update.
Diffstat (limited to 'gdb/breakpoint.c')
-rw-r--r--gdb/breakpoint.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/breakpoint.c b/gdb/breakpoint.c
index eda76c2504d..7418c414843 100644
--- a/gdb/breakpoint.c
+++ b/gdb/breakpoint.c
@@ -5400,7 +5400,7 @@ watch_command_1 (char *arg, int accessflag, int from_tty)
if (frame)
{
prev_frame = get_prev_frame (frame);
- get_frame_id (frame, &b->watchpoint_frame);
+ b->watchpoint_frame = get_frame_id (frame);
}
else
{