From 58bcc08c6024f31c1f495ec2cdcd3248daee1930 Mon Sep 17 00:00:00 2001 From: John Gilmore Date: Wed, 3 Feb 1993 00:13:10 +0000 Subject: [PATCH] * tm-mips.h, tm-sparc.h: Fix thinko in SETUP_ARBITRARY_FRAME. * remote-nindy.c: Cleanup. --- gdb/ChangeLog | 6 ++++++ gdb/remote-nindy.c | 7 +++++-- gdb/tm-mips.h | 2 +- gdb/tm-sparc.h | 2 +- 4 files changed, 13 insertions(+), 4 deletions(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index d64807a12a..f45db9f7d8 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,7 @@ +Tue Feb 2 16:11:43 1993 John Gilmore (gnu@cygnus.com) + + * tm-mips.h, tm-sparc.h: Fix thinko in SETUP_ARBITRARY_FRAME. + Tue Feb 2 15:30:33 1993 Ian Lance Taylor (ian@cygnus.com) * mipsread.c (upgrade_type): Build array types correctly, using @@ -5,6 +9,8 @@ Tue Feb 2 15:30:33 1993 Ian Lance Taylor (ian@cygnus.com) Tue Feb 2 00:19:08 1993 John Gilmore (gnu@cygnus.com) + * remote-nindy.c: Cleanup. + * infrun.c (wait_for_inferior): When rolling back the PC after a breakpoint, call write_pc so that NPC gets rolled back as well (for the 29K). diff --git a/gdb/remote-nindy.c b/gdb/remote-nindy.c index cff37d7a2f..91b98ad99a 100644 --- a/gdb/remote-nindy.c +++ b/gdb/remote-nindy.c @@ -1,5 +1,5 @@ /* Memory-access and commands for remote NINDY process, for GDB. - Copyright 1990, 1991, 1992 Free Software Foundation, Inc. + Copyright 1990, 1991, 1992, 1993 Free Software Foundation, Inc. Contributed by Intel Corporation. Modified from remote.c by Chris Benenati. GDB is distributed in the hope that it will be useful, but WITHOUT ANY @@ -945,7 +945,10 @@ The speed (baud rate), whether to use the old NINDY protocol,\n\ and whether to send a break on startup, are controlled by options\n\ specified when you started GDB.", nindy_open, nindy_close, - 0, nindy_detach, nindy_resume, nindy_wait, + 0, + nindy_detach, + nindy_resume, + nindy_wait, nindy_fetch_registers, nindy_store_registers, nindy_prepare_to_store, nindy_xfer_inferior_memory, nindy_files_info, diff --git a/gdb/tm-mips.h b/gdb/tm-mips.h index 772c09f955..ad09333d25 100644 --- a/gdb/tm-mips.h +++ b/gdb/tm-mips.h @@ -367,6 +367,6 @@ typedef struct mips_extra_func_info { multiple functions with the same SP that are at different stack levels. */ #define SETUP_ARBITRARY_FRAME(argc, argv) setup_arbitrary_frame (argc, argv) -extern FRAME setup_arbitrary_frame (); +extern struct frame_info *setup_arbitrary_frame (); #define STAB_REG_TO_REGNUM(num) ((num) < 32 ? (num) : (num)+FP0_REGNUM-32) diff --git a/gdb/tm-sparc.h b/gdb/tm-sparc.h index 0e03965295..a4c6d49064 100644 --- a/gdb/tm-sparc.h +++ b/gdb/tm-sparc.h @@ -552,7 +552,7 @@ extern void single_step (); "frame" or "info frame" command. */ #define SETUP_ARBITRARY_FRAME(argc, argv) setup_arbitrary_frame (argc, argv) -extern FRAME setup_arbitrary_frame (); +extern struct frame_info *setup_arbitrary_frame (); /* To print every pair of float registers as a double, we use this hook. */ -- 2.34.1