This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
However, it seems to me that the right thing to do is to fix the cited code in bpstat_stop_status (and perhaps elsewhere in breakpoint.c) to DTRT for the test program posted by Orjan, since it clearly should work with i386 as well, and since this specific failure of GDB has nothing to do with read-only vs read-write watchpoints.
volatile int foo = 0; int a;
a = foo; foo = 1; a = foo;
-- Orjan Friberg Axis Communications
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |