aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2004-01-12 18:33:47 +0000
committerAndrew Cagney <cagney@redhat.com>2004-01-12 18:33:47 +0000
commit1a111ce38b9f7c030311b7f44be95e061e0efa91 (patch)
tree7a1b7d12503c702180b75987eaf53efc54a0a285 /gdb
parent1f8a6abba178d2e80ad134facd7cd74a47005869 (diff)
downloadgdb-1a111ce38b9f7c030311b7f44be95e061e0efa91.zip
gdb-1a111ce38b9f7c030311b7f44be95e061e0efa91.tar.gz
gdb-1a111ce38b9f7c030311b7f44be95e061e0efa91.tar.bz2
2004-01-12 Andrew Cagney <cagney@redhat.com>
* 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".
Diffstat (limited to 'gdb')
-rw-r--r--gdb/ChangeLog9
-rw-r--r--gdb/sparc-nat.c4
-rw-r--r--gdb/sparc-tdep.h1
-rw-r--r--gdb/sparc64-tdep.h4
-rw-r--r--gdb/stack.c8
5 files changed, 18 insertions, 8 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 40943c6..208ffed 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,5 +1,14 @@
2004-01-12 Andrew Cagney <cagney@redhat.com>
+ * 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 <cagney@redhat.com>
+
* mi/ChangeLog: Delete file. Renamed to ...
* mi/ChangeLog-1999-2003: New file.
* tui/ChangeLog: Delete file. Renamed to ...
diff --git a/gdb/sparc-nat.c b/gdb/sparc-nat.c
index 09ee7c6..3ab21f0 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 <machine/reg.h>. BSD's
diff --git a/gdb/sparc-tdep.h b/gdb/sparc-tdep.h
index fc239d3..d8d0582 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 4a150d9..f5ab60d 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 a2b331f..73a6ec5 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);