diff options
author | Michael Meissner <gnu@the-meissners.org> | 1995-11-28 18:47:07 +0000 |
---|---|---|
committer | Michael Meissner <gnu@the-meissners.org> | 1995-11-28 18:47:07 +0000 |
commit | 290ad14a9dd688a94344e1c21e681e2e8d01b0f1 (patch) | |
tree | 6cd17c9b356f288fa36d40ade3730e494cd34e7d /sim/ppc/sim_calls.c | |
parent | 5aca405826b00ce4fc00055618eeab3e7e231076 (diff) | |
download | gdb-290ad14a9dd688a94344e1c21e681e2e8d01b0f1.zip gdb-290ad14a9dd688a94344e1c21e681e2e8d01b0f1.tar.gz gdb-290ad14a9dd688a94344e1c21e681e2e8d01b0f1.tar.bz2 |
Add determining when we do not have enough writeback slots; Do not do model specific handling if not printing out the information
Diffstat (limited to 'sim/ppc/sim_calls.c')
-rw-r--r-- | sim/ppc/sim_calls.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sim/ppc/sim_calls.c b/sim/ppc/sim_calls.c index c59d3e1..c2cef9a 100644 --- a/sim/ppc/sim_calls.c +++ b/sim/ppc/sim_calls.c @@ -106,6 +106,7 @@ sim_open (char *args) print_info = 1; break; case 'I': + current_model_issue = MODEL_ISSUE_PROCESS; print_info = 2; break; } @@ -341,7 +342,7 @@ zalloc(long size) void *memory = (void*)xmalloc(size); if (memory == NULL) error("xmalloc failed\n"); - bzero(memory, size); + memset(memory, 0, size); return memory; } |