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_NAME macro
[deliverable/binutils-gdb.git]
/
gdb
/
riscv-tdep.c
diff --git
a/gdb/riscv-tdep.c
b/gdb/riscv-tdep.c
index e4edd7ca3e81b7a2c6c5f7bf56611d51c28381b8..dae6520f1f854cabadc4282ec75a6225a263c4ad 100644
(file)
--- a/
gdb/riscv-tdep.c
+++ b/
gdb/riscv-tdep.c
@@
-576,8
+576,8
@@
riscv_register_type (struct gdbarch *gdbarch, int regnum)
if (flen == 8
&& type->code () == TYPE_CODE_FLT
&& TYPE_LENGTH (type) == flen
if (flen == 8
&& type->code () == TYPE_CODE_FLT
&& TYPE_LENGTH (type) == flen
- && (strcmp (
TYPE_NAME (type
), "builtin_type_ieee_double") == 0
- || strcmp (
TYPE_NAME (type
), "double") == 0))
+ && (strcmp (
type->name (
), "builtin_type_ieee_double") == 0
+ || strcmp (
type->name (
), "double") == 0))
type = riscv_fpreg_d_type (gdbarch);
}
type = riscv_fpreg_d_type (gdbarch);
}
This page took
0.022997 seconds
and
4
git commands to generate.