diff options
author | Andrew Cagney <cagney@redhat.com> | 2004-06-21 15:01:04 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2004-06-21 15:01:04 +0000 |
commit | 283354d860e69d8b78ec24cf8ac96fa6836c7247 (patch) | |
tree | ffe30ca7a6de72b033c5d969dcebcbc3a70c294e /gdb/gdbarch.c | |
parent | aa02cc6302929252edd817456ef41317319c179c (diff) | |
download | gdb-283354d860e69d8b78ec24cf8ac96fa6836c7247.zip gdb-283354d860e69d8b78ec24cf8ac96fa6836c7247.tar.gz gdb-283354d860e69d8b78ec24cf8ac96fa6836c7247.tar.bz2 |
2004-06-21 Andrew Cagney <cagney@gnu.org>
* gdbarch.sh (read): Delete "print_p" and "description", add
"garbage_at_eol". Check for non-empty garbage at end-of-line.
Delete references to print_p.
(TARGET_ARCHITECTURE): Delete print predicate.
* gdbarch.c: Re-generate.
Diffstat (limited to 'gdb/gdbarch.c')
-rw-r--r-- | gdb/gdbarch.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/gdb/gdbarch.c b/gdb/gdbarch.c index 8720f45..f93e74c 100644 --- a/gdb/gdbarch.c +++ b/gdb/gdbarch.c @@ -770,10 +770,9 @@ gdbarch_dump (struct gdbarch *current_gdbarch, struct ui_file *file) fprintf_unfiltered (file, "gdbarch_dump: TARGET_ARCHITECTURE # %s\n", XSTRING (TARGET_ARCHITECTURE)); - if (TARGET_ARCHITECTURE != NULL) - fprintf_unfiltered (file, - "gdbarch_dump: TARGET_ARCHITECTURE = %s\n", - TARGET_ARCHITECTURE->printable_name); + fprintf_unfiltered (file, + "gdbarch_dump: TARGET_ARCHITECTURE = %s\n", + TARGET_ARCHITECTURE->printable_name); #endif #ifdef TARGET_BFD_VMA_BIT fprintf_unfiltered (file, |