In corelow.c I stumbled upon an extra semicolon and an xfree of a NULL
pointer. Remove them.
gdb/ChangeLog:
* corelow.c (sniff_core_bfd): Remove extra semicolon.
(get_core_register_section): Remove xfree of NULL pointer.
+2017-05-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
+
+ * corelow.c (sniff_core_bfd): Remove extra semicolon.
+ (get_core_register_section): Remove xfree of NULL pointer.
+
2017-05-03 Alan Hayward <alan.hayward@arm.com>
* frv-linux-tdep.c (frv_linux_supply_gregset): Use raw_supply_zeroed.
{
struct core_fns *cf;
struct core_fns *yummy = NULL;
- int matches = 0;;
+ int matches = 0;
/* Don't sniff if we have support for register sets in
CORE_GDBARCH. */
const char *human_name,
int required)
{
- static char *section_name = NULL;
+ static char *section_name;
struct bfd_section *section;
bfd_size_type size;
char *contents;
&& regset->flags & REGSET_VARIABLE_SIZE);
ptid_t ptid = regcache_get_ptid (regcache);
- xfree (section_name);
-
if (ptid_get_lwp (ptid))
section_name = xstrprintf ("%s/%ld", name,
ptid_get_lwp (ptid));