Document replacement for frame_register_read (deprecated).

gdb/ChangeLog:

        * frame.h (frame_register_read): Remove FIXME comment.
        * frame.c (frame_register_read): Add suggestion explaining
        which function to use in place of this one.
This commit is contained in:
Joel Brobecker 2012-11-12 21:28:51 +00:00
parent 31594462ca
commit b2c7d45a4c
3 changed files with 8 additions and 13 deletions

View file

@ -1088,7 +1088,8 @@ put_frame_register (struct frame_info *frame, int regnum,
}
}
/* frame_register_read ()
/* This function is deprecated. Use get_frame_register_value instead,
which provides more accurate information.
Find and return the value of REGNUM for the specified stack frame.
The number of bytes copied is REGISTER_SIZE (REGNUM).