/* Generic static probe support for GDB.
- Copyright (C) 2012-2015 Free Software Foundation, Inc.
+ Copyright (C) 2012-2016 Free Software Foundation, Inc.
This file is part of GDB.
continue;
++result.nelts;
- result.sals = xrealloc (result.sals,
- result.nelts
- * sizeof (struct symtab_and_line));
+ result.sals = XRESIZEVEC (struct symtab_and_line, result.sals,
+ result.nelts);
sal = &result.sals[result.nelts - 1];
init_sal (sal);