mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-07-11 22:03:01 -06:00
ide: Fixed gdb crash on parsing gdb data
git-svn-id: svn://ultimatepp.org/upp/trunk@13006 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
5dea9c014b
commit
c5a6dfe6bd
3 changed files with 3 additions and 3 deletions
|
|
@ -134,7 +134,7 @@ void HashBase::Drop(int n)
|
|||
void HashBase::FinishIndex()
|
||||
{
|
||||
int q = link.GetCount();
|
||||
link.Reserve(hash.GetAlloc());
|
||||
link.Reserve(hash.GetCount());
|
||||
link.AddN(hash.GetCount() - q);
|
||||
for(int i = q; i < hash.GetCount(); i++)
|
||||
LinkTo(i, link[i], hash[i] & UNSIGNED_HIBIT ? unlinked : Mapi(i));
|
||||
|
|
|
|||
|
|
@ -433,7 +433,7 @@ bool GccBuilder::BuildPackage(const String& package, Vector<String>& linkfile, V
|
|||
DeleteFile(libF);
|
||||
DeleteFile(linkF);
|
||||
}
|
||||
#endif
|
||||
#endif
|
||||
return false;
|
||||
}
|
||||
#ifdef PLATFORM_POSIX
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@
|
|||
void SkipGdbInfo(CParser& p)
|
||||
{
|
||||
int level = 1;
|
||||
while(level > 0)
|
||||
while(level > 0 && !p.IsEof())
|
||||
if(p.Char('<'))
|
||||
level++;
|
||||
else
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue