OLD | NEW |
1 /* Simulator tracing/debugging support. | 1 /* Simulator tracing/debugging support. |
2 Copyright (C) 1997-1998, 2001, 2007-2012 Free Software Foundation, | 2 Copyright (C) 1997-2013 Free Software Foundation, Inc. |
3 Inc. | |
4 Contributed by Cygnus Support. | 3 Contributed by Cygnus Support. |
5 | 4 |
6 This file is part of GDB, the GNU debugger. | 5 This file is part of GDB, the GNU debugger. |
7 | 6 |
8 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 |
9 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 |
10 the Free Software Foundation; either version 3 of the License, or | 9 the Free Software Foundation; either version 3 of the License, or |
11 (at your option) any later version. | 10 (at your option) any later version. |
12 | 11 |
13 This program is distributed in the hope that it will be useful, | 12 This program is distributed in the hope that it will be useful, |
(...skipping 573 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
587 ((WITH_DEBUG & (1 << (idx))) != 0 \ | 586 ((WITH_DEBUG & (1 << (idx))) != 0 \ |
588 && CPU_DEBUG_FLAGS (cpu)[idx] != 0) | 587 && CPU_DEBUG_FLAGS (cpu)[idx] != 0) |
589 | 588 |
590 /* Non-zero if "--debug-insn" specified. */ | 589 /* Non-zero if "--debug-insn" specified. */ |
591 #define DEBUG_INSN_P(cpu) DEBUG_P (cpu, DEBUG_INSN_IDX) | 590 #define DEBUG_INSN_P(cpu) DEBUG_P (cpu, DEBUG_INSN_IDX) |
592 | 591 |
593 extern void debug_printf PARAMS ((sim_cpu *, const char *, ...)) | 592 extern void debug_printf PARAMS ((sim_cpu *, const char *, ...)) |
594 __attribute__((format (printf, 2, 3))); | 593 __attribute__((format (printf, 2, 3))); |
595 | 594 |
596 #endif /* SIM_TRACE_H */ | 595 #endif /* SIM_TRACE_H */ |
OLD | NEW |