aboutsummaryrefslogtreecommitdiff
path: root/gdb/rs6000-tdep.c
diff options
context:
space:
mode:
authorJohn Gilmore <gnu@cygnus>1992-08-29 04:22:31 +0000
committerJohn Gilmore <gnu@cygnus>1992-08-29 04:22:31 +0000
commitd6434f3974a54ad6498c23327414c01ca3a5241c (patch)
tree5feac365af4bda78758ac9304b3f8defeb1cd13b /gdb/rs6000-tdep.c
parentd26c07d12457b914365ca967d51b96bf8e0346bc (diff)
downloadgdb-d6434f3974a54ad6498c23327414c01ca3a5241c.zip
gdb-d6434f3974a54ad6498c23327414c01ca3a5241c.tar.gz
gdb-d6434f3974a54ad6498c23327414c01ca3a5241c.tar.bz2
Minor bug fixes from last big checkin.
Diffstat (limited to 'gdb/rs6000-tdep.c')
-rw-r--r--gdb/rs6000-tdep.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/gdb/rs6000-tdep.c b/gdb/rs6000-tdep.c
index 5bee145..45d6af4 100644
--- a/gdb/rs6000-tdep.c
+++ b/gdb/rs6000-tdep.c
@@ -39,12 +39,14 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
#include <sys/core.h>
#include <sys/ldr.h>
+
+extern struct obstack frame_cache_obstack;
+
extern int errno;
/* Nonzero if we just simulated a single step break. */
int one_stepped;
-
/* Breakpoint shadows for the single step instructions will be kept here. */
static struct sstep_breaks {
@@ -399,7 +401,7 @@ FIXME: This whole concept is broken. You should be able to detect
a dummy stack frame *on the user's stack itself*. When you do,
then you know the format of that stack frame -- including its
saved SP register! There should *not* be a separate stack in the
-GDB process that keeps track of these dummy frames! -- gnu@cygnus.com Aug92 */
+GDB process that keeps track of these dummy frames! -- gnu@cygnus.com Aug92
*/
pop_dummy_frame ()
@@ -546,7 +548,7 @@ fix_call_dummy(dummyname, pc, fun, nargs, type)
*/
void
function_frame_info (pc, fdata)
- int pc;
+ CORE_ADDR pc;
struct aix_framedata *fdata;
{
unsigned int tmp;