diff options
author | David S. Miller <davem@redhat.com> | 2002-04-26 01:56:04 +0000 |
---|---|---|
committer | David S. Miller <davem@redhat.com> | 2002-04-26 01:56:04 +0000 |
commit | f510d44e69eeb913ee456c0d86465fa16e588633 (patch) | |
tree | a3f95537f0afad18cf2d8ef51bad1bbc06471fcf /gdb/config/sparc | |
parent | 15d72a927a243487fe1497caa9701b05869c715d (diff) | |
download | gdb-f510d44e69eeb913ee456c0d86465fa16e588633.zip gdb-f510d44e69eeb913ee456c0d86465fa16e588633.tar.gz gdb-f510d44e69eeb913ee456c0d86465fa16e588633.tar.bz2 |
2002-04-24 David S. Miller <davem@redhat.com>
* sparc-tdep.c (sparc_gdbarch_skip_prologue): Kill, duplicates
sparc_skip_prologue.
(sparc_skip_prologue): Kill frameless_p arg, and use line number
information to find prologue when possible.
(sparc_prologue_frameless_p): Call examine_prologue directly.
(sparc_gdbarch_init): Update set_gdbarch_skip_prologue call.
* config/sparc/tm-sparc.h (sparc_skip_prologue): Update for killed
second argument.
(SKIP_PROLOGUE): Likewise.
Diffstat (limited to 'gdb/config/sparc')
-rw-r--r-- | gdb/config/sparc/tm-sparc.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/config/sparc/tm-sparc.h b/gdb/config/sparc/tm-sparc.h index daa8141..4a53580 100644 --- a/gdb/config/sparc/tm-sparc.h +++ b/gdb/config/sparc/tm-sparc.h @@ -250,8 +250,8 @@ extern int sparc_intreg_size (void); /* Advance PC across any function entry prologue instructions to reach some "real" code. */ -extern CORE_ADDR sparc_skip_prologue (CORE_ADDR, int); -#define SKIP_PROLOGUE(PC) sparc_skip_prologue (PC, 0) +extern CORE_ADDR sparc_skip_prologue (CORE_ADDR); +#define SKIP_PROLOGUE(PC) sparc_skip_prologue (PC) /* Immediately after a function call, return the saved pc. Can't go through the frames for this because on some machines |