Index: gdb/valops.c =================================================================== RCS file: /cvs/src/src/gdb/valops.c,v retrieving revision 1.200 diff -u -p -r1.200 valops.c --- gdb/valops.c 11 Sep 2008 14:27:34 -0000 1.200 +++ gdb/valops.c 26 Sep 2008 17:32:56 -0000 @@ -839,6 +839,12 @@ value_assign (struct value *toval, struc /* Figure out which frame this is in currently. */ frame = frame_find_by_id (VALUE_FRAME_ID (toval)); value_reg = VALUE_REGNUM (toval); + + /* Get sentinel frame. For remote targets that just + booted, there will be no frame to work with. Use registers + instead (sentinel frame). */ + if (!frame) + frame = get_current_frame (); if (!frame) error (_("Value being assigned to is no longer active."));