diff options
author | Andrew Cagney <cagney@redhat.com> | 2004-09-02 17:22:08 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2004-09-02 17:22:08 +0000 |
commit | b78960be27e31e5d2c4ff09cd19078ef39777913 (patch) | |
tree | 63b83e844010d69a464412b0e1fd29ed973d674e /gdb/gdbarch.c | |
parent | 4d60522e88df07944748ac9155520e19ac9c3bb1 (diff) | |
download | gdb-b78960be27e31e5d2c4ff09cd19078ef39777913.zip gdb-b78960be27e31e5d2c4ff09cd19078ef39777913.tar.gz gdb-b78960be27e31e5d2c4ff09cd19078ef39777913.tar.bz2 |
2004-09-02 Andrew Cagney <cagney@gnu.org>
* gdbarch.sh: Instead of GDB_MULTI_ARCH print GDB_NM_FILE,
GDB_TM_FILE and GDB_XM_FILE.
* gdbarch.c: Re-generate.
* configure.in (GDB_XM_FILE, GDB_NM_FILE, GDB_TM_FILE): Include
quotes in macro definition.
* configure.in: Re-generate.
Diffstat (limited to 'gdb/gdbarch.c')
-rw-r--r-- | gdb/gdbarch.c | 22 |
1 files changed, 20 insertions, 2 deletions
diff --git a/gdb/gdbarch.c b/gdb/gdbarch.c index fdf7bb2..7eb4aeb 100644 --- a/gdb/gdbarch.c +++ b/gdb/gdbarch.c @@ -631,9 +631,27 @@ verify_gdbarch (struct gdbarch *current_gdbarch) void gdbarch_dump (struct gdbarch *current_gdbarch, struct ui_file *file) { + const char *gdb_xm_file = "<not-defined>"; + const char *gdb_nm_file = "<not-defined>"; + const char *gdb_tm_file = "<not-defined>"; +#if defined (GDB_XM_FILE) + gdb_xm_file = GDB_XM_FILE; +#endif + fprintf_unfiltered (file, + "gdbarch_dump: GDB_XM_FILE = %s\n", + gdb_xm_file); +#if defined (GDB_NM_FILE) + gdb_nm_file = GDB_NM_FILE; +#endif + fprintf_unfiltered (file, + "gdbarch_dump: GDB_NM_FILE = %s\n", + gdb_nm_file); +#if defined (GDB_TM_FILE) + gdb_tm_file = GDB_TM_FILE; +#endif fprintf_unfiltered (file, - "gdbarch_dump: GDB_MULTI_ARCH = %d\n", - GDB_MULTI_ARCH); + "gdbarch_dump: GDB_TM_FILE = %s\n", + gdb_tm_file); #ifdef TARGET_ADDR_BIT fprintf_unfiltered (file, "gdbarch_dump: TARGET_ADDR_BIT # %s\n", |