diff options
author | David Edelsohn <dje.gcc@gmail.com> | 1997-05-02 00:32:05 +0000 |
---|---|---|
committer | David Edelsohn <dje.gcc@gmail.com> | 1997-05-02 00:32:05 +0000 |
commit | 2317a49939905f8aeb16b62ee6bd5e1f661f1357 (patch) | |
tree | df20e2ea7999f8c468bda6f24938ebc163f65007 /sim/common/sim-basics.h | |
parent | 3e324f89cd814b515a6de171197708c3c4dcac73 (diff) | |
download | gdb-2317a49939905f8aeb16b62ee6bd5e1f661f1357.zip gdb-2317a49939905f8aeb16b62ee6bd5e1f661f1357.tar.gz gdb-2317a49939905f8aeb16b62ee6bd5e1f661f1357.tar.bz2 |
* sim-utils.c (sim_add_commas): New function.
* sim-basics.h (sim_add_commas): Add prototype.
* cgen-scache.c (scache_print_profile): Print commas in numbers.
* sim-profile.c (COMMAS): New macro.
(print_*): Use it to print commas in numbers.
Diffstat (limited to 'sim/common/sim-basics.h')
-rw-r--r-- | sim/common/sim-basics.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/sim/common/sim-basics.h b/sim/common/sim-basics.h index 00f83a1..d33a0d5 100644 --- a/sim/common/sim-basics.h +++ b/sim/common/sim-basics.h @@ -64,6 +64,9 @@ void *zalloc (unsigned long size); void zfree(void*); +/* Turn VALUE into a string with commas. */ +char *sim_add_commas (char *, int, unsigned long); + /* Utilities for elapsed time reporting. */ /* Opaque type, known only inside sim_elapsed_time_foo fns. */ @@ -114,8 +117,11 @@ typedef enum _attach_type { #include "sim-config.h" -#include "sim-base.h" +#include "sim-module.h" #include "sim-trace.h" +#include "sim-profile.h" +#include "sim-model.h" +#include "sim-base.h" #include "sim-inline.h" |