[prog] gdb debug file input, Linux, C
Jimen Ching
jching at flex.com
Sat Jun 19 18:56:19 EST 2004
On Sun, 20 Jun 2004, Sue Stones wrote:
>I think that the problem is that there is a pointer that indicates where you
>are up to in the file. Reading from the file move the pointer, meaning that
>you don'tknow where you were up to in writing to the file. So you ned to
>look to see if you can set up two of the relevent pointers to the file. It
>should be possible. Sorry I can't be more specific.
The fseek/ftell ANSI C library functions should be able to tell you where
you are in a file, and move to specific locations. But I'm not sure if
you can call these functions from within gdb.
--jc
--
Jimen Ching (WH6BRR) jching at flex.com wh6brr at uhm.ampr.org
More information about the Programming
mailing list