Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F150485895
D4012.id.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
887 B
Referenced Files
None
Subscribers
None
D4012.id.diff
View Options
Index: head/contrib/gdb/gdb/arm-tdep.c
===================================================================
--- head/contrib/gdb/gdb/arm-tdep.c
+++ head/contrib/gdb/gdb/arm-tdep.c
@@ -2580,6 +2580,21 @@
osabi = GDB_OSABI_ARM_EABI_V2;
break;
+ case EF_ARM_EABI_VER3:
+ case EF_ARM_EABI_VER4:
+ case EF_ARM_EABI_VER5:
+ /*
+ * GDB does not support these EABI versions. Fallback
+ * to the highest known to make the KGDB working with
+ * kernel ELF image.
+ */
+ osabi = GDB_OSABI_ARM_EABI_V2;
+ printf ("\n%s:%d "
+ "arm_elf_osabi_sniffer: Unsupported ARM EABI "
+ "version 0x%x, falling back to 0x%x\n",
+ __FILE__, __LINE__, eflags, EF_ARM_EABI_VER2);
+ break;
+
case EF_ARM_EABI_UNKNOWN:
/* Assume GNU tools. */
osabi = GDB_OSABI_ARM_APCS;
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Apr 2, 3:30 PM (10 h, 35 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
30727848
Default Alt Text
D4012.id.diff (887 B)
Attached To
Mode
D4012: WORKAROUND: ignore ARM EABI version higher than 5 in GDB
Attached
Detach File
Event Timeline
Log In to Comment