mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-20 12:16:40 +00:00
mingw fixups
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@24464 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
0e487932e0
commit
9b51f2a184
2 changed files with 31 additions and 20 deletions
|
@ -368,11 +368,11 @@ static void find_address (bfd *abfd, asection *section,
|
|||
|
||||
@end
|
||||
|
||||
static BOOL LoadModule(NSString *filename);
|
||||
static BOOL GSLoadModule(NSString *filename);
|
||||
|
||||
// this method automatically load the current process + GNUstep base & gui.
|
||||
static NSMutableDictionary *
|
||||
GetStackModules()
|
||||
GSGetStackModules()
|
||||
{
|
||||
static NSMutableDictionary *stackModules = nil;
|
||||
|
||||
|
@ -398,7 +398,7 @@ GetStackModules()
|
|||
{
|
||||
if ([bundle load] == YES)
|
||||
{
|
||||
LoadModule([bundle executablePath]);
|
||||
GSLoadModule([bundle executablePath]);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -407,11 +407,11 @@ GetStackModules()
|
|||
|
||||
// initialize stack trace info
|
||||
static BOOL
|
||||
LoadModule(NSString *filename)
|
||||
GSLoadModule(NSString *filename)
|
||||
{
|
||||
if ([filename length] > 0)
|
||||
{
|
||||
NSMutableDictionary *modules = GetStackModules();
|
||||
NSMutableDictionary *modules = GSGetStackModules();
|
||||
|
||||
if ([modules objectForKey: filename] == nil)
|
||||
{
|
||||
|
@ -495,7 +495,7 @@ LoadModule(NSString *filename)
|
|||
int m;
|
||||
|
||||
frames = [[NSMutableArray alloc] init];
|
||||
modules = [GetStackModules() allValues];
|
||||
modules = [GSGetStackModules() allValues];
|
||||
n = NSCountFrames();
|
||||
m = [modules count];
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue