This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: Problem with "watch" on a new port.
- From: Florent DEFAY <spira dot inhabitant at gmail dot com>
- To: vladimir at codesourcery dot com, gdb at sourceware dot org
- Date: Thu, 2 Jul 2009 17:10:58 +0200
- Subject: Re: Problem with "watch" on a new port.
Thank you.
>This suggest you did not define, or improperly defined, the
>to_stopped_by_watchpoint or to_stopped_data_address or
>to_watchpoint_address_withing_range target methods.
I take inspiration from or1k and I do not find these target methods implemented.
I found them nowhere but in i386 arch, in i386-nat.c.
I do not understand the link between i386-nat.c and the t-dep file.
For my arch, I implemented a t-dep only. How to add a nat? Is it
really necessary?
>> and assignment of results_16[0] not detected.
>
>Is this variable actually modified *before* the execution leaves
>the current scope?
Yes it is.
Regards.
Florent