1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-06-05 16:56:04 +02:00

patch for x86_64

This commit is contained in:
David Inglis 2005-02-16 19:16:11 +00:00
parent 0797607903
commit 5155c977ec
2 changed files with 11 additions and 0 deletions

View file

@ -1,3 +1,10 @@
2004-03-04 Peter Faltaous
Add e_machine values for X86_64.
getAttributes(): Add cases for X86_64.
This fixes the debug configurations dialog which
otherwise states that no debugger is available.
* utils/org/eclipse/cdt/utils/elf/Elf.java:
2005-02-16 Alain Magloire
Fix PR 74034
* utils/org/eclipse/cdt/utils/elf/Elf.java

View file

@ -103,6 +103,7 @@ public class Elf {
public final static int EM_H8_300 = 46;
public final static int EM_H8_300H = 47;
public final static int EM_IA_64 = 50;
public final static int EM_X86_64 = 62;
public final static int EM_ST100 = 60;
public final static int EM_AVR = 83;
public final static int EM_FR30 = 84; /* Fujitsu FR30 */
@ -806,6 +807,9 @@ public class Elf {
case Elf.ELFhdr.EM_ST100:
attrib.cpu = "st100"; //$NON-NLS-1$
break;
case Elf.ELFhdr.EM_X86_64:
attrib.cpu = "x86_64";
break;
case Elf.ELFhdr.EM_NONE :
default :
attrib.cpu = "none"; //$NON-NLS-1$