* [PATCH/RFA] rs6000-tdep.c: Correct max_register sizes
@ 2002-03-21 13:33 Elena Zannoni
2002-03-21 14:12 ` Kevin Buettner
0 siblings, 1 reply; 2+ messages in thread
From: Elena Zannoni @ 2002-03-21 13:33 UTC (permalink / raw)
To: gdb-patches
This is necessary because the AltiVec registers are 16 bytes long, and
we need to allocate enough space in various buffers for their values.
Elena
2002-03-21 Elena Zannoni <ezannoni@redhat.com>
* rs6000-tdep.c (rs6000_gdbarch_init): Use correct max size value
for gdbarch_max_register_raw_size and max_register_virtual_size.
Adjust copyright year.
Index: rs6000-tdep.c
===================================================================
RCS file: /cvs/uberbaum/gdb/rs6000-tdep.c,v
retrieving revision 1.38
diff -u -p -r1.38 rs6000-tdep.c
--- rs6000-tdep.c 2002/02/14 15:13:53 1.38
+++ rs6000-tdep.c 2002/03/21 21:29:14
@@ -1,6 +1,6 @@
/* Target-dependent code for GDB, the GNU debugger.
Copyright 1986, 1987, 1989, 1991, 1992, 1993, 1994, 1995, 1996, 1997,
- 1998, 1999, 2000, 2001
+ 1998, 1999, 2000, 2001, 2002
Free Software Foundation, Inc.
This file is part of GDB.
@@ -2514,9 +2514,9 @@ rs6000_gdbarch_init (struct gdbarch_info
set_gdbarch_register_bytes (gdbarch, off);
set_gdbarch_register_byte (gdbarch, rs6000_register_byte);
set_gdbarch_register_raw_size (gdbarch, rs6000_register_raw_size);
- set_gdbarch_max_register_raw_size (gdbarch, 8);
+ set_gdbarch_max_register_raw_size (gdbarch, 16);
set_gdbarch_register_virtual_size (gdbarch, generic_register_virtual_size);
- set_gdbarch_max_register_virtual_size (gdbarch, 8);
+ set_gdbarch_max_register_virtual_size (gdbarch, 16);
set_gdbarch_register_virtual_type (gdbarch, rs6000_register_virtual_type);
set_gdbarch_do_registers_info (gdbarch, rs6000_do_registers_info);
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH/RFA] rs6000-tdep.c: Correct max_register sizes
2002-03-21 13:33 [PATCH/RFA] rs6000-tdep.c: Correct max_register sizes Elena Zannoni
@ 2002-03-21 14:12 ` Kevin Buettner
0 siblings, 0 replies; 2+ messages in thread
From: Kevin Buettner @ 2002-03-21 14:12 UTC (permalink / raw)
To: Elena Zannoni, gdb-patches
On Mar 21, 4:32pm, Elena Zannoni wrote:
> 2002-03-21 Elena Zannoni <ezannoni@redhat.com>
>
> * rs6000-tdep.c (rs6000_gdbarch_init): Use correct max size value
> for gdbarch_max_register_raw_size and max_register_virtual_size.
> Adjust copyright year.
Okay.
Kevin
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2002-03-21 22:12 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-03-21 13:33 [PATCH/RFA] rs6000-tdep.c: Correct max_register sizes Elena Zannoni
2002-03-21 14:12 ` Kevin Buettner
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox