aboutsummaryrefslogtreecommitdiff
path: root/libiberty/getcwd.c
diff options
context:
space:
mode:
authorCary Coutant <ccoutant@google.com>2008-04-01 20:57:36 +0000
committerCary Coutant <ccoutant@google.com>2008-04-01 20:57:36 +0000
commita12074662b645834b85211121257c82b7763f2a6 (patch)
treeec3127a35fd8eded0118712f4cd282a7715d3d94 /libiberty/getcwd.c
parent79c6ced6ea7d833502f2734eb43011ed06ea2068 (diff)
downloadgdb-a12074662b645834b85211121257c82b7763f2a6.zip
gdb-a12074662b645834b85211121257c82b7763f2a6.tar.gz
gdb-a12074662b645834b85211121257c82b7763f2a6.tar.bz2
2008-03-31 Cary Coutant <ccoutant@google.com>
Add thin archive support. * archive.cc (Archive::armagt): New const. (Archive::setup): Remove task parameter and calls to unlock. (Archive::unlock_nested_archives): New function. (Archive::read_header): Add nested_off parameter. Change all callers. (Archive::interpret_header): Likewise. (Archive::include_all_members): Change to handle thin archives. (Archive::include_member): Likewise. * archive.h (Archive::Archive): Add new parameters and initializers. (Archive::armagt): New const. (Archive::setup): Remove task parameter. (Archive::unlock_nested_archives): New function. (Archive::read_header): Add nested_off parameter. (Archive::interpret_header): Likewise. (Archive::Nested_archive_table): New typedef. (Archive::is_thin_archive_): New field. (Archive::nested_archives_): New field. (Archive::options_): New field. (Archive::dirpath_): New field. (Archive::task_): New field. * readsyms.cc (Read_symbols::do_read_symbols): Add check for thin archives. Pass additional parameters to Archive::Archive. Unlock the archive file after calling Archive::setup.
Diffstat (limited to 'libiberty/getcwd.c')
0 files changed, 0 insertions, 0 deletions