Update 2024-12-31 10:47 OpenBSD/amd64-t14
This commit is contained in:
4
.gdbinit
4
.gdbinit
@@ -6,7 +6,7 @@ python
|
||||
|
||||
# License ----------------------------------------------------------------------
|
||||
|
||||
# Copyright (c) 2015-2023 Andrea Cardaci <cyrus.and@gmail.com>
|
||||
# Copyright (c) 2015-2024 Andrea Cardaci <cyrus.and@gmail.com>
|
||||
#
|
||||
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
# of this software and associated documentation files (the "Software"), to deal
|
||||
@@ -346,7 +346,7 @@ def fetch_breakpoints(watchpoints=False, pending=False):
|
||||
parsed_breakpoints[number] = [address_info], is_pending, ''
|
||||
elif len(fields) >= 5 and fields[1] == 'catchpoint':
|
||||
# only take before comma, but ignore commas in quotes
|
||||
what = catch_what_regex.search(' '.join(fields[4:]))[0].strip()
|
||||
what = catch_what_regex.search(' '.join(fields[4:])).group(0).strip()
|
||||
parsed_breakpoints[number] = [], False, what
|
||||
elif len(fields) >= 3 and number in parsed_breakpoints:
|
||||
# add this address to the list of multiple locations
|
||||
|
||||
Reference in New Issue
Block a user