aboutsummaryrefslogtreecommitdiff
path: root/gdb/gcore.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/gcore.c')
-rw-r--r--gdb/gcore.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/gcore.c b/gdb/gcore.c
index 2ab00a0..0f04679 100644
--- a/gdb/gcore.c
+++ b/gdb/gcore.c
@@ -269,13 +269,13 @@ call_target_sbrk (int sbrk_arg)
struct value *sbrk_fn, *ret;
bfd_vma tmp;
- if (lookup_minimal_symbol ("sbrk", NULL, NULL).minsym != NULL)
+ if (lookup_minimal_symbol ("sbrk").minsym != nullptr)
{
sbrk_fn = find_function_in_inferior ("sbrk", &sbrk_objf);
if (sbrk_fn == NULL)
return (bfd_vma) 0;
}
- else if (lookup_minimal_symbol ("_sbrk", NULL, NULL).minsym != NULL)
+ else if (lookup_minimal_symbol ("_sbrk").minsym != nullptr)
{
sbrk_fn = find_function_in_inferior ("_sbrk", &sbrk_objf);
if (sbrk_fn == NULL)