OLD | NEW |
1 /* OS ABI variant handling for GDB. | 1 /* OS ABI variant handling for GDB. |
2 | 2 |
3 Copyright (C) 2001-2004, 2007-2012 Free Software Foundation, Inc. | 3 Copyright (C) 2001-2004, 2007-2012 Free Software Foundation, Inc. |
4 | 4 |
5 This file is part of GDB. | 5 This file is part of GDB. |
6 | 6 |
7 This program is free software; you can redistribute it and/or modify | 7 This program is free software; you can redistribute it and/or modify |
8 it under the terms of the GNU General Public License as published by | 8 it under the terms of the GNU General Public License as published by |
9 the Free Software Foundation; either version 3 of the License, or | 9 the Free Software Foundation; either version 3 of the License, or |
10 (at your option) any later version. | 10 (at your option) any later version. |
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
66 "Interix", | 66 "Interix", |
67 "HP/UX ELF", | 67 "HP/UX ELF", |
68 "HP/UX SOM", | 68 "HP/UX SOM", |
69 "QNX Neutrino", | 69 "QNX Neutrino", |
70 "Cygwin", | 70 "Cygwin", |
71 "AIX", | 71 "AIX", |
72 "DICOS", | 72 "DICOS", |
73 "Darwin", | 73 "Darwin", |
74 "Symbian", | 74 "Symbian", |
75 "NaCl", | 75 "NaCl", |
| 76 "OpenVMS", |
76 | 77 |
77 "<invalid>" | 78 "<invalid>" |
78 }; | 79 }; |
79 | 80 |
80 const char * | 81 const char * |
81 gdbarch_osabi_name (enum gdb_osabi osabi) | 82 gdbarch_osabi_name (enum gdb_osabi osabi) |
82 { | 83 { |
83 if (osabi >= GDB_OSABI_UNKNOWN && osabi < GDB_OSABI_INVALID) | 84 if (osabi >= GDB_OSABI_UNKNOWN && osabi < GDB_OSABI_INVALID) |
84 return gdb_osabi_names[osabi]; | 85 return gdb_osabi_names[osabi]; |
85 | 86 |
(...skipping 454 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
540 break; | 541 break; |
541 | 542 |
542 case ELFOSABI_SOLARIS: | 543 case ELFOSABI_SOLARIS: |
543 osabi = GDB_OSABI_SOLARIS; | 544 osabi = GDB_OSABI_SOLARIS; |
544 break; | 545 break; |
545 | 546 |
546 case ELFOSABI_HPUX: | 547 case ELFOSABI_HPUX: |
547 /* For some reason the default value for the EI_OSABI field is | 548 /* For some reason the default value for the EI_OSABI field is |
548 ELFOSABI_HPUX for all PA-RISC targets (with the exception of | 549 ELFOSABI_HPUX for all PA-RISC targets (with the exception of |
549 GNU/Linux). We use HP-UX ELF as the default, but let any | 550 GNU/Linux). We use HP-UX ELF as the default, but let any |
error: old chunk mismatch |
None
OLD | NEW |