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

Side by Side Diff: sim/h8300/sim-main.h

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 | « sim/h8300/configure ('k') | sim/igen/ChangeLog » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* Main header for the Hitachi h8/300 architecture. */ 1 /* Main header for the Hitachi h8/300 architecture. */
2 2
3 #include "config.h"
3 #include "bfd.h" 4 #include "bfd.h"
4 5
5 #ifndef SIM_MAIN_H 6 #ifndef SIM_MAIN_H
6 #define SIM_MAIN_H 7 #define SIM_MAIN_H
7 8
8 #define DEBUG 9 #define DEBUG
9 10
10 /* These define the size of main memory for the simulator. 11 /* These define the size of main memory for the simulator.
11 12
12 Note the size of main memory for the H8/300H is only 256k. Keeping it 13 Note the size of main memory for the H8/300H is only 256k. Keeping it
(...skipping 150 matching lines...) Expand 10 before | Expand all | Expand 10 after
163 #define LIBC_EXIT_MAGIC2 0xbeef 164 #define LIBC_EXIT_MAGIC2 0xbeef
164 /* Local version of macros for decoding exit status. 165 /* Local version of macros for decoding exit status.
165 (included here rather than try to find target version of wait.h) 166 (included here rather than try to find target version of wait.h)
166 */ 167 */
167 #define SIM_WIFEXITED(V) (((V) & 0xff) == 0) 168 #define SIM_WIFEXITED(V) (((V) & 0xff) == 0)
168 #define SIM_WIFSTOPPED(V) (!SIM_WIFEXITED (V)) 169 #define SIM_WIFSTOPPED(V) (!SIM_WIFEXITED (V))
169 #define SIM_WEXITSTATUS(V) (((V) >> 8) & 0xff) 170 #define SIM_WEXITSTATUS(V) (((V) >> 8) & 0xff)
170 #define SIM_WSTOPSIG(V) ((V) & 0x7f) 171 #define SIM_WSTOPSIG(V) ((V) & 0x7f)
171 172
172 #endif /* SIM_MAIN_H */ 173 #endif /* SIM_MAIN_H */
OLDNEW
« no previous file with comments | « sim/h8300/configure ('k') | sim/igen/ChangeLog » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698