mirror of
https://github.com/adtools/clib2.git
synced 2025-12-08 14:59:05 +00:00
- Modified the GetProcSegList() call to match what the current SDK
expects. git-svn-id: file:///Users/olsen/Code/migration-svn-zu-git/logical-line-staging/clib2/trunk@15083 87f5fb63-7c3d-0410-a384-fd976d0f7a62
This commit is contained in:
@ -1,5 +1,5 @@
|
||||
#
|
||||
# $Id: GNUmakefile.os4,v 1.92 2006-01-29 09:17:00 obarthel Exp $
|
||||
# $Id: GNUmakefile.os4,v 1.93 2006-02-27 11:18:51 obarthel Exp $
|
||||
#
|
||||
# :ts=8
|
||||
#
|
||||
@ -150,7 +150,7 @@ INCLUDES = -Iinclude -I. -I$(SDK_INCLUDE)
|
||||
#OPTIONS = -D__THREAD_SAFE -DNDEBUG -DUSE_64_BIT_INTS -D__USE_INLINE__ -Wa,-mregnames -fno-common -std=gnu99
|
||||
OPTIONS = -DNDEBUG -DUSE_64_BIT_INTS -D__USE_INLINE__ -Wa,-mregnames -fno-common -std=gnu99
|
||||
OPTIMIZE = -O3
|
||||
#DEBUG = -ggdb
|
||||
DEBUG = -ggdb
|
||||
|
||||
CFLAGS = $(WARNINGS) $(OPTIMIZE) $(DEBUG) $(OPTIONS) $(CODE_TYPE) $(INCLUDES)
|
||||
|
||||
|
||||
@ -233,7 +233,7 @@ mongetpcs(uint32* lowpc, uint32 *highpc)
|
||||
if (!IElf) goto out;
|
||||
|
||||
self = (struct Process *)FindTask(0);
|
||||
seglist = GetProcSegList(self);
|
||||
seglist = GetProcSegList(self, GPSLF_CLI | GPSLF_SEG);
|
||||
|
||||
GetSegListInfoTags(seglist,
|
||||
GSLI_ElfHandle, &elfHandle,
|
||||
|
||||
Reference in New Issue
Block a user