Bug 16251 - AARCH64 hardware breakpoint error after fork
Summary: AARCH64 hardware breakpoint error after fork
Status: RESOLVED FIXED
Alias: None
Product: gdb
Classification: Unclassified
Component: breakpoints (show other bugs)
Version: 7.6
: P2 normal
Target Milestone: ---
Assignee: Not yet assigned to anyone
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-11-26 02:44 IST by Joel Brobecker
Modified: 2013-11-26 02:49 IST (History)
0 users

See Also:
Host:
Target:
Build:
Last reconfirmed:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Joel Brobecker 2013-11-26 02:44:28 IST
Andrew Pinski reported on gdb-patches
(https://sourceware.org/ml/gdb-patches/2013-07/msg00665.html):

| I noticed after a fork, gdb would fail with the following message:
| > Unexpected error setting hardware debug registers
Comment 1 Joel Brobecker 2013-11-26 02:49:41 IST
Patch for GDB checked in on master:
http://www.sourceware.org/ml/gdb-patches/2013-09/msg00370.html

The same problem was detected in GDBserver as well. Fixed on master:
http://www.sourceware.org/ml/gdb-patches/2013-09/msg00381.html

GDBserver fix on the gdb_7_6-branch:
http://www.sourceware.org/ml/gdb-patches/2013-09/msg00449.html

And finally, GDB patch backported to the 7.6 branch:
http://www.sourceware.org/ml/gdb-patches/2013-11/msg00782.html

So, the problem should now be fixed in the upcoming GDB 7.6.2 release.