diff options
-rw-r--r-- | gdb/ChangeLog | 14 | ||||
-rw-r--r-- | gdb/features/rs6000/power-core.xml | 2 | ||||
-rw-r--r-- | gdb/features/rs6000/power64-core.xml | 2 | ||||
-rw-r--r-- | gdb/features/rs6000/powerpc-32.c | 2 | ||||
-rw-r--r-- | gdb/features/rs6000/powerpc-403.c | 2 | ||||
-rw-r--r-- | gdb/features/rs6000/powerpc-403gc.c | 2 | ||||
-rw-r--r-- | gdb/features/rs6000/powerpc-505.c | 2 | ||||
-rw-r--r-- | gdb/features/rs6000/powerpc-601.c | 2 | ||||
-rw-r--r-- | gdb/features/rs6000/powerpc-601.xml | 2 | ||||
-rw-r--r-- | gdb/features/rs6000/powerpc-602.c | 2 | ||||
-rw-r--r-- | gdb/features/rs6000/powerpc-603.c | 2 | ||||
-rw-r--r-- | gdb/features/rs6000/powerpc-604.c | 2 | ||||
-rw-r--r-- | gdb/features/rs6000/powerpc-64.c | 2 | ||||
-rw-r--r-- | gdb/features/rs6000/powerpc-7400.c | 2 | ||||
-rw-r--r-- | gdb/features/rs6000/powerpc-750.c | 2 | ||||
-rw-r--r-- | gdb/features/rs6000/powerpc-860.c | 2 | ||||
-rw-r--r-- | gdb/features/rs6000/powerpc-e500.c | 2 | ||||
-rw-r--r-- | gdb/features/rs6000/rs6000.c | 2 | ||||
-rw-r--r-- | gdb/features/rs6000/rs6000.xml | 2 |
19 files changed, 32 insertions, 18 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 391db87..96dd838 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,17 @@ +2008-02-27 Joel Brobecker <brobecker@adacore.com> + + * features/rs6000/power-core.xml, features/rs6000/power64-core.xml + features/rs6000/powerpc-601.xml, features/rs6000/rs6000.xml: + Set PC register type to "code_ptr". + * features/rs6000/powerpc-32.c, features/rs6000/powerpc-403.c, + features/rs6000/powerpc-403gc.c, features/rs6000/powerpc-505.c, + features/rs6000/powerpc-601.c, features/rs6000/powerpc-602.c, + features/rs6000/powerpc-603.c, features/rs6000/powerpc-604.c, + features/rs6000/powerpc-64.c, features/rs6000/powerpc-7400.c, + features/rs6000/powerpc-750.c, features/rs6000/powerpc-860.c, + features/rs6000/powerpc-e500.c, features/rs6000/rs6000.c: + Regenerate. + 2008-02-27 Ulrich Weigand <uweigand@de.ibm.com> * regformats/regdat.sh: Rename init_registers function in diff --git a/gdb/features/rs6000/power-core.xml b/gdb/features/rs6000/power-core.xml index a67c445..05b89f6 100644 --- a/gdb/features/rs6000/power-core.xml +++ b/gdb/features/rs6000/power-core.xml @@ -40,7 +40,7 @@ <reg name="r30" bitsize="32" type="uint32"/> <reg name="r31" bitsize="32" type="uint32"/> - <reg name="pc" bitsize="32" type="uint32" regnum="64"/> + <reg name="pc" bitsize="32" type="code_ptr" regnum="64"/> <reg name="msr" bitsize="32" type="uint32"/> <reg name="cr" bitsize="32" type="uint32"/> <reg name="lr" bitsize="32" type="uint32"/> diff --git a/gdb/features/rs6000/power64-core.xml b/gdb/features/rs6000/power64-core.xml index 2b046a9..400006c 100644 --- a/gdb/features/rs6000/power64-core.xml +++ b/gdb/features/rs6000/power64-core.xml @@ -40,7 +40,7 @@ <reg name="r30" bitsize="64" type="uint64"/> <reg name="r31" bitsize="64" type="uint64"/> - <reg name="pc" bitsize="64" type="uint64" regnum="64"/> + <reg name="pc" bitsize="64" type="code_ptr" regnum="64"/> <reg name="msr" bitsize="64" type="uint64"/> <reg name="cr" bitsize="32" type="uint32"/> <reg name="lr" bitsize="64" type="uint64"/> diff --git a/gdb/features/rs6000/powerpc-32.c b/gdb/features/rs6000/powerpc-32.c index f06f587..a657803 100644 --- a/gdb/features/rs6000/powerpc-32.c +++ b/gdb/features/rs6000/powerpc-32.c @@ -47,7 +47,7 @@ initialize_tdesc_powerpc_32 (void) tdesc_create_reg (feature, "r29", 29, 1, NULL, 32, "uint32"); tdesc_create_reg (feature, "r30", 30, 1, NULL, 32, "uint32"); tdesc_create_reg (feature, "r31", 31, 1, NULL, 32, "uint32"); - tdesc_create_reg (feature, "pc", 64, 1, NULL, 32, "uint32"); + tdesc_create_reg (feature, "pc", 64, 1, NULL, 32, "code_ptr"); tdesc_create_reg (feature, "msr", 65, 1, NULL, 32, "uint32"); tdesc_create_reg (feature, "cr", 66, 1, NULL, 32, "uint32"); tdesc_create_reg (feature, "lr", 67, 1, NULL, 32, "uint32"); diff --git a/gdb/features/rs6000/powerpc-403.c b/gdb/features/rs6000/powerpc-403.c index 84f49e4..69c3340 100644 --- a/gdb/features/rs6000/powerpc-403.c +++ b/gdb/features/rs6000/powerpc-403.c @@ -45,7 +45,7 @@ initialize_tdesc_powerpc_403 (void) tdesc_create_reg (feature, "r29", 29, 1, NULL, 32, "uint32"); tdesc_create_reg (feature, "r30", 30, 1, NULL, 32, "uint32"); tdesc_create_reg (feature, "r31", 31, 1, NULL, 32, "uint32"); - tdesc_create_reg (feature, "pc", 64, 1, NULL, 32, "uint32"); + tdesc_create_reg (feature, "pc", 64, 1, NULL, 32, "code_ptr"); tdesc_create_reg (feature, "msr", 65, 1, NULL, 32, "uint32"); tdesc_create_reg (feature, "cr", 66, 1, NULL, 32, "uint32"); tdesc_create_reg (feature, "lr", 67, 1, NULL, 32, "uint32"); diff --git a/gdb/features/rs6000/powerpc-403gc.c b/gdb/features/rs6000/powerpc-403gc.c index 266f459..b88098b 100644 --- a/gdb/features/rs6000/powerpc-403gc.c +++ b/gdb/features/rs6000/powerpc-403gc.c @@ -45,7 +45,7 @@ initialize_tdesc_powerpc_403gc (void) tdesc_create_reg (feature, "r29", 29, 1, NULL, 32, "uint32"); tdesc_create_reg (feature, "r30", 30, 1, NULL, 32, "uint32"); tdesc_create_reg (feature, "r31", 31, 1, NULL, 32, "uint32"); - tdesc_create_reg (feature, "pc", 64, 1, NULL, 32, "uint32"); + tdesc_create_reg (feature, "pc", 64, 1, NULL, 32, "code_ptr"); tdesc_create_reg (feature, "msr", 65, 1, NULL, 32, "uint32"); tdesc_create_reg (feature, "cr", 66, 1, NULL, 32, "uint32"); tdesc_create_reg (feature, "lr", 67, 1, NULL, 32, "uint32"); diff --git a/gdb/features/rs6000/powerpc-505.c b/gdb/features/rs6000/powerpc-505.c index 590b7d0..f0fe907 100644 --- a/gdb/features/rs6000/powerpc-505.c +++ b/gdb/features/rs6000/powerpc-505.c @@ -45,7 +45,7 @@ initialize_tdesc_powerpc_505 (void) tdesc_create_reg (feature, "r29", 29, 1, NULL, 32, "uint32"); tdesc_create_reg (feature, "r30", 30, 1, NULL, 32, "uint32"); tdesc_create_reg (feature, "r31", 31, 1, NULL, 32, "uint32"); - tdesc_create_reg (feature, "pc", 64, 1, NULL, 32, "uint32"); + tdesc_create_reg (feature, "pc", 64, 1, NULL, 32, "code_ptr"); tdesc_create_reg (feature, "msr", 65, 1, NULL, 32, "uint32"); tdesc_create_reg (feature, "cr", 66, 1, NULL, 32, "uint32"); tdesc_create_reg (feature, "lr", 67, 1, NULL, 32, "uint32"); diff --git a/gdb/features/rs6000/powerpc-601.c b/gdb/features/rs6000/powerpc-601.c index 6aea1d3..84a4286 100644 --- a/gdb/features/rs6000/powerpc-601.c +++ b/gdb/features/rs6000/powerpc-601.c @@ -45,7 +45,7 @@ initialize_tdesc_powerpc_601 (void) tdesc_create_reg (feature, "r29", 29, 1, NULL, 32, "int"); tdesc_create_reg (feature, "r30", 30, 1, NULL, 32, "int"); tdesc_create_reg (feature, "r31", 31, 1, NULL, 32, "int"); - tdesc_create_reg (feature, "pc", 64, 1, NULL, 32, "int"); + tdesc_create_reg (feature, "pc", 64, 1, NULL, 32, "code_ptr"); tdesc_create_reg (feature, "msr", 65, 1, NULL, 32, "int"); tdesc_create_reg (feature, "cr", 66, 1, NULL, 32, "int"); tdesc_create_reg (feature, "lr", 67, 1, NULL, 32, "int"); diff --git a/gdb/features/rs6000/powerpc-601.xml b/gdb/features/rs6000/powerpc-601.xml index a712656..3801621 100644 --- a/gdb/features/rs6000/powerpc-601.xml +++ b/gdb/features/rs6000/powerpc-601.xml @@ -46,7 +46,7 @@ <reg name="r30" bitsize="32"/> <reg name="r31" bitsize="32"/> - <reg name="pc" bitsize="32" regnum="64"/> + <reg name="pc" bitsize="32" type="code_ptr" regnum="64"/> <reg name="msr" bitsize="32"/> <reg name="cr" bitsize="32"/> <reg name="lr" bitsize="32"/> diff --git a/gdb/features/rs6000/powerpc-602.c b/gdb/features/rs6000/powerpc-602.c index 502c902..9f6182f 100644 --- a/gdb/features/rs6000/powerpc-602.c +++ b/gdb/features/rs6000/powerpc-602.c @@ -45,7 +45,7 @@ initialize_tdesc_powerpc_602 (void) tdesc_create_reg (feature, "r29", 29, 1, NULL, 32, "uint32"); tdesc_create_reg (feature, "r30", 30, 1, NULL, 32, "uint32"); tdesc_create_reg (feature, "r31", 31, 1, NULL, 32, "uint32"); - tdesc_create_reg (feature, "pc", 64, 1, NULL, 32, "uint32"); + tdesc_create_reg (feature, "pc", 64, 1, NULL, 32, "code_ptr"); tdesc_create_reg (feature, "msr", 65, 1, NULL, 32, "uint32"); tdesc_create_reg (feature, "cr", 66, 1, NULL, 32, "uint32"); tdesc_create_reg (feature, "lr", 67, 1, NULL, 32, "uint32"); diff --git a/gdb/features/rs6000/powerpc-603.c b/gdb/features/rs6000/powerpc-603.c index 1bb7cfb..1bf1bcd 100644 --- a/gdb/features/rs6000/powerpc-603.c +++ b/gdb/features/rs6000/powerpc-603.c @@ -45,7 +45,7 @@ initialize_tdesc_powerpc_603 (void) tdesc_create_reg (feature, "r29", 29, 1, NULL, 32, "uint32"); tdesc_create_reg (feature, "r30", 30, 1, NULL, 32, "uint32"); tdesc_create_reg (feature, "r31", 31, 1, NULL, 32, "uint32"); - tdesc_create_reg (feature, "pc", 64, 1, NULL, 32, "uint32"); + tdesc_create_reg (feature, "pc", 64, 1, NULL, 32, "code_ptr"); tdesc_create_reg (feature, "msr", 65, 1, NULL, 32, "uint32"); tdesc_create_reg (feature, "cr", 66, 1, NULL, 32, "uint32"); tdesc_create_reg (feature, "lr", 67, 1, NULL, 32, "uint32"); diff --git a/gdb/features/rs6000/powerpc-604.c b/gdb/features/rs6000/powerpc-604.c index 5def0f5..15668a5 100644 --- a/gdb/features/rs6000/powerpc-604.c +++ b/gdb/features/rs6000/powerpc-604.c @@ -45,7 +45,7 @@ initialize_tdesc_powerpc_604 (void) tdesc_create_reg (feature, "r29", 29, 1, NULL, 32, "uint32"); tdesc_create_reg (feature, "r30", 30, 1, NULL, 32, "uint32"); tdesc_create_reg (feature, "r31", 31, 1, NULL, 32, "uint32"); - tdesc_create_reg (feature, "pc", 64, 1, NULL, 32, "uint32"); + tdesc_create_reg (feature, "pc", 64, 1, NULL, 32, "code_ptr"); tdesc_create_reg (feature, "msr", 65, 1, NULL, 32, "uint32"); tdesc_create_reg (feature, "cr", 66, 1, NULL, 32, "uint32"); tdesc_create_reg (feature, "lr", 67, 1, NULL, 32, "uint32"); diff --git a/gdb/features/rs6000/powerpc-64.c b/gdb/features/rs6000/powerpc-64.c index 6fdfd4b..99b088b 100644 --- a/gdb/features/rs6000/powerpc-64.c +++ b/gdb/features/rs6000/powerpc-64.c @@ -47,7 +47,7 @@ initialize_tdesc_powerpc_64 (void) tdesc_create_reg (feature, "r29", 29, 1, NULL, 64, "uint64"); tdesc_create_reg (feature, "r30", 30, 1, NULL, 64, "uint64"); tdesc_create_reg (feature, "r31", 31, 1, NULL, 64, "uint64"); - tdesc_create_reg (feature, "pc", 64, 1, NULL, 64, "uint64"); + tdesc_create_reg (feature, "pc", 64, 1, NULL, 64, "code_ptr"); tdesc_create_reg (feature, "msr", 65, 1, NULL, 64, "uint64"); tdesc_create_reg (feature, "cr", 66, 1, NULL, 32, "uint32"); tdesc_create_reg (feature, "lr", 67, 1, NULL, 64, "uint64"); diff --git a/gdb/features/rs6000/powerpc-7400.c b/gdb/features/rs6000/powerpc-7400.c index d00016c..decf724 100644 --- a/gdb/features/rs6000/powerpc-7400.c +++ b/gdb/features/rs6000/powerpc-7400.c @@ -45,7 +45,7 @@ initialize_tdesc_powerpc_7400 (void) tdesc_create_reg (feature, "r29", 29, 1, NULL, 32, "uint32"); tdesc_create_reg (feature, "r30", 30, 1, NULL, 32, "uint32"); tdesc_create_reg (feature, "r31", 31, 1, NULL, 32, "uint32"); - tdesc_create_reg (feature, "pc", 64, 1, NULL, 32, "uint32"); + tdesc_create_reg (feature, "pc", 64, 1, NULL, 32, "code_ptr"); tdesc_create_reg (feature, "msr", 65, 1, NULL, 32, "uint32"); tdesc_create_reg (feature, "cr", 66, 1, NULL, 32, "uint32"); tdesc_create_reg (feature, "lr", 67, 1, NULL, 32, "uint32"); diff --git a/gdb/features/rs6000/powerpc-750.c b/gdb/features/rs6000/powerpc-750.c index 157fd94..25717bf 100644 --- a/gdb/features/rs6000/powerpc-750.c +++ b/gdb/features/rs6000/powerpc-750.c @@ -45,7 +45,7 @@ initialize_tdesc_powerpc_750 (void) tdesc_create_reg (feature, "r29", 29, 1, NULL, 32, "uint32"); tdesc_create_reg (feature, "r30", 30, 1, NULL, 32, "uint32"); tdesc_create_reg (feature, "r31", 31, 1, NULL, 32, "uint32"); - tdesc_create_reg (feature, "pc", 64, 1, NULL, 32, "uint32"); + tdesc_create_reg (feature, "pc", 64, 1, NULL, 32, "code_ptr"); tdesc_create_reg (feature, "msr", 65, 1, NULL, 32, "uint32"); tdesc_create_reg (feature, "cr", 66, 1, NULL, 32, "uint32"); tdesc_create_reg (feature, "lr", 67, 1, NULL, 32, "uint32"); diff --git a/gdb/features/rs6000/powerpc-860.c b/gdb/features/rs6000/powerpc-860.c index 05d0738..fc33b8a 100644 --- a/gdb/features/rs6000/powerpc-860.c +++ b/gdb/features/rs6000/powerpc-860.c @@ -45,7 +45,7 @@ initialize_tdesc_powerpc_860 (void) tdesc_create_reg (feature, "r29", 29, 1, NULL, 32, "uint32"); tdesc_create_reg (feature, "r30", 30, 1, NULL, 32, "uint32"); tdesc_create_reg (feature, "r31", 31, 1, NULL, 32, "uint32"); - tdesc_create_reg (feature, "pc", 64, 1, NULL, 32, "uint32"); + tdesc_create_reg (feature, "pc", 64, 1, NULL, 32, "code_ptr"); tdesc_create_reg (feature, "msr", 65, 1, NULL, 32, "uint32"); tdesc_create_reg (feature, "cr", 66, 1, NULL, 32, "uint32"); tdesc_create_reg (feature, "lr", 67, 1, NULL, 32, "uint32"); diff --git a/gdb/features/rs6000/powerpc-e500.c b/gdb/features/rs6000/powerpc-e500.c index 17811df..305b24a 100644 --- a/gdb/features/rs6000/powerpc-e500.c +++ b/gdb/features/rs6000/powerpc-e500.c @@ -47,7 +47,7 @@ initialize_tdesc_powerpc_e500 (void) tdesc_create_reg (feature, "r29", 29, 1, NULL, 32, "uint32"); tdesc_create_reg (feature, "r30", 30, 1, NULL, 32, "uint32"); tdesc_create_reg (feature, "r31", 31, 1, NULL, 32, "uint32"); - tdesc_create_reg (feature, "pc", 64, 1, NULL, 32, "uint32"); + tdesc_create_reg (feature, "pc", 64, 1, NULL, 32, "code_ptr"); tdesc_create_reg (feature, "msr", 65, 1, NULL, 32, "uint32"); tdesc_create_reg (feature, "cr", 66, 1, NULL, 32, "uint32"); tdesc_create_reg (feature, "lr", 67, 1, NULL, 32, "uint32"); diff --git a/gdb/features/rs6000/rs6000.c b/gdb/features/rs6000/rs6000.c index 34afaf8..e7eb5fa 100644 --- a/gdb/features/rs6000/rs6000.c +++ b/gdb/features/rs6000/rs6000.c @@ -47,7 +47,7 @@ initialize_tdesc_rs6000 (void) tdesc_create_reg (feature, "r29", 29, 1, NULL, 32, "int"); tdesc_create_reg (feature, "r30", 30, 1, NULL, 32, "int"); tdesc_create_reg (feature, "r31", 31, 1, NULL, 32, "int"); - tdesc_create_reg (feature, "pc", 64, 1, NULL, 32, "int"); + tdesc_create_reg (feature, "pc", 64, 1, NULL, 32, "code_ptr"); tdesc_create_reg (feature, "msr", 65, 1, NULL, 32, "int"); tdesc_create_reg (feature, "cnd", 66, 1, NULL, 32, "int"); tdesc_create_reg (feature, "lr", 67, 1, NULL, 32, "int"); diff --git a/gdb/features/rs6000/rs6000.xml b/gdb/features/rs6000/rs6000.xml index c73b207..cbc94f0 100644 --- a/gdb/features/rs6000/rs6000.xml +++ b/gdb/features/rs6000/rs6000.xml @@ -48,7 +48,7 @@ <reg name="r30" bitsize="32"/> <reg name="r31" bitsize="32"/> - <reg name="pc" bitsize="32" regnum="64"/> + <reg name="pc" bitsize="32" type="code_ptr" regnum="64"/> <reg name="msr" bitsize="32"/> <reg name="cnd" bitsize="32"/> <reg name="lr" bitsize="32"/> |