projects
/
deliverable
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
crash printing non-local variable from nested subprogram
[deliverable/binutils-gdb.git]
/
gdb
/
s390-linux-nat.c
diff --git
a/gdb/s390-linux-nat.c
b/gdb/s390-linux-nat.c
index 92205899f60723255bfa2bbcc39712828f1230d6..3bb99c8077b6a34b3056152dee20069de960d9e5 100644
(file)
--- a/
gdb/s390-linux-nat.c
+++ b/
gdb/s390-linux-nat.c
@@
-558,7
+558,7
@@
s390_insert_watchpoint (struct target_ops *self,
struct expression *cond)
{
struct lwp_info *lp;
- struct watch_area *area =
xmalloc (sizeof (struct watch_area)
);
+ struct watch_area *area =
XNEW (struct watch_area
);
if (!area)
return -1;
This page took
0.023569 seconds
and
4
git commands to generate.