[Vm-dev] sqUnixExternalPrims.c tryLoading()
johnmci at smalltalkconsulting.com
Mon Aug 10 17:53:50 UTC 2015
Assuming $15 is being shown as a 1K memory dump, versus a C String then it
would be proper to dump the ascii values and then octal values for
none-printables. In this case the libName would be /home/ooplu/Desktop/Cog_
-display-X11 as you terminate on the octal \000 However are you sure the
parm being passed is a cString, or is it a Smalltalk string and you are
just seeing the object space after the -X11. This of course would be
incorrect and lucky if the trailing byte is \000
On Mon, Aug 10, 2015 at 10:46 AM, tim Rowledge <tim at rowledge.org> wrote:
> The bits after the \000 *shouldn’t* matter a damn to any C code unless
> possibly something is carefully using a length-specifying copy with the
> wrong length. $15 showing with all the follow-on trash seems odd but pretty
> much everything about gdb puzzles me.
> tim Rowledge; tim at rowledge.org; http://www.rowledge.org/tim
> Calm down -- it's only ones and zeros.
John M. McIntosh <johnmci at smalltalkconsulting.com>
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Vm-dev