diff options
Diffstat (limited to 'gdb/frame.c')
-rw-r--r-- | gdb/frame.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/gdb/frame.c b/gdb/frame.c index 8a14b29..2c62d44 100644 --- a/gdb/frame.c +++ b/gdb/frame.c @@ -738,16 +738,6 @@ frame_register_read (struct frame_info *frame, int regnum, int realnum; frame_register (frame, regnum, &optimized, &lval, &addr, &realnum, myaddr); - /* FIXME: cagney/2002-05-15: This test is just bogus. - - It indicates that the target failed to supply a value for a - register because it was "not available" at this time. Problem - is, the target still has the register and so get saved_register() - may be returning a value saved on the stack. */ - - if (register_cached (regnum) < 0) - return 0; /* register value not available */ - return !optimized; } |