From 1a111ce38b9f7c030311b7f44be95e061e0efa91 Mon Sep 17 00:00:00 2001 From: Andrew Cagney Date: Mon, 12 Jan 2004 18:33:47 +0000 Subject: [PATCH] 2004-01-12 Andrew Cagney * stack.c (frame_info): Delete DEPRECATED_PRINT_EXTRA_FRAME_INFO call. Never defined. * sparc-tdep.h (struct frame_info): Add opaque declaration. * sparc64-tdep.h (struct gdbarch): Add opaque declaration. (struct sparc_gregset, struct regcache): Ditto. * sparc-nat.c: Update copyright. Specify "GNU/Linux". --- gdb/ChangeLog | 9 +++++++++ gdb/sparc-nat.c | 4 ++-- gdb/sparc-tdep.h | 1 + gdb/sparc64-tdep.h | 4 ++++ gdb/stack.c | 8 ++------ 5 files changed, 18 insertions(+), 8 deletions(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 40943c69759..208ffedbe3a 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,12 @@ +2004-01-12 Andrew Cagney + + * stack.c (frame_info): Delete DEPRECATED_PRINT_EXTRA_FRAME_INFO + call. Never defined. + * sparc-tdep.h (struct frame_info): Add opaque declaration. + * sparc64-tdep.h (struct gdbarch): Add opaque declaration. + (struct sparc_gregset, struct regcache): Ditto. + * sparc-nat.c: Update copyright. Specify "GNU/Linux". + 2004-01-12 Andrew Cagney * mi/ChangeLog: Delete file. Renamed to ... diff --git a/gdb/sparc-nat.c b/gdb/sparc-nat.c index 09ee7c6471b..3ab21f0e160 100644 --- a/gdb/sparc-nat.c +++ b/gdb/sparc-nat.c @@ -1,6 +1,6 @@ /* Native-dependent code for SPARC. - Copyright 2003 Free Software Foundation, Inc. + Copyright 2003, 2004 Free Software Foundation, Inc. This file is part of GDB. @@ -36,7 +36,7 @@ /* With some trickery we can use the code in this file for most (if not all) ptrace(2) based SPARC systems, which includes SunOS 4, - Linux and the various SPARC BSD's. + GNU/Linux and the various SPARC BSD's. First, we need a data structure for use with ptrace(2). SunOS has `struct regs' and `struct fp_status' in . BSD's diff --git a/gdb/sparc-tdep.h b/gdb/sparc-tdep.h index fc239d3547a..d8d05822ecb 100644 --- a/gdb/sparc-tdep.h +++ b/gdb/sparc-tdep.h @@ -26,6 +26,7 @@ struct gdbarch; struct regcache; struct regset; struct trad_frame_saved_reg; +struct frame_info; /* Register offsets for the general-purpose register set. */ diff --git a/gdb/sparc64-tdep.h b/gdb/sparc64-tdep.h index 4a150d9970e..f5ab60d87e5 100644 --- a/gdb/sparc64-tdep.h +++ b/gdb/sparc64-tdep.h @@ -22,6 +22,10 @@ #ifndef SPARC64_TDEP_H #define SPARC64_TDEP_H 1 +struct gdbarch; +struct sparc_gregset; +struct regcache; + #include "sparc-tdep.h" /* The stack pointer is offset from the stack frame by a BIAS of 2047 diff --git a/gdb/stack.c b/gdb/stack.c index a2b331f029e..73a6ec52e33 100644 --- a/gdb/stack.c +++ b/gdb/stack.c @@ -1,8 +1,8 @@ /* Print and select stack frames for GDB, the GNU debugger. Copyright 1986, 1987, 1988, 1989, 1990, 1991, 1992, 1993, 1994, - 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003 Free Software - Foundation, Inc. + 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004 Free + Software Foundation, Inc. This file is part of GDB. @@ -968,10 +968,6 @@ frame_info (char *addr_exp, int from_tty) printf_filtered (" source language %s.\n", language_str (s->language)); -#ifdef DEPRECATED_PRINT_EXTRA_FRAME_INFO - DEPRECATED_PRINT_EXTRA_FRAME_INFO (fi); -#endif - { /* Address of the argument list for this frame, or 0. */ CORE_ADDR arg_list = get_frame_args_address (fi); -- 2.30.2