diff options
Diffstat (limited to 'gdb/sparc-tdep.h')
-rw-r--r-- | gdb/sparc-tdep.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/gdb/sparc-tdep.h b/gdb/sparc-tdep.h index 1e9f30cb96f..05f2e369fa3 100644 --- a/gdb/sparc-tdep.h +++ b/gdb/sparc-tdep.h @@ -1,6 +1,6 @@ /* Target-dependent code for SPARC. - Copyright 2003 Free Software Foundation, Inc. + Copyright 2003, 2004 Free Software Foundation, Inc. This file is part of GDB. @@ -136,6 +136,9 @@ struct sparc_frame_cache struct trad_frame_saved_reg *saved_regs; }; +/* Fetch the instruction at PC. */ +extern unsigned long sparc_fetch_instruction (CORE_ADDR pc); + extern CORE_ADDR sparc_analyze_prologue (CORE_ADDR pc, CORE_ADDR current_pc, struct sparc_frame_cache *cache); |