diff options
Diffstat (limited to 'gdb/gcore.c')
-rw-r--r-- | gdb/gcore.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/gcore.c b/gdb/gcore.c index 50aff2c..07c1997 100644 --- a/gdb/gcore.c +++ b/gdb/gcore.c @@ -303,7 +303,7 @@ call_target_sbrk (int sbrk_arg) target_sbrk_arg = value_from_longest (builtin_type (gdbarch)->builtin_int, sbrk_arg); gdb_assert (target_sbrk_arg); - ret = call_function_by_hand (sbrk_fn, 1, &target_sbrk_arg); + ret = call_function_by_hand (sbrk_fn, NULL, 1, &target_sbrk_arg); if (ret == NULL) return (bfd_vma) 0; |