projects
/
deliverable
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
gdb: remove TYPE_FIELD_TYPE macro
[deliverable/binutils-gdb.git]
/
gdb
/
ppc-sysv-tdep.c
diff --git
a/gdb/ppc-sysv-tdep.c
b/gdb/ppc-sysv-tdep.c
index 2dc896202dc7f01c556336d3cf8f374ecde2119f..f0f618c5eba5e7e85a442df925bb733d876f362d 100644
(file)
--- a/
gdb/ppc-sysv-tdep.c
+++ b/
gdb/ppc-sysv-tdep.c
@@
-1146,7
+1146,7
@@
ppc64_aggregate_candidate (struct type *type,
continue;
sub_count = ppc64_aggregate_candidate
continue;
sub_count = ppc64_aggregate_candidate
- (
TYPE_FIELD_TYPE (type, i
), field_type);
+ (
type->field (i).type (
), field_type);
if (sub_count == -1)
return -1;
if (sub_count == -1)
return -1;
@@
-1498,7
+1498,7
@@
ppc64_sysv_abi_push_param (struct gdbarch *gdbarch,
{
while (type->code () == TYPE_CODE_STRUCT
&& type->num_fields () == 1)
{
while (type->code () == TYPE_CODE_STRUCT
&& type->num_fields () == 1)
- type = check_typedef (
TYPE_FIELD_TYPE (type, 0
));
+ type = check_typedef (
type->field (0).type (
));
if (type->code () == TYPE_CODE_FLT)
ppc64_sysv_abi_push_freg (gdbarch, type, val, argpos);
if (type->code () == TYPE_CODE_FLT)
ppc64_sysv_abi_push_freg (gdbarch, type, val, argpos);
This page took
0.022957 seconds
and
4
git commands to generate.