|
From: | Andrew Cagney |
Subject: | Re: Bug in bit fields / gdb & large struct/union |
Date: | Sat, 08 Sep 2001 13:47:50 -0400 |
User-agent: | Mozilla/5.0 (X11; U; NetBSD macppc; en-US; rv:0.9.3) Gecko/20010813 |
"Donald Gillies" <address@hidden> writes:In gdb (4.18) and with gcc (2.9.5), i cannot change the values of a bit field variable embedded in an elaborate struct/union with the gdb debugger. The debugger gladly accepts it when i try to change the bit field, but i think it's secretly writing the data to the wrong location in memory (see below).This is an ancient version of GDB. You can get a newer one from sources.redhat.com, or from any GNU mirror.
btw, you'll want to test something from: http://sources.redhat.com/gdb/download/as gdb 5.0 didn't build on freebsd. Current snaps are comming from the unreleased 5.1 branch.
Andrew.
[Prev in Thread] | Current Thread | [Next in Thread] |