projects
/
deliverable
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'master' into merge-job
[deliverable/binutils-gdb.git]
/
gdb
/
arm-fbsd-tdep.c
diff --git
a/gdb/arm-fbsd-tdep.c
b/gdb/arm-fbsd-tdep.c
index dea3abbdd3694b8290c06cf88eceb1d695070392..ec0e9d58230bb95a1879401afac571185fbda9a3 100644
(file)
--- a/
gdb/arm-fbsd-tdep.c
+++ b/
gdb/arm-fbsd-tdep.c
@@
-1,6
+1,6
@@
/* Target-dependent code for FreeBSD/arm.
/* Target-dependent code for FreeBSD/arm.
- Copyright (C) 2017-20
19
Free Software Foundation, Inc.
+ Copyright (C) 2017-20
20
Free Software Foundation, Inc.
This file is part of GDB.
This file is part of GDB.
@@
-20,6
+20,8
@@
#include "defs.h"
#include "elf/common.h"
#include "defs.h"
#include "elf/common.h"
+#include "target-descriptions.h"
+#include "aarch32-tdep.h"
#include "arm-tdep.h"
#include "arm-fbsd-tdep.h"
#include "auxv.h"
#include "arm-tdep.h"
#include "arm-fbsd-tdep.h"
#include "auxv.h"
@@
-178,20
+180,20
@@
arm_fbsd_read_description_auxv (struct target_ops *target)
CORE_ADDR arm_hwcap = 0;
if (target_auxv_search (target, AT_FREEBSD_HWCAP, &arm_hwcap) != 1)
CORE_ADDR arm_hwcap = 0;
if (target_auxv_search (target, AT_FREEBSD_HWCAP, &arm_hwcap) != 1)
- return
NULL
;
+ return
nullptr
;
if (arm_hwcap & HWCAP_VFP)
{
if (arm_hwcap & HWCAP_NEON)
if (arm_hwcap & HWCAP_VFP)
{
if (arm_hwcap & HWCAP_NEON)
- return
tdesc_arm_with_neon
;
+ return
aarch32_read_description ()
;
else if ((arm_hwcap & (HWCAP_VFPv3 | HWCAP_VFPD32))
== (HWCAP_VFPv3 | HWCAP_VFPD32))
else if ((arm_hwcap & (HWCAP_VFPv3 | HWCAP_VFPD32))
== (HWCAP_VFPv3 | HWCAP_VFPD32))
- return
tdesc_arm_with_vfpv3
;
+ return
arm_read_description (ARM_FP_TYPE_VFPV3)
;
else
else
-
return tdesc_arm_with_vfpv2
;
+
return arm_read_description (ARM_FP_TYPE_VFPV2)
;
}
}
- return
NULL
;
+ return
nullptr
;
}
/* Implement the "core_read_description" gdbarch method. */
}
/* Implement the "core_read_description" gdbarch method. */
This page took
0.025873 seconds
and
4
git commands to generate.