| OLD | NEW |
| 1 /* Native-dependent code for GNU/Linux i386. | 1 /* Native-dependent code for GNU/Linux i386. |
| 2 | 2 |
| 3 Copyright (C) 1999-2012 Free Software Foundation, Inc. | 3 Copyright (C) 1999-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 28 matching lines...) Expand all Loading... |
| 39 #endif | 39 #endif |
| 40 | 40 |
| 41 #ifndef ORIG_EAX | 41 #ifndef ORIG_EAX |
| 42 #define ORIG_EAX -1 | 42 #define ORIG_EAX -1 |
| 43 #endif | 43 #endif |
| 44 | 44 |
| 45 #ifdef HAVE_SYS_DEBUGREG_H | 45 #ifdef HAVE_SYS_DEBUGREG_H |
| 46 #include <sys/debugreg.h> | 46 #include <sys/debugreg.h> |
| 47 #endif | 47 #endif |
| 48 | 48 |
| 49 #ifndef DR_FIRSTADDR | |
| 50 #define DR_FIRSTADDR 0 | |
| 51 #endif | |
| 52 | |
| 53 #ifndef DR_LASTADDR | |
| 54 #define DR_LASTADDR 3 | |
| 55 #endif | |
| 56 | |
| 57 #ifndef DR_STATUS | |
| 58 #define DR_STATUS 6 | |
| 59 #endif | |
| 60 | |
| 61 #ifndef DR_CONTROL | |
| 62 #define DR_CONTROL 7 | |
| 63 #endif | |
| 64 | |
| 65 /* Prototypes for supply_gregset etc. */ | 49 /* Prototypes for supply_gregset etc. */ |
| 66 #include "gregset.h" | 50 #include "gregset.h" |
| 67 | 51 |
| 68 #include "i387-tdep.h" | 52 #include "i387-tdep.h" |
| 69 #include "i386-tdep.h" | 53 #include "i386-tdep.h" |
| 70 #include "i386-linux-tdep.h" | 54 #include "i386-linux-tdep.h" |
| 71 | 55 |
| 72 /* Defines ps_err_e, struct ps_prochandle. */ | 56 /* Defines ps_err_e, struct ps_prochandle. */ |
| 73 #include "gdb_proc_service.h" | 57 #include "gdb_proc_service.h" |
| 74 | 58 |
| 75 #include "i386-xstate.h" | 59 #include "i386-xstate.h" |
| 76 | 60 |
| 77 #ifndef PTRACE_GETREGSET | 61 #ifndef PTRACE_GETREGSET |
| 78 #define PTRACE_GETREGSET 0x4204 | 62 #define PTRACE_GETREGSET 0x4204 |
| 79 #endif | 63 #endif |
| 80 | 64 |
| 81 #ifndef PTRACE_SETREGSET | 65 #ifndef PTRACE_SETREGSET |
error: old chunk mismatch |
None
| OLD | NEW |