This is the mail archive of the gdb@sourceware.org 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]

Problem with "watch" on a new port.


Hi,

I am working on a new port for a 16 bit machine.

step, stepi, next, nexti, breakpoints work well.
The problems come with "watch", it does not work :

(gdb) watch i
Hardware watchpoint 2: i
(gdb) c
Continuing.
Program received signal SIGTRAP, Trace/breakpoint trap.
0x00000174 in main () at main.c:67
67        for (i = 0; i < 10; i++)
(gdb) c
Continuing.
Program received signal SIGTRAP, Trace/breakpoint trap.
0x0000019c in main () at main.c:67
67        for (i = 0; i < 10; i++)
(gdb)


or


(gdb) watch results_16[0]
(gdb) c
Continuing.

and assignment of results_16[0] not detected.

I do not know where to begin to solve this problem.

Please, have you any clue?

Regards.

Florent


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]