Thread View: gnu.gdb.bug
1 messages
1 total messages
Started by d binderman
Wed, 19 Jan 2005 11:39
undefined code
Author: d binderman
Date: Wed, 19 Jan 2005 11:39
Date: Wed, 19 Jan 2005 11:39
28 lines
2136 bytes
2136 bytes
Hello there,
I just tried to compile package gdb-6.3 on a Redhat Linux box.
The compiler said
../../gdb-6.3/gdb/dwarf2-frame.c:1359: warning: operation on `buf' may be
undefined
The source code is
buf += size_of_encoded_value (*buf++);
I agree with the compiler - this code is certainly undefined.
Maybe
buf += 1 + size_of_encoded_value (*buf);
was intended by the programmer ?
Regards
David Binderman
_________________________________________________________________
It's fast, it's easy and it's free. Get MSN Messenger today!
http://www.msn.co.uk/messenger
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads