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

Side by Side Diff: sim/ppc/psim.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/ppc/emul_unix.c ('k') | sim/ppc/sim_calls.c » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* This file is part of the program psim. 1 /* This file is part of the program psim.
2 2
3 Copyright 1994, 1995, 1996, 1997, 2003 Andrew Cagney 3 Copyright 1994, 1995, 1996, 1997, 2003 Andrew Cagney
4 4
5 This program is free software; you can redistribute it and/or modify 5 This program is free software; you can redistribute it and/or modify
6 it under the terms of the GNU General Public License as published by 6 it under the terms of the GNU General Public License as published by
7 the Free Software Foundation; either version 2 of the License, or 7 the Free Software Foundation; either version 2 of the License, or
8 (at your option) any later version. 8 (at your option) any later version.
9 9
10 This program is distributed in the hope that it will be useful, 10 This program is distributed in the hope that it will be useful,
(...skipping 574 matching lines...) Expand 10 before | Expand all | Expand 10 after
585 } 585 }
586 586
587 587
588 static void 588 static void
589 cntrl_c_simulation(void *data) 589 cntrl_c_simulation(void *data)
590 { 590 {
591 psim *system = data; 591 psim *system = data;
592 psim_halt(system, 592 psim_halt(system,
593 psim_nr_cpus(system), 593 psim_nr_cpus(system),
594 was_continuing, 594 was_continuing,
595 » TARGET_SIGNAL_INT); 595 » GDB_SIGNAL_INT);
596 } 596 }
597 597
598 INLINE_PSIM\ 598 INLINE_PSIM\
599 (void) 599 (void)
600 psim_stop(psim *system) 600 psim_stop(psim *system)
601 { 601 {
602 event_queue_schedule_after_signal(psim_event_queue(system), 602 event_queue_schedule_after_signal(psim_event_queue(system),
603 0 /*NOW*/, 603 0 /*NOW*/,
604 cntrl_c_simulation, 604 cntrl_c_simulation,
605 system); 605 system);
(...skipping 606 matching lines...) Expand 10 before | Expand all | Expand 10 after
1212 line_nr++; 1212 line_nr++;
1213 } 1213 }
1214 /* parse this line */ 1214 /* parse this line */
1215 current = tree_parse(current, "%s", device); 1215 current = tree_parse(current, "%s", device);
1216 } 1216 }
1217 fclose(description); 1217 fclose(description);
1218 } 1218 }
1219 1219
1220 1220
1221 #endif /* _PSIM_C_ */ 1221 #endif /* _PSIM_C_ */
OLDNEW
« no previous file with comments | « sim/ppc/emul_unix.c ('k') | sim/ppc/sim_calls.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698