summaryrefslogtreecommitdiff
path: root/gdb/pa64solib.c
diff options
context:
space:
mode:
authorFred Fish <fnf@specifix.com>2001-10-30 17:34:30 +0000
committerFred Fish <fnf@specifix.com>2001-10-30 17:34:30 +0000
commita4d6a9f0065e265a634255ef87ea467462381eb8 (patch)
tree223979604e23bd5bdf24a2c73ff31ed1684c5c31 /gdb/pa64solib.c
parent285e6a045e846f7cfdcea554105395213f05528a (diff)
downloadgdb-a4d6a9f0065e265a634255ef87ea467462381eb8.tar.gz
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/pa64solib.c')
-rw-r--r--gdb/pa64solib.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/pa64solib.c b/gdb/pa64solib.c
index e39d9e32c78..441095e92a7 100644
--- a/gdb/pa64solib.c
+++ b/gdb/pa64solib.c
@@ -1168,7 +1168,7 @@ add_to_solist (boolean from_tty, char *dll_path,
!from_tty
&& auto_solib_add
&& ( (st_size + pa64_solib_total_st_size)
- > (auto_solib_limit * (LONGEST)1000000));
+ > (auto_solib_limit * (LONGEST) (1024 * 1024)));
if (pa64_solib_st_size_threshhold_exceeded)
{
pa64_solib_add_solib_objfile (new_so, dll_path, from_tty, 1);