This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: Set ADDR
- From: Andrew Cagney <ac131313 at ges dot redhat dot com>
- To: Andrew Cagney <ac131313 at ges dot redhat dot com>
- Cc: gdb-patches at sources dot redhat dot com
- Date: Wed, 21 Aug 2002 11:44:16 -0400
- Subject: Re: Set ADDR
- References: <3D630A21.5060308@ges.redhat.com>
PS: If anyone things this is just a PPC bug:
(top-gdb) info registers
eax 0xbffff864 -1073743772
ecx 0x0 0
...
(top-gdb) set $ecx = 0
(top-gdb) info registers
eax 0x0 0
ecx 0x0 0
...
So I guess two things:
- GDB's testsuite doesn't cover this
- Someone modifying a register or register variable is a pretty rare
occurance
Perhaphs I should add a sleep(1) to the value write code and see how
long it takes someone to notice that ;-)
enjoy,
Andrew