diff options
author | Andrew Cagney <cagney@redhat.com> | 2003-07-11 01:35:54 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2003-07-11 01:35:54 +0000 |
commit | ae99b39843aa37ee127e04f4d98343c52349d49f (patch) | |
tree | 21a02e9d17c569d99f8f6f5d9c5622ced00e50cd /gdb/gdbarch.c | |
parent | 82599cce24ca939fa3c3797c6d63891fa8f5c79b (diff) | |
download | gdb-ae99b39843aa37ee127e04f4d98343c52349d49f.zip gdb-ae99b39843aa37ee127e04f4d98343c52349d49f.tar.gz gdb-ae99b39843aa37ee127e04f4d98343c52349d49f.tar.bz2 |
2003-07-10 Andrew Cagney <cagney@redhat.com>
* gdbarch.sh: When a variable, but not a function, compare against
0. Fix problem in previous patch.
* gdbarch.c: Re-generate.
Diffstat (limited to 'gdb/gdbarch.c')
-rw-r--r-- | gdb/gdbarch.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gdb/gdbarch.c b/gdb/gdbarch.c index 7333952..8567c05 100644 --- a/gdb/gdbarch.c +++ b/gdb/gdbarch.c @@ -3422,7 +3422,7 @@ int gdbarch_deprecated_max_register_raw_size_p (struct gdbarch *gdbarch) { gdb_assert (gdbarch != NULL); - return gdbarch->deprecated_max_register_raw_size != NULL; + return gdbarch->deprecated_max_register_raw_size != 0; } int @@ -3445,7 +3445,7 @@ int gdbarch_deprecated_max_register_virtual_size_p (struct gdbarch *gdbarch) { gdb_assert (gdbarch != NULL); - return gdbarch->deprecated_max_register_virtual_size != NULL; + return gdbarch->deprecated_max_register_virtual_size != 0; } int @@ -3802,7 +3802,7 @@ int gdbarch_deprecated_call_dummy_stack_adjust_p (struct gdbarch *gdbarch) { gdb_assert (gdbarch != NULL); - return gdbarch->deprecated_call_dummy_stack_adjust != NULL; + return gdbarch->deprecated_call_dummy_stack_adjust != 0; } int |