mirror of
https://git.freebsd.org/ports.git
synced 2025-06-08 22:30:38 -04:00
Updating gdb to the last stable version and cleaning it up. PR: 217090 Submitted by: luca.pizzamiglio@gmail.com (maintainer) PR: 216027 - Recognizing the compiler to adopt options properly Reported by: julian@FreeBSD.org PR: 216132 - Fixing the segmentation fault, but arm core dump not yet usable Reported by: Mark Millard
12 lines
484 B
C
12 lines
484 B
C
--- gdb/corelow.c.orig 2017-01-16 10:40:23.118428000 +0100
|
|
+++ gdb/corelow.c 2017-01-17 22:39:10.524216000 +0100
|
|
@@ -541,7 +541,8 @@
|
|
warning (_("Section `%s' in core file too small."), section_name);
|
|
return;
|
|
}
|
|
- if (size != min_size && !(regset->flags & REGSET_VARIABLE_SIZE))
|
|
+ if (size != min_size && regset != NULL &&
|
|
+ !(regset->flags & REGSET_VARIABLE_SIZE))
|
|
{
|
|
warning (_("Unexpected size of section `%s' in core file."),
|
|
section_name);
|