public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug breakpoints/16115] New: watch -location needless software watchpoint
@ 2013-11-02 10:02 jan.kratochvil at redhat dot com
  2022-11-07 16:03 ` [Bug breakpoints/16115] " ssbssa at sourceware dot org
  2024-01-08 17:01 ` ssbssa at sourceware dot org
  0 siblings, 2 replies; 3+ messages in thread
From: jan.kratochvil at redhat dot com @ 2013-11-02 10:02 UTC (permalink / raw)
  To: gdb-prs

https://sourceware.org/bugzilla/show_bug.cgi?id=16115

            Bug ID: 16115
           Summary: watch -location needless software watchpoint
           Product: gdb
           Version: HEAD
            Status: NEW
          Severity: normal
          Priority: P2
         Component: breakpoints
          Assignee: unassigned at sourceware dot org
          Reporter: jan.kratochvil at redhat dot com
              Host: x86_64-unknown-linux-gnu
            Target: x86_64-unknown-linux-gnu

#include <vector>
int main () { std::vector<int> v;
  return 0; }

GNU gdb (GDB) 7.6.50.20131021-cvs
(gdb) b 3
(gdb) r
Breakpoint 1, main () at vec2.C:3
3      return 0; }
(gdb) watch v
Hardware watchpoint 2: v
(gdb) delete 2
(gdb) watch -location v
Watchpoint 3: -location v
^^^^^^^^^^^^^
(gdb) p sizeof (v)
$1 = 24

And it really singlesteps after 'continue'.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Bug breakpoints/16115] watch -location needless software watchpoint
  2013-11-02 10:02 [Bug breakpoints/16115] New: watch -location needless software watchpoint jan.kratochvil at redhat dot com
@ 2022-11-07 16:03 ` ssbssa at sourceware dot org
  2024-01-08 17:01 ` ssbssa at sourceware dot org
  1 sibling, 0 replies; 3+ messages in thread
From: ssbssa at sourceware dot org @ 2022-11-07 16:03 UTC (permalink / raw)
  To: gdb-prs

https://sourceware.org/bugzilla/show_bug.cgi?id=16115

Hannes Domani <ssbssa at sourceware dot org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ssbssa at sourceware dot org

--- Comment #2 from Hannes Domani <ssbssa at sourceware dot org> ---
The example of comment 1 is working since version 8.2, because of this commit:
https://sourceware.org/git/?p=binutils-gdb.git;a=commit;h=e95a97d41a186ac65077ba3103dc10e5d41fe7b5

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Bug breakpoints/16115] watch -location needless software watchpoint
  2013-11-02 10:02 [Bug breakpoints/16115] New: watch -location needless software watchpoint jan.kratochvil at redhat dot com
  2022-11-07 16:03 ` [Bug breakpoints/16115] " ssbssa at sourceware dot org
@ 2024-01-08 17:01 ` ssbssa at sourceware dot org
  1 sibling, 0 replies; 3+ messages in thread
From: ssbssa at sourceware dot org @ 2024-01-08 17:01 UTC (permalink / raw)
  To: gdb-prs

https://sourceware.org/bugzilla/show_bug.cgi?id=16115

Hannes Domani <ssbssa at sourceware dot org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED
   Target Milestone|---                         |8.2

--- Comment #3 from Hannes Domani <ssbssa at sourceware dot org> ---
(In reply to Hannes Domani from comment #2)
> The example of comment 1 is working since version 8.2, because of this
> commit:
> https://sourceware.org/git/?p=binutils-gdb.git;a=commit;
> h=e95a97d41a186ac65077ba3103dc10e5d41fe7b5

Actually the example of comment #2 also works since 8.2, so I'm closing this.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2024-01-08 17:01 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-11-02 10:02 [Bug breakpoints/16115] New: watch -location needless software watchpoint jan.kratochvil at redhat dot com
2022-11-07 16:03 ` [Bug breakpoints/16115] " ssbssa at sourceware dot org
2024-01-08 17:01 ` ssbssa at sourceware dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).