projects
/
deliverable
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[gdbserver] Remove unused max_jump_pad_size
[deliverable/binutils-gdb.git]
/
gdb
/
frv-tdep.c
diff --git
a/gdb/frv-tdep.c
b/gdb/frv-tdep.c
index f7fd00b85071e0c63f25ca38700b15d758561e70..19ff87eeb72b4ad5a4185fb711e80bf19d956fd4 100644
(file)
--- a/
gdb/frv-tdep.c
+++ b/
gdb/frv-tdep.c
@@
-136,9
+136,8
@@
new_variant (void)
struct gdbarch_tdep *var;
int r;
- var = xmalloc (sizeof (*var));
- memset (var, 0, sizeof (*var));
-
+ var = XCNEW (struct gdbarch_tdep);
+
var->frv_abi = FRV_ABI_EABI;
var->num_gprs = 64;
var->num_fprs = 64;
This page took
0.023512 seconds
and
4
git commands to generate.