diff options
author | Fred Fish <fnf@specifix.com> | 2001-10-30 17:34:30 +0000 |
---|---|---|
committer | Fred Fish <fnf@specifix.com> | 2001-10-30 17:34:30 +0000 |
commit | c3c057c81fd0696a860eaa35f5e765d62478e797 (patch) | |
tree | e25a3e18511a43853e267bbd71adb11ec66c1f6a /gdb/somsolib.c | |
parent | 3c3bdf30e42268e6193693acd1dc66d2d1792536 (diff) | |
download | gdb-c3c057c81fd0696a860eaa35f5e765d62478e797.zip gdb-c3c057c81fd0696a860eaa35f5e765d62478e797.tar.gz gdb-c3c057c81fd0696a860eaa35f5e765d62478e797.tar.bz2 |
2001-10-30 Fred Fish <fnf@redhat.com>
* somsolib.c (som_solib_add): A megabyte is 1024*1024 bytes.
* pa64solib.c (add_to_solist): Ditto.
* win32-nat.c (_initialize_inftarg): Remove unnecessary
initialization of auto_solib_add, it defaults to 1.
Diffstat (limited to 'gdb/somsolib.c')
-rw-r--r-- | gdb/somsolib.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/somsolib.c b/gdb/somsolib.c index f9807ab..5f2b2cb 100644 --- a/gdb/somsolib.c +++ b/gdb/somsolib.c @@ -778,7 +778,7 @@ som_solib_add (char *arg_string, int from_tty, struct target_ops *target) som_solib_st_size_threshold_exceeded = !from_tty && auto_solib_add && - ((st_size + som_solib_total_st_size) > (auto_solib_limit * (LONGEST) 1000000)); + ((st_size + som_solib_total_st_size) > (auto_solib_limit * (LONGEST) (1024 * 1024))); if (som_solib_st_size_threshold_exceeded) { |