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

Side by Side Diff: sim/mn10300/interp.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 | « sim/mn10300/configure ('k') | sim/moxie/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 #include "config.h"
1 #include <signal.h> 2 #include <signal.h>
2 3
3 #include "sim-main.h" 4 #include "sim-main.h"
4 #include "sim-options.h" 5 #include "sim-options.h"
5 #include "sim-hw.h" 6 #include "sim-hw.h"
6 7
7 #include "sysdep.h"
8 #include "bfd.h" 8 #include "bfd.h"
9 #include "sim-assert.h" 9 #include "sim-assert.h"
10 10
11 11
12 #ifdef HAVE_STDLIB_H 12 #ifdef HAVE_STDLIB_H
13 #include <stdlib.h> 13 #include <stdlib.h>
14 #endif 14 #endif
15 15
16 #ifdef HAVE_STRING_H 16 #ifdef HAVE_STRING_H
17 #include <string.h> 17 #include <string.h>
(...skipping 358 matching lines...) Expand 10 before | Expand all | Expand 10 after
376 a[3] = (data >> 24) & 0xff; 376 a[3] = (data >> 24) & 0xff;
377 } 377 }
378 378
379 int 379 int
380 sim_fetch_register (SIM_DESC sd, 380 sim_fetch_register (SIM_DESC sd,
381 int rn, 381 int rn,
382 unsigned char *memory, 382 unsigned char *memory,
383 int length) 383 int length)
384 { 384 {
385 put_word (memory, State.regs[rn]); 385 put_word (memory, State.regs[rn]);
386 return -1; 386 return length;
387 } 387 }
388 388
389 int 389 int
390 sim_store_register (SIM_DESC sd, 390 sim_store_register (SIM_DESC sd,
391 int rn, 391 int rn,
392 unsigned char *memory, 392 unsigned char *memory,
393 int length) 393 int length)
394 { 394 {
395 State.regs[rn] = get_word (memory); 395 State.regs[rn] = get_word (memory);
396 return length; 396 return length;
(...skipping 694 matching lines...) Expand 10 before | Expand all | Expand 10 after
1091 1091
1092 stat |= sim_fpu_neg (&mm, &m); 1092 stat |= sim_fpu_neg (&mm, &m);
1093 stat |= sim_fpu_sub (&r, &mm, &n); 1093 stat |= sim_fpu_sub (&r, &mm, &n);
1094 stat |= ROUND (&r); 1094 stat |= ROUND (&r);
1095 if (fpu_status_ok (stat)) 1095 if (fpu_status_ok (stat))
1096 VAL2REG (&r, reg_out); 1096 VAL2REG (&r, reg_out);
1097 } 1097 }
1098 1098
1099 fpu_check_signal_exception (sd, cpu, cia); 1099 fpu_check_signal_exception (sd, cpu, cia);
1100 } 1100 }
OLDNEW
« no previous file with comments | « sim/mn10300/configure ('k') | sim/moxie/ChangeLog » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698