mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-30 16:30:41 +00:00
* Source/NSDebug.m (_NSPrintForDebugger): new function to support print
object (po) cmd of gdb. git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@10025 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
cdfb2ae0a7
commit
bef3acc7fd
2 changed files with 13 additions and 0 deletions
|
@ -1,3 +1,8 @@
|
||||||
|
2001-05-26 Mirko Viviani <mirko.viviani@rccr.cremona.it>
|
||||||
|
|
||||||
|
* Source/NSDebug.m (_NSPrintForDebugger): new function to support print
|
||||||
|
object (po) cmd of gdb.
|
||||||
|
|
||||||
2001-05-25 Adam Fedor <fedor@gnu.org>
|
2001-05-25 Adam Fedor <fedor@gnu.org>
|
||||||
|
|
||||||
* configure.in: Use -lobjc with NeXT_RUNTIME.
|
* configure.in: Use -lobjc with NeXT_RUNTIME.
|
||||||
|
|
|
@ -760,3 +760,11 @@ void *NSReturnAddress(int offset)
|
||||||
|
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
const char *_NSPrintForDebugger(id object)
|
||||||
|
{
|
||||||
|
if (object && [object respondsToSelector: @selector(description)])
|
||||||
|
return [[object description] cString];
|
||||||
|
|
||||||
|
return NULL;
|
||||||
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue