diff options
author | Enze Li <lienze2010@hotmail.com> | 2022-04-17 15:09:46 +0800 |
---|---|---|
committer | Enze Li <lienze2010@hotmail.com> | 2022-04-18 21:40:31 +0800 |
commit | a5c69b1e49bae4d0dcb20f324cebb310c63495c6 (patch) | |
tree | f085617e93aaf7dfb4bd774e1a8244daadf1b38b /gdb/stack.c | |
parent | cd1a989fe1350fa6a375afd34ca1d7ee5244fb48 (diff) | |
download | binutils-a5c69b1e49bae4d0dcb20f324cebb310c63495c6.zip binutils-a5c69b1e49bae4d0dcb20f324cebb310c63495c6.tar.gz binutils-a5c69b1e49bae4d0dcb20f324cebb310c63495c6.tar.bz2 |
gdb: fix using clear command to delete non-user breakpoints(PR cli/7161)
The clear command shouldn't delete momentary and internal breakpoints,
nor internal breakpoints created via Python's gdb.Breakpoint.
This patch fixes this issue and adds a testcase.
Regression tested on x86_64 openSUSE Tumbleweed(VERSION_ID="20220413").
Bug: https://sourceware.org/bugzilla/show_bug.cgi?id=7161
Diffstat (limited to 'gdb/stack.c')
0 files changed, 0 insertions, 0 deletions