This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[commit] Kill one of the last "struct frame_extra_info"
- From: Daniel Jacobowitz <drow at false dot org>
- To: gdb-patches at sourceware dot org
- Date: Sun, 6 May 2007 21:26:42 -0400
- Subject: [commit] Kill one of the last "struct frame_extra_info"
This isn't referenced anywhere. Tested by compiling rs6000-tdep.c,
and committed.
--
Daniel Jacobowitz
CodeSourcery
2007-05-06 Daniel Jacobowitz <dan@codesourcery.com>
* rs6000-tdep.c (struct frame_extra_info): Delete.
Index: rs6000-tdep.c
===================================================================
RCS file: /cvs/src/src/gdb/rs6000-tdep.c,v
retrieving revision 1.273
diff -u -p -r1.273 rs6000-tdep.c
--- rs6000-tdep.c 6 May 2007 14:34:38 -0000 1.273
+++ rs6000-tdep.c 7 May 2007 01:24:24 -0000
@@ -611,19 +611,6 @@ rs6000_in_function_epilogue_p (struct gd
return 0;
}
-
-/* Fill in fi->saved_regs */
-
-struct frame_extra_info
-{
- /* Functions calling alloca() change the value of the stack
- pointer. We need to use initial stack pointer (which is saved in
- r31 by gcc) in such cases. If a compiler emits traceback table,
- then we should use the alloca register specified in traceback
- table. FIXME. */
- CORE_ADDR initial_sp; /* initial stack pointer. */
-};
-
/* Get the ith function argument for the current function. */
static CORE_ADDR
rs6000_fetch_pointer_argument (struct frame_info *frame, int argi,