This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
[ob] Cleanups made possible by SPARC rewrite
- From: Andrew Cagney <cagney at gnu dot org>
- To: gdb-patches at sources dot redhat dot com
- Date: Mon, 12 Jan 2004 13:39:22 -0500
- Subject: [ob] Cleanups made possible by SPARC rewrite
FYI,
I've committed the attached which cleans up some fallout from the SPARC
rewrite. While the ChangeLog mentions:
DEPRECATED_PRINT_EXTRA_FRAME_INFO
I should also note that recent changes have seen the elimination of:
PC_ADJUST
GDB_TARGET_IS_SPARC64
TM_PRINT_INSN_MACH
from the sources.
Ya!
Andrew
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".
Index: sparc-nat.c
===================================================================
RCS file: /cvs/src/src/gdb/sparc-nat.c,v
retrieving revision 1.23
diff -u -r1.23 sparc-nat.c
--- sparc-nat.c 3 Jan 2004 10:08:44 -0000 1.23
+++ sparc-nat.c 12 Jan 2004 18:31:55 -0000
@@ -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
Index: sparc-tdep.h
===================================================================
RCS file: /cvs/src/src/gdb/sparc-tdep.h,v
retrieving revision 1.5
diff -u -r1.5 sparc-tdep.h
--- sparc-tdep.h 10 Jan 2004 23:43:25 -0000 1.5
+++ sparc-tdep.h 12 Jan 2004 18:31:55 -0000
@@ -26,6 +26,7 @@
struct regcache;
struct regset;
struct trad_frame_saved_reg;
+struct frame_info;
/* Register offsets for the general-purpose register set. */
Index: sparc64-tdep.h
===================================================================
RCS file: /cvs/src/src/gdb/sparc64-tdep.h,v
retrieving revision 1.3
diff -u -r1.3 sparc64-tdep.h
--- sparc64-tdep.h 3 Jan 2004 10:08:44 -0000 1.3
+++ sparc64-tdep.h 12 Jan 2004 18:31:55 -0000
@@ -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
Index: stack.c
===================================================================
RCS file: /cvs/src/src/gdb/stack.c,v
retrieving revision 1.98
diff -u -r1.98 stack.c
--- stack.c 10 Dec 2003 17:40:42 -0000 1.98
+++ stack.c 12 Jan 2004 18:31:55 -0000
@@ -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.
@@ -967,10 +967,6 @@
if (s)
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. */