gdb: info local with set loggin to store arrays to .m file.

"David Yu \( III \)" <[email protected]>
Newsgroups gmane.comp.gdb.devel
Message-ID <[email protected]>
Hi GDB developer:
I tried to use "set loggin" and "info local" to store local arrays in m
file, and use octave to execute this m file to input arrays from the m file.
But with this method, if this array size is too long, array cannot fill
elements on each line of m file and the end part of elements would switch to
next line, so that octave cannot identify this array.
How can I solve this issue? Any other method can accomplish it?

Example in m file with "set loggin" and "info local":
Octave cannot identify the following array

A = { 0,0,0,0,0,0,,0,0,0,0,0,0,0,00,0,0,0,0,0,0 <some empty space not be
fill> ,0,0,0,0,0,0,0,0}

After manual modification:
A = { 0,0,0,0,0,0,,0,0,0,0,0,0,0,00,0,0,0,0,0,0,0,0,0,0,0,0,0,0}
Octave can identify this array



David
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.