diff options
author | Jim Blandy <jimb@codesourcery.com> | 2004-07-15 08:02:36 +0000 |
---|---|---|
committer | Jim Blandy <jimb@codesourcery.com> | 2004-07-15 08:02:36 +0000 |
commit | f86a7158a9911e23363c4820ac47f757e92c3963 (patch) | |
tree | 1932469b4aa1db9a3eb187051603350d4cda83ee /gdb/ppc-tdep.h | |
parent | 090e1a9bcfafe71580dfd7aeb7110ed98c6f8df4 (diff) | |
download | gdb-f86a7158a9911e23363c4820ac47f757e92c3963.zip gdb-f86a7158a9911e23363c4820ac47f757e92c3963.tar.gz gdb-f86a7158a9911e23363c4820ac47f757e92c3963.tar.bz2 |
* ppc-tdep.h (struct gdbarch_tdep): New member: ppc_sr0_regnum.
* rs6000-tdep.c (rs6000_gdbarch_init): Initialize it.
Diffstat (limited to 'gdb/ppc-tdep.h')
-rw-r--r-- | gdb/ppc-tdep.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gdb/ppc-tdep.h b/gdb/ppc-tdep.h index ac08c61..a645792 100644 --- a/gdb/ppc-tdep.h +++ b/gdb/ppc-tdep.h @@ -158,6 +158,10 @@ struct gdbarch_tdep int ppc_fpscr_regnum; /* Floating point status and condition register */ + int ppc_sr0_regnum; /* segment register 0, or -1 on + variants that have no segment + registers. */ + int ppc_mq_regnum; /* Multiply/Divide extension register */ int ppc_vr0_regnum; /* First AltiVec register */ int ppc_vrsave_regnum; /* Last AltiVec register */ |