1. Where is the glue code that facilitates creating GNUstep NSString 
convenience variables on the GDB command line?

2. This problem does not affect programs not using GNUstep. Creating and 
passing C string convenience variables into C programs and plan vanilla ObjC 
programs of course works. The problem occurs when linking against GNUstep. In 
that case, creating end passing strings does not work, neither C strings nor 
NSStrings.

3. Here is the simplest recipe:

a. MSYS2 / MINGW32 / GNUstep (core/modules/scripts)

b. Create simplest imaginable GNUstep tool, break in main, run, and do:

(gdb) set $a = "foo"
(gdb) p $a
$3 = <error reading variable>
(gdb) set $b = @"bar"
Segmentation fault
Debugger exited abnormally with code 5



_______________________________________________
Gnustep-dev mailing list
Gnustep-dev@gnu.org
https://lists.gnu.org/mailman/listinfo/gnustep-dev

Reply via email to