diff options
author | Pedro Alves <pedro@palves.net> | 2024-03-22 19:46:58 +0000 |
---|---|---|
committer | Pedro Alves <pedro@palves.net> | 2024-03-22 19:46:58 +0000 |
commit | 9f88262921a7e659852cd127f2ee0976eae7518e (patch) | |
tree | 60ac9f9425dd9365746323b877f28443f9dbb12f /gdb/nat | |
parent | c05dd51122c2d654031b04e02ad0ea5b53ffe5e2 (diff) | |
download | binutils-9f88262921a7e659852cd127f2ee0976eae7518e.zip binutils-9f88262921a7e659852cd127f2ee0976eae7518e.tar.gz binutils-9f88262921a7e659852cd127f2ee0976eae7518e.tar.bz2 |
Remove SO_NAME_MAX_PATH_SIZE limit from core solib code
solib_map_sections errors out if the library file name is longer than
SO_NAME_MAX_PATH_SIZE.
solib::so_name and solib::so_original_name used to be arrays of
SO_NAME_MAX_PATH_SIZE size, so that check made sense then.
However, since commit 98107b0b17ac ("gdb: make
so_list::{so_original_name,so_name} std::strings") those fields are of
std::string type, so there's really no need for the limit.
This commit simply removes the length limit check.
Approved-By: John Baldwin <jhb@FreeBSD.org>
Change-Id: I2ec676b231cd18ae900c61c5caea461f47e989e6
Diffstat (limited to 'gdb/nat')
0 files changed, 0 insertions, 0 deletions