Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(378)

Side by Side Diff: gdb/osabi.c

Issue 11969036: Merge GDB 7.5.1 (Closed) Base URL: http://git.chromium.org/native_client/nacl-gdb.git@master
Patch Set: Created 7 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « gdb/opencl-lang.c ('k') | gdb/osdata.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
None
OLDNEW
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
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
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

OLDNEW
« no previous file with comments | « gdb/opencl-lang.c ('k') | gdb/osdata.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698