This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
python | |
import gdb | |
import subprocess | |
class AttachOnClick(gdb.Command): | |
def __init__(self): | |
super(AttachOnClick, self).__init__('attach_onclick', gdb.COMMAND_RUNNING, gdb.COMPLETE_NONE) | |
def invoke(self, arg, from_tty): | |
if not from_tty: | |
print('Only supported in interactive mode (from tty)') |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# vim: ft=gdb | |
add-auto-load-safe-path /home/moshev/Projects/tools/moshev/gdb | |
set non-stop on | |
set print address on | |
set print array on | |
set pagination on | |
set print pretty on | |
set print object on | |
set print vtbl on | |
set breakpoint pending on |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Adapted | |
# Contributor: Andreas Radke <andyrtr@archlinux.org> | |
# Contributor: Art Gramlich <art@gramlich-net.com> | |
# Contributor: twa022 <twa022 at gmail dot com> | |
# Maintainer: moshev <mo6eeeb at gmail dot com> | |
_pkgname=icu | |
pkgname=${_pkgname}42 | |
pkgver=4.2.1 | |
pkgrel=1 |