gnustep-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: 32bit GS on 64bit Win rebuild base from src


From: Giah de Barag
Subject: Re: 32bit GS on 64bit Win rebuild base from src
Date: Mon, 22 Aug 2016 01:57:20 -0400

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





reply via email to

[Prev in Thread] Current Thread [Next in Thread]