mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-10-16 20:32:21 +08:00
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.
This commit is contained in:
@ -1,3 +1,10 @@
|
|||||||
|
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.
|
||||||
|
|
||||||
2001-10-27 Fred Fish <fnf@redhat.com>
|
2001-10-27 Fred Fish <fnf@redhat.com>
|
||||||
|
|
||||||
* symfile.c (auto_solib_add): Update comment to note that
|
* symfile.c (auto_solib_add): Update comment to note that
|
||||||
|
@ -1168,7 +1168,7 @@ add_to_solist (boolean from_tty, char *dll_path,
|
|||||||
!from_tty
|
!from_tty
|
||||||
&& auto_solib_add
|
&& auto_solib_add
|
||||||
&& ( (st_size + pa64_solib_total_st_size)
|
&& ( (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)
|
if (pa64_solib_st_size_threshhold_exceeded)
|
||||||
{
|
{
|
||||||
pa64_solib_add_solib_objfile (new_so, dll_path, from_tty, 1);
|
pa64_solib_add_solib_objfile (new_so, dll_path, from_tty, 1);
|
||||||
|
@ -778,7 +778,7 @@ som_solib_add (char *arg_string, int from_tty, struct target_ops *target)
|
|||||||
som_solib_st_size_threshold_exceeded =
|
som_solib_st_size_threshold_exceeded =
|
||||||
!from_tty &&
|
!from_tty &&
|
||||||
auto_solib_add &&
|
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)
|
if (som_solib_st_size_threshold_exceeded)
|
||||||
{
|
{
|
||||||
|
@ -1453,7 +1453,6 @@ _initialize_inftarg (void)
|
|||||||
"Load dll library symbols from FILE.");
|
"Load dll library symbols from FILE.");
|
||||||
c->completer = filename_completer;
|
c->completer = filename_completer;
|
||||||
|
|
||||||
auto_solib_add = 1;
|
|
||||||
add_com_alias ("sharedlibrary", "dll-symbols", class_alias, 1);
|
add_com_alias ("sharedlibrary", "dll-symbols", class_alias, 1);
|
||||||
|
|
||||||
add_show_from_set (add_set_cmd ("new-console", class_support, var_boolean,
|
add_show_from_set (add_set_cmd ("new-console", class_support, var_boolean,
|
||||||
|
@ -1453,7 +1453,6 @@ _initialize_inftarg (void)
|
|||||||
"Load dll library symbols from FILE.");
|
"Load dll library symbols from FILE.");
|
||||||
c->completer = filename_completer;
|
c->completer = filename_completer;
|
||||||
|
|
||||||
auto_solib_add = 1;
|
|
||||||
add_com_alias ("sharedlibrary", "dll-symbols", class_alias, 1);
|
add_com_alias ("sharedlibrary", "dll-symbols", class_alias, 1);
|
||||||
|
|
||||||
add_show_from_set (add_set_cmd ("new-console", class_support, var_boolean,
|
add_show_from_set (add_set_cmd ("new-console", class_support, var_boolean,
|
||||||
|
Reference in New Issue
Block a user